X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fxran__up__api_8c.html;fp=docs%2FAPI%2Fxran__up__api_8c.html;h=84d60e532c0c92a9618e335f4299895fe1f9b011;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/xran__up__api_8c.html b/docs/API/xran__up__api_8c.html new file mode 100644 index 0000000..84d60e5 --- /dev/null +++ b/docs/API/xran__up__api_8c.html @@ -0,0 +1,399 @@ + + + + + + + +o-du/phy: xran_up_api.c File Reference + + + + + + + + + +
+
+ + + + + + +
+
o-du/phy +
+
Intel O-RAN/X-RAN Generated Doxygen Documentation
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions | +Variables
+
+
xran_up_api.c File Reference
+
+
+ +

This file provides the implementation of User Plane Messages APIs. +More...

+
#include <inttypes.h>
+#include <rte_memcpy.h>
+#include <rte_mbuf.h>
+#include "xran_fh_o_du.h"
+#include "xran_transport.h"
+#include "xran_up_api.h"
+#include "xran_printf.h"
+#include "xran_mlog_lnx.h"
+
+Include dependency graph for xran_up_api.c:
+
+
+ + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + +

+Functions

int32_t xran_extract_iq_samples (struct rte_mbuf *mbuf, void **iq_data_start, uint8_t *CC_ID, uint8_t *Ant_ID, uint8_t *frame_id, uint8_t *subframe_id, uint8_t *slot_id, uint8_t *symb_id, struct ecpri_seq_id *seq_id, uint16_t *num_prbu, uint16_t *start_prbu, uint16_t *sym_inc, uint16_t *rb, uint16_t *sect_id, int8_t expect_comp, uint8_t *compMeth, uint8_t *iqWidth)
 Function for extracting all IQ samples from xRAN packet holding a single data section. More...
 
int32_t xran_prepare_iq_symbol_portion (struct rte_mbuf *mbuf, const void *iq_data_start, const enum xran_input_byte_order iq_buf_byte_order, const uint32_t iq_data_num_bytes, struct xran_up_pkt_gen_params *params, uint8_t CC_ID, uint8_t Ant_ID, uint8_t seq_id, uint32_t do_copy)
 Function for starting preparion of IQ samples portions to be sent in xRAN packet. More...
 
+ + + +

+Variables

uint32_t xran_lib_ota_tti
 
+

Detailed Description

+

This file provides the implementation of User Plane Messages APIs.

+
Author
Intel Corporation
+ +

Definition in file xran_up_api.c.

+

Function Documentation

+ +

◆ xran_extract_iq_samples()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int32_t xran_extract_iq_samples (struct rte_mbuf * mbuf,
void ** iq_data_start,
uint8_t * CC_ID,
uint8_t * Ant_ID,
uint8_t * frame_id,
uint8_t * subframe_id,
uint8_t * slot_id,
uint8_t * symb_id,
struct ecpri_seq_idseq_id,
uint16_t * num_prbu,
uint16_t * start_prbu,
uint16_t * sym_inc,
uint16_t * rb,
uint16_t * sect_id,
int8_t expect_comp,
uint8_t * compMeth,
uint8_t * iqWidth 
)
+
+ +

Function for extracting all IQ samples from xRAN packet holding a single data section.

+

Function extracts IQ samples from received mbuf packet.

+
Parameters
+ + + + +
iq_data_startAddress of the first element in IQ data array.
symb_idSymbol ID to be extracted from ecpri header
seq_idSequence ID to be extracted from radio header
+
+
+
Returns
int Size of remaining mbuf filled with IQ samples zero on failure
+ +

Definition at line 327 of file xran_up_api.c.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+
+Here is the caller graph for this function:
+
+
+ + + + + + + +
+ +
+
+ +

◆ xran_prepare_iq_symbol_portion()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int32_t xran_prepare_iq_symbol_portion (struct rte_mbuf * mbuf,
const void * iq_data_start,
const enum xran_input_byte_order iq_buf_byte_order,
const uint32_t iq_data_num_bytes,
struct xran_up_pkt_gen_paramsparams,
uint8_t CC_ID,
uint8_t Ant_ID,
uint8_t seq_id,
uint32_t do_copy 
)
+
+ +

Function for starting preparion of IQ samples portions to be sent in xRAN packet.

+
Parameters
+ + + + + + + +
mbufInitialized rte_mbuf packet.
iq_data_startAddress of the first element in IQ data array.
iq_data_num_bytesSize of the IQ data array.
iq_data_offsetIQ data bytes already sent.
alignmentSize of IQ data alignment.
pkt_gen_paramsStruct with parameters used for building packet
+
+
+
Returns
int Number of bytes that have been appended to the packet within all appended sections.
+ +

Definition at line 455 of file xran_up_api.c.

+
+Here is the caller graph for this function:
+
+
+ + + + + + + +
+ +
+
+

Variable Documentation

+ +

◆ xran_lib_ota_tti

+ +
+
+ + + + +
uint32_t xran_lib_ota_tti
+
+

Slot index in a second [0:(1000000/TTI-1)]

+ +

Definition at line 111 of file xran_main.c.

+ +
+
+
+ + + +