From fb3416371bc85e81fbed99c682c5dc549739eb38 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 11 Jan 2022 14:38:59 +0100 Subject: [PATCH] enb,rrc_nr: use SSB arfcn for key derivation for reestablishment --- srsgnb/src/stack/rrc/rrc_nr_ue.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsgnb/src/stack/rrc/rrc_nr_ue.cc b/srsgnb/src/stack/rrc/rrc_nr_ue.cc index 6589eee96..b108626fe 100644 --- a/srsgnb/src/stack/rrc/rrc_nr_ue.cc +++ b/srsgnb/src/stack/rrc/rrc_nr_ue.cc @@ -946,7 +946,7 @@ void rrc_nr::ue::handle_rrc_reest_request(const asn1::rrc_nr::rrc_reest_request_ // Recover security setup sec_ctx = old_ue->sec_ctx; auto& pscell_cfg = parent->cfg.cell_list.at(UE_PSCELL_CC_IDX); - sec_ctx.regenerate_keys_handover(pscell_cfg.phy_cell.carrier.pci, pscell_cfg.dl_arfcn); + sec_ctx.regenerate_keys_handover(pscell_cfg.phy_cell.carrier.pci, pscell_cfg.ssb_absolute_freq_point); // For the reestablishment, only add SRB1 to new UE context next_radio_bearer_cfg.srb_to_add_mod_list_present = true;