#include <unistd.h>
#include <sys/syscall.h>
#include <sched.h>
#include <assert.h>
#include <err.h>
#include <libgen.h>
#include <sys/time.h>
#include <time.h>
#include <stdio.h>
#include <fcntl.h>
#include <pthread.h>
#include <sys/stat.h>
#include "common.h"
#include "config.h"
#include "xran_mlog_lnx.h"
#include "xran_fh_o_du.h"
#include "xran_compression.h"
#include "xran_cp_api.h"
#include "xran_sync_api.h"
#include "xran_mlog_task_id.h"
Go to the source code of this file.
◆ _GNU_SOURCE
◆ CPU_HZ
◆ FPGA_TO_SW_PRACH_RX_BUFFER_LEN
#define FPGA_TO_SW_PRACH_RX_BUFFER_LEN (8192) |
◆ MAIN_PRIORITY
◆ MAX_BBU_POOL_CORE_MASK
#define MAX_BBU_POOL_CORE_MASK (4) |
◆ MAX_PKT_BURST
#define MAX_PKT_BURST (448+4) |
◆ N_MAX_BUFFER_SEGMENT
◆ NS_PER_SEC
◆ NSEC_PER_SEC
#define NSEC_PER_SEC 1000000000 |
◆ NUM_OF_SUBFRAME_PER_FRAME
#define NUM_OF_SUBFRAME_PER_FRAME (10) |
◆ SW_FPGA_FH_TOTAL_BUFFER_LEN
#define SW_FPGA_FH_TOTAL_BUFFER_LEN 1*1024*1024*1024 |
◆ SW_FPGA_SEGMENT_BUFFER_LEN
#define SW_FPGA_SEGMENT_BUFFER_LEN 1*1024*1024*1024 |
◆ SW_FPGA_TOTAL_BUFFER_LEN
#define SW_FPGA_TOTAL_BUFFER_LEN 4*1024*1024*1024 |
◆ XranLibConfigStruct
◆ SWXRANInterfaceTypeEnum
Enumerator |
---|
XRANFTHTX_OUT | |
XRANFTHTX_PRB_MAP_OUT | |
XRANFTHTX_SEC_DESC_OUT | |
XRANFTHRX_IN | |
XRANFTHRX_PRB_MAP_IN | |
XRANFTHTX_SEC_DESC_IN | |
XRANFTHRACH_IN | |
XRANSRS_IN | |
MAX_SW_XRAN_INTERFACE_NUM | |
Definition at line 101 of file sample-app.c.
◆ get_xran_iq_content()
int get_xran_iq_content |
( |
void |
| ) |
|
◆ init_xran()
int32_t init_xran |
( |
void |
| ) |
|
◆ init_xran_iq_content()
int init_xran_iq_content |
( |
void |
| ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ physide_dl_tti_call_back()
int physide_dl_tti_call_back |
( |
void * |
param | ) |
|
◆ physide_ul_full_slot_call_back()
int physide_ul_full_slot_call_back |
( |
void * |
param | ) |
|
◆ physide_ul_half_slot_call_back()
int physide_ul_half_slot_call_back |
( |
void * |
param | ) |
|
◆ stop_xran()
◆ timer_get_ticks()
unsigned long timer_get_ticks |
( |
void |
| ) |
|
- Parameters
-
- Returns
- Ticks
This function reads the rtdsc clock and returns the current value in there.
Definition at line 289 of file sample-app.c.
◆ timer_set_tsc_freq_from_clock()
int timer_set_tsc_freq_from_clock |
( |
void |
| ) |
|
- Parameters
-
- Returns
- 0 if SUCCESS
This function gets the clock speed of the core and figures out number of ticks per usec. It is used by l1app and testmac applications to initialize the mlog utility
Definition at line 323 of file sample-app.c.
◆ version_print()
void version_print |
( |
void |
| ) |
|
◆ xran_fh_rx_callback()
void xran_fh_rx_callback |
( |
void * |
pCallbackTag, |
|
|
int32_t |
status |
|
) |
| |
◆ xran_fh_rx_prach_callback()
void xran_fh_rx_prach_callback |
( |
void * |
pCallbackTag, |
|
|
int32_t |
status |
|
) |
| |
◆ xran_fh_rx_srs_callback()
void xran_fh_rx_srs_callback |
( |
void * |
pCallbackTag, |
|
|
xran_status_t |
status |
|
) |
| |
◆ nFpgaToSW_FTH_RxBufferLen
uint32_t nFpgaToSW_FTH_RxBufferLen |
◆ nFpgaToSW_PRACH_RxBufferLen
uint32_t nFpgaToSW_PRACH_RxBufferLen |
◆ nSW_ToFpga_FTH_TxBufferLen
uint32_t nSW_ToFpga_FTH_TxBufferLen |
◆ old_rx_counter
◆ old_tx_counter
◆ pXranConf
◆ rx_bytes_counter
◆ rx_bytes_per_sec
◆ rx_counter
◆ startupConfiguration
◆ state
◆ tick_per_usec
◆ tx_bytes_counter
◆ tx_bytes_per_sec
◆ tx_counter
◆ xranConf
◆ xranHandle