Commit e5c4e0f3 authored by Roberto Louro Magueta's avatar Roberto Louro Magueta

Address review comments

parent f94a4798
...@@ -2530,7 +2530,7 @@ uint8_t nr_get_csi_payload(NR_UE_MAC_INST_t *mac, ...@@ -2530,7 +2530,7 @@ uint8_t nr_get_csi_payload(NR_UE_MAC_INST_t *mac,
case NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_i1_CQI: case NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_i1_CQI:
case NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_CQI: case NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_CQI:
case NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_LI_PMI_CQI: case NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_LI_PMI_CQI:
LOG_D(NR_MAC,"Measurement report based on CSI-RS not available\n"); LOG_E(NR_MAC,"Measurement report based on CSI-RS not available\n");
break; break;
default: default:
AssertFatal(1==0,"Invalid CSI report quantity type %d\n",csi_reportconfig->reportQuantity.present); AssertFatal(1==0,"Invalid CSI report quantity type %d\n",csi_reportconfig->reportQuantity.present);
......
...@@ -1727,6 +1727,7 @@ void nr_generate_Msg4(module_id_t module_idP, int CC_id, frame_t frameP, sub_fra ...@@ -1727,6 +1727,7 @@ void nr_generate_Msg4(module_id_t module_idP, int CC_id, frame_t frameP, sub_fra
int rbSize = 0; int rbSize = 0;
uint8_t tb_scaling = 0; uint8_t tb_scaling = 0;
uint16_t *vrb_map = cc[CC_id].vrb_map; uint16_t *vrb_map = cc[CC_id].vrb_map;
// increase PRBs until we get to BWPSize or TBS is bigger than MAC PDU size
do { do {
if(rbSize < BWPSize) if(rbSize < BWPSize)
rbSize++; rbSize++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment