srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.43k stars 1.13k forks source link

ue earfcn list iteration issue #1160

Open jgiovatto opened 1 year ago

jgiovatto commented 1 year ago

Issue Description

setting ue.conf dl_earfcn = 2850,3050

Does not work as expected.

Expected Behavior

Expect to change frequency during cell search .

Actual Behaviour

Uses the first entry only.

Additional Information

Proposed fix:

''' diff --git a/srsue/src/phy/sync.cc b/srsue/src/phy/sync.cc index c346d2cf3..905aece2d 100644 --- a/srsue/src/phy/sync.cc +++ b/srsue/src/phy/sync.cc @@ -290,7 +290,7 @@ rrc_interface_phy_lte::cell_search_ret_t sync::cell_search_start(phy_cell_t* fou }

cellsearch_earfcn_index++;

therustyalex commented 1 week ago

Did you solve this?