#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"
Go to the source code of this file.
|
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
} |
|
◆ 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.
◆ xran_fs_cal_nrarfcn()
uint32_t xran_fs_cal_nrarfcn |
( |
uint32_t |
nCenterFreq | ) |
|
- Parameters
-
- 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 | ) |
|
◆ xran_fs_get_max_slot()
uint32_t xran_fs_get_max_slot |
( |
void |
| ) |
|
◆ xran_fs_get_max_slot_SFN()
uint32_t xran_fs_get_max_slot_SFN |
( |
void |
| ) |
|
◆ 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 | ) |
|
◆ xran_fs_get_slot_type()
int32_t xran_fs_get_slot_type |
( |
int32_t |
nCellIdx, |
|
|
int32_t |
nSlotdx, |
|
|
int32_t |
nType |
|
) |
| |
◆ xran_fs_get_symbol_type()
int32_t xran_fs_get_symbol_type |
( |
int32_t |
nCellIdx, |
|
|
int32_t |
nSlotdx, |
|
|
int32_t |
nSymbIdx |
|
) |
| |
◆ xran_fs_get_tti_interval()
uint32_t xran_fs_get_tti_interval |
( |
uint8_t |
nMu | ) |
|
◆ xran_fs_set_slot_type()
int32_t xran_fs_set_slot_type |
( |
uint32_t |
nPhyInstanceId, |
|
|
uint32_t |
nFrameDuplexType, |
|
|
uint32_t |
nTddPeriod, |
|
|
struct xran_slot_config * |
psSlotConfig |
|
) |
| |
◆ xran_fs_slot_limit()
int32_t xran_fs_slot_limit |
( |
int32_t |
nSfIdx | ) |
|
◆ xran_fs_slot_limit_init()
uint32_t xran_fs_slot_limit_init |
( |
int32_t |
tti_interval_us | ) |
|
◆ 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.