AssertFatal(pdsch_dmrs[slot][symb][q]!=NULL,"NR init: pdsch_dmrs for slot %d symbol %d codeword %d - malloc failed\n",slot,symb,q);
}
...
...
@@ -471,8 +472,10 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue,
voidinit_nr_ue_transport(PHY_VARS_NR_UE*ue,
intabstraction_flag){
intnum_codeword=NR_MAX_NB_LAYERS>4?2:1;
for(inti=0;i<NUMBER_OF_CONNECTED_gNB_MAX;i++){
for(intj=0;j<2;j++){
for(intj=0;j<num_codeword;j++){
for(intk=0;k<RX_NB_TH_MAX;k++){
AssertFatal((ue->dlsch[k][i][j]=new_nr_ue_dlsch(1,NR_MAX_DLSCH_HARQ_PROCESSES,NSOFT,MAX_LDPC_ITERATIONS,ue->frame_parms.N_RB_DL,abstraction_flag))!=NULL,"Can't get ue dlsch structures\n");