Commit 9b62b5a2 authored by heshanyun's avatar heshanyun Committed by Haruki NAOI

fix issue about UE select number of DL bigger than max

(cherry picked from commit d3a5c0e805d4e46e764ae3bb8cafc891d6dc5225)

# Conflicts:
#	openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
parent 4784f603
...@@ -876,15 +876,16 @@ void dlsch_scheduler_pre_ue_select_fairRR( ...@@ -876,15 +876,16 @@ void dlsch_scheduler_pre_ue_select_fairRR(
ue_sched_ctl->select_tb[CC_id][harq_pid] = TB1; ue_sched_ctl->select_tb[CC_id][harq_pid] = TB1;
last_UE_id[CC_id] = UE_id; last_UE_id[CC_id] = UE_id;
if (dlsch_ue_num_volte[CC_id] == dlsch_ue_max_num_volte[CC_id]) { if (dlsch_ue_select[CC_id].ue_num == dlsch_ue_max_num[CC_id]) {
dlsch_ue_max_flag[CC_id] = 1; end_flag[CC_id] = 1;
break; break;
} }
if (dlsch_ue_select[CC_id].ue_num == dlsch_ue_max_num[CC_id]) { if (dlsch_ue_num_volte[CC_id] == dlsch_ue_max_num_volte[CC_id]) {
end_flag[CC_id] = 1; dlsch_ue_max_flag[CC_id] = 1;
break; break;
} }
} else { } else {
add_ue_dlsch_info(module_idP, add_ue_dlsch_info(module_idP,
CC_id, CC_id,
......
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