Commit 7c941435 authored by Guido Casati's avatar Guido Casati

Bugfix wrong configuration of initial ack nack timing in FDD mode

parent 04662813
......@@ -1310,8 +1310,9 @@ int nr_acknack_scheduling(int mod_id,
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);
pucch->frame = frame;
pucch->ul_slot = tdd ? first_ul_slot_tdd : slot + minfbtime;
const int s = tdd ? first_ul_slot_tdd : slot + minfbtime;
pucch->frame = (s < n_slots_frame - 1) ? frame : (frame + 1) % 1024;
pucch->ul_slot = s % n_slots_frame;
}
// Find the right timing_indicator value.
......
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