Added nia0 to hardcoded configuration of nr-bearer-config

This commit is contained in:
Pedro Alvarez 2021-10-26 12:17:45 +01:00 committed by Andre Puschmann
parent a40a2dc191
commit bc903b13d5
1 changed files with 2 additions and 0 deletions

View File

@ -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);