@@ -80,7 +81,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
...
@@ -80,7 +81,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
// shortcuts
// shortcuts
NR_DL_FRAME_PARMS*constfp=&gNB->frame_parms;
NR_DL_FRAME_PARMS*constfp=&gNB->frame_parms;
nfapi_config_request_t*cfg=gNB->gNB_config;
nfapi_config_request_t*cfg=&gNB->gNB_config;
NR_gNB_COMMON*constcommon_vars=&gNB->common_vars;
NR_gNB_COMMON*constcommon_vars=&gNB->common_vars;
LTE_eNB_PUSCH**constpusch_vars=gNB->pusch_vars;
LTE_eNB_PUSCH**constpusch_vars=gNB->pusch_vars;
LTE_eNB_SRS*constsrs_vars=gNB->srs_vars;
LTE_eNB_SRS*constsrs_vars=gNB->srs_vars;
...
@@ -128,7 +129,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
...
@@ -128,7 +129,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
gNB->first_run_I0_measurements=1;///This flag used to be static. With multiple gNBs this does no longer work, hence we put it in the structure. However it has to be initialized with 1, which is performed here.
gNB->first_run_I0_measurements=1;///This flag used to be static. With multiple gNBs this does no longer work, hence we put it in the structure. However it has to be initialized with 1, which is performed here.
LOG_I(PHY,"%s() ************* DJP ***** gNB->gNB_config->rf_config.tx_antenna_ports:%d - GOING TO HARD CODE TO 1",__FUNCTION__,gNB->gNB_config->rf_config.tx_antenna_ports.value);
LOG_I(PHY,"%s() ************* DJP ***** gNB->gNB_config.rf_config.tx_antenna_ports:%d - GOING TO HARD CODE TO 1",__FUNCTION__,gNB->gNB_config.rf_config.tx_antenna_ports.value);
LOG_I(PHY,"%s() ************* DJP ***** gNB->gNB_config->rf_config.tx_antenna_ports:%d - GOING TO HARD CODE TO 1",__FUNCTION__,gNB->gNB_config->rf_config.tx_antenna_ports.value);
LOG_I(PHY,"%s() ************* DJP ***** gNB->gNB_config.rf_config.tx_antenna_ports:%d - GOING TO HARD CODE TO 1",__FUNCTION__,gNB->gNB_config.rf_config.tx_antenna_ports.value);