Commit Graph
65 Commits
Author SHA1 Message Date
Lionel Gauthier 0c20374f5b + UDP, GTPV1U
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5031 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-05 10:35:13 +00:00
Lionel Gauthier 58b62709f3 Commit for updates to RAL (802.21, MIH)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4867 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-14 09:54:15 +00:00
winckel 93cb343bae Modified oaisim -V option to get VCD log file name from command line.
Updated oaisim help.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4771 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:51:01 +00:00
winckel 825f0cd111 Added VCD log points in memory pools allocate and free function.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4767 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:13:25 +00:00
winckel 0bdbd0892b Added a VCD log point for ITTI relay thread.
tuned ITTI relay thread polling delay to 200 micro-seconds to have no RT tasks reacting within the same slot most of the time.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4740 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 14:16:28 +00:00
winckel 447eb872db Uniformized use of assert.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4739 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 11:01:18 +00:00
winckel 3d4d85a8e1 Removed dynamic memory allocation from this module to reduce real time inpact.
Replaced use of liblfds611 by a simple data FIFO.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4738 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 10:55:54 +00:00
Cedric Roux 91287abe68 - Fix NB_eNB_INST, NB_UE_INST equal to 0 when running RF
- Fix 100% CPU usage for the VCD signal dumper

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4737 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 10:06:36 +00:00
Cedric Roux 91dfec6227 - Fix some more compiler warnings
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4731 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-15 22:29:35 +00:00
winckel 90410a00e9 Modified log level handling; log is done if:
- level >= c->level
       or
- level >= g_log->level

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4690 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 12:50:15 +00:00
Cedric Roux bb52f71432 - Force logs level to 7 in pre-ci
- Output logs from ping/oaisim in two distincts files
- Fix some compiler warnings
- Put assertions in some switch default cases
- Create a wrapper for macphy_exit to display FILE and LINE of the caller
- Enabled -Werror=implicit-function-declaration

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4682 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 23:26:33 +00:00
Cedric Roux c26a130033 - Mapped malloc/free for ITTI to itti_malloc/itti_free functions for future use within real-time softmodem
- Fixed softmodem build issues with RAL
- Merged ITTI into agilent softmodem for eNB

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4661 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 10:08:23 +00:00
Lionel Gauthier a632b032c6 Add 802.21 in oaisim exe, work in progress.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4658 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-10 15:58:00 +00:00
Raymond Knopp 631fa2be8b updates from Agilent IoT
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4649 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-09 14:17:36 +00:00
winckel 8d57d43a4a Added NAS log component.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4621 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 08:29:45 +00:00
winckel ae4b36507f Added ITTI timer support for RTAI builds (timers must only be used from non RT tasks).
Blocked message sending to ended tasks.
Modified lte-softmodem to use ITTI signal handling.
Uniformized lte-softmodem and oaisim with ITTI handling.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4607 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 13:03:18 +00:00
winckel 5fdc5fbe4d Created a log component (TMR) for timer.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4592 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 16:22:49 +00:00
winckel b6bca8da53 Created a log component for eNB application.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4590 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 15:21:39 +00:00
winckel 0e822b0a69 Fixed some warnings due to bad prototype syntax.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4583 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:11:36 +00:00
winckel 24a42f5b67 Fixed some warnings for RTAI build.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4575 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:29:14 +00:00
winckel 20fd994f68 Fixed a build issue when ENABLE_VCD_FIFO is not defined.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4570 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:24:03 +00:00
winckel c35ba1cf77 Use a bit mask with atomic or and and operations for VCD logging of ITTI messages task IDs in messages handling functions to support correctly multi threading logging.
Separated eNB and UE frame and slot VCD logs.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4556 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 15:29:24 +00:00
winckel 945a6d6c97 Modified VCD format for variables.
Modified some ITTI VCD log points.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4555 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 13:31:36 +00:00
Cedric Roux 499ec0753a - Converted calloc to malloc in ITTI to save some time
- Added vcd signal for alloc of message

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4551 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 08:58:32 +00:00
Cedric Roux 6102fa4b60 - Fix some performances issues for softmodem
- Remove eventfd if task has only polling mode
- Created dummy thread to convert eventfd from RT thread to non RT threads
- Added eNB app to softmodem
- Set poll mode for itti dumper thread in softmodem
- Disable timers for softmodem

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4545 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 15:51:49 +00:00
winckel a61af35ad5 Changed ITTI instance type and default and all values.
Added a sub task ID identification in logs.

pre-ci Ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4542 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 15:11:02 +00:00
winckel 8bf78981da Added support for EIA0 and EEA0 security algorithms.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4541 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 10:42:46 +00:00
winckel b83aca1d0f Moved "assertions.h" into the "common/utils" directory.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4536 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-27 07:44:31 +00:00
winckel 1785e31f60 Fixed some warnings.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4523 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:27:04 +00:00
Cedric Roux e1d2667467 - Renamed msg structure in ITTI to ittiMsg to avoid confusions when parsing XML file if multiple structure "msg" are defined
- Fix build issue of EPC
- Enable event fd for EPC instead of pthread_cond
- Added some new S1AP messages defintions


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4506 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-24 17:44:11 +00:00
Cedric Roux 3789333ee6 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4496 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-11-22 13:04:20 +00:00
Cedric Roux 5a1acfdd75 - oaisim object files (almost all) are now generated in a separate directory (objs under SIMU/USER)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4488 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 16:29:38 +00:00
winckel 7643bc6170 Fixed an issue with file dump writing after close.
Added logging by ITTI support for other log levels.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4431 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 14:37:15 +00:00
winckel f6c2677a76 Renamed ERROR and WARNING message to avoid conflicts with enum value in openair-cn.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4425 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-18 08:25:11 +00:00
winckel 27b5ae1bc3 Fixed some warnings.
pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4423 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-18 08:03:40 +00:00
winckel f0e18ed4a6 Repport error and warning logs to itti.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4419 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 15:48:42 +00:00
winckel d1d6a14080 Increase message length to avoid truncation when verbose is set to full.
Fixed some warnings.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4411 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 07:26:53 +00:00
Navid Nikaein 69d84a6dad fix issues when running omg in standalone mode
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4404 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 15:35:05 +00:00
Cedric Roux 356785afc3 - Fixed some more compiler warnings
pre-ci tests passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4401 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 14:29:05 +00:00
Cedric Roux a58a5bc8c7 - Fix some more compiler warnings
Pre-ci tests passed


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4389 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 17:32:46 +00:00
Cedric Roux b590b550a1 - Fixed memory leak for OMG
- Fixed compiler warning for OMG

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4385 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 15:45:11 +00:00
Cedric Roux 85e85fb93a - Update S1AP and SCTP layers to use ITTI for eNB: may broke the old version of S1AP/SCTP (compile with USE_MME=R10 and ENABLE_ITTI=1)
pre-ci tests passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4342 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-07 13:00:54 +00:00
winckel ee0bc07beb Restored -K option in oaisim.
Fixed some warnings.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4313 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-31 17:58:50 +00:00
Navid Nikaein f18e400960 * merge/add handover procedure for the access stratum (enabled with the -H), status: experimental.
* fix a bug in BSR computation
* add a python script to launch meld if the diff3 in subvsersion/config file is set to the targets/SCRIPTS/svn-merge-meld.py
* pre-ci passed (100%) 


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4309 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-30 21:52:26 +00:00
winckel 9f6d8f47b2 Added a command line option "-K file_name" to save ITTI logs directly.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4303 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-30 14:05:25 +00:00
Cedric Roux 6f3adad3e8 - Refine logs functions to avoid copies
- Make logs functions "task-aware"

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4281 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-25 12:56:06 +00:00
winckel 1ab576c494 Started ITTI integration into oaisim.
Moved some local variable from "otg_kpi.h" into "otg_kpi.c".
Clean-up some header issues.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4259 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-22 13:50:17 +00:00
Cedric Roux 1270621bca git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4214 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-10-17 12:46:03 +00:00
Cedric Roux 8fa5602278 - Added thread that fetch netlink packets and place them in a FIFO (option enabled by default) to reduce pdcp_run execution time
- Fix some debug formats

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4187 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-11 14:45:30 +00:00
Florian Kaltenberger cbbefb5973 forgot to commit openair2
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4175 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-01 16:38:00 +00:00