Sukchan Lee f3f010b36c [MME] unify EPS Bearer Context Status (BCS) check for both active_flag=0 and 1
Previously, TAU procedure validated EPS Bearer Context Status (BCS)
only when active_flag == 0. When active_flag == 1, the MME skipped BCS
validation and sent TAU ACCEPT directly via InitialContextSetup.

This patch unifies BCS validation so both active_flag paths handle
bearer mismatches consistently. It also selects the correct S1AP
procedure (InitialContextSetup or DownlinkNASTransport) depending on
the UE active state.

Changes:
- emm-sm.c / sgsap-handler.c:
  * Always check EPS_BEARER_CONTEXT_STATUS_TYPE presence.
  * Invoke mme_send_delete_session_or_tau_accept() for both
    active_flag=0 and 1.
  * Send TAU ACCEPT directly only when BCS is not present.

- mme-path.c:
  * Select S1AP procedure in TAU ACCEPT based on active_flag.

- mme-s11-handler.c:
  * After Delete Session Response (OGS_GTP_DELETE_SEND_TAU_ACCEPT),
    send TAU ACCEPT using proper S1AP procedure by active_flag.

This aligns MME TAU behavior with 3GPP TS 24.301 section 5.3.3.0a,
ensuring consistent BCS synchronization regardless of UE activity.
2025-10-22 23:02:41 +09:00
2025-02-04 21:09:20 +09:00
2025-07-19 10:32:41 +09:00
2025-10-02 21:07:26 +09:00
2025-10-17 09:17:02 +09:00
2023-11-27 22:21:35 +09:00
2023-10-10 08:03:25 +09:00
2025-07-19 10:32:41 +09:00
2024-08-24 19:18:55 +09:00

Open5GS logo

Getting Started

Please follow the documentation at open5gs.org!

Sponsors

If you find Open5GS useful for work, please consider supporting this Open Source project by Becoming a sponsor. To manage the funding transactions transparently, you can donate through OpenCollective.

Special Sponsor

special sponsor mobi

sponsors

Community

  • Problem with Open5GS can be filed as issues in this repository.
  • Other topics related to this project are happening on the discussions.
  • Voice and text chat are available in Open5GS's Discord workspace. Use this link to get started.

Contributing

If you're contributing through a pull request to Open5GS project on GitHub, please read the Contributor License Agreement in advance.

License

Support

Technical support and customized services for Open5GS are provided by NewPlane at support@newplane.io.

Description
Open5GS is a C-language Open Source implementation for 5G Core and EPC, i.e. the core network of LTE/NR network (Release-17)
Readme AGPL-3.0 269 MiB
Languages
C 97.6%
Mustache 0.9%
JavaScript 0.5%
Meson 0.5%
Python 0.3%
Other 0.2%