From 9cda4e058d9b3cdd7fc875324728651edef7850e Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Tue, 25 Jan 2022 12:32:56 +0100 Subject: [PATCH] Disable srsgnb time in advance offset --- srsgnb/src/stack/rrc/cell_asn1_config.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srsgnb/src/stack/rrc/cell_asn1_config.cc b/srsgnb/src/stack/rrc/cell_asn1_config.cc index 1dce59a6d..1f2befe77 100644 --- a/srsgnb/src/stack/rrc/cell_asn1_config.cc +++ b/srsgnb/src/stack/rrc/cell_asn1_config.cc @@ -1215,6 +1215,10 @@ int fill_serv_cell_cfg_common_sib(const rrc_cell_cfg_nr_t& cell_cfg, serving_cel cfg.ssb_periodicity_serving_cell.value = serving_cell_cfg_common_sib_s::ssb_periodicity_serving_cell_opts::ms10; + // The time advance offset is not supported by the current PHY + cfg.n_timing_advance_offset_present = true; + cfg.n_timing_advance_offset = serving_cell_cfg_common_sib_s::n_timing_advance_offset_opts::n0; + // TDD UL-DL config if (cell_cfg.duplex_mode == SRSRAN_DUPLEX_MODE_TDD) { cfg.tdd_ul_dl_cfg_common_present = true;