From edb1fcc8921a9c5148c4642d1b4efd516b641d9d Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 10 Jun 2020 13:49:34 +0200 Subject: [PATCH] srsENB: Apply new PUCCH configuration when setting dedicated config --- srsenb/src/phy/phy_ue_db.cc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/srsenb/src/phy/phy_ue_db.cc b/srsenb/src/phy/phy_ue_db.cc index f9ac06a5b..5a40593a1 100644 --- a/srsenb/src/phy/phy_ue_db.cc +++ b/srsenb/src/phy/phy_ue_db.cc @@ -333,18 +333,8 @@ void phy_ue_db::addmod_rnti(uint16_t } } - // Copy necessary PCell configuration for receiving Configuration Completion from UE - srslte::phy_cfg_t& pcell_cfg = ue.cell_info[0].phy_cfg; - - // Setup temporal PUCCH configuration - srslte_pucch_cfg_t tmp_pucch_cfg = ue.pcell_cfg_stash.ul_cfg.pucch; - tmp_pucch_cfg.N_pucch_1 = pcell_cfg.ul_cfg.pucch.N_pucch_1; ///< Used for ACK - // Load new UL configuration - pcell_cfg.ul_cfg = ue.pcell_cfg_stash.ul_cfg; - - // Overwrite PUCCH with temporal PUCCH - pcell_cfg.ul_cfg.pucch = tmp_pucch_cfg; + ue.cell_info[0].phy_cfg.ul_cfg = ue.pcell_cfg_stash.ul_cfg; } void phy_ue_db::rem_rnti(uint16_t rnti)