X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fxran__frame__struct_8c.html;fp=docs%2FAPI%2Fxran__frame__struct_8c.html;h=9952db5d7d48dd921106ce12a9bbf8c310d173a7;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/xran__frame__struct_8c.html b/docs/API/xran__frame__struct_8c.html new file mode 100644 index 0000000..9952db5 --- /dev/null +++ b/docs/API/xran__frame__struct_8c.html @@ -0,0 +1,631 @@ + + + + + + + +o-du/phy: xran_frame_struct.c File Reference + + + + + + + + + +
+
+ + + + + + +
+
o-du/phy +
+
Intel O-RAN/X-RAN Generated Doxygen Documentation
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Enumerations | +Functions | +Variables
+
+
xran_frame_struct.c File Reference
+
+
+
#include <assert.h>
+#include <err.h>
+#include <arpa/inet.h>
+#include <sys/time.h>
+#include <time.h>
+#include "xran_frame_struct.h"
+#include "xran_printf.h"
+
+Include dependency graph for xran_frame_struct.c:
+
+
+ + + + + +
+
+

Go to the source code of this file.

+ + + + +

+Enumerations

enum  nXranChBwOptions {
+  XRAN_BW_5_0_MHZ = 5, +XRAN_BW_10_0_MHZ = 10, +XRAN_BW_15_0_MHZ = 15, +XRAN_BW_20_0_MHZ = 20, +
+  XRAN_BW_25_0_MHZ = 25, +XRAN_BW_30_0_MHZ = 30, +XRAN_BW_40_0_MHZ = 40, +XRAN_BW_50_0_MHZ = 50, +
+  XRAN_BW_60_0_MHZ = 60, +XRAN_BW_70_0_MHZ = 70, +XRAN_BW_80_0_MHZ = 80, +XRAN_BW_90_0_MHZ = 90, +
+  XRAN_BW_100_0_MHZ = 100, +XRAN_BW_200_0_MHZ = 200, +XRAN_BW_400_0_MHZ = 400 +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

uint32_t xran_fs_get_tti_interval (uint8_t nMu)
 
uint32_t xran_fs_get_scs (uint8_t nMu)
 
uint16_t xran_fs_get_num_rbs (uint32_t nNumerology, uint32_t nBandwidth, uint32_t nAbsFrePointA)
 
uint32_t xran_fs_cal_nrarfcn (uint32_t nCenterFreq)
 
uint32_t xran_fs_slot_limit_init (int32_t tti_interval_us)
 
uint32_t xran_fs_get_max_slot (void)
 
uint32_t xran_fs_get_max_slot_SFN (void)
 
int32_t xran_fs_slot_limit (int32_t nSfIdx)
 
void xran_fs_clear_slot_type (uint32_t nPhyInstanceId)
 
int32_t xran_fs_set_slot_type (uint32_t nPhyInstanceId, uint32_t nFrameDuplexType, uint32_t nTddPeriod, struct xran_slot_config *psSlotConfig)
 
int32_t xran_fs_get_slot_type (int32_t nCellIdx, int32_t nSlotdx, int32_t nType)
 
int32_t xran_fs_get_symbol_type (int32_t nCellIdx, int32_t nSlotdx, int32_t nSymbIdx)
 
+ + + +

+Variables

uint16_t xran_max_frame
 
+

Enumeration Type Documentation

+ +

◆ nXranChBwOptions

+ +
+
+ + + + +
enum nXranChBwOptions
+
+ + + + + + + + + + + + + + + + +
Enumerator
XRAN_BW_5_0_MHZ 
XRAN_BW_10_0_MHZ 
XRAN_BW_15_0_MHZ 
XRAN_BW_20_0_MHZ 
XRAN_BW_25_0_MHZ 
XRAN_BW_30_0_MHZ 
XRAN_BW_40_0_MHZ 
XRAN_BW_50_0_MHZ 
XRAN_BW_60_0_MHZ 
XRAN_BW_70_0_MHZ 
XRAN_BW_80_0_MHZ 
XRAN_BW_90_0_MHZ 
XRAN_BW_100_0_MHZ 
XRAN_BW_200_0_MHZ 
XRAN_BW_400_0_MHZ 
+ +

Definition at line 36 of file xran_frame_struct.c.

+ +
+
+

Function Documentation

+ +

◆ xran_fs_cal_nrarfcn()

+ +
+
+ + + + + + + + +
uint32_t xran_fs_cal_nrarfcn (uint32_t nCenterFreq)
+
+
Parameters
+ + +
[in]centerfrequency
+
+
+
Returns
NR-ARFCN
+

This calculates NR-ARFCN value according to center frequency

+ +

Definition at line 274 of file xran_frame_struct.c.

+ +
+
+ +

◆ xran_fs_clear_slot_type()

+ +
+
+ + + + + + + + +
void xran_fs_clear_slot_type (uint32_t nPhyInstanceId)
+
+ +

Definition at line 339 of file xran_frame_struct.c.

+ +
+
+ +

◆ xran_fs_get_max_slot()

+ +
+
+ + + + + + + + +
uint32_t xran_fs_get_max_slot (void )
+
+ +

Definition at line 316 of file xran_frame_struct.c.

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

◆ xran_fs_get_max_slot_SFN()

+ +
+
+ + + + + + + + +
uint32_t xran_fs_get_max_slot_SFN (void )
+
+ +

Definition at line 321 of file xran_frame_struct.c.

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

◆ xran_fs_get_num_rbs()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
uint16_t xran_fs_get_num_rbs (uint32_t nNumerology,
uint32_t nBandwidth,
uint32_t nAbsFrePointA 
)
+
+
Parameters
+ + + + +
[in]nNumerology- Numerology determine sub carrier spacing, Value: 0->4 0: 15khz, 1: 30khz, 2: 60khz 3: 120khz, 4: 240khz
[in]nBandwidth- Carrier bandwidth for in MHz. Value: 5->400
[in]nAbsFrePointA- Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
+
+
+
Returns
Number of RBs in cell
+

Returns number of RBs based on 38.101-1 and 38.101-2 for the cell

+ +

Definition at line 149 of file xran_frame_struct.c.

+ +
+
+ +

◆ xran_fs_get_scs()

+ +
+
+ + + + + + + + +
uint32_t xran_fs_get_scs (uint8_t nMu)
+
+ +

Definition at line 121 of file xran_frame_struct.c.

+ +
+
+ +

◆ xran_fs_get_slot_type()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int32_t xran_fs_get_slot_type (int32_t nCellIdx,
int32_t nSlotdx,
int32_t nType 
)
+
+ +

Definition at line 477 of file xran_frame_struct.c.

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

◆ xran_fs_get_symbol_type()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int32_t xran_fs_get_symbol_type (int32_t nCellIdx,
int32_t nSlotdx,
int32_t nSymbIdx 
)
+
+ +

Definition at line 508 of file xran_frame_struct.c.

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

◆ xran_fs_get_tti_interval()

+ +
+
+ + + + + + + + +
uint32_t xran_fs_get_tti_interval (uint8_t nMu)
+
+ +

Definition at line 108 of file xran_frame_struct.c.

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

◆ xran_fs_set_slot_type()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int32_t xran_fs_set_slot_type (uint32_t nPhyInstanceId,
uint32_t nFrameDuplexType,
uint32_t nTddPeriod,
struct xran_slot_configpsSlotConfig 
)
+
+ +

Definition at line 346 of file xran_frame_struct.c.

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

◆ xran_fs_slot_limit()

+ +
+
+ + + + + + + + +
int32_t xran_fs_slot_limit (int32_t nSfIdx)
+
+ +

Definition at line 326 of file xran_frame_struct.c.

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

◆ xran_fs_slot_limit_init()

+ +
+
+ + + + + + + + +
uint32_t xran_fs_slot_limit_init (int32_t tti_interval_us)
+
+ +

Definition at line 309 of file xran_frame_struct.c.

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

Variable Documentation

+ +

◆ xran_max_frame

+ +
+
+ + + + +
uint16_t xran_max_frame
+
+

value of max frame used. expected to be 99 (old compatibility mode) and 1023 as per section 9.7.2 System Frame Number Calculation

+ +

Definition at line 116 of file xran_main.c.

+ +
+
+
+ + + +