Skip to content

Conversation

@kevin8023c
Copy link

What I have implemented:

  1. gNB broadcasts multiple PLMN IDs.
  2. UE chooses the PLMN ID according to the IMSI info from ue configuration.

What still needs to be done:

  1. A single gNB connects to two cores (each core has one AMF).

Yuanhao added 4 commits December 22, 2025 22:53
Summary: add gNB multiple PLMNs broadcasting and simulated UE selection logic. Now if gNB broadcast {46011, 20893}, UE can choose 20893 (from configuration), successfully connect to 5GC and get ip and ping successfully (ping -I oaitun_ue1 10.10.4.2).

Major changes:
- Fix UE PLMN selection: use correct index (j instead of i) from plmn_IdentityList
- Add multi-PLMN support in gNB configuration
- Add debugging scripts for uftrace function tracing
- Update configuration files for MOCN testing

Bug fix:
- openair2/RRC/NR_UE/rrc_UE.c: Fixed selectedPLMN_Identity to use inner list index
  This resolves the issue where PLMN list order affected UE registration

Scripts added:
- cyh_build_oai.sh: Normal build script
- cyh_rebuild_with_instrument.sh: Build with uftrace instrumentation
- cyh_start_ue.sh: UE startup helper
- cyh_trace_full_workflow.sh: Complete uftrace workflow
- test_uftrace.sh: uftrace functionality test
- UFTRACE_QUICKSTART.md: Documentation for function tracing
- 添加双UE配置和启动脚本 (ue2.conf, cyh_start_ue1/ue2_in_namespace.sh)(没用脚本,下面的也只是暂存,除了最后一行确实)
- 添加完整的namespace网络架构文档和数据包流程分析
- 添加OAI编译指南和多UE故障排查文档
- 添加UE注册流程分析和追踪工具对比文档
- 添加多个辅助脚本用于追踪、分析和重新编译
- 修改telnetsrv和build脚本以支持telnet库编译
- Remove all personal helper scripts (cyh_*.sh)
- Remove personal documentation files (*.md)
- Remove debug log statements from core code
- Keep only essential MOCN feature code changes
- Minor whitespace cleanup in config_libconfig.c

This prepares the branch for upstream pull request submission.
…NG.md

- Delete OAI_BUILD_GUIDE.md (personal documentation)
- Delete test_uftrace.sh (personal test script)
- Restore CONTRIBUTING.md (OAI official contribution guide)
- Clean up whitespace in config_libconfig.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant