LOG_I(PHY,"[gNB %d] %s() About to wait for gNB to be configured\n",gNB->Mod_id,__FUNCTION__);
LOG_I(PHY,"[gNB %d] %s() About to wait for gNB to be configured\n",gNB->Mod_id,__FUNCTION__);
gNB->total_dlsch_bitrate=0;
gNB->total_dlsch_bitrate=0;
...
@@ -154,19 +153,6 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
...
@@ -154,19 +153,6 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
/// Transport init necessary for NR synchro
/// Transport init necessary for NR synchro
init_nr_transport(gNB);
init_nr_transport(gNB);
/*
lte_gold(fp,gNB->lte_gold_table,fp->Nid_cell);
generate_pcfich_reg_mapping(fp);
generate_phich_reg_mapping(fp);*/
for(UE_id=0;UE_id<NUMBER_OF_UE_MAX;UE_id++){
gNB->first_run_timing_advance[UE_id]=
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.
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.
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.
common_vars->rxdata=(int32_t**)NULL;
common_vars->rxdata=(int32_t**)NULL;
...
@@ -182,6 +168,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
...
@@ -182,6 +168,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,