frtabu
6014ca42ac
ENABLE_ITTI macro removal, modified telnet server to support all executables, modified record player to finalize switch to run-time option and allow usage with any device
2020-02-12 19:05:44 +01:00
Raphael Defosseux
c409da3bb8
Patch provided by Gabriel Arrobo.
...
Mainly comestics and integer type management
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2020-01-09 14:10:04 +01:00
yilmazt
2b321fd1c7
Merging latest develop commits
2019-07-16 11:20:24 +02:00
Raphael Defosseux
3f2acf9485
Fix Coverity Scan CID 342010
...
Fix a few cppcheck errors/warnings
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-07-05 11:03:30 +02:00
Dong Anyuan
4c60ee7775
Remove Coverity Scan CID 60471 (Function memory_read does not terminate string *user->nas_user_nvdata.)
2019-06-21 18:34:14 +09: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
7cf75c6d50
Fix Coverity Scan CID 60277 (Calling strncpy with a maximum size argument of 4096 bytes on destination array user_api_id->recv_buffer of size 4096 bytes might leave the destination string unterminated.)
2019-06-20 12:38:33 +09:00
Dong Anyuan
1338654285
Fix Coverity Scan CID 60357 (Handle variable sfd going out of scope leaks the handle.)
2019-06-20 12:36:38 +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
Dong Anyuan
d7f9a3578d
Fix Coverity Scan CID 60371 (Handle variable fd going out of scope leaks the handle.)
2019-06-20 12:35:33 +09:00
Dong Anyuan
db137bf1d5
Fix Coverity Scan CID 60393 (Using uninitialized value pid when calling esm_ebr_context_release.)
2019-06-20 12:33:52 +09:00
Dong Anyuan
5275b4c7c6
Fix Coverity Scan CID 60435 (Using uninitialized value bid when calling esm_ebr_context_release.)
2019-06-20 12:31:35 +09:00
Dong Anyuan
c4d56a9331
Fix Coverity Scan CID 60471 (Function memory_read does not terminate string *user->nas_user_nvdata.)
2019-06-20 12:02:32 +09:00
Dong Anyuan
ac6f5dceb0
Fix Coverity Scan CID 261499 (Overrunning array sqn_ms of 6 bytes at byte offset 6 using index 6 - i (which evaluates to 6).)
2019-06-20 11:28:22 +09:00
Dong Anyuan
dbcfda529d
Fix Coverity Scan CID 261543 (Overrunning array usim_data->usim_sqn_data.sqn_ms of 6 bytes at byte offset 6 using index 6 - i (which evaluates to 6).)
2019-06-20 11:17:33 +09:00
yilmazt
ccd60195e0
Merging test-x310, ci-dev-nr-add-gnb-nr-ur-uspr-testing and nr-mimo-mode-clean branches
2019-05-20 21:32:34 +02:00
Laurent
4d787625ab
still to compile
2019-04-30 14:25:42 +02:00
laurent
8a92138086
rework threads in 5G
2019-04-30 10:17:08 +02:00
frtabu
30b7c973e0
merge nfapi_cleanup
2019-04-05 18:43:40 +02: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
eb26975451
attempt to fix l2 simulator issue
2019-02-19 19:50:44 +01:00
frtabu
3f61d5f720
fix compilation warning
2019-02-17 23:46:45 +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
60defa245d
more fixes for cppcheck
2019-02-12 10:12:07 +01:00
frtabu
875bdaf282
cppcheck fixes (2)
2019-02-12 09:46:02 +01:00
Raphael Defosseux
64144a8442
Merge remote-tracking branch 'origin/issue391-removeunusedcode_L2L1task' into develop_integration_2019_w04
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-01-24 15:33:19 +01:00
Raphael Defosseux
8260607ed6
CI: fix in L2-simulator VM build start script
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-01-22 21:37:40 +01:00
frtabu
9d0c70c9fe
remove L1L2 task, also remove some call to send messages to UNKNOWN_TASK, removed in new itti. Align LOG in rlc sources with new LOG code (remove DEBUG_RLC...)
2019-01-21 19:43:19 +01:00
Raphael Defosseux
4075fbc86a
Merge remote-tracking branch 'origin/develop' into issue_345_l2_fapi_simulator_new_jan2019
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-01-17 18:19:46 +01:00
Raphael Defosseux
d73685933c
Merge remote-tracking branch 'origin/develop' into issue_345_l2_fapi_simulator_new
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-01-16 11:21:27 +01:00
laurent
4753f92bad
remove more files, add a LOG_E() for UE not developped use case
2018-12-26 10:25:56 +01:00
yoshio.inoue
11df1684b7
cleanup warnings
2018-11-07 21:04:12 +09: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
yoshio.inoue
64b395c64a
Fixed overflow related to oip generation
2018-11-02 19:28:15 +09:00
yoshio.inoue
e13c962d24
Fixed bug that u-plane is not transferred with multiple UEs
2018-11-02 16:54:19 +09:00
Y_Tomita
f39f321d3b
Compiling error fix.
2018-10-23 18:50:46 +09:00
Y_Tomita
35e81d8a66
Add virtual NIC setting for L2 FAPI simulator.
2018-10-23 15:28:04 +09:00
Y_Tomita
0e0a04fbc1
Fix for 256UEs.
2018-10-22 15:35:34 +09:00
laurent
46231a5d5d
merge with latest develop
2018-09-06 09:43:26 +02: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
laurent
4c475c429b
first commit new itti
2018-08-06 16:52:27 +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
frtabu
b85cbddeec
log.c simplification, fix usefull functionality which never worked, move all log code from openair2 to common
2018-07-30 20:07:22 +02:00
bruno mongazon
b016bc229a
fixed #320 issue
2018-06-25 18:23:36 +02:00
Cedric Roux
1b1f941e3c
upgrade license to version 1.1
2017-10-23 12:22:13 +02:00
Cedric Roux
9adfa48de8
fix: let run_enb_ue_virt_s1 work with "default" openair-cn
...
changes:
- ue mcc/mnc 208.93
- use correct key/opc for user
- change addresses in conf file for them to be easier to understand
(maybe)
With those changes, running:
sudo ./run_enb_ue_virt_s1
in cmake_targets/tools should work out of the box
The user still has to configure correct IP addresses in
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.generic.oaisim.local_mme.conf
We supposed oaisim (enb+ue) machine to be on IP address 10.0.1.1
and EPC (hss, mme, spgw) machine to be on IP address 10.0.1.2.
2017-06-23 11:09:04 +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
75aff99bf6
Merge remote-tracking branch 'origin/bugfix-227-ue-ip-setting' into develop_integration_w12
2017-03-24 17:08:08 +01:00
Cedric Roux
cff9149920
fix issue 227 - UE IP settings disrupts realtime
...
see https://gitlab.eurecom.fr/oai/openairinterface5g/issues/227
When the UE connects to the eNodeB and receives its IP address from the
network, it calls system() to set it in the linux kernel world. This call
is not done in a realtime thread, but in the NAS, which uses its own thread,
independent of the realtime processing.
In some situations this totally disrupts realtime processing.
It is difficult to know precisely why that happens, but it seems that calling
fork(), as system() does, in a multi-threaded program is not a good idea. (So
say several people on the internet.) It is not clear why the softmodem is
impacted, but it seems that fork() is really what triggers the disruption.
Several tests lead to that conclusion.
To fix the problem, we create a child background process very early in main()
(before anything else basically). Then instead of calling system(), the main
process sends the string to the background process. The background process
gets the string, passes it to system() and reports the success/failure back
to the main process.
This solution involves a lot of system calls, but calling system() in the
first place is not cheap either. As long as no realtime thread uses this
mechanism, things should be fine. Time will tell.
2017-03-23 12:34:24 +01:00