Skip to content
Snippets Groups Projects
Commit cfc7a70f authored by Francesco Mani's avatar Francesco Mani Committed by Robert Schmidt
Browse files

bugfix in ue msg3 scheduler

parent 773a35ef
No related branches found
No related tags found
2 merge requests!2218integration_2023_w27,!2165improvements in CI config files
...@@ -1459,7 +1459,7 @@ int nr_ue_pusch_scheduler(NR_UE_MAC_INST_t *mac, uint8_t is_Msg3, frame_t curren ...@@ -1459,7 +1459,7 @@ int nr_ue_pusch_scheduler(NR_UE_MAC_INST_t *mac, uint8_t is_Msg3, frame_t curren
DURATION_RX_TO_TX); DURATION_RX_TO_TX);
*slot_tx = (current_slot + k2 + delta) % nr_slots_per_frame[mu]; *slot_tx = (current_slot + k2 + delta) % nr_slots_per_frame[mu];
if (current_slot + k2 + delta > nr_slots_per_frame[mu]){ if (current_slot + k2 + delta >= nr_slots_per_frame[mu]){
*frame_tx = (current_frame + 1) % 1024; *frame_tx = (current_frame + 1) % 1024;
} else { } else {
*frame_tx = current_frame; *frame_tx = current_frame;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment