Commit 9a33bca2 authored by Frédéric Leroy's avatar Frédéric Leroy

UE: move _nas_user_context to nas_user_t

parent ef05c1d9
......@@ -13,4 +13,31 @@ typedef struct {
int rsrp;
} proc_data_t;
/*
* MT SIM pending status (see ETSI TS 127 007 V10.6.0, Note 2)
* Commands which interact with MT that are accepted when MT is pending SIM PIN,
* SIM PUK, or PH-SIM are: +CGMI, +CGMM, +CGMR, +CGSN, D112; (emergency call),
* +CPAS, +CFUN, +CPIN, +CPINR, +CDIS (read and test command only), and +CIND
* (read and test command only).
*/
typedef enum {
NAS_USER_READY, /* MT is not pending for any password */
NAS_USER_SIM_PIN, /* MT is waiting SIM PIN to be given */
NAS_USER_SIM_PUK, /* MT is waiting SIM PUK to be given */
NAS_USER_PH_SIM_PIN /* MT is waiting phone-to-SIM card
* password to be given */
} nas_user_sim_status;
/*
* The local UE context
*/
typedef struct {
/* Firmware version number */
const char *version;
/* SIM pending status */
nas_user_sim_status sim_status;
/* Level of functionality */
int fun;
} nas_user_context_t;
#endif
This diff is collapsed.
......@@ -70,6 +70,7 @@ typedef struct {
security_data_t *security_data; //Internal data used for security mode control procedure
// Hardware persistent storage
usim_data_t usim_data; // USIM application data
nas_user_context_t *nas_user_context;
} nas_user_t;
#endif
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