Commit a3d78407 authored by Haruki NAOI's avatar Haruki NAOI

Fix: DLSCH scheduling dose not work on LCID 4.

(cherry picked from commit 78852a03f3c5581b53a88929f9c1784fc60c5376)
parent 2c8f47be
...@@ -112,6 +112,9 @@ int header_length_last; ...@@ -112,6 +112,9 @@ int header_length_last;
int header_length_total; int header_length_total;
int dl_dtch_num; int dl_dtch_num;
int dl_dtch_list[MAX_NUM_DTCH]; int dl_dtch_list[MAX_NUM_DTCH];
eNB_MAC_INST *eNB = RC.mac[module_idP];
UE_list_t *UE_list = &(eNB->UE_list);
UE_sched_ctrl_t *UE_scheduling_control = NULL;
for (UE_id = 0; UE_id <NUMBER_OF_UE_MAX; UE_id++) { for (UE_id = 0; UE_id <NUMBER_OF_UE_MAX; UE_id++) {
if (pre_scd_activeUE[UE_id] != TRUE) if (pre_scd_activeUE[UE_id] != TRUE)
...@@ -123,13 +126,17 @@ int dl_dtch_num; ...@@ -123,13 +126,17 @@ int dl_dtch_num;
rnti = UE_RNTI(module_idP, UE_id); rnti = UE_RNTI(module_idP, UE_id);
ue_contextP = rrc_eNB_get_ue_context(RC.rrc[module_idP], rnti); ue_contextP = rrc_eNB_get_ue_context(RC.rrc[module_idP], rnti);
UE_scheduling_control = &(UE_list->UE_sched_ctrl[UE_id]);
if (ue_contextP == NULL) if (ue_contextP == NULL)
continue; continue;
for (lc_id = DCCH; lc_id < MAX_NUM_LCID; lc_id++) { for (lc_id = DCCH; lc_id < MAX_NUM_LCID; lc_id++) {
if(lc_id == 4){ /* LCID 4 */ if (UE_scheduling_control->volte_configured == TRUE) {
if(lc_id == UE_scheduling_control->volte_lcid){
continue; continue;
} }
}
if (lc_id >= DTCH) { if (lc_id >= DTCH) {
drb_id = lc_id - 2; drb_id = lc_id - 2;
if (ue_contextP->ue_context.DRB_active[drb_id] == 0) { if (ue_contextP->ue_context.DRB_active[drb_id] == 0) {
......
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