Commit 9e27394e authored by luis_pereira87's avatar luis_pereira87

Reset feedback_slot and round values when resetting HARQ processes

parent cc33856b
......@@ -2505,6 +2505,8 @@ void reset_dl_harq_list(NR_UE_sched_ctrl_t *sched_ctrl) {
}
for (int i = 0; i < NR_MAX_NB_HARQ_PROCESSES; i++) {
sched_ctrl->harq_processes[i].feedback_slot = -1;
sched_ctrl->harq_processes[i].round = 0;
sched_ctrl->harq_processes[i].is_waiting = false;
}
}
......@@ -2522,6 +2524,8 @@ void reset_ul_harq_list(NR_UE_sched_ctrl_t *sched_ctrl) {
}
for (int i = 0; i < NR_MAX_NB_HARQ_PROCESSES; i++) {
sched_ctrl->ul_harq_processes[i].feedback_slot = -1;
sched_ctrl->ul_harq_processes[i].round = 0;
sched_ctrl->ul_harq_processes[i].is_waiting = false;
}
}
......
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