From 3c4efba4180e5801cea0a64e8b5c71755b61fdaf Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Mon, 11 Oct 2021 15:34:16 +0200 Subject: [PATCH] Added missing parameters to NR PHY configuration factory --- lib/src/common/phy_cfg_nr_default.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/src/common/phy_cfg_nr_default.cc b/lib/src/common/phy_cfg_nr_default.cc index 58c8b1fcb..d457aa6cd 100644 --- a/lib/src/common/phy_cfg_nr_default.cc +++ b/lib/src/common/phy_cfg_nr_default.cc @@ -384,10 +384,13 @@ void phy_cfg_nr_default_t::make_harq_auto(srsran_harq_ack_cfg_hl_t& harq, void phy_cfg_nr_default_t::make_prach_default_lte(srsran_prach_cfg_t& prach) { - prach.config_idx = 0; - prach.freq_offset = 4; - prach.root_seq_idx = 0; - prach.is_nr = true; + prach.is_nr = true; + prach.config_idx = 0; + prach.root_seq_idx = 0; + prach.zero_corr_zone = 0; + prach.freq_offset = 4; + prach.num_ra_preambles = 64; + prach.hs_flag = false; } phy_cfg_nr_default_t::phy_cfg_nr_default_t(const reference_cfg_t& reference_cfg)