open5gs/tests/handover
Sukchan Lee db0196cba7 [AMF] Skip unprovisioned sessions to prevent premature error indication (#3951)
In the previous implementation, the AMF would send a Partial-handover error
indication whenever it encountered a session not found in the subscriber DB,
even if valid sessions remained. This resulted in unexpected error responses
during NG handover.

To resolve this, we record the initial SMF transaction count before iterating
through the UE session list. Sessions without a valid SMF context now produce
a warning and are skipped, while continuing to send Handover Notify messages
for provisioned sessions. After processing, we compare the SMF transaction
count to the initial value. If no valid sessions were handled, we send a
Partial-handover error indication.

With this change, unprovisioned sessions no longer trigger a premature error
indication, allowing valid PDU sessions to complete NG handover successfully.
2025-06-27 15:22:08 +09:00
..
5gc-n2-test.c [AMF] Skip unprovisioned sessions to prevent premature error indication (#3951) 2025-06-27 15:22:08 +09:00
5gc-xn-test.c [SMF] Include N2 ACK for unchanged tunnel on repeated PathSwitchRequest (#3909) 2025-06-01 15:46:53 +09:00
abts-main.c feat: Add N2-Handover 2021-01-28 14:23:54 -05:00
epc-s1-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
epc-x2-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
meson.build feat: Add N2-Handover 2021-01-28 14:23:54 -05:00