Bugfix DLSCH: only warn when retx with less RB
The preprocessor pre-allocates a CCE. Thus, when arriving at the check for the number of RBs for retransmission, it is too late to skip the UE. Therefore, only print a warning. The default schedulers allocate a correct amount of RBs for retransmissions, therefore it is ok.
This commit is contained in:
@@ -680,15 +680,15 @@ schedule_ue_spec(module_id_t module_idP,
|
|||||||
const uint32_t rbc = allocate_prbs_sub(
|
const uint32_t rbc = allocate_prbs_sub(
|
||||||
nb_rb, N_RB_DL, N_RBG, ue_sched_ctrl->rballoc_sub_UE[CC_id]);
|
nb_rb, N_RB_DL, N_RBG, ue_sched_ctrl->rballoc_sub_UE[CC_id]);
|
||||||
|
|
||||||
if (nb_rb > ue_sched_ctrl->pre_nb_available_rbs[CC_id]) {
|
if (nb_rb > ue_sched_ctrl->pre_nb_available_rbs[CC_id])
|
||||||
LOG_D(MAC,
|
LOG_W(MAC,
|
||||||
"[eNB %d] Frame %d CC_id %d : don't schedule UE %d, its retransmission takes more resources than we have\n",
|
"[eNB %d] %d.%d CC_id %d : should not schedule UE %d, its "
|
||||||
|
"retransmission takes more resources than we have\n",
|
||||||
module_idP,
|
module_idP,
|
||||||
frameP,
|
frameP,
|
||||||
|
subframeP,
|
||||||
CC_id,
|
CC_id,
|
||||||
UE_id);
|
UE_id);
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CDRX */
|
/* CDRX */
|
||||||
ue_sched_ctrl->harq_rtt_timer[CC_id][harq_pid] = 1; // restart HARQ RTT timer
|
ue_sched_ctrl->harq_rtt_timer[CC_id][harq_pid] = 1; // restart HARQ RTT timer
|
||||||
|
|||||||
Reference in New Issue
Block a user