Commit Graph
186 Commits
Author SHA1 Message Date
Frédéric Leroy 576bbd252c UE/EMM: move _usim_data to nas_user_t 2017-01-25 13:12:20 +01:00
Frédéric Leroy 7340b5e071 UE/EMM: move _plmn_list to nas_user_t 2017-01-25 13:11:30 +01:00
Frédéric Leroy 2d7f557ae9 UE/EMM: fix buggy condition in IdleMode.c 2017-01-25 13:10:39 +01:00
Frédéric Leroy 5665b05c7c UE/EMM: move _emm_data to nas_user_t 2017-01-25 13:08:58 +01:00
Frédéric Leroy 809be889a7 UE/ESM: move _esm_ebr_data to nas_user_t 2017-01-25 13:08:19 +01:00
Frédéric Leroy f99e5e1ff0 UE/ESM: remove useless #if directive in esm_ebr.c 2017-01-25 13:08:19 +01:00
Frédéric Leroy 84fa851dfa UE/ESM: use static buffer per UE to allow reentrancy in esm_sap.c 2017-01-25 13:08:19 +01:00
Frédéric Leroy 7ff4939da6 UE/EMM/SAP: move _emm_fsm_status to nas_user_t 2017-01-25 13:08:19 +01:00
Frédéric Leroy 73937668f0 UE/ESM: move _esm_pt_data to nas_user_t 2017-01-25 13:08:19 +01:00
Frédéric Leroy 844a8af418 UE/ESM: move _esm_data to nas_user_t 2017-01-25 13:08:19 +01:00
Frédéric Leroy 55364a8860 UE/ESM: fix esm_pt_start_timer callback 2017-01-25 13:08:19 +01:00
Frédéric Leroy 223247ceb0 UE/EMM: add nas_user_t parameter to emm_sap_send
Surprisingly, it touches every part of openair3, and most of the prototype.
Moreover, a special attention have been put to callback review.
However, there are still places to fix or review indicated by FIXME
2017-01-25 13:08:19 +01:00
Frédéric Leroy 4742178aee UE/ESM: Make _esm_data a pointer instance
This patch adds esm_data_t parameter to ESM functions.
This fixes a bug where the old _esm_data was redefined in all .o

Signed-off-by: Frédéric Leroy <frederic.leroy@b-com.com>
2017-01-25 13:06:35 +01:00
Frédéric Leroy d4de8aaf0f UE: use nas_user_t in nas_* function prototype
This patch merely adds a "user" object in all nas_* functions.
This don't move any data structure.
It allows next patches to be nicely split.

Signed-off-by: Frédéric Leroy <frederic.leroy@b-com.com>
2017-01-25 13:06:35 +01:00
Frédéric Leroy ee82aed182 UE: move _nas_proc_data to nas_user_t struct 2017-01-25 13:06:35 +01:00
Frédéric Leroy 2ee6ae11df UE: create a user and move user_fd into the nas_user_t struct 2017-01-25 13:06:13 +01:00
Frédéric Leroy 7c8dbbdb25 UE: introduce the nas_user_t type in user_defs.h 2017-01-25 13:06:13 +01:00
Frédéric Leroy b4cbddb970 UE: move nas_ue_task.h from openair2 to openair3/NAS/UE 2017-01-25 13:06:13 +01:00
Frédéric Leroy 3835f10659 UE/ESM: move esm_indication_callback_t from openair2 to esm_ebr.h 2017-01-25 13:06:13 +01:00
Frédéric Leroy 3df061b540 UE/EMM: move emm_indication_callback_t from openair2 to emm_main.h 2017-01-25 13:06:13 +01:00
Cedric Roux e6f3c9b899 Merge branch 'enhancement-10-harmony' into develop_integration_w03
Conflicts:
	targets/RT/USER/lte-enb.c
	targets/RT/USER/lte-softmodem.c
2017-01-20 16:49:39 +01:00
Cedric Roux ff11cf5f23 Merge branch 'bugfix-183-LOG_X-format' into develop_integration_w02 2017-01-13 17:16:16 +01:00
Cedric Roux 490492cbfa Merge branch '182-MistakeLogicalOperatorsAndBitwiseOperators' into develop_integration_w02 2017-01-13 17:04:18 +01:00
Cedric Roux adfaa6d9f3 Merge branch 'develop-new-LMSSDR' into develop_integration_w02
Conflicts:
	targets/RT/USER/lte-softmodem.c
2017-01-13 17:01:30 +01:00
calvin wang 801a2e5de7 fix mistake bitwise operators 2017-01-12 16:47:57 +08:00
Cedric Roux 237da58846 fix a warning in openair3/NAS/UE/EMM/IdleMode.c
I'm not sure this is the right fix, so I put a LOG_TRACE
that is displayed when the code comes here.
2017-01-12 09:26:51 +01:00
Cedric Roux 22942608fa fix 'unused variables' warning 2017-01-11 15:53:41 +01:00
Cedric Roux f45256c66b fix LOG_X macros - addendum
I forgot one file in the previous commit
2017-01-11 15:50:58 +01:00
Cedric Roux f2f32f5340 fix LOG_X macros
Some of them might not be correctly handled.
I put /* TODO: XXX */ where I didn't know if
the fix was correct.
2017-01-11 15:48:00 +01:00
calvin wang 3ec3d2a6b1 fix mistake logical and bitwise operators 2017-01-11 14:56:56 +08:00
Raymond.Knopp db4b77ebd2 Merge remote-tracking branch 'origin/develop' into enhancement-10-harmony
Conflicts:
	targets/RT/USER/lte-softmodem.c
2016-12-22 23:17:37 +01:00
Wilson W.K. Thong 3dabb5447a fixing thread busy crash: disabled timing consuming NAS logs
see issue #165
2016-12-21 16:28:50 +08:00
hbilel 35ae311ac8 Merge branch 'develop1B' of https://gitlab.eurecom.fr/oai1B/openairinterface5g into bugfix-44 2016-12-13 12:27:41 +01:00
Cedric Roux 0a9d013f59 integration fix: LOG_I/LOG_D do not exist when compiling at_nas_ue
Use LOG_TRACE instead.
2016-12-09 17:47:49 +01:00
Cedric Roux 8db3583b09 integration fix: add usim_test to at_nas 2016-12-09 17:47:29 +01:00
Cedric Roux 46b2ee9577 integration fix: attempt to clarify ODD_PARITY
This may need to be refined.

The variable ODD_PARITY is defined at various places,
with different values, causing compilation warnings.

It's wrong to define a variable with different values.

A new variable is created, specific to IMEI case: IMEI_ODD_PARITY.
Maybe ODD_PARITY should also have 0xf as value, and so maybe only
one variable is necessary. To be checked at some point...
2016-12-08 17:51:02 +01:00
Cedric Roux 752ceb1922 integration fix: remove compilation warnings 2016-12-08 17:49:56 +01:00
gabrielC bd30471076 [OAI-UE] merge com4Innov branch to integration branch 2016-12-08 11:07:38 +01:00
Wilson W.K. Thong 488b84cb46 fixing thread busy crash: disabled timing consuming NAS logs
see issue #44
2016-12-07 10:39:57 +08:00
Raymond.Knopp 1255cf856f Merge remote-tracking branch 'origin/develop' into enhancement-10-harmony
Conflicts:
	targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
	targets/RT/USER/lte-enb.c
	targets/RT/USER/lte-softmodem.c
2016-12-04 09:46:02 +01:00
hbilel 9fbbd0678a [OAI-UE] attach accept fix 2016-11-03 15:53:06 +01:00
hbilel 81837312cb [OAI-UE] RRCConnectionReconf fixes
1- SRB2 fix
           2- attach accept, support type of list 0 with number of element = 1
2016-11-03 15:29:33 +01:00
Raymond Knopp 45184c769c Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop
Conflicts:
	cmake_targets/CMakeLists.txt
	targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
	targets/ARCH/LMSSDR/USERSPACE/LIB/sodera_lib.cpp
2016-10-31 09:58:23 -07:00
Raymond Knopp 5e1d462aa9 resynch for initial RF acqusition 2016-10-27 09:56:23 +02:00
hbilel 31fbc80520 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop1B
parent a6742020 - Commit 1fa2f76e61

Conflicts:
	targets/RT/USER/lte-softmodem.c
2016-10-24 16:21:05 +02:00
fnabet 15e299bd11 [OAI-UE] Authetification XOR Algo for usim test 2016-10-21 15:09:42 +02:00
Rohit Gupta e084e58388 merge from develop 2016-10-11 18:52:14 +02:00
Rohit Gupta b481bfd985 Merge branch 'develop' into feature-131-new-license 2016-10-10 19:25:02 +02:00
fnabet 1b8c0d6551 merge from oai1B/develop1B 2016-10-10 14:55:46 +02:00
Rohit Gupta 4787c975ec delete files with GPL License + modify build scripts 2016-10-07 18:19:43 +02:00