Add Multi-PLMN and Network Slicing Support #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements multi-PLMN support in OAI 5G NR, which is a prerequisite for MOCN scenarios.
Changes
gNB downlink: Add support for reading multiple PLMNs from gNB configuration file and broadcasting them in SIB1.
Simulated NR UE: Implement PLMN selection logic based on IMSI. UE now extracts MCC/MNC from its IMSI and selects the matching PLMN from the broadcast list.
F1AP data structure refactoring: Modified
f1ap_served_cell_info_tby removing the single slice list and addingserved_plmn_list, where each element contains a PLMN and its associated slices (plmn,num_nssai,nssai[MAX_NUM_SLICES]). Updated related logic including configuration file parsing, DU encoding, CU decoding, and utility functions.Testing: Tested with both single and dual simulated UEs (using namespace isolation and telnet). Successfully tested with dual PLMNs (46011 and 20893). Ping tests (
ping -I oaitun_ue1 10.10.4.2) successful, where 10.10.4.2 is the Data Network IP. Also tested with f1ap_lib_test.c.Bug fixes: Fixed some minor issues.
Test Setup
Setup:
