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.
This commit is contained in:
Andre Puschmann 2021-05-07 13:19:54 +02:00
parent b61be7878a
commit b2825d1280
1 changed files with 4 additions and 2 deletions

View File

@ -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<SRSRAN_MAX_CARRIERS>& scell_mask)