From 7aa701eb85b0ef7d89762cc24122a487061d5210 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Mon, 4 Oct 2021 14:56:58 +0100 Subject: [PATCH] nr,config: fix default SSB periodicity configuration in rrc and scheduler --- srsenb/src/enb_cfg_parser.cc | 2 +- srsenb/test/mac/nr/sched_nr_cfg_generators.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/srsenb/src/enb_cfg_parser.cc b/srsenb/src/enb_cfg_parser.cc index 8e2e30d1f..748345350 100644 --- a/srsenb/src/enb_cfg_parser.cc +++ b/srsenb/src/enb_cfg_parser.cc @@ -1169,7 +1169,7 @@ int parse_cfg_files(all_args_t* args_, rrc_cfg_t* rrc_cfg_, rrc_nr_cfg_t* rrc_nr if (rrc_nr_cfg_->cell_list.size() == 1) { rrc_cfg_->endc_cfg.nr_dl_arfcn = rrc_nr_cfg_->cell_list.at(0).dl_arfcn; rrc_cfg_->endc_cfg.nr_band = rrc_nr_cfg_->cell_list.at(0).band; - rrc_cfg_->endc_cfg.ssb_period_offset.set_sf5_r15(); + rrc_cfg_->endc_cfg.ssb_period_offset.set_sf10_r15(); rrc_cfg_->endc_cfg.ssb_duration = asn1::rrc::mtc_ssb_nr_r15_s::ssb_dur_r15_opts::sf1; rrc_cfg_->endc_cfg.ssb_ssc = asn1::rrc::rs_cfg_ssb_nr_r15_s::subcarrier_spacing_ssb_r15_opts::khz15; rrc_cfg_->endc_cfg.act_from_b1_event = true; // ENDC will only be activated from B1 measurment diff --git a/srsenb/test/mac/nr/sched_nr_cfg_generators.h b/srsenb/test/mac/nr/sched_nr_cfg_generators.h index 1c139f9c3..dbf8afd1c 100644 --- a/srsenb/test/mac/nr/sched_nr_cfg_generators.h +++ b/srsenb/test/mac/nr/sched_nr_cfg_generators.h @@ -37,6 +37,7 @@ inline sched_nr_interface::cell_cfg_t get_default_cell_cfg( cell_cfg.carrier = phy_cfg.carrier; cell_cfg.duplex = phy_cfg.duplex; + cell_cfg.ssb = phy_cfg.ssb; cell_cfg.bwps.resize(1); cell_cfg.bwps[0].pdcch = phy_cfg.pdcch;