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.38k stars 1.11k forks source link

srsUE uplink issue in 5G SA mode #1089

Open ArD1L opened 1 year ago

ArD1L commented 1 year ago

Issue Description

Hi all,

I am trying to establish a 5G SA connection between srsUE and Amarisoft Callbox. The connection is unstable and I see a lot of "Error filing tb" and "Computing UL grant" prompts.

It works when I fix the low mcs (mcs=8, for 10MHz bandwidth and 15kHz scs) at the base station. Does that mean my UE is not able to generate data fast enough?

Setup Details

Intel Core i7 CPU @ 3.50 GHz 8GB RAM Ubuntu 20.04.1 srsRAN 22.04 UHD v4.2.0.0

Expected Behavior

no errors

Actual Behaviour

UE output: Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so Inactive RF plugins: Reading configuration file /home/user/.config/srsran/ue.conf...

Built in Release mode using commit ce8a3cae1 on branch heads/release_22_04.

Opening 1 channels in RF device=default with args=default Supported RF device list: UHD zmq file Trying to open RF device 'UHD' [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.3.0.heads-v4.2.0.0-14-g1e718d9b [INFO] [LOGGING] Fastpath logging disabled at runtime. Opening USRP channels=1, 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. RF device 'UHD' successfully opened Waiting PHY to initialize ... done! Attaching UE... Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=8331 Random Access Complete. c-rnti=0x4604, ta=3 RRC Connected RRC NR reconfiguration successful. PDU Session Establishment successful. IP: 192.168.2.2 RRC NR reconfiguration successful. /home/user/lte/srsRAN/lib/src/phy/phch/ra_nr.c:937: Error filing tb /home/user/lte/srsRAN/srsue/hdr/phy/nr/state.h:123: Computing UL grant /home/user/lte/srsRAN/lib/src/phy/phch/ra_nr.c:937: Error filing tb /home/user/lte/srsRAN/srsue/hdr/phy/nr/state.h:123: Computing UL grant /home/user/lte/srsRAN/lib/src/phy/phch/ra_nr.c:937: Error filing tb /home/user/lte/srsRAN/srsue/hdr/phy/nr/state.h:123: Computing UL grant /home/user/lte/srsRAN/lib/src/phy/phch/ra_nr.c:937: Error filing tb /home/user/lte/srsRAN/srsue/hdr/phy/nr/state.h:123: Computing UL grant /home/user/lte/srsRAN/lib/src/phy/phch/ra_nr.c:937: Error filing tb /home/user/lte/srsRAN/srsue/hdr/phy/nr/state.h:123: Computing UL grant /home/user/lte/srsRAN/lib/src/phy/phch/ra_nr.c:937: Error filing tb /home/user/lte/srsRAN/srsue/hdr/phy/nr/state.h:123: Computing UL grant /home/user/lte/srsRAN/lib/src/phy/phch/ra_nr.c:937: Error filing tb /home/user/lte/srsRAN/srsue/hdr/phy/nr/state.h:123: Computing UL grant]

Thanks and regards!

rubidam commented 1 year ago

Hello, I also tried to establish a 5G SA connection between srsue and Amari callbox. However, it cannot make a connection. srsUE just repeat below sentence.

RF Status: O=16, U=0, L=0

So, can I ask your config file of srsUE and Amarisoft gnb? Also, is there some condition to succeed connection?