srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

SrsUE with USRP B210 connecting to LTE but not switching to 5G in NSA mode

Open anasalbakri opened this issue 3 years ago • 4 comments

Issue Description

[Describe the issue in detail] I'm trying to connect USRP B210 with SrsUE on a linux PC to a real commercial 5G gNB NSA mode wireless. I have the EARFCN of the gNB as follows: LTE: EARFCN: 38675 corresponding to 2302.5 MHz (Band 40). NR Central (dl_nr_arfcn): 630666 corresponding to 3459.990 MHz (Band 78) NR SSB (ssb_nr_arfcn): 630624 corresponding to 3459.360 MHz Also I'm using their unique sim card because their gNB can't work with virtual sims. I'm following the guide of 5G NSA Amari as it is the closest one to my use case: https://docs.srsran.com/en/latest/app_notes/source/5g_nsa_amari/source/index.html Though, unlike in the guide, I can't use external clock because it is wireless connection and also i don't have control over the commercial gNB.

Setup Details

[Specify details of the test setup. This would help us reproduce the problem reliably] e.g. Network configuration, Operation System, Hardware, RF front-end, library and driver versions I have made the following changes in srsue config file: [rf] freq_offset = -4000 tx_gain = 90 rx_gain = 60 [rat.eutra] dl_earfcn = 38675 [rat.nr] bands = 78 #dl_earfcn = 630666 nof_carriers = 1

Expected Behavior

[What you expect to happen] UE should connect to LTE then siwtch to 5G in NR RRC reconfiguration.

Actual Behaviour

[What happens instead e.g. error message] UE is connecting indeed to LTE and getting an IP address but is not conencting to 5G. I chekced the log files and it appears UE is not trying to switch to 5G at all so could this be due to high UE capability requirement from gNB? also, I'm getting the error: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 I want to try to use another USRP to be able to do MIMO 2x2 with NSA mode to get rid of this error but is this possible with SrsUE?

I attached the log file with debug mode. ue.log ue.txt

This is the output I'm getting. sudo srsue Couldn't open , trying /root/.config/srsran/ue.conf Reading configuration file /root/.config/srsran/ue.conf...

Built in Release mode using commit 5275f3336 on branch master.

Opening 2 channels in RF device=default with args=default Available RF device list: UHD soapy Trying to open RF device 'UHD' [INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_3.15.0.HEAD-0-gaea0e2de [INFO] [LOGGING] Fastpath logging disabled at runtime. Opening USRP channels=2, args: type=b200,master_clock_rate=23.04e6 [INFO] [UHD RF] RF UHD Generic instance constructed [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Asking for clock rate 23.040000 MHz... [INFO] [B200] Actually got clock rate 23.040000 MHz. [INFO] [MULTI_USRP] 1) catch time transition at pps edge [INFO] [MULTI_USRP] 2) set times next pps (synchronously) RF device 'UHD' successfully opened Waiting PHY to initialize ... done! Attaching UE... . Found Cell: Mode=TDD, PCI=42, PRB=25, Ports=2, CP=Normal, CFO=-1.9 KHz Enabling subframe interpolation for TDD cells (recommended setting) Enabling subframe interpolation for TDD cells (recommended setting) Enabling subframe interpolation for TDD cells (recommended setting) RF status: O=3, U=0, L=0 . Found Cell: Mode=TDD, PCI=42, PRB=25, Ports=2, CP=Normal, CFO=-1.7 KHz Enabling subframe interpolation for TDD cells (recommended setting) RF status: O=6, U=0, L=0 Setting TDD-config: 1, SS config: 7 Found PLMN: Id=302990, TAC=10601 Random Access Transmission: seq=42, tti=5528, ra-rnti=0x9 RRC Connected Random Access Complete. c-rnti=0x4a49, ta=42 Network attach successful. IP: 10.203.1.5 encqor (encqor) 28/1/2022 21:53:30 TZ:10 t Enter t to stop trace. ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 24 6 4.0 0.0 100% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 1.0 252 0% 22.4 | 29 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.5k | 21 5 0.0 0.0 100% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 22.4 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.6k | 16 6 1.0 87 50% 22.4 | 3 8.2k 6.2k 31% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 1.0 42k 0% 22.4 | 2 135k 59k 14% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 1.0 27k 0% 22.4 | 1 199k 53k 8% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 1.0 17k 0% 21.9 | 1 199k 53k 8% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.6k | 24 5 1.0 12k 1% 21.9 | 1 199k 58k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 1.0 8.9k 0% 21.9 | 1 200k 50k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.6k | 0 5 1.0 12k 0% 21.9 | 1 199k 51k 8% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 1.0 12k 0% 21.9 | 1 163k 56k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -89 107 -1.6k | 0 5 1.0 12k 0% 21.9 | 1 30k 57k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -89 107 -1.5k | 0 5 1.0 11k 0% 21.9 | 1 0.0 38k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 5 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 5 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.5k | 0 6 0.0 0.0 0% 21.9 | 0 0.0 0.0 0% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 2 6 1.0 13k 0% 21.9 | 1 242k 15k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 24k 0% 21.9 | 1 385k 48k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.6k | 1 6 0.8 22k 20% 21.9 | 1 385k 54k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 7.1k 0% 21.9 | 1 385k 55k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.1 11k 2% 21.9 | 1 385k 60k 12% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 13k 0% 21.9 | 1 385k 55k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 12k 0% 21.9 | 1 385k 59k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 1 6 1.0 12k 0% 22.4 | 1 385k 54k 12% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 6.8k 0% 22.4 | 1 385k 56k 8% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 17k 0% 21.9 | 1 386k 50k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.6k | 0 6 1.0 4.6k 0% 21.9 | 1 385k 64k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 19k 0% 22.4 | 1 374k 56k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 1.0 6.3k 0% 22.4 | 1 365k 54k 12% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 7.4k 0% 21.9 | 1 360k 48k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 1.0 10k 0% 21.9 | 1 354k 51k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 13k 0% 21.9 | 1 349k 53k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 9.0k 0% 21.9 | 1 343k 56k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 9.4k 0% 21.9 | 1 337k 57k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.5k | 1 6 1.0 8.1k 0% 21.9 | 1 331k 59k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 9.1k 0% 21.9 | 1 325k 59k 12% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 12k 0% 21.9 | 1 319k 53k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.6k | 1 5 1.0 13k 0% 21.9 | 1 313k 54k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 13k 0% 21.9 | 1 308k 51k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 11k 0% 22.4 | 1 302k 54k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 11k 0% 22.4 | 1 297k 53k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.6k | 1 6 0.9 19k 14% 21.9 | 1 291k 57k 12% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.7k | 0 6 1.0 10.0k 0% 21.9 | 1 286k 50k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 11k 0% 21.9 | 1 280k 57k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 1.0 11k 0% 21.9 | 1 274k 55k 12% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.6k | 1 6 1.0 12k 3% 21.9 | 1 268k 48k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 1.0 15k 0% 22.4 | 1 263k 51k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 14k 0% 22.4 | 1 257k 63k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.6k | 1 6 1.0 7.2k 0% 22.4 | 1 251k 54k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 7.0k 0% 22.4 | 1 245k 56k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 7.5k 0% 21.9 | 1 240k 52k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 16k 0% 21.9 | 1 234k 58k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.6k | 1 6 1.0 16k 3% 21.9 | 1 228k 59k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 4.4k 0% 21.9 | 1 223k 59k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 7.3k 0% 21.9 | 1 217k 53k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding /home/ets/srsRAN/lib/src/phy/mimo/precoding.c:1221: Error predecoding CCD: Invalid combination of ports 2 and rx antennax 1 /home/ets/srsRAN/lib/src/phy/phch/pdsch.c:880: Error predecoding lte 42 -88 106 -1.6k | 1 6 0.8 7.8k 20% 21.9 | 1 211k 59k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 14k 0% 21.9 | 1 205k 56k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 6 1.0 2.3k 0% 21.9 | 1 200k 52k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.7k | 1 6 1.0 8.9k 0% 22.4 | 1 194k 56k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler lte 42 -88 106 -1.7k | 1 6 1.0 6.7k 0% 22.4 | 1 188k 57k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 6.6k 0% 22.4 | 1 182k 54k 9% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 6 1.0 13k 0% 22.4 | 1 177k 53k 11% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 5 1.0 13k 0% 22.4 | 1 171k 52k 12% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% ^CStopping .. lte 42 -89 107 -1.6k | 0 5 1.0 12k 0% 21.9 | 1 166k 52k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 1 5 1.0 58k 0% 21.9 | 1 161k 48k 10% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.7k | 0 5 1.0 2.2k 0% 21.9 | 1 155k 47k 8% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -89 107 -1.7k | 1 5 1.0 2.6k 0% 21.9 | 1 149k 67k 16% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% lte 42 -88 106 -1.6k | 0 5 1.0 3.5k 0% 21.9 | 1 143k 55k 8% nr 0 0 0 0.0 | 0 0 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% Couldn't stop after 5s. Forcing exit. Killed

Steps to reproduce the problem

[Tell us how to reproduce this issue e.g. RF setup, application config files] sudo srsue

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue] Thank you very much for the help.

anasalbakri avatar Jan 31 '22 16:01 anasalbakri

Thanks for the report. I am afraid the TDD support for LTE in srsUE hasn't been a focus for some time so there might be issues with this in the first place. But your console log seems ok, you get an IP. However, after the attach the network doesn't seem to continue with any 5G activation. Also the UE capability exchange isn't happening for 5G. Double check you're setting capabilities and RRC version correctly. Please also share PCAPs.

andrepuschmann avatar Feb 14 '22 09:02 andrepuschmann

Specifically, use:

[rrc]
release           = 15

andrepuschmann avatar Feb 14 '22 09:02 andrepuschmann

Thank you very much for the reply. Yes, I noticed there is some limitations for 5G with srsue but it is worth trying :) I specified release 15 in rrc and also tried both UE category 4 and 5 with same results (though UE capability information message now is larger 44 bytes and was 19 bytes before). So, Indeed UE capability is not containing the EUTRA-NR capabilities which is very odd because the log clearly is saying otherwise:

From log level info: RRC ] [I] SRB1 - Rx ueCapabilityEnquiry (16 B) 2022-02-15T16:25:48.797271 [RRC ] [I] Including EUTRA-NR capabilities in UE Capability Info (31 B) 2022-02-15T16:25:48.797276 [RRC ] [I] Including NR capabilities in UE Capability Info (12 B) 2022-02-15T16:25:48.797279 [RRC ] [I] SRB1 - Tx ueCapabilityInformation (48 B)

from log level debug which shows the full UE capability enquiry and information message. ] [D] Integrity check input msg (Bytes=20): 0000: 03 38 20 1c 83 49 ca 73 60 a0 08 03 41 38 29 80 0010: 9b 04 10 00 2022-02-15T16:09:04.827139 [RRC ] [D] RX PDU, LCID: 1 2022-02-15T16:09:04.827158 [RRC ] [D] SRB1 - Rx ueCapabilityEnquiry (19 B) 0000: 38 20 1c 83 49 ca 73 60 a0 08 03 41 38 29 80 9b 0010: 04 10 00 2022-02-15T16:09:04.827164 [RRC ] [D] Content: [ { "DL-DCCH-Message": { "message": { "c1": { "ueCapabilityEnquiry": { "rrc-TransactionIdentifier": 0, "criticalExtensions": { "c1": { "ueCapabilityEnquiry-r8": { "ue-CapabilityRequest": [ "eutra" ], "nonCriticalExtension": { "nonCriticalExtension": { "requestedFrequencyBands-r11": [ 14, 40, 42 ], "nonCriticalExtension": { "requestReducedFormat-r13": "true", "requestSkipFallbackComb-r13": "true", "requestReducedIntNonContComb-r13": "true", "nonCriticalExtension": { "nonCriticalExtension": { "requestedFreqBandsNR-MRDC-r15": "00803413829809b04100" } } } } } } } } } } } } } ] 2022-02-15T16:09:04.827164 [RRC ] [D] Preparing UE Capability Info 2022-02-15T16:09:04.827219 [RRC ] [D] Requested Freq Bands NR MRDC R15 present 2022-02-15T16:09:04.827231 [RRC ] [D] SRB1 - Tx ueCapabilityInformation (44 B) 0000: 38 01 02 8d d8 00 00 9c 00 0f 30 20 80 00 01 00 0010: 0a 04 00 a2 00 42 50 00 c0 0a a0 00 40 08 a4 80 2022-02-15T16:09:04.827232 [RRC ] [D] Content: [ { "UL-DCCH-Message": { "message": { "c1": { "ueCapabilityInformation": { "rrc-TransactionIdentifier": 0, "criticalExtensions": { "c1": { "ueCapabilityInformation-r8": { "ue-CapabilityRAT-ContainerList": [ { "rat-Type": "eutra", "ueCapabilityRAT-Container": "dd800009c000f3020800001000a0400a200425000c00aa0004008a480001000008254d0004d10000" } ] } } } } } } } } ] 2022-02-15T16:09:04.827235 [PDCP ] [D] Integrity gen input: COUNT 4, Bearer ID 1, Direction Uplink 2022-02-15T16:09:04.827235 [PDCP ] [D] Integrity gen key: 0000: 4b 61 46 3c 44 f5 b7 d7 60 98 f7 8b ab e6 41 99 0010: 65 c0 a7 97 84 7b 94 f9 2a a4 e3 ec 78 c2 f3 61 2022-02-15T16:09:04.827235 [PDCP ] [D] Integrity gen input msg: 0000: 04 38 01 02 8d d8 00 00 9c 00 0f 30 20 80 00 01 0010: 00 0a 04 00 a2 00 42 50 00 c0 0a a0 00 40 08 a4 2022-02-15T16:09:04.827237 [PDCP ] [D] MAC (generated)

What are the other parameters in the configuration that is related to UE capability?

Also, is it possible to connect to 5G SA instead of NSA or it's not supported yet?

I have attached log files of debug level and the PCAP in a zip file.

At this point, I know for sure it has to do with UE capability message so I'm trying to look at the source code of rrc to understand what is happening So, any guide toward where to look specifically is greatly appreciated.

Thank you very much, ue1.zip

anasalbakri avatar Feb 15 '22 16:02 anasalbakri

One more information that could be helpful on what is the UE capability that is sufficient to do 5G reconfiguration. We were able to connect another SDR of a different software to the same gNB we are trying to connect o with srsue Here is the UE capability information message from the other device logs:

{ message c1: ueCapabilityInformation: { rrc-TransactionIdentifier 0, criticalExtensions c1: ueCapabilityInformation-r8: { ue-CapabilityRAT-ContainerList { { rat-Type eutra, ueCapabilityRAT-Container { accessStratumRelease rel15, ue-Category 4, pdcp-Parameters { supportedROHC-Profiles { profile0x0001-r15 TRUE, profile0x0002-r15 TRUE, profile0x0003-r15 FALSE, profile0x0004-r15 TRUE, profile0x0006-r15 FALSE, profile0x0101-r15 FALSE, profile0x0102-r15 FALSE, profile0x0103-r15 FALSE, profile0x0104-r15 FALSE } }, phyLayerParameters { ue-TxAntennaSelectionSupported FALSE, ue-SpecificRefSigsSupported TRUE }, rf-Parameters { supportedBandListEUTRA { { bandEUTRA 40, halfDuplex FALSE } } }, measParameters { bandListEUTRA { { interFreqBandList { { interFreqNeedForGaps TRUE } } } } }, featureGroupIndicators '5E001002'H /* 2: PUCCH 2a/2b, abs TPC, RB alloc type 1 for PDSCH, Periodic CQI/PMI/RI reporting on PUCCH: Modes 2-0 and 2-1 4: Short DRX cycle 5: Long DRX cycle, DRX Mac CE 6: Prioritized bit rate 7: RLC UM 20: SRB1 and SRB2 for DCCH + 8x DRB 31: MFBI */, interRAT-Parameters { }, nonCriticalExtension { phyLayerParameters-v920 { enhancedDualLayerFDD-r9 supported, enhancedDualLayerTDD-r9 supported }, interRAT-ParametersGERAN-v920 { }, csg-ProximityIndicationParameters-r9 { }, neighCellSI-AcquisitionParameters-r9 { }, son-Parameters-r9 { }, nonCriticalExtension { lateNonCriticalExtension { nonCriticalExtension { nonCriticalExtension { phyLayerParameters-v9d0 { tm5-FDD-r9 supported, tm5-TDD-r9 supported } } } }, nonCriticalExtension { ue-Category-v1020 7, phyLayerParameters-v1020 { tm9-With-8Tx-FDD-r10 supported, crossCarrierScheduling-r10 supported, multiClusterPUSCH-WithinCC-r10 supported, nonContiguousUL-RA-WithinCC-List-r10 { { nonContiguousUL-RA-WithinCC-Info-r10 supported } } }, rf-Parameters-v1020 { supportedBandCombination-r10 { { { bandEUTRA-r10 40, bandParametersUL-r10 { { ca-BandwidthClassUL-r10 a } }, bandParametersDL-r10 { { ca-BandwidthClassDL-r10 a, supportedMIMO-CapabilityDL-r10 twoLayers } } } } } }, nonCriticalExtension { rf-Parameters-v1060 { supportedBandCombinationExt-r10 { { } } }, nonCriticalExtension { nonCriticalExtension { pdcp-Parameters-v1130 { pdcp-SN-Extension-r11 supported }, phyLayerParameters-v1130 { multiACK-CSI-Reporting-r11 supported, tdd-SpecialSubframe-r11 supported }, rf-Parameters-v1130 { }, measParameters-v1130 { }, interRAT-ParametersCDMA2000-v1130 { }, otherParameters-r11 { }, nonCriticalExtension { ue-Category-v1170 10, nonCriticalExtension { rf-Parameters-v1180 { freqBandRetrieval-r11 supported, requestedBands-r11 { 14, 42, 40 } }, nonCriticalExtension { ue-Category-v11a0 12, nonCriticalExtension { rf-Parameters-v1250 { supportedBandListEUTRA-v1250 { { dl-256QAM-r12 supported } } }, rlc-Parameters-r12 { extended-RLC-LI-Field-r12 supported }, nonCriticalExtension { nonCriticalExtension { nonCriticalExtension { nonCriticalExtension { pdcp-Parameters-v1310 { pdcp-SN-Extension-18bits-r13 supported }, rlc-Parameters-v1310 { extendedRLC-SN-SO-Field-r13 supported }, mac-Parameters-v1310 { extendedMAC-LengthField-r13 supported, extendedLongDRX-r13 supported }, interRAT-ParametersWLAN-r13 { }, wlan-IW-Parameters-v1310 { }, lwip-Parameters-r13 { }, nonCriticalExtension { nonCriticalExtension { nonCriticalExtension { nonCriticalExtension { ce-Parameters-v1350 { }, nonCriticalExtension { nonCriticalExtension { phyLayerParameters-v1430 { }, rlc-Parameters-v1430 { extendedPollByte-r14 supported }, otherParameters-v1430 { }, ce-Parameters-v1430 { }, nonCriticalExtension { lwa-Parameters-v1440 { }, mac-Parameters-v1440 { }, nonCriticalExtension { otherParameters-v1450 { }, nonCriticalExtension { otherParameters-v1460 { }, nonCriticalExtension { irat-ParametersNR-r15 { en-DC-r15 supported, eventB2-r15 supported, supportedBandListEN-DC-r15 { { bandNR-r15 78 } } }, featureSetsEUTRA-r15 { featureSetsDL-r15 { { featureSetPerCC-ListDL-r15 { 0 } } }, featureSetsDL-PerCC-r15 { { supportedMIMO-CapabilityDL-MRDC-r15 twoLayers } }, featureSetsUL-r15 { { featureSetPerCC-ListUL-r15 { 0 } } }, featureSetsUL-PerCC-r15 { { } } }, pdcp-ParametersNR-r15 { rohc-Profiles-r15 { profile0x0001-r15 TRUE, profile0x0002-r15 TRUE, profile0x0003-r15 FALSE, profile0x0004-r15 TRUE, profile0x0006-r15 FALSE, profile0x0101-r15 FALSE, profile0x0102-r15 FALSE, profile0x0103-r15 FALSE, profile0x0104-r15 FALSE }, rohc-ProfilesUL-Only-r15 { profile0x0006-r15 FALSE }, outOfOrderDelivery-r15 supported, sn-SizeLo-r15 supported }, nonCriticalExtension { measParameters-v1520 { }, nonCriticalExtension { nonCriticalExtension { otherParameters-v1540 { }, nonCriticalExtension { phyLayerParameters-v1550 { }, mac-Parameters-v1550 { eLCID-Support-r15 supported }, fdd-Add-UE-EUTRA-Capabilities-v1550 { }, tdd-Add-UE-EUTRA-Capabilities-v1550 { } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }

anasalbakri avatar Feb 15 '22 17:02 anasalbakri