MAC: total_prb_aggregate: collect over carrierBandwidth
This commit is contained in:
@@ -1387,8 +1387,8 @@ void nr_schedule_ue_spec(module_id_t module_id,
|
||||
return;
|
||||
|
||||
NR_ServingCellConfigCommon_t *scc = gNB_mac->common_channels[CC_id].ServingCellConfigCommon;
|
||||
const NR_BWP_t *initialDL = &scc->downlinkConfigCommon->initialDownlinkBWP->genericParameters;
|
||||
gNB_mac->mac_stats.total_prb_aggregate += NRRIV2BW(initialDL->locationAndBandwidth, MAX_BWP_SIZE);
|
||||
int bw = scc->downlinkConfigCommon->frequencyInfoDL->scs_SpecificCarrierList.list.array[0]->carrierBandwidth;
|
||||
gNB_mac->mac_stats.total_prb_aggregate += bw;
|
||||
|
||||
nfapi_nr_dl_tti_request_body_t *dl_req = &DL_req->dl_tti_request_body;
|
||||
post_process_pdsch_t pdsch = { frame, slot, dl_req, TX_req };
|
||||
|
||||
Reference in New Issue
Block a user