Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
0341ca40
Commit
0341ca40
authored
Jun 26, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5440
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
35d6bc81
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
15 deletions
+26
-15
openair-cn/NAS/EURECOM-NAS/Makefile
openair-cn/NAS/EURECOM-NAS/Makefile
+4
-1
openair-cn/NAS/EURECOM-NAS/Makefile.inc
openair-cn/NAS/EURECOM-NAS/Makefile.inc
+2
-1
openair-cn/NAS/EURECOM-NAS/Makerules
openair-cn/NAS/EURECOM-NAS/Makerules
+1
-1
openair-cn/NAS/EURECOM-NAS/src/Makefile
openair-cn/NAS/EURECOM-NAS/src/Makefile
+3
-3
openair-cn/NAS/EURECOM-NAS/src/api/Makefile
openair-cn/NAS/EURECOM-NAS/src/api/Makefile
+8
-1
openair-cn/NAS/EURECOM-NAS/src/api/network/Makefile
openair-cn/NAS/EURECOM-NAS/src/api/network/Makefile
+2
-2
openair-cn/NAS/EURECOM-NAS/src/api/network/nas_message.c
openair-cn/NAS/EURECOM-NAS/src/api/network/nas_message.c
+3
-2
openair-cn/NAS/EURECOM-NAS/tools/Makefile
openair-cn/NAS/EURECOM-NAS/tools/Makefile
+3
-3
openair-cn/NAS/EURECOM-NAS/tools/usim_data.c
openair-cn/NAS/EURECOM-NAS/tools/usim_data.c
+0
-1
No files found.
openair-cn/NAS/EURECOM-NAS/Makefile
View file @
0341ca40
...
...
@@ -8,6 +8,9 @@ include Makefile.inc
export
PROJDIR
=
$(CURDIR)
all
:
ifeq
($(PROCESS), UE)
@
$(CD)
$(SECUDIR)
&&
$(MAKE)
endif
@
$(CD)
$(UTILDIR)
&&
$(MAKE)
@
$(CD)
$(APIDIR)
&&
$(MAKE)
@
$(CD)
$(IESDIR)
&&
$(MAKE)
...
...
@@ -23,7 +26,7 @@ ifeq ($(PROCESS), MME)
@
$(CD)
$(ASSIMUDIR)
&&
$(MAKE)
endif
# SR include all objects in a single archive
$(AR)
rcs
libUE/libNasUE.a
`find
.
-name
*.o`
$(AR)
rcs
libUE/libNasUE.a
`find
.
-name
*.o`
`find
$(OPENAIRCN_DIR)/SECU
-name
*.o`
clean
:
@
$(CD)
$(SRCDIR)
&&
$(MAKE)
$@
...
...
openair-cn/NAS/EURECOM-NAS/Makefile.inc
View file @
0341ca40
...
...
@@ -13,6 +13,7 @@ LIBDIR = $(PROJDIR)/lib
LIBPROCESS
=
$(LIBDIR)$(PROCESS)
# Source directories
SECUDIR
=
$(OPENAIRCN_DIR)
/SECU
SRCDIR
=
$(PROJDIR)
/src
INCDIR
=
$(SRCDIR)
/include
UTILDIR
=
$(SRCDIR)
/util
...
...
openair-cn/NAS/EURECOM-NAS/Makerules
View file @
0341ca40
openair-cn/NAS/EURECOM-NAS/src/Makefile
View file @
0341ca40
...
...
@@ -19,7 +19,7 @@ ifeq ($(TARGET), UEprocess)
SRCS
=
UEprocess.c nas_network.c nas_parser.c nas_proc.c nas_user.c
endif
LIBS
=
-lutil
-lapi
-lEMMmsg
-lESMmsg
-lEMMsap
-lESMsap
-lies
-lrt
LIBS
=
-lutil
-lapi
-lEMMmsg
-lESMmsg
-lEMMsap
-lESMsap
-lies
-lrt
-lnettle
-lcrypto
INCLUDES
=
-I
.
-I
$(INCDIR)
-I
$(UTILDIR)
-I
$(USERAPIDIR)
-I
$(NETAPIDIR)
\
-I
$(EMMDIR)
-I
$(EMMMSGDIR)
-I
$(EMMSAPDIR)
\
-I
$(ESMDIR)
-I
$(ESMMSGDIR)
-I
$(ESMSAPDIR)
\
...
...
@@ -32,7 +32,7 @@ INCLUDES = -I. -I$(INCDIR) -I$(UTILDIR) -I$(USERAPIDIR) -I$(NETAPIDIR) \
@
$(CC)
$(CFLAGS)
-c
$<
-o
$@
$(TARGET)
:
$(OBJS)
$(CC)
$(LDFLAGS)
-o
$@
$^
$(EMMDIR)
/
*
.o
$(ESMDIR)
/
*
.o
$(LIBS)
$(CC)
$(LDFLAGS)
-o
$@
$^
$(EMMDIR)
/
*
.o
$(ESMDIR)
/
*
.o
$(
SECUDIR)
/
*
.o
$(
LIBS)
@
echo
Replacing
$@
to
$(BINDIR)
@
$(RM)
$(BINDIR)
/
$@
@
$(CP)
$@
$(BINDIR)
...
...
openair-cn/NAS/EURECOM-NAS/src/api/Makefile
View file @
0341ca40
...
...
@@ -5,7 +5,14 @@ endif
include
$(PROJDIR)/Makerules
include
$(PROJDIR)/Makefile.inc
export
INCLUDES
=
-I
.
-I
$(INCDIR)
-I
$(UTILDIR)
-I
$(IESDIR)
-I
$(EMMMSGDIR)
-I
$(ESMMSGDIR)
-I
$(SRCDIR)
export
INCLUDES
=
-I
.
-I
$(INCDIR)
-I
$(UTILDIR)
-I
$(IESDIR)
\
-I
$(EMMDIR)
\
-I
$(ESMDIR)
\
-I
$(EMMMSGDIR)
\
-I
$(ESMMSGDIR)
\
-I
$(SRCDIR)
\
-I
$(OPENAIRCN_DIR)
/COMMON
\
-I
$(OPENAIRCN_DIR)
/SECU
TARGET
=
$(LIBAPI)
TARGETS
=
$(TARGET)
.a
$(TARGET)
.so
...
...
openair-cn/NAS/EURECOM-NAS/src/api/network/Makefile
View file @
0341ca40
...
...
@@ -10,7 +10,7 @@ all: $(OBJS)
%.o
:
%.c Makefile
@
echo
Compiling
$<
@
$(CC)
$(CFLAGS)
-c
$<
-o
$@
@
$(CC)
$(CFLAGS)
$(INCLUDES)
-c
$<
-o
$@
clean
:
$(RM)
$(OBJS)
*
.bak
*
~
...
...
openair-cn/NAS/EURECOM-NAS/src/api/network/nas_message.c
View file @
0341ca40
...
...
@@ -32,6 +32,7 @@ Description Defines the layer 3 messages supported by the NAS sublayer
# include "nas_itti_messaging.h"
#endif
#include "secu_defs.h"
#include "emmData.h"
/****************************************************************************/
/**************** E X T E R N A L D E F I N I T I O N S ****************/
...
...
@@ -895,7 +896,7 @@ static UInt32_t _nas_message_get_mac(
switch
(
emm_security_context
->
selected_algorithms
.
integrity
)
{
case
NAS_SECURITY_ALGORITHMS_EIA1
:
AssertFatal
(
0
,
LOG_TRACE
(
ERROR
,
"EIA1_128_ALG_ID not implemented"
);
break
;
...
...
@@ -942,7 +943,7 @@ static UInt32_t _nas_message_get_mac(
break
;
default:
AssertFatal
(
0
,
LOG_TRACE
(
ERROR
,
"Unknown integrity protection algorithm %d"
,
emm_security_context
->
selected_algorithms
.
integrity
);
}
...
...
openair-cn/NAS/EURECOM-NAS/tools/Makefile
View file @
0341ca40
...
...
@@ -28,13 +28,13 @@ all: $(TARGETS)
$(CC)
$(CFLAGS)
-c
$<
-o
$@
$(USIM_TARGET)
:
$(USIM_OBJ) $(LIBSUTIL)
$(CC)
$(LDFLAGS)
-o
$@
$^
$(LIBS)
$(CC)
$(LDFLAGS)
-o
$@
$^
$(LIBS)
$(SECUDIR)
/
*
.o
-lnettle
-lcrypto
@
echo
Replacing
$@
to
$(BINDIR)
@
$(RM)
$(BINDIR)
/
$@
@
$(CP)
$@
$(BINDIR)
$(UE_TARGET)
:
$(UE_OBJ) $(LIBSUTIL)
$(CC)
$(LDFLAGS)
-o
$@
$^
$(LIBS)
$(CC)
$(LDFLAGS)
-o
$@
$^
$(LIBS)
$(SECUDIR)
/
*
.o
-lnettle
-lcrypto
@
echo
Replacing
$@
to
$(BINDIR)
@
$(RM)
$(BINDIR)
/
$@
@
$(CP)
$@
$(BINDIR)
...
...
openair-cn/NAS/EURECOM-NAS/tools/usim_data.c
View file @
0341ca40
...
...
@@ -299,7 +299,6 @@ int main (int argc, const char* argv[])
usim_data
.
nasconfig
.
NMO_I_Behaviour
.
value
[
0
]
=
0x00
;
usim_data
.
nasconfig
.
AttachWithImsi
.
type
=
USIM_ATTACH_WITH_IMSI_TAG
;
usim_data
.
nasconfig
.
AttachWithImsi
.
length
=
1
;
#undefine START_WITH_GUTI
#if defined(START_WITH_GUTI)
usim_data
.
nasconfig
.
AttachWithImsi
.
value
[
0
]
=
0x00
;
#else
...
...
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