mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 11:29:32 +00:00
This patch consolidates the TAU handling logic for both initialUEMessage and uplinkNASTransport cases, ensuring that the EPS Bearer Context Status (BCS) check is always performed regardless of active_flag or S1AP procedure type. Key changes: - Removed duplicated TAU handling code paths in emm-sm.c. - Commonized KDF derivation and BCS validation under a single block. - Introduced mme_ue->tracking_area_update_accept_proc to store the selected S1AP procedure for TAU ACCEPT transmission. - When e->s1ap_code == initialUEMessage and active_flag == 1, TAU ACCEPT is sent via InitialContextSetup; otherwise via DownlinkNASTransport. - Applied the stored proc consistently across all handlers: mme-path.c, mme-s11-handler.c, mme-s6a-handler.c, and sgsap-handler.c. - Added fallback to DownlinkNASTransport if proc is not set. - Cleared tracking_area_update_accept_proc after use to avoid reuse. This ensures consistent TAU behavior for both initialUEMessage and uplinkNASTransport flows, unified BCS mismatch handling |
||
|---|---|---|
| .. | ||
| common | ||
| ngap | ||
| s1ap | ||
| support | ||
| util | ||
| meson.build | ||