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
Michael Black
OpenXG-RAN
Commits
5b90bcbd
Commit
5b90bcbd
authored
Jul 18, 2016
by
Frédéric Leroy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE/EMM/SAP: fix misuse of extern for emm_proc_plmn_selection_end() and emm_proc_status()
parent
b33b4df0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
openair3/NAS/UE/EMM/SAP/emm_as.c
openair3/NAS/UE/EMM/SAP/emm_as.c
+7
-9
No files found.
openair3/NAS/UE/EMM/SAP/emm_as.c
View file @
5b90bcbd
...
...
@@ -53,6 +53,8 @@ Description Defines the EMMAS Service Access Point that provides
#include "emm_cause.h"
#include "LowerLayer.h"
#include "emm_proc.h"
#include <string.h> // memset
#include <stdlib.h> // malloc, free
...
...
@@ -65,10 +67,6 @@ Description Defines the EMMAS Service Access Point that provides
/**************** E X T E R N A L D E F I N I T I O N S ****************/
/****************************************************************************/
extern
int
emm_proc_plmn_selection_end
(
int
found
,
tac_t
tac
,
ci_t
ci
,
AcT_t
rat
);
extern
int
emm_proc_status
(
unsigned
int
ueid
,
int
emm_cause
);
/****************************************************************************/
/******************* L O C A L D E F I N I T I O N S *******************/
/****************************************************************************/
...
...
@@ -108,7 +106,7 @@ static int _emm_as_release_ind(nas_user_t *user, const emm_as_release_t *msg);
static
int
_emm_as_page_ind
(
const
emm_as_page_t
*
msg
);
static
int
_emm_as_cell_info_res
(
const
emm_as_cell_info_t
*
msg
);
static
int
_emm_as_cell_info_res
(
nas_user_t
*
user
,
const
emm_as_cell_info_t
*
msg
);
static
int
_emm_as_cell_info_ind
(
const
emm_as_cell_info_t
*
msg
);
static
int
_emm_as_data_ind
(
nas_user_t
*
user
,
const
emm_as_data_t
*
msg
,
int
*
emm_cause
);
...
...
@@ -225,7 +223,7 @@ int emm_as_send(nas_user_t *user, const emm_as_t *msg)
break
;
case
_EMMAS_CELL_INFO_RES
:
rc
=
_emm_as_cell_info_res
(
&
msg
->
u
.
cell_info
);
rc
=
_emm_as_cell_info_res
(
user
,
&
msg
->
u
.
cell_info
);
break
;
case
_EMMAS_CELL_INFO_IND
:
...
...
@@ -266,7 +264,7 @@ int emm_as_send(nas_user_t *user, const emm_as_t *msg)
LOG_TRACE
(
WARNING
,
"EMMAS-SAP - Received EMM message is not valid "
"(cause=%d)"
,
emm_cause
);
/* Return an EMM status message */
rc
=
emm_proc_status
(
ueid
,
emm_cause
);
rc
=
emm_proc_status
(
u
ser
,
u
eid
,
emm_cause
);
}
if
(
rc
!=
RETURNok
)
{
...
...
@@ -663,7 +661,7 @@ static int _emm_as_page_ind(const emm_as_page_t *msg)
** Others: None **
** **
***************************************************************************/
static
int
_emm_as_cell_info_res
(
const
emm_as_cell_info_t
*
msg
)
static
int
_emm_as_cell_info_res
(
nas_user_t
*
user
,
const
emm_as_cell_info_t
*
msg
)
{
LOG_FUNC_IN
;
...
...
@@ -685,7 +683,7 @@ static int _emm_as_cell_info_res(const emm_as_cell_info_t *msg)
}
/* Notify EMM that a cell has been found */
rc
=
emm_proc_plmn_selection_end
(
msg
->
found
,
msg
->
tac
,
msg
->
cellID
,
AcT
);
rc
=
emm_proc_plmn_selection_end
(
user
,
msg
->
found
,
msg
->
tac
,
msg
->
cellID
,
AcT
);
LOG_FUNC_RETURN
(
rc
);
}
...
...
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