Commit e3eb6630 authored by Guido Casati's avatar Guido Casati

Add 5GMM Modes in NAS

* added fgs_mm_mode_t enum
* added struct member to NAS
* modes: FGS_IDLE, FGS_CONNECTED
* according to 5GS mobility management (5GMM) modes 5.1.3.2.1.1 of TS 24.501
parent 98d922e5
......@@ -59,6 +59,16 @@ typedef enum fgs_mm_state_e {
FGS_SERVICE_REQUEST_INITIATED,
} fgs_mm_state_t;
/*
* 5GS mobility management (5GMM) modes
* 5.1.3.2.1.1 of TS 24.501
*/
typedef enum fgs_mm_mode_e {
FGS_NOT_CONNECTED,
FGS_IDLE,
FGS_CONNECTED,
} fgs_mm_mode_t;
/* Security Key for SA UE */
typedef struct {
uint8_t kausf[32];
......@@ -76,6 +86,8 @@ typedef struct {
typedef struct {
/* 5GS Mobility Management States (5.1.3.2.1 of 3GPP TS 24.501) */
fgs_mm_state_t fiveGMM_state;
/* 5GS Mobility Management mode */
fgs_mm_mode_t fiveGMM_mode;
uicc_t *uicc;
ue_sa_security_key_t security;
stream_security_container_t *security_container;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment