Frédéric Leroy
06aefa589f
fix(build_helper): fix superfluous $ in protobuf extraction command
2020-11-10 20:39:21 +01:00
Frédéric Leroy
89f7132685
fix(config): set S1AP_PORT_NUMBER as default value for mme port
2020-11-09 15:43:01 +01:00
Frédéric Leroy
78fa6df3a4
feat: add "port" parameter on configuration files
...
Use default port 36412 for S1
2020-11-09 15:15:46 +01:00
Frédéric Leroy
6338831315
feat(build_helper): use 'id' command instead $USER variable
...
When $USER is not set (Yes we did !), extracting protobuf fails.
Wh avoid this by using the 'id' command both to get user and group ids.
2020-11-09 14:55:02 +01:00
Frédéric Leroy
1426ee5ed6
feat: add optional parameter port for mme connection
2020-11-02 17:16:29 +01:00
Frédéric Leroy
cad824099e
fix(build_helper): use SUDO when we are a regular user
...
root user is not tied to a container.
Let the possibility to build when we run as a regular user in a
container.
2020-11-02 10:54:17 +01:00
Frédéric Leroy
3fdcf5b676
feat(conf2uedata): uses nvram and usim binary
...
This commit reverts behaviour of data generation as before
commit 7207c65b05fd812a18371827f2bfb1431fc58696:
fix .ue* filenames in scripts and documentation
TODO add option to conf2uedata and adapt script
2017-01-25 13:29:48 +01:00
Frédéric Leroy
3d0fbc00a1
feat(conf2uedata): reintroduce nvram binary
2017-01-25 13:29:48 +01:00
Frédéric Leroy
30fde6bfe2
feat(conf2uedata): reintroduce usim binary
2017-01-25 13:29:48 +01:00
Frédéric Leroy
e439a24f03
feat(conf2uedata): print USIM filename on display
2017-01-25 13:29:48 +01:00
Frédéric Leroy
d8aa8d4a64
fix(conf2uedata): update INT_ALGO to match openair develop branch
2017-01-25 13:29:48 +01:00
Frédéric Leroy
95503ffd52
fix(conf2uedata): update ue_eurecom_test_sfr.conf to match openair develop branch
2017-01-25 13:29:48 +01:00
Frédéric Leroy
747cea249b
feat(conf2uedata): add a selector for displaying files
2017-01-25 13:29:48 +01:00
Frédéric Leroy
af4027660b
feat(conf2uedata): add a selector for writing files
2017-01-25 13:29:48 +01:00
Frédéric Leroy
6c588589ac
refactor(conf2uedata): move parser functions to conf_parser.[c|h]
2017-01-25 13:29:48 +01:00
Frédéric Leroy
bf699414d1
style(conf2uedata): use bool type for readability
2017-01-25 13:29:48 +01:00
Frédéric Leroy
86c8d0f95a
refactor(conf2uedata): move plmns functions to conf_user_plmn.[c|h]
2017-01-25 13:29:48 +01:00
Frédéric Leroy
51c7753526
refactor(conf2uedata): move networks function to conf_networks.[c|h]
2017-01-25 13:29:48 +01:00
Frédéric Leroy
1b54e18a47
refactor(conf2uedata): add networks_t for managing known_networks
2017-01-25 13:29:48 +01:00
Frédéric Leroy
8d36213f6f
refactor(conf2uedata): add make_plmn_from_conf()
2017-01-25 13:29:48 +01:00
Frédéric Leroy
459a6ec372
refactor(conf2uedata): use user_plmns struct to store plmns lists
...
This remove the old static lists
2017-01-25 13:29:48 +01:00
Frédéric Leroy
c86b437eb3
refactor(conf2uedata): make plmns_list struct for managing plmns
2017-01-25 13:29:48 +01:00
Frédéric Leroy
fcb857e508
refactor(conf2uedata): add parse_Xplmn() to read *plmns
2017-01-25 13:29:48 +01:00
Frédéric Leroy
5c8410c56f
fix(conf2uedata): make hplmn_index a local variable
...
There was a side effect corrupting data because hplmn_index was not computed.
2017-01-25 13:29:48 +01:00
Frédéric Leroy
7fe8d45d6a
refactor(conf2uedata): move usim_data funcions in conf_usim.[c|h]
2017-01-25 13:29:48 +01:00
Frédéric Leroy
f03e2dbc0e
refactor(conf2uedata): move user_data function in conf_user_data[c|h]
2017-01-25 13:29:48 +01:00
Frédéric Leroy
eeb44860e9
refactor(conf2uedata): move emm_data funcions in conf_emm.[c|h]
2017-01-25 13:29:48 +01:00
Frédéric Leroy
ef2dee59d4
refactor(conf2uedata): separate processing and writing of data
2017-01-25 13:29:48 +01:00
Frédéric Leroy
8461a56aa1
refactor(conf2uedata): add fs.[h|c] and display.[c|h]
2017-01-25 13:29:48 +01:00
Frédéric Leroy
8ae72d1cf1
refactor(conf2uedata): put display out of build
2017-01-25 13:29:48 +01:00
Frédéric Leroy
e2dc453b62
fix(conf2uedata): fix missing extern in header
2017-01-25 13:29:48 +01:00
Frédéric Leroy
292535fe06
refactor(conf2uedata.c): rewrite main() and add parse_config_file()
2017-01-25 13:29:48 +01:00
Frédéric Leroy
804595d483
style(conf2uedata.c): rewrite main() for readability
2017-01-25 13:29:48 +01:00
Frédéric Leroy
33b2d11fc2
fix(conf2uedata): clarify error message when config file does not exists
2017-01-25 13:29:48 +01:00
Frédéric Leroy
fe2193ba75
fix .ue* filenames in scripts and documentation
...
TODO add option to conf2uedata and adapt script
2017-01-25 13:29:48 +01:00
Frédéric Leroy
c4707bd8b7
UE: fix nvram_data load filename
2017-01-25 13:29:10 +01:00
Frédéric Leroy
b43c6cbfdd
nas_ue_task: add support for multiple UE
2017-01-25 13:29:10 +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
260e696c8b
UE: move nvram data 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
45fccb0203
UE/API/USIM: move hex functions to common/utils.c
2017-01-25 13:29:10 +01:00
Frédéric Leroy
9af3599153
UE: add nas_user_api_id_initialize() function
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
64e296ed67
UE/API/USER: remove fd from nas_user_t
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
e6daacf7ea
UE/API/USER: move _user_api_*_buffer to user_api_id_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
5ab2fccf2f
UE/API/USER: rename _user_data to user_at_commands_t and move it to nas_user_t
2017-01-25 13:23:18 +01:00
Frédéric Leroy
26538bb9e2
UE/API/USIM: move OP to usim_keys_t
2017-01-25 13:23:18 +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
ec889250a5
UE/API: remove old Makefiles
2017-01-25 13:20:21 +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
46438c7cd9
UE/ESM: move _default_eps_bearer_context_data to nas_user_t
2017-01-25 13:12:20 +01:00
Frédéric Leroy
404c346182
UE: rename _nas_user_data to at_response and move it to nas_user_t
2017-01-25 13:12:20 +01:00
Frédéric Leroy
607f0ca377
UE: remove _nas_user_context from comments
2017-01-25 13:12:20 +01:00
Frédéric Leroy
83e1dc9ed0
UE: move _nas_user_nvdata to nas_user_t
2017-01-25 13:12:20 +01:00
Frédéric Leroy
9a33bca200
UE: move _nas_user_context to nas_user_t
2017-01-25 13:12:20 +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
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
e6b5e1c34d
UE: fix at_nas_ue compilation
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
2d8cf88884
openair2/RRC/LITE: remove fixed ue_mod_id = 0
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
Frédéric Leroy
dfe087a52e
fix gnutls download ( closes #122 )
2016-08-01 14:33:27 +02:00
Frédéric Leroy
9624232f67
build_helper: show "compilation failed" error message
2016-06-24 06:09:51 -05:00
Frédéric Leroy
a3d26040de
build_helper: add EXIT handler to inform that the build fails
2016-06-24 06:09:51 -05:00
Frédéric Leroy
30cf26c0dc
build_helper: fix libxslt1-dev installation
...
libxslt1-dev is used at least for asn1 and usrp. It breaks the build when in
check_install_additional_tools().
Move it to to check_install_oai_software()
2016-06-24 06:09:19 -05:00
Frédéric Leroy
71af065b48
build_helper: move uhd to not break apt-get remove
...
uhd is not part of ubuntu standard repositories >= 14.04.
Move the removal of uhd in its own space and do not fail if it doesn't exists.
2016-06-24 06:09:01 -05:00
Frédéric Leroy
cdb182c153
CMakeLists.txt: force compilation to gnu89 standard for gccxml
...
clang have changed its default standard to C11 compilation and is stricter.
Ensure use of gnu89 standard to use pthread extension for --castxml-gccxml
2016-06-15 14:07:54 +02:00
Frédéric Leroy
22b278d43b
CMakeLists.txt: fix lte-softmodem-nos1 build
...
It can't link because nas_config.c and rb_config.c was commented.
2016-06-15 14:07:53 +02:00