rrc,bugfix - stop scheduling when RLC AM max_retx is achieved

master
Francisco 4 years ago committed by Andre Puschmann
parent 2e18827259
commit 9601770196

@ -55,6 +55,8 @@ public:
const srslte::rrc_ue_capabilities_t& uecaps);
void handle_ho_prep(const asn1::rrc::ho_prep_info_r8_ies_s& ho_prep);
void handle_max_retx();
const ue_cfg_t& get_ue_sched_cfg() const { return current_sched_ue_cfg; }
bool is_crnti_set() const { return crnti_set; }

@ -299,6 +299,14 @@ void mac_controller::handle_ho_prep(const asn1::rrc::ho_prep_info_r8_ies_s& ho_p
}
}
void mac_controller::handle_max_retx()
{
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<SRSLTE_MAX_CARRIERS>& scell_mask)
{
for (uint32_t i = 1; i < current_sched_ue_cfg.supported_cc_list.size(); ++i) {

@ -136,6 +136,8 @@ void rrc::ue::max_retx_reached()
// Give UE time to start re-establishment
set_activity_timeout(UE_REESTABLISH_TIMEOUT);
mac_ctrl.handle_max_retx();
}
}

Loading…
Cancel
Save