Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
9a33bca2
Commit
9a33bca2
authored
Jul 13, 2016
by
Frédéric Leroy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE: move _nas_user_context to nas_user_t
parent
ef05c1d9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
47 deletions
+74
-47
openair3/NAS/UE/nas_proc_defs.h
openair3/NAS/UE/nas_proc_defs.h
+27
-0
openair3/NAS/UE/nas_user.c
openair3/NAS/UE/nas_user.c
+46
-47
openair3/NAS/UE/user_defs.h
openair3/NAS/UE/user_defs.h
+1
-0
No files found.
openair3/NAS/UE/nas_proc_defs.h
View file @
9a33bca2
...
...
@@ -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
openair3/NAS/UE/nas_user.c
View file @
9a33bca2
This diff is collapsed.
Click to expand it.
openair3/NAS/UE/user_defs.h
View file @
9a33bca2
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment