Commit 48e14680 authored by Robert Schmidt's avatar Robert Schmidt

RLF: avoid encoder problem, evict afer 5s

parent 20b62f34
...@@ -3079,7 +3079,7 @@ void nr_mac_trigger_ul_failure(int rnti) ...@@ -3079,7 +3079,7 @@ void nr_mac_trigger_ul_failure(int rnti)
sched_ctrl->ul_failure = true; sched_ctrl->ul_failure = true;
// 30 seconds till triggering release request // 30 seconds till triggering release request
NR_SubcarrierSpacing_t subcarrier_spacing = UE->current_DL_BWP.scs; NR_SubcarrierSpacing_t subcarrier_spacing = UE->current_DL_BWP.scs;
sched_ctrl->ul_failure_timer = 30000 << subcarrier_spacing; sched_ctrl->ul_failure_timer = 5000 << subcarrier_spacing;
} }
void nr_mac_reset_ul_failure(NR_UE_sched_ctrl_t *sched_ctrl) void nr_mac_reset_ul_failure(NR_UE_sched_ctrl_t *sched_ctrl)
...@@ -3104,7 +3104,7 @@ void nr_mac_check_ul_failure(const gNB_MAC_INST *nrmac, int rnti, NR_UE_sched_ct ...@@ -3104,7 +3104,7 @@ void nr_mac_check_ul_failure(const gNB_MAC_INST *nrmac, int rnti, NR_UE_sched_ct
.gNB_CU_ue_id = ue_data.secondary_ue, .gNB_CU_ue_id = ue_data.secondary_ue,
.gNB_DU_ue_id = rnti, .gNB_DU_ue_id = rnti,
.cause = F1AP_CAUSE_RADIO_NETWORK, .cause = F1AP_CAUSE_RADIO_NETWORK,
.cause_value = F1AP_CauseRadioNetwork_rl_failure_others, .cause_value = F1AP_CauseRadioNetwork_rl_failure_rlc,
}; };
nrmac->mac_rrc.ue_context_release_request(&request); nrmac->mac_rrc.ue_context_release_request(&request);
} }
......
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