Wu Jing
cead17f2d8
Fix openair3/NAS/UE cppcheck error
2021-01-06 19:33:04 +09:00
Robert Schmidt
a51dc94e8b
Set correct UE ID in Kenb Refresh Req
...
NAS triggered the Kenb Refresh Req always for (hardcoded) UE 0. This
fixes this by setting the correct UE ID.
An effect of this was that the Kenb would always be set for UE 0,
regardless for which UE it was actually intended. This led for integrity
check failures for every UE with ID > 0.
2020-03-04 13:38:04 +01:00
Dong Anyuan
0e2406f0fe
Remove Coverity Scan CID 60241 (Passing &eplmn to function emm_proc_attach_accept which uses it as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-21 18:31:58 +09:00
Dong Anyuan
3b96a7ac3f
Fix Coverity Scan CID 60241 (Passing &eplmn to function emm_proc_attach_accept which uses it as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-20 12:39:06 +09:00
Dong Anyuan
42f481b51e
Fix Coverity Scan CID 60369 (Variable plain_msg going out of scope leaks the storage it points to.)
2019-06-20 12:36:02 +09:00
frtabu
fb46545526
Fix corrupted LOGs in L1L2simulator, introducing two new components NFAPI_VNF and NFAPI_pnf. Integrate Fujitsu fix for up to 50 UEs. Apply astyle to all modified files in the branch
2019-02-25 16:50:03 +01:00
frtabu
38d772d8a2
nos1 et s1 execs identical, nos1 enforced based on exec name or --noS1 option
2019-02-17 23:46:45 +01:00
frtabu
18ec5d8047
abort execution when an unknown option is passed via the command line: add config_check_cmdlineopt API to config module, create lte-softmodem-common.c source to remove duplicate code in lte-softmodem.c and lte-uesoftmodem.c, fix segfaults in exec_function of lte-uesoftmodem
2018-11-02 18:17:11 +01:00
frtabu
24f8fcf346
Use common log mechanism in layer 3, mapping specific macros to common ones and extending common log utilities to support specific layer3 requirements
2018-08-24 17:43:14 +02:00
frtabu
30509955c2
remove compilation warnings, especially when disabling T_TRACER. enhance LOG_M macro implementation, introduce LOG_DEBUG_XXX macro to replace #ifdef DEBUG_XXX
2018-07-30 20:07:22 +02:00
Cedric Roux
1b1f941e3c
upgrade license to version 1.1
2017-10-23 12:22:13 +02:00
Cedric Roux
5e323eefa2
improve logging in oaisim
...
- print current working directory
- print git version (if available)
- print security keys
this last one is a security breach, but as of today
it's not a problem
2017-05-18 10:39:25 +02:00
Cedric Roux
f6e42ce9e4
fix compilation of oaisim
...
That's not the end of the story though.
2017-01-27 15:52:22 +01:00
Frédéric Leroy
8bc36c3b96
UE/EMM: move emm_nvram filename to nas_user_t
2017-01-25 13:29:10 +01:00
Frédéric Leroy
5fc045644c
UE/USIM/API: fix interface for storing usim_data
2017-01-25 13:29:10 +01:00
Frédéric Leroy
e36aee0b7f
UE: factorize calloc() calls and exit on failure
2017-01-25 13:29:10 +01:00
Frédéric Leroy
dcf35b2af1
UE/EMM: fix emm_proc_lowerlayer_* prototype
2017-01-25 13:27:43 +01:00
Frédéric Leroy
5367d5dc3f
UE/EMM: move _lowerlayer_data to nas_user_t
2017-01-25 13:27:43 +01:00
Frédéric Leroy
1ca4d551b8
UE: review and annotate code with FIXME
2017-01-25 13:27:43 +01:00
Frédéric Leroy
8d34217ce4
UE: add user instance to itti messages
2017-01-25 13:27:43 +01:00
Frédéric Leroy
556d5a65e9
UE/*: exit on error
2017-01-25 13:24:30 +01:00
Frédéric Leroy
fcf2444ee1
UE/EMM: remove redondant ueid in prototypes
2017-01-25 13:24:30 +01:00
Frédéric Leroy
38d7adc7e3
UE/*: fix ueid = 0
2017-01-25 13:24:30 +01:00
Frédéric Leroy
c7a36ec6d2
UE/EMM/LowerLayer: move ueid to nas_user_t
2017-01-25 13:24:30 +01:00
Frédéric Leroy
a99e1a95af
API/USER: move _user_api_id to nas_user_t
2017-01-25 13:24:30 +01:00
Frédéric Leroy
53fa94785a
UE/EMM: remove extern definitions for timers
2017-01-25 13:24:30 +01:00
Frédéric Leroy
5b90bcbd25
UE/EMM/SAP: fix misuse of extern for emm_proc_plmn_selection_end() and emm_proc_status()
2017-01-25 13:21:50 +01:00
Frédéric Leroy
b33b4df006
UE/API: rename _usim_api_data to usim_sqn_data and move it to usim_data
2017-01-25 13:21:50 +01:00
Frédéric Leroy
c875b44958
UE/API/USIM: move _usim_api_k to usim_keys_t
2017-01-25 13:19:39 +01:00
Frédéric Leroy
60032f57b4
UE/EMM: move _emm_attach_data to emm_data_t
2017-01-25 13:12:43 +01:00
Frédéric Leroy
289f1ea971
UE/EMM: move _emm_detach_data to emm_data_t
2017-01-25 13:12:43 +01:00
Frédéric Leroy
ef05c1d900
UE/EMM: move static T34XX timers to emm_data_t
2017-01-25 13:12:20 +01:00
Frédéric Leroy
491f299bf2
UE/EMM: move _security_data to nas_user_t
2017-01-25 13:12:20 +01:00
Frédéric Leroy
5899af2efd
UE/EMM: move _authentication_data to nas_user_t
2017-01-25 13:12:20 +01:00
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
7ff4939da6
UE/EMM/SAP: move _emm_fsm_status to nas_user_t
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
3df061b540
UE/EMM: move emm_indication_callback_t from openair2 to emm_main.h
2017-01-25 13:06:13 +01: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
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
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
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
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
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