From c988fc49b4aab21cc137dc0c7589fb84785d053d Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 16 Sep 2021 11:44:59 +0100 Subject: [PATCH] Remove comparison between LGC priority and allocation retantion priority, as these do not seem related. --- srsenb/src/stack/rrc/rrc_bearer_cfg.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/srsenb/src/stack/rrc/rrc_bearer_cfg.cc b/srsenb/src/stack/rrc/rrc_bearer_cfg.cc index 88807add3..6870d22f0 100644 --- a/srsenb/src/stack/rrc/rrc_bearer_cfg.cc +++ b/srsenb/src/stack/rrc/rrc_bearer_cfg.cc @@ -280,15 +280,6 @@ int bearer_cfg_handler::add_erab(uint8_t return SRSRAN_ERROR; } } - if (qos.alloc_retention_prio.pre_emption_cap.value == asn1::s1ap::pre_emption_cap_opts::may_trigger_pre_emption and - qos.alloc_retention_prio.prio_level < qci_cfg.lc_cfg.prio) { - logger->error("Provided E-RAB id=%d QoS not supported (priority %d < %d)", - erab_id, - qos.alloc_retention_prio.prio_level, - qci_cfg.lc_cfg.prio); - cause.set_radio_network().value = asn1::s1ap::cause_radio_network_opts::invalid_qos_combination; - return SRSRAN_ERROR; - } // Consider ERAB as accepted erabs[erab_id].id = erab_id;