44 Commits
Author SHA1 Message Date
Laurent THOMAS 278d2cbca1 fix several not tested malloc or calloc return value 2025-09-09 18:04:26 +02:00
Laurent THOMAS 90cf249018 add telnet commands trace 2025-07-04 09:34:17 +02:00
Robert Schmidt e2a3cde4b7 Further cleanup: define oai_exit for 4G
The parent commit cleans up and groups oai_exit in one place,
nr-softmodem-common.h. Therefore, this 5G file is included in the 4G
defs_common.h (at least it's mostly 4G), which is not nice. Instead,
define oai_exit also in 4G softmodem-common.h, and include this in
defs_common.h. Remove the cyclic inclusion of defs_common.h in
softmodem-common.h, and resolve all subsequent errors around unknown
types and extern definition mismatches.
2025-01-09 15:28:25 +01:00
Laurent THOMAS e0ca70c36d replace a set of #define by a C bit array, remove duplicated extern global variable declaration 2025-01-09 15:28:25 +01:00
21dafbcde7 New threadpool
- removed some whitespace noise.
 - cleaned up CMakeLists.txt
 - reintegrated task_manager.c into thread-pool.c
 - cleaned up some unnecessary code

Co-authored-by: Cedric Roux <cedric.roux@eurecom.fr>
Co-authored-by: Mikel Irazabal <mikel.irazabal@openairinterface.com>
2024-12-04 17:54:51 +01:00
Guido Casati 6b3f26f538 Add define to printf and fflush in telnetsrv for real-time logs 2024-11-17 21:46:23 +01:00
Robert Schmidt 8bffd1666d Avoid complete rebuild on cmake run with git info change
Before this commit, the following will trigger a complete rebuild:

- create another git name (git checkout -b test)
- run cmake again manually (cmake ..)
- run ninja again

The top-level CMakeLists.txt uses add_definitions() to add git
information to all targets; if some git information changes, this will
mark all command lines as dirty, triggering the build.

There is an easy solution: instead of passing this information on the
command line, pass it in a header. This commit uses configure_file() to
generate a file oai_version.h in the build directory with the same
information. Various sources files, e.g., main executables, use this to
output the same information as before. It is then also not necessary to
use header guards, as cmake takes care to create this file.

If cmake is re-run, it will update the header, and trigger only files
including this header will be rebuilt (which can be shown with the above
stpes). The information passed is the same as before, and updates the
information when the old method would have updated it.
2024-08-28 15:57:24 +02:00
Laurent THOMAS f50d5f5a9b make multiple config instead of one implicit global 2023-11-10 10:23:11 +01:00
laurent 9121541b3c only cleaning 2023-07-10 12:00:25 +02:00
laurent 1b09f683f9 Fix compilation errors due to -Werror 2023-06-08 19:15:24 +02:00
Robert Schmidt e1dc1d9d03 Correctly implement option to load additional SOs for telnet 2023-03-10 12:37:02 +01:00
frtabu e65f13e175 review fixes 2022-12-08 15:27:33 +01:00
frtabu 21b3484e02 Initial web server implementation 2022-11-30 11:34:54 +01:00
Arash Sahbafard b68057ef2a Telnetsrv: TELNETSRV_CMDFLAG_PUSHINTPOOLQ no parameters 2022-08-26 13:44:26 +02:00
Arash Sahbafard 25bd5fb915 Telnetsrv: TELNETSRV_CMDFLAG_PUSHINTPOOLQ cmds get fifo
Previously, only the first out of multiple telnet commands with
TELNETSRV_CMDFLAG_PUSHINTPOOLQ option would get a pointer to the fifo
queue, which is fixed in this commit.

Further, add_telnetcmd() now checks whether TELNET_MAXCMD is reached,
and prints and error.

Reformatted/simplified the function.
2022-08-26 13:44:26 +02:00
Robert Schmidt dc294a8b63 Drop unneeded form.h include from telnet 2021-12-09 15:29:37 +01:00
frtabu 94c7ad6f47 minor fix after rebase on develop 2021-10-20 17:09:46 +02:00
frtabu c3c02bbd91 Use same port number for source and destination number in new gtp implementation. 2021-10-20 17:09:46 +02:00
frtabu 40fcd549ad enhance cpu measurment implementation 2021-10-20 17:09:46 +02:00
frtabu cf09105b9a start implementing access to nrUE cpu measurments via telnet server, as ith lte enb 2021-10-20 17:09:46 +02:00
frtabu c1f4bb18ea start implementing access to nrUE cpu measurments via telnet server, as ith lte enb 2021-10-20 17:09:46 +02:00
hardy 246afc7ccb Merge remote-tracking branch 'origin/sim-channels' into integration_2020_wk15 2021-04-14 14:37:09 +02:00
Laurent OpenCells 4511e70fac fix from ci results 2021-04-05 12:56:52 +02:00
frtabu 1a93c759c8 fix cppcheck error 2021-03-26 12:14:32 +01:00
frtabu 1f0e82664f enhance channel model configuration 2021-03-10 02:33:31 +01:00
frtabu d4bd2cdc63 implement modifying channel model algo while running, complete function freeing a model 2020-07-29 20:27:04 +02:00
frtabu f5d1dbb731 add telnet command to rfsimulator 2020-07-29 01:34:52 +02:00
frtabu f61f9520db implement queued commands in telnet server 2020-07-28 20:08:48 +02:00
frtabu 8928cfe57d move ldpc coder/decoder into a shared lib dymically loaded. Also fix a record player bug 2020-03-11 17:32:13 +01:00
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
frtabu 2520a92211 modify telnet serveur build to support all exec's 2020-02-10 09:00:38 +01:00
frtabu 7995f413ef add config options for rfsimulator, set a common lib for l1sim and rfsimulator, avoid simulation sources to be added twice in some execs (tau.c) 2019-07-31 18:31:02 +02:00
Raphael Defosseux d67d435a49 Fixing last cppcheck warnings
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-03-11 14:41:49 +01:00
frtabu 49f4bdc2e5 try to fix build failure due to increased number of build files on some build commands (=> more log files) 2019-03-08 19:38:21 +01:00
Raphael Defosseux 341fedd468 Merge branch 'issue394_fix_cppcheck' into develop_integration_2019_w07_v2
--> openair2/LAYER2/MAC/eNB_scheduler_primitives.c is still old (not from issue394_fix_cppcheck branch)

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-02-15 12:24:19 +01:00
frtabu 227a0640e5 first set of cppcheck fixes 2019-02-12 09:46:02 +01:00
frtabu 501ae74cb5 first set of cppcheck fixes 2019-02-12 09:46:02 +01:00
frtabu 5a51929781 Add cpu measurements access from telnet server 2019-02-07 18:59:48 +01:00
frtabu eb6e5ffe80 rewrite lte stats display, prepare cpu stats display 2019-02-06 19:30:38 +01:00
frtabu 974167b51c update documentation and improve help text display 2019-01-22 22:43:33 +01:00
oai b04f3b54a4 introduce distinct executables for ue and eNodeB (lte-uesoftmodem, lte-softmodem) 2018-03-08 17:29:34 +01:00
oai 45302792ee config module fix and extensions for Nb-IoT, shared lib loader and telnet server implementation 2018-03-08 17:24:23 +01:00
frtabu 3b824c9067 telnet server and shared library loader enhancement 2017-10-07 00:35:23 +02:00
frtabu 30abbdf826 prepare for telnet server integration 2017-09-29 02:07:33 +02:00