Refactor nr_csi_meas_reporting(): check only in slot 0

This commit is contained in:
Robert Schmidt
2021-02-06 20:50:28 +01:00
parent b6ebdc2fab
commit 5a2caa5475
3 changed files with 62 additions and 78 deletions
+3 -3
View File
@@ -410,9 +410,9 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
// This schedule SR
// TODO
// This schedule CSI measurement reporting
if (UE_info->active[UE_id])
nr_csi_meas_reporting(module_idP, UE_id, frame, slot, num_slots_per_tdd, nr_ulmix_slots, nr_slots_per_frame[*scc->ssbSubcarrierSpacing]);
// Schedule CSI measurement reporting: check in slot 0 for the whole frame
if (slot == 0 && UE_info->active[UE_id])
nr_csi_meas_reporting(module_idP, UE_id, frame, slot);
// This schedule RA procedure if not in phy_test mode
// Otherwise already consider 5G already connected