From d65ae322d39a08974b5d55890ed256f91d4cb28a Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 4 Feb 2022 14:40:14 +0100 Subject: [PATCH] ue,rrc: fix UL center freq setting --- srsue/src/stack/rrc_nr/rrc_nr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/src/stack/rrc_nr/rrc_nr.cc b/srsue/src/stack/rrc_nr/rrc_nr.cc index 8c3c4c8a3..fc788a206 100644 --- a/srsue/src/stack/rrc_nr/rrc_nr.cc +++ b/srsue/src/stack/rrc_nr/rrc_nr.cc @@ -88,6 +88,7 @@ int rrc_nr::init(phy_interface_rrc_nr* phy_, // Carrier config srsran::srsran_band_helper bands; phy_cfg.carrier.dl_center_frequency_hz = bands.nr_arfcn_to_freq(args.dl_nr_arfcn); + phy_cfg.carrier.ul_center_frequency_hz = bands.nr_arfcn_to_freq(bands.get_ul_arfcn_from_dl_arfcn(args.dl_nr_arfcn)); phy_cfg.carrier.ssb_center_freq_hz = bands.nr_arfcn_to_freq(args.ssb_nr_arfcn); phy_cfg.carrier.nof_prb = args.nof_prb; phy_cfg.carrier.max_mimo_layers = 1;