Handle both 5G-S-TMSI and GUAMI in the NGAP Initial UE Message procedures

* use bitmask to select presence of either 5G-S-TMSI or GUAMI
* select the AMF based on
  (1) absence of UE Identity (2) Presence of GUAMI (3) Presence of 5G-S-TMSI

Related to #801
This commit is contained in:
Guido Casati
2025-05-28 13:01:28 +02:00
parent afe73820d6
commit 8a0baed430
3 changed files with 28 additions and 26 deletions
-1
View File
@@ -217,7 +217,6 @@ typedef struct ngap_ue_paging_identity_s {
} ngap_ue_paging_identity_t;
typedef enum ngap_ue_identities_presenceMask_e {
NGAP_UE_IDENTITIES_NONE = 0,
NGAP_UE_IDENTITIES_FiveG_s_tmsi = 1 << 1,
NGAP_UE_IDENTITIES_guami = 1 << 2,
} ngap_ue_identities_presenceMask_t;