From bc903b13d5174f18eac48a88c4a50e469706c622 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 26 Oct 2021 12:17:45 +0100 Subject: [PATCH] Added nia0 to hardcoded configuration of nr-bearer-config --- srsenb/src/stack/rrc/rrc_nr.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsenb/src/stack/rrc/rrc_nr.cc b/srsenb/src/stack/rrc/rrc_nr.cc index 3009508a9..f865205e8 100644 --- a/srsenb/src/stack/rrc/rrc_nr.cc +++ b/srsenb/src/stack/rrc/rrc_nr.cc @@ -1251,6 +1251,8 @@ int rrc_nr::ue::pack_nr_radio_bearer_config(asn1::dyn_octstring& packed_nr_beare sec_cfg.key_to_use = asn1::rrc_nr::security_cfg_s::key_to_use_opts::secondary; sec_cfg.security_algorithm_cfg_present = true; sec_cfg.security_algorithm_cfg.ciphering_algorithm = ciphering_algorithm_opts::nea0; + sec_cfg.security_algorithm_cfg.integrity_prot_algorithm_present = true; + sec_cfg.security_algorithm_cfg.integrity_prot_algorithm = integrity_prot_algorithm_opts::nia0; // pack it packed_nr_bearer_config.resize(128);