Commit 5c10d7ed authored by David Kim's avatar David Kim

Uncommented downlink harq ACK/NACK scheduling condition.

parent 845a5dc2
......@@ -721,12 +721,6 @@ void nr_schedule_ue_spec(module_id_t module_id,
if (current_harq_pid < 0) {
/* PP has not selected a specific HARQ Process, get a new one */
current_harq_pid = sched_ctrl->available_dl_harq.head;
//TODO:: Need to remove this if condition after debug.
if (current_harq_pid < 0)
{
LOG_D(MAC,"no free dl HARQ process available for UE %d\n",UE_id);
return;
}
AssertFatal(current_harq_pid >= 0,
"no free HARQ process available for UE %d\n",
UE_id);
......
......@@ -558,15 +558,13 @@ int nr_acknack_scheduling(int mod_id,
* scheduled a lot and used all AckNacks, pucch->frame might have been
* wrapped around to next frame */
if (frame != pucch->frame || pucch->ul_slot < first_ul_slot_tdd) {
//TODO:: This comment should be removed later.
/*
pucch->dai_c = 0;
AssertFatal(pucch->sr_flag + pucch->dai_c == 0,
"expected no SR/AckNack for UE %d in %4d.%2d, but has %d/%d for %4d.%2d\n",
UE_id, frame, slot, pucch->sr_flag, pucch->dai_c, pucch->frame, pucch->ul_slot);
AssertFatal(frame + 1 != pucch->frame,
"frame wrap around not handled in %s() yet\n",
__func__);
*/
pucch->frame = frame;
pucch->ul_slot = first_ul_slot_tdd;
}
......
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