From 53c99796cce291e314d2434a646718f56ea83a3e Mon Sep 17 00:00:00 2001 From: Francisco Date: Tue, 12 Oct 2021 16:16:21 +0100 Subject: [PATCH] nr,gnb,rrc: ensure timing advance offset is set to present --- srsenb/src/stack/rrc/nr/cell_asn1_config.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srsenb/src/stack/rrc/nr/cell_asn1_config.cc b/srsenb/src/stack/rrc/nr/cell_asn1_config.cc index 978de0cda..606711302 100644 --- a/srsenb/src/stack/rrc/nr/cell_asn1_config.cc +++ b/srsenb/src/stack/rrc/nr/cell_asn1_config.cc @@ -237,7 +237,8 @@ int fill_serv_cell_common_from_enb_cfg(const rrc_nr_cfg_t& cfg, uint32_t cc, ser { auto& cell_cfg = cfg.cell_list.at(cc); - serv_common.ss_pbch_block_pwr = 0; + serv_common.ss_pbch_block_pwr = 0; + serv_common.n_timing_advance_offset_present = true; serv_common.n_timing_advance_offset = asn1::rrc_nr::serving_cell_cfg_common_s::n_timing_advance_offset_opts::n0; serv_common.dmrs_type_a_position = asn1::rrc_nr::serving_cell_cfg_common_s::dmrs_type_a_position_opts::pos2;