srsRAN_Project icon indicating copy to clipboard operation
srsRAN_Project copied to clipboard

srsRAN gNB with srsUE over ZMQ, but not send PRACH

Open wzh8267 opened this issue 2 months ago • 17 comments

Issue Description

[Describe the issue in detail] two pc and two USRP, and the open5gs is running. I installed all the drivers needed , then build the projects of srsUE and srsRAN gNB, update the configs ZMQ model needed, then run gnb, and ue

Setup Details

[Specify details of the test setup. This would help us reproduce the problem reliably] gnb log: root@oai-ue:/home/long/wzh/513gnb/srsRAN_Project/build/apps/gnb# vi gnb_download_zmq.yaml root@oai-ue:/home/long/wzh/513gnb/srsRAN_Project/build/apps/gnb# ./gnb -c gnb_download_zmq.yaml -c slicing.yml

The PRACH detector will not meet the performance requirements with the configuration {Format 0, ZCZ 0, SCS 1.25kHz, Rx ports 1}. Lower PHY in executor blocking mode.

ue log: Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so Inactive RF plugins: Reading configuration file ue_download_zmq.yaml...

Built in Release mode using 23.04.0.

Opening 1 channels in RF device=zmq with args=tx_port=tcp://127.0.0.1:2001,rx_port=tcp://127.0.0.1:2000,base_srate=23.04e6 Supported RF device list: UHD zmq file CHx base_srate=23.04e6 Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation) CH0 rx_port=tcp://127.0.0.1:2000 CH0 tx_port=tcp://127.0.0.1:2001 Current sample rate is 23.04 MHz with a base rate of 23.04 MHz (x1 decimation) Current sample rate is 23.04 MHz with a base rate of 23.04 MHz (x1 decimation) Waiting PHY to initialize ... done! Attaching UE...

Expected Behavior

[What you expect to happen] ue didn't send prach.

Actual Behaviour

[What happens instead e.g. error message]

Steps to reproduce the problem

[Tell us how to reproduce this issue e.g. RF setup, application config files] ue_config: [rf] freq_offset = 0 tx_gain = 50 rx_gain = 40 srate = 23.04e6 nof_antennas = 1

device_name = zmq device_args = tx_port=tcp://127.0.0.1:2001,rx_port=tcp://127.0.0.1:2000,base_srate=23.04e6

[rat.eutra] dl_earfcn = 2850 nof_carriers = 0

[rat.nr] bands = 3 nof_carriers = 1 max_nof_prb = 106 nof_prb = 106

[pcap] enable = none mac_filename = /tmp/ue_mac.pcap mac_nr_filename = /tmp/ue_mac_nr.pcap nas_filename = /tmp/ue_nas.pcap

[log] all_level = info phy_lib_level = none all_hex_limit = 32 filename = /tmp/ue.log file_max_size = -1

[usim] mode = soft algo = milenage opc = 63BFA50EE6523365FF14C1F45F88737D k = 00112233445566778899aabbccddeeff imsi = 460208960000006 imei = 353490069873319

[rrc] release = 15 ue_category = 4

[nas] apn = srsapn apn_protocol = ipv4

[gw] netns = ue1 ip_devname = tun_srsue ip_netmask = 255.255.255.0

[gui] enable = false

gnb_config amf: addr: 172.16.0.183 # The address or hostname of the AMF. bind_addr: 172.16.1.186 # A local IP that the gNB binds to for traffic from the AMF.

ru_sdr: device_driver: zmq # The RF driver name. device_args: tx_port=tcp://127.0.0.1:2000,rx_port=tcp://127.0.0.1:2001,base_srate=23.04e6 # Optionally pass arguments to the selected RF driver. srate: 23.04 # RF sample rate might need to be adjusted according to selected bandwidth. tx_gain: 75 # Transmit gain of the RF might need to adjusted to the given situation. rx_gain: 75 # Receive gain of the RF might need to adjusted to the given situation.

cell_cfg: dl_arfcn: 368500 # ARFCN of the downlink carrier (center frequency). band: 3 # The NR band. channel_bandwidth_MHz: 20 # Bandwith in MHz. Number of PRBs will be automatically derived. common_scs: 15 # Subcarrier spacing in kHz used for data. plmn: "46020" # PLMN broadcasted by the gNB. tac: 512000 # Tracking area code (needs to match the core configuration). pdcch: common: ss0_index: 0 # Set search space zero index to match srsUE capabilities coreset0_index: 12 # Set search CORESET Zero index to match srsUE capabilities dedicated: ss2_type: common # Search Space type, has to be set to common dci_format_0_1_and_1_1: false # Set correct DCI format (fallback) prach: prach_config_index: 1 # Sets PRACH config to match what is expected by srsUE

cu_cp: inactivity_timer: 7200 # Sets the UE/PDU Session/DRB inactivity timer to 7200 seconds. Supported: [1 - 7200].

log: filename: /tmp/gnb.log # Path of the log file. all_level: info # Logging level applied to all layers. hex_max_size: 0

pcap: mac_enable: false # Set to true to enable MAC-layer PCAPs. mac_filename: /tmp/gnb_mac.pcap # Path where the MAC PCAP is stored. ngap_enable: false # Set to true to enable NGAP PCAPs. ngap_filename: /tmp/gnb_ngap.pcap # Path where the NGAP PCAP is stored.

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue]

wzh8267 avatar May 15 '24 04:05 wzh8267