AssertFatal(P>0&&P<9,"P %d is not supported\n",P);
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_transmitted_bits=0;
...
...
@@ -157,11 +159,11 @@ 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.
for(i=0;i<ru->nb_tx;++i)ru->common.txdataF[i]=(int32_t*)malloc16_clear(fp->samples_per_frame_wCP*sizeof(int32_t));// [hna] samples_per_frame without CP
LOG_I(MAC,"Set TX/RX antenna number to %d (ssb: %x,%x)\n",cfg->carrier_config.num_tx_ant.value,cfg->ssb_table.ssb_mask_list[0].ssb_mask.value,cfg->ssb_table.ssb_mask_list[1].ssb_mask.value);