Code Monkey home page Code Monkey logo

Comments (12)

brendan-mcauliffe avatar brendan-mcauliffe commented on June 8, 2024

Hi @fabio-patrizi,

With the latest version of srsRAN Project, we have made some updates to the gNB configuration.

When configuring the gNB to connect to srsUE you now need to correctly set the dci_format_0_1_and_1_1 in the cell_cfg as well as the ss_type. By default non-fallback is used as the DCI format, this needs to be changed so that fallback is used. srsUE requires a common search space and fallback DCI to be used.

These changes are the same for both ZMQ and RF-based setups.

You can find updated config files reflecting these changes here.

from srsran_project.

fabio-patrizi avatar fabio-patrizi commented on June 8, 2024

Hi @brendan-mcauliffe,
thanks for the support. I tried to follow the updated tutorial and to use the new config files but I'm still struggling to get the UE connected. Now I can use ยจss_type: common" without problems, but still cannot connect the UE to the gNB.
I have updated the issue accordingly, replacing in particular the config files with the new ones.
Do you have any other recommendation?
Thanks a lot!

from srsran_project.

brendan-mcauliffe avatar brendan-mcauliffe commented on June 8, 2024

Can you send the pcap files for the UE and the gNB NGAP?

from srsran_project.

fabio-patrizi avatar fabio-patrizi commented on June 8, 2024

I guess this is the gNB NGAP pcap file:
gnb_ngap.zip

I cannot produce the UE's. This is the configuration I currently have for UE's pcap section:

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

I also tried enable = true and enable = yes but /tmp does not contain any of the files above.

from srsran_project.

brendan-mcauliffe avatar brendan-mcauliffe commented on June 8, 2024

It looks like the gNB and core are successfully creating the NG connection. So it is probably down how the UE is registered in the core. I will need the UE pcaps to confirm this.

For the UE you can enable the pcaps on a per-layer basis. For example you can enable all pcaps using enable = mac, mac_nr, nas.

Can you enable these and send the relevant pcap files.

from srsran_project.

fabio-patrizi avatar fabio-patrizi commented on June 8, 2024

Here they are:
ue_pcap_files.zip

from srsran_project.

brendan-mcauliffe avatar brendan-mcauliffe commented on June 8, 2024

All of those files are empty, can you re-do the tests and make sure the pcaps get populated correctly.

from srsran_project.

fabio-patrizi avatar fabio-patrizi commented on June 8, 2024

Uh, sorry, I didn't stop the UE and it didn't write the files. Now they are updated.

from srsran_project.

brendan-mcauliffe avatar brendan-mcauliffe commented on June 8, 2024

With the latest version of the public code, there have been some changes to the DMRS format of the PUSCH. This is causing the RRC Setup to fail. We have highlighted the issue and are working on fix internally that should be available soon.

For now, you should revert to the last tagged release of srsRAN Project, version 23.5. You can find it here. You will also need to revert to the original configuration file. This means you should use rf_driver instead of ru_sdr, and remove the dci_format_0_1_and_1_1 from the cell_cfg option.

from srsran_project.

fabio-patrizi avatar fabio-patrizi commented on June 8, 2024

Tried also with 23.5 but still the same:

Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so
Inactive RF plugins:
Reading configuration file ./srsRAN_4G/build/ue_zmq.conf...

Built in Release mode using commit 921f17484 on branch master.

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=11.52e6
Supported RF device list: UHD zmq file
CHx base_srate=11.52e6
Current sample rate is 1.92 MHz with a base rate of 11.52 MHz (x6 decimation)
CH0 rx_port=tcp://127.0.0.1:2000
CH0 tx_port=tcp://127.0.0.1:2001
Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
Waiting PHY to initialize ... done!
Attaching UE...
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0x39, tti=334
Random Access Complete. c-rnti=0x4601, ta=0
RRC Connected

I attach all configuration and pcap files below. Do you confirm configuration files are OK?

amf.yaml.txt
upf.yaml.txt
gnb_zmq.yaml.txt
ue_zmq.conf.txt

pcap_files.zip

Thanks

from srsran_project.

brendan-mcauliffe avatar brendan-mcauliffe commented on June 8, 2024

@fabio-patrizi using the latest version of srsUE and srsRAN Project v23.5 should give you a stable connection. I can see in the attached ue_mac_nr pcap that the cause of the RRC connection not succeeding is due to a known issue with the latest version of the srsRAN Project code.

from srsran_project.

fabio-patrizi avatar fabio-patrizi commented on June 8, 2024

@brendan-mcauliffe I tried once again, and I confirm it works. Probably, I inadvertently launched the latest gnb instead of v. 23.5. For the time being, I think I can work with this. Thanks a lot for the support!

from srsran_project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.