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
404c3461
Commit
404c3461
authored
Jul 13, 2016
by
Frédéric Leroy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE: rename _nas_user_data to at_response and move it to nas_user_t
parent
607f0ca3
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
240 additions
and
238 deletions
+240
-238
openair3/NAS/UE/nas_ue_task.c
openair3/NAS/UE/nas_ue_task.c
+6
-0
openair3/NAS/UE/nas_user.c
openair3/NAS/UE/nas_user.c
+231
-237
openair3/NAS/UE/nas_user.h
openair3/NAS/UE/nas_user.h
+1
-1
openair3/NAS/UE/user_defs.h
openair3/NAS/UE/user_defs.h
+2
-0
No files found.
openair3/NAS/UE/nas_ue_task.c
View file @
404c3461
...
...
@@ -88,6 +88,12 @@ void *nas_ue_task(void *args_p)
itti_subscribe_event_fd
(
TASK_NAS_UE
,
user
->
fd
);
}
user
->
at_response
=
calloc
(
1
,
sizeof
(
at_response_t
));
if
(
user
->
at_response
==
NULL
)
{
LOG_E
(
NAS
,
"[UE %d] Can't allocate memory for user_at_commands
\n
"
,
0
);
// FIXME stop here
}
/* Initialize NAS user */
nas_user_initialize
(
user
,
&
user_api_emm_callback
,
&
user_api_esm_callback
,
FIRMWARE_VERSION
);
}
...
...
openair3/NAS/UE/nas_user.c
View file @
404c3461
This diff is collapsed.
Click to expand it.
openair3/NAS/UE/nas_user.h
View file @
404c3461
...
...
@@ -67,6 +67,6 @@ int nas_user_receive_and_process(nas_user_t *user, char *message);
int
nas_user_process_data
(
nas_user_t
*
user
,
const
void
*
data
);
const
void
*
nas_user_get_data
(
void
);
const
void
*
nas_user_get_data
(
nas_user_t
*
nas_user
);
#endif
/* __NAS_USER_H__*/
openair3/NAS/UE/user_defs.h
View file @
404c3461
...
...
@@ -55,6 +55,7 @@ Description NAS type definition to manage a user equipment
#include "API/USIM/usim_api.h"
#include "SecurityModeControl.h"
#include "userDef.h"
#include "at_response.h"
typedef
struct
{
int
fd
;
...
...
@@ -74,6 +75,7 @@ typedef struct {
user_nvdata_t
*
nas_user_nvdata
;
//UE parameters stored in the UE's non-volatile memory device
//
nas_user_context_t
*
nas_user_context
;
at_response_t
*
at_response
;
// data structure returned to the user as the result of NAS procedure function call
}
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