open5gs/tests/common
Sukchan Lee 72913dc927 smf: Handle QoS flow description delete
When processing a UE-requested PDU Session Modification Request, the
SMF treated every Requested QoS flow description as a QoS parameter
modification regardless of its operation code.

If the UE deletes a dedicated QoS flow by sending both:

    - Delete existing QoS rule
    - Delete existing QoS flow description

for the same QFI, the QoS rules handler sets OGS_PFCP_MODIFY_REMOVE,
but the QoS flow descriptions handler also set
OGS_PFCP_MODIFY_QOS_MODIFY. This produced an invalid
REMOVE|QOS_MODIFY combination and tripped the invariant in
gsm_handle_pdu_session_modification_request(), aborting smfd during
VoNR call teardown.

A "Delete existing QoS flow description" carries no QoS parameters, so
skip the QoS-parameter update path for that operation and let the QoS
rule deletion drive the actual PFCP removal.

Also update the test GSM message builder to encode QoS rule deletion
without packet filters, and add a VoNR regression test for the
UE-initiated dedicated QoS flow deletion case.

Issues #4672
2026-07-10 10:07:09 +09:00
..
application.c [AMF] Fix UE context transfer when only NRF is client (#3880) 2025-05-31 20:51:06 +09:00
application.h [AMF] Fix UE context transfer when only NRF is client (#3880) 2025-05-31 20:51:06 +09:00
context.c packaging: finalize v2.8.0 release 2026-06-20 13:10:28 +09:00
context.h MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
emm-build.c [tests] fix compiler warnings when used with latest GCC 2025-11-13 06:40:18 +09:00
emm-build.h Fix the ciphered test program 2022-01-08 12:26:23 +09:00
emm-handler.c Try to fix the UE infinite attach (#568) 2021-03-09 14:28:07 +09:00
emm-handler.h Try to fix the UE infinite attach (#568) 2021-03-09 14:28:07 +09:00
esm-build.c [tests] fix compiler warnings when used with latest GCC 2025-11-13 06:40:18 +09:00
esm-build.h [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
esm-handler.c [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
esm-handler.h [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
gmm-build.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
gmm-build.h Fix the ciphered test program 2022-01-08 12:26:23 +09:00
gmm-handler.c [AMF] 5G-GUTI generation changed (#910) 2021-04-13 17:34:25 +09:00
gmm-handler.h [AMF] 5G-GUTI generation changed (#910) 2021-04-13 17:34:25 +09:00
gsm-build.c smf: Handle QoS flow description delete 2026-07-10 10:07:09 +09:00
gsm-build.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gsm-handler.c Fixes UE IPv6 BUG (#808) 2021-03-15 10:01:55 +09:00
gsm-handler.h feat: Add dedicated QoS flow 2020-12-31 21:07:08 -05:00
gtpu.c [HR] Implement GTP-U processing for HR Roaming in User Plane (#2194) 2024-11-23 17:51:42 +09:00
gtpu.h [HR] Implement GTP-U processing for HR Roaming in User Plane (#2194) 2024-11-23 17:51:42 +09:00
meson.build Prometheus metrics set to default 2022-11-21 22:06:29 +09:00
nas-encoder.c [NAS] modify library to include both directions of deregistration requests 2022-07-11 22:53:21 +09:00
nas-encoder.h Release v2.0.0 2020-08-21 23:33:45 -04:00
nas-path.c [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
nas-path.h Release v2.0.0 2020-08-21 23:33:45 -04:00
nas-security.c [NAS] modify library to include both directions of deregistration requests 2022-07-11 22:53:21 +09:00
nas-security.h Release v2.0.0 2020-08-21 23:33:45 -04:00
ngap-build.c s1ap, ngap: migrate ASN.1 generated code to R19 2026-05-04 08:46:47 +09:00
ngap-build.h [AMF] Fix crash on malformed NGSetupRequest PLMNIdentity 2025-09-23 23:08:42 +09:00
ngap-handler.c s1ap, ngap: migrate ASN.1 generated code to R19 2026-05-04 08:46:47 +09:00
ngap-handler.h feat: Indirect Data Forwarding in N2-Handover 2021-01-31 23:01:15 -05:00
ngap-path.c Fix the ciphered test program 2022-01-08 12:26:23 +09:00
ngap-path.h Add AUSF, UDM, and UDR 2020-06-04 14:12:05 -04:00
s1ap-build.c s1ap, ngap: migrate ASN.1 generated code to R19 2026-05-04 08:46:47 +09:00
s1ap-build.h Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
s1ap-handler.c s1ap, ngap: migrate ASN.1 generated code to R19 2026-05-04 08:46:47 +09:00
s1ap-handler.h X2 handover with SGW change (#1367, #1459) 2022-05-12 22:52:36 +09:00
s1ap-path.c [MME/AMF] Fixed crash following Handover Request (#3014) 2024-02-29 23:02:38 +09:00
s1ap-path.h Release v2.0.0 2020-08-21 23:33:45 -04:00
sctp.c [SCTP] Support setting local address (#3344) 2024-12-23 21:16:15 +09:00
sctp.h [AMF] Registation status update and tests 2024-09-03 22:09:56 +09:00
sgsap-build.c [CSFB] Fix Location Update for non-EPS (#3381) 2024-11-05 16:37:45 +09:00
sgsap-build.h Release v2.0.0 2020-08-21 23:33:45 -04:00
test-common.h merge main branch 2026-06-10 09:07:45 +09:00