Skip to content

Commit 340050c

Browse files
carlo-galcodebot
authored andcommitted
band_helper: fix UL ARFCN derivation
Signed-off-by: Carlo Galiotto <[email protected]>
1 parent 1eaad26 commit 340050c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ran/band_helper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ uint32_t srsran::band_helper::get_ul_arfcn_from_dl_arfcn(uint32_t dl_arfcn, std:
815815

816816
// Derive UL ARFCN for FDD bands.
817817
for (const nr_band_raster& b_it : nr_band_table) {
818-
if (b_it.band == get_band_from_dl_arfcn(dl_arfcn)) {
818+
if (b_it.band == operating_band) {
819819
const uint32_t offset = (dl_arfcn - b_it.dl_nref_first) / b_it.dl_nref_step;
820820
return (b_it.ul_nref_first + offset * b_it.ul_nref_step);
821821
}

0 commit comments

Comments
 (0)