Making sample offset as cmd line parameter
for gNB its in L1 section of config file for UE its a cmd line paramenter
This commit is contained in:
@@ -242,6 +242,7 @@ void init_tpools(uint8_t nun_dlsch_threads) {
|
||||
}
|
||||
static void get_options(void) {
|
||||
|
||||
nrUE_params.ofdm_offset_divisor = 8;
|
||||
paramdef_t cmdline_params[] =CMDLINE_NRUEPARAMS_DESC ;
|
||||
int numparams = sizeof(cmdline_params)/sizeof(paramdef_t);
|
||||
config_process_cmdline( cmdline_params,numparams,NULL);
|
||||
@@ -325,6 +326,8 @@ void set_options(int CC_id, PHY_VARS_NR_UE *UE){
|
||||
|
||||
LOG_I(PHY, "Set UE nb_rx_antenna %d, nb_tx_antenna %d, threequarter_fs %d\n", fp->nb_antennas_rx, fp->nb_antennas_tx, fp->threequarter_fs);
|
||||
|
||||
fp->ofdm_offset_divisor = nrUE_params.ofdm_offset_divisor;
|
||||
|
||||
}
|
||||
|
||||
void init_openair0(void) {
|
||||
|
||||
Reference in New Issue
Block a user