Skip to content

Commit 689b5ff

Browse files
andrepuschmanncodebot
authored andcommitted
gnb: use band_helper to set lower_phy n_ta_offset according to band
1 parent 38d9760 commit 689b5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/gnb/gnb_appconfig_translators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ lower_phy_configuration srsran::generate_ru_config(const gnb_appconfig& config)
233233

234234
out_cfg.srate = sampling_rate::from_MHz(config.rf_driver_cfg.srate_MHz);
235235

236-
out_cfg.ta_offset = n_ta_offset::n0;
236+
out_cfg.ta_offset = band_helper::get_ta_offset(config.common_cell_cfg.band.value());
237237
if (config.rf_driver_cfg.time_alignment_calibration.has_value()) {
238238
// Selects the user specific value.
239239
out_cfg.time_alignment_calibration = config.rf_driver_cfg.time_alignment_calibration.value();

0 commit comments

Comments
 (0)