fixes in UL scheduler at UE
This commit is contained in:
@@ -1079,7 +1079,7 @@ int nr_ue_pusch_scheduler(NR_UE_MAC_INST_t *mac,
|
|||||||
|
|
||||||
// Calculate TX slot and frame
|
// Calculate TX slot and frame
|
||||||
*slot_tx = (current_slot + k2) % nr_slots_per_frame[mu];
|
*slot_tx = (current_slot + k2) % nr_slots_per_frame[mu];
|
||||||
*frame_tx = ((current_slot + k2) > nr_slots_per_frame[mu]) ? (current_frame + 1) % 1024 : current_frame;
|
*frame_tx = ((current_slot + k2) > (nr_slots_per_frame[mu]-1)) ? (current_frame + 1) % 1024 : current_frame;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1768,7 +1768,7 @@ void nr_ue_pucch_scheduler(module_id_t module_idP, frame_t frameP, int slotP, in
|
|||||||
}
|
}
|
||||||
|
|
||||||
// CSI
|
// CSI
|
||||||
if (mac->ra.ra_state == RA_SUCCEEDED)
|
if (mac->ra.ra_state == RA_SUCCEEDED || get_softmodem_params()->phy_test == 1)
|
||||||
O_CSI = nr_get_csi_measurements(mac, frameP, slotP, pucch);
|
O_CSI = nr_get_csi_measurements(mac, frameP, slotP, pucch);
|
||||||
|
|
||||||
// ACKNACK
|
// ACKNACK
|
||||||
|
|||||||
Reference in New Issue
Block a user