From b2825d1280393210f1a5d092896f295460cca285 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 7 May 2021 13:19:54 +0200 Subject: [PATCH] mac_controller: after maxRetx disable ALL UE bearers the reasoning here is that the only way to recover from the maxRetx event is the UE attempting a reestablishment. No further traffic, neither control nor data is scheduled until then. --- srsenb/src/stack/rrc/mac_controller.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srsenb/src/stack/rrc/mac_controller.cc b/srsenb/src/stack/rrc/mac_controller.cc index ebe53fe35..a8145e8ff 100644 --- a/srsenb/src/stack/rrc/mac_controller.cc +++ b/srsenb/src/stack/rrc/mac_controller.cc @@ -299,8 +299,10 @@ void mac_controller::handle_ho_prep(const asn1::rrc::ho_prep_info_r8_ies_s& ho_p void mac_controller::handle_max_retx() { - set_drb_activation(false); - update_mac(other); + for (auto& ue_bearer : current_sched_ue_cfg.ue_bearers) { + ue_bearer.direction = sched_interface::ue_bearer_cfg_t::IDLE; + } + update_mac(config_tx); } void mac_controller::set_scell_activation(const std::bitset& scell_mask)