openaicellular / oaic

Core software for Open AI Cellular
https://openaicellular.github.io/oaic/
GNU General Public License v3.0
65 stars 23 forks source link

Packet capturing and source code modification #137

Open Dustin12138 opened 1 year ago

Dustin12138 commented 1 year ago

I set up the sample 5G network successfully in OAIC. I have two questions about the OAIC source code and the configuration of the network components.

  1. I enabled the packet capturing options in ue.conf. When I ran the network with a configured UE, I noticed no NAS-layer packet was captured. Then I uncommented the default parameters in the configuration file and reran the network, I received the message 'the argument ('0xe6041000') for option 'rrc.feature_group' is invalid'. How shall I modify the configuration file to enable the packet capturing on the NAS layer? Also, how can I capture packets on the RRC layer?

  2. How can I modify the source code of UE to send customized requests to gNB? For example, if I want to let UE send RRCResume packets, which file of the source code shall I modify, and how can I modify it?