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.48k stars 1.14k forks source link

UE's can't connect to LimeSDR on a bandwhith 1,4Mhz #931

Open zikkuratti opened 2 years ago

zikkuratti commented 2 years ago

Faced with the problem that the LimeSDR USB doesn't start registration procedure then n_prb=6 (Band 8) on prb = 50 it's work well but to me is principal 6. Got any useful advice what to config to solve this problem? Also using SrsRan 20.04 because last is drop after 5 call's (trying different UE's PC's etc.) The only point i saw is to config in sib.conf line prach_freq_offset = 4; to zero. How about you, comrades?

zikkuratti commented 2 years ago

Last main 22.04 work with 1,4Mhz well, but couldn't make more then 4 calls, dear maintainers could u provide me lines, functions of code wich i can fix? or i go to re:fuck it all)

zikkuratti commented 2 years ago

Files affected by changes in the n_prb key variable affecting the bandwidth when migrating from version 21.04 to 22.04

1) https://github.com/srsran/srsRAN/blob/release_22_04/lib/src/phy/ch_estimation/chest_ul.c

2) https://github.com/srsran/srsRAN/blob/release_22_04/srsenb/hdr/stack/mac/sched_phy_ch/sched_dci.h

include "../sched_lte_common.h"

include "srsenb/hdr/stack/mac/sched_phy_ch/sched_phy_resource.h"

3) replaced by static constants in fresh code https://github.com/srsran/srsRAN/blob/release_22_04/lib/src/phy/ch_estimation/refsignal_ul.c

4) rewritten includes and part of drb code to rb https://github.com/srsran/srsRAN/blob/release_22_04/srsenb/hdr/enb.h

include "srsenb/hdr/stack/mac/sched_interface.h"

include "srsgnb/hdr/stack/gnb_stack_nr.h"

include "srsran/interfaces/enb_time_interface.h"

include "srsran/interfaces/enb_x2_interfaces.h"

5) almost all changed something about ports and antennas https://github.com/srsran/srsRAN/blob/release_22_04/lib/src/phy/phch/ra_dl_nr.c

6) added to config nr_pdsch_mcs=28 and much more commented out https://github.com/srsran/srsRAN/blob/release_22_04/srsenb/enb.conf.example

7) more than a thousand lines of changes supposedly added 5G but not only https://github.com/srsran/srsRAN/blob/release_22_04/srsenb/src/enb_cfg_parser.cc

include "srsgnb/hdr/stack/rrc/rrc_nr_config_utils.h"

include "srsran/asn1/rrc_utils.h"

include "srsran/common/band_helper.h"

include "srsran/rrc/rrc_common.h"

8) memory handling slightly updated https://github.com/srsran/srsRAN/blob/release_22_04/srsenb/hdr/stack/mac/sched_grid.h

include "sched_common.h"

include "sched_interface.h"

9) work with signal modulation has been altered, technologies may have been added https://github.com/srsran/srsRAN/blob/release_22_04/lib/src/phy/phch/ra_nr.c

include "srsran/phy/fec/cbsegm.h"

include / floor /

10) some memory points have been changed and the inclusion has been patched to the lte marker https://github.com/srsran/srsRAN/blob/release_22_04/srsenb/src/stack/mac/sched_phy_ch/sched_dci.cc

include "srsenb/hdr/stack/mac/sched_lte_common.h"

11) 200+ changes to the main launch file, mostly from a fresh config, but also logic and includes added https://github.com/srsran/srsRAN/blob/release_22_04/srsenb/src/main.cc

include <sys/mman.h>

include "srsran/common/tsan_options.h"

include "srsran/support/emergency_handlers.h"

include "srsran/support/signal_handler.h"

Dear maintainers got some advices?

egortaran commented 2 years ago

Which version of SoapySDR and LimeSuite are you using?

zikkuratti commented 2 years ago

it's nevermind bro.

Also i catch some info from test. Error. Detected 2 CQI != 15 in eNB logs. We should finish with all qci=15.

11:16:45.250556 [PHY2 ] [I] [ 361] PUCCH: cc=0; rnti=0x46, f=2, n_pucch=0, dmrs_corr=-nan, snr=-inf dB, corr=0.000, cqi=0 (cc=0), ta=0.0 us 11:16:58.562601 [PHY0 ] [I] [ 361] PUCCH: cc=0; rnti=0x46, f=2, n_pucch=0, dmrs_corr=-nan, snr=-inf dB, corr=0.000, cqi=0 (cc=0), ta=0.0 us

And looks like it has some reasons here but not shure at all: /lib/src/mac/mac_sch_pdu_nr.cc