@@ -278,7 +281,7 @@ int nr_init_frame_parms_ue(NR_DL_FRAME_PARMS *fp,
LOG_I(PHY,"Initializing frame parms: DL frequency %lu Hz, UL frequency %lu Hz: band %d, uldl offset %d Hz\n",fp->dl_CarrierFreq,fp->ul_CarrierFreq,fp->nr_band,uplink_frequency_offset);
AssertFatal(fp->frame_type==config->cell_config.frame_duplex_type,"Invalid duplex type in config request file for band %d\n",fp->nr_band);
AssertFatal(fp->frame_type==config->cell_config.frame_duplex_type,"Invalid duplex type (frame_type %d,cell_config.frame_duplex_type %d) in config request file for band %d\n",fp->frame_type,config->cell_config.frame_duplex_type,fp->nr_band);
AssertFatal(fp->ul_CarrierFreq==(fp->dl_CarrierFreq+uplink_frequency_offset),"Disagreement in uplink frequency for band %d: ul_CarrierFreq = %lu Hz vs expected %lu Hz\n",fp->nr_band,fp->ul_CarrierFreq,fp->dl_CarrierFreq+uplink_frequency_offset);
//const uint16_t n_RB_DLBWP = dl_config->dl_config_list[dl_config->number_pdus].dci_config_pdu.dci_config_rel15.N_RB_BWP; //make sure this has been set
uint16_tn_RB_DLBWP;
if(mac->scc!=NULL||mac->scc_SIB!=NULL){
AssertFatal(mac->DLbwp[0]!=NULL,"DLbwp[0] should not be zero here!\n");
AssertFatal(mac->ULbwp[0]!=NULL,"DLbwp[0] should not be zero here!\n");
pdsch_config->dmrs_DownlinkForPDSCH_MappingTypeA->choice.setup->dmrs_AdditionalPosition=NULL;// For PDSCH with mapping type A, the UE shall assume dmrs-AdditionalPosition='pos2'
if(pdsch_config)pdsch_config->dmrs_DownlinkForPDSCH_MappingTypeA->choice.setup->dmrs_AdditionalPosition=NULL;// For PDSCH with mapping type A, the UE shall assume dmrs-AdditionalPosition='pos2'
LOG_W(MAC,"[%d.%d] pucch_resource_indicator value %d is out of bounds. Possibly due to false DCI. Ignoring DCI!\n",frame,slot,dlsch_config_pdu_1_0->pucch_resource_id);
return-1;
}
}
/* PDSCH_TO_HARQ_FEEDBACK_TIME_IND (only if CRC scrambled by C-RNTI or CS-RNTI or new-RNTI)*/