add warning when space in pdcch cannot be found

This commit is contained in:
Francisco Paisana 2020-04-08 14:42:17 +01:00 committed by Francisco Paisana
parent 7932a6bed7
commit 26211f12bd
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,7 @@ dl_harq_proc* dl_metric_rr::allocate_user(sched_ue* user)
}
if (code == alloc_outcome_t::DCI_COLLISION) {
// No DCIs available for this user. Move to next
log_h->warning("SCHED: Couldn't find space in PDCCH for DL retx for rnti=0x%x\n", user->get_rnti());
return nullptr;
}
@ -120,6 +121,7 @@ dl_harq_proc* dl_metric_rr::allocate_user(sched_ue* user)
return h;
}
if (code == alloc_outcome_t::DCI_COLLISION) {
log_h->warning("SCHED: Couldn't find space in PDCCH for DL retx for rnti=0x%x\n", user->get_rnti());
return nullptr;
}
}
@ -137,6 +139,8 @@ dl_harq_proc* dl_metric_rr::allocate_user(sched_ue* user)
code = tti_alloc->alloc_dl_user(user, newtx_mask, h->get_id());
if (code == alloc_outcome_t::SUCCESS) {
return h;
} else if (code == alloc_outcome_t::DCI_COLLISION) {
log_h->warning("SCHED: Couldn't find space in PDCCH for DL tx for rnti=0x%x\n", user->get_rnti());
}
}
}