fix scheduler UL harq reset for msg3 case

This commit is contained in:
Francisco 2021-03-11 12:12:37 +00:00 committed by Francisco Paisana
parent 68c938267f
commit 31b03fdd8a
1 changed files with 6 additions and 0 deletions

View File

@ -273,8 +273,14 @@ bool ul_harq_proc::has_pending_phich() const
bool ul_harq_proc::pop_pending_phich()
{
assert(pending_phich);
bool ret = ack_state[0];
pending_phich = false;
if (is_empty(0)) {
// fully reset UL HARQ once PHICH is dispatched
is_msg3_ = false;
pending_data = 0;
}
return ret;
}