srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
466 stars 159 forks source link

Number of symbols is 0 in O-RAN Fronthaul C-Plane for PRACH #686

Closed terry-hasegawa closed 2 months ago

terry-hasegawa commented 2 months ago

Issue Description

When using Long Preamble, the number of symbols included in the O-RAN Fronthaul C-Plane for PRACH is 0. The number of symbols is defined by O-RAN WG4 CUS as follows: image

However, when using Long Preamble Format 0, the number of symbols is 0. image

Setup Details

Set up srs gNB with Long Preamble Format.

Expected Behavior

An appropriate number of symbols is set in the Fronthaul packet.

Actual Behaviour

The Fronthaul C-Plane for PRACH has number of symbols set to 0.

Steps to reproduce the problem

Set up srs gNB with Long Preamble Format.

Additional Information

For Short Preamble, the number of symbols is set in lib\ran\prach\prach_preamble_information.cpp::get_prach_preamble_short_info(). However, for Long Preamble, the number of symbols is not set in lib\ran\prach\prach_preamble_information.cpp::get_prach_preamble_long_info().

get_prach_preamble_long_info() image

get_prach_preamble_short_info() image

andrepuschmann commented 2 months ago

The issue should solved in current main. Could you retest and check please?

wei-lou commented 2 months ago

Pulled the latest 24.04 from srs github and compiled without any modification. I am still getting the numsymbol = 0. We are using long preamble 0 on n71 10MHz bandwidth.

srs_main_2404_ofh_run01

RU_n71_10mhz_4x4_v12.yml.txt srs_main_2404_ofh_run01.pcap.gz gnb_run01.zip

terry-hasegawa commented 2 months ago

Hi @andrepuschmann, This issue was also reproduced on the main branch. Please check.

andrepuschmann commented 2 months ago

I just double checked with current main and the config @wei-lou posted and I confirm that it works. See here: image

I guess you are using an older version.

wei-lou commented 2 months ago

Hi @andrepuschmann ,

This is the link I pulled the latest 24.04 load and then compiled. Is this the right link for the latest load or there are some other links? Thanks,

https://github.com/srsran/srsRAN_Project/archive/refs/tags/release_24_04.tar.gz

image

andrepuschmann commented 2 months ago

The release is from April 22nd. You need to git clone the repo and use the main branch to get the latest code. We only do tagged releases every 6 months.

wei-lou commented 2 months ago

The release is from April 22nd. You need to git clone the repo and use the main branch to get the latest code. We only do tagged releases every 6 months.

The release is from April 22nd. You need to git clone the repo and use the main branch to get the latest code. We only do tagged releases every 6 months.

Got it, thanks for the clarification

terry-hasegawa commented 2 months ago

@andrepuschmann Did git pull, now the numsymbol is 1. Thank you. image