Commit Graph
70 Commits
Author SHA1 Message Date
Cedric Roux 4a80fd3704 add includes so that oaisim compiles with the T 2016-05-27 18:35:08 +02:00
gauthier c7518ecf42 SVN to GIT migration (removed EPC software, updated mailing list address in all files)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7885 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-10-06 16:24:54 +00:00
roux 818d577c7e Catch failure of lfds611_queue_enqueue and exit in this case.
This may have an impact on the behavior of the whole system
but I think it's better to exit than to be silent.


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7787 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-08-27 07:41:12 +00:00
gauthier 014010e52d modified version of message chart generator (msc), now events are stored in a contention-free and concurency-free collection (lfds611), resulting in a uniq dump file per executable.
MSC is using an ITTI timer (bad dependancy for executables that are not yet "ITTIzed").


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7620 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-23 09:04:17 +00:00
Florian Kaltenberger 7fe2b4bdc8 adding a sleep at exit to allow tasks to finish properly
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7529 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-05 07:45:28 +00:00
Lionel Gauthier 2944c762a5 VCD can now become optional
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7159 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-14 10:44:50 +00:00
Lionel Gauthier 059a0a3fdc astyle --recursive --indent=spaces=2 --style=kr --indent-col1-comments --break-blocks --convert-tabs --max-code-length=200
This is done for better merging branch/LG_PRE_RELEASE_0.3 into trunk (same process is applied on this branch)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7073 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:29:12 +00:00
Lionel Gauthier 39afdcb61f patches13/0012-fix-wrong-enumeration.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7058 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:16:36 +00:00
Lionel Gauthier 4649f42a22 patches13/0008-name-pthreads-easier-debugging.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7054 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:12:21 +00:00
Lionel Gauthier a0fe962bba patches13/0006-fix-thread-cleanup.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7052 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:11:15 +00:00
Lionel Gauthier 321d2e3f03 patches13/0005-fix-itti-message-broadcast-memory-handling-problem.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7051 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:10:55 +00:00
thomasl b7f699a3aa bug fixing during CPRIGW integration
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6986 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-02 08:01:34 +00:00
thomasl 6da41d24fc some warnings in gtpv1u and one bug in itti: task killer was sending signal USR1 to wrong threads
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6670 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-03-04 18:02:47 +00:00
Florian Kaltenberger 5ef6c4e8a3 fixing bug in preprocessor (thanks to Niccolo) and some other warnings
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6542 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-02-13 09:13:48 +00:00
Raymond Knopp 8073aefe4c applied patches from S. Held, addition of scansim.c and PHY files for UE band scanning
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6475 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-02-05 17:33:48 +00:00
thomasl b501feae18 remove option before kernel 2.6.30
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6080 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 17:02:09 +00:00
Lionel Gauthier eeedf0e8a9 ??? why now ?
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5977 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-05 17:19:43 +00:00
Lionel Gauthier 5d4aac6473 debug infos
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5853 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-10-08 14:11:50 +00:00
Raymond Knopp 67eb729f8e git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5826 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2014-10-01 12:28:56 +00:00
ghaddab fc4dc75944 License Corrected
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5717 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-08-14 07:44:14 +00:00
ghaddab 013cd267c9 License updated
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5568 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-07-17 14:52:03 +00:00
winckel 604d07bd97 Modified ITTI logging for RTAI to get logs from non ITTI tasks.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5045 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-06 14:28:54 +00:00
winckel 6720a1d714 Added a memory pool for DCCH log message.
Increassed DCCH log buffer.
Ajusted one memory pool size.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4984 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-29 13:47:24 +00:00
winckel 5a6de28863 Added result check for calls to itti_free.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4782 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 10:41:27 +00:00
winckel fa818d423b Added an action parameter to be performed when assert fails in AssertError.
Added a return status to itti_free.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4779 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 09:14:19 +00:00
winckel 4482a6e254 Fixed some compile warnings.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4775 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 15:53:44 +00:00
winckel b6abfce999 Updated destination task info in MP.
Modified MP item group handling to avoid delaying task when freeing items, ok for RTAI use.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4774 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 14:48:44 +00:00
winckel 722a12c87e Increase memory pool 2 items number.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4770 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:46:58 +00:00
winckel 4424cffcfb Defined new unified assert for ITTI.
Changed size of largest memory pool items to support some long log message.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4765 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-18 22:27:24 +00:00
winckel 65ede03d23 Created debug groups for ITTI logging.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4762 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-18 14:34:14 +00:00
winckel aa65305f46 Integrated memory pools into ITTI for OAISIM and lte-softmodem targets.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4761 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-18 14:08:05 +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 068807e1af Added ITTI function to synchronize task start when they are all ready.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4729 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-15 17:56:27 +00:00
Cedric Roux 6a357853f5 - Fix memory leak
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4697 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 23:26:41 +00:00
winckel 819ff010c1 Cleared EPOLLIN event after processing a message event in ITTI receive.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4665 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 14:30:10 +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
Cedric Roux cb2810e618 - Fix EFD_SEMAPHORE build issues
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4642 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-09 09:14:29 +00:00
Cedric Roux 6e209dcd99 - Fix EFD_SEMAPHORE missing for kernel version < 2.6.30
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4641 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-09 08:32:26 +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 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
winckel 0fdd3f099c Fixed a build issue with TRUE and FALSE for mmem builds.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4552 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 09:16:52 +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
winckel cd22e69f5e Removed non ENABLE_EVENT_FD option in ITTI.
Modified message processing for RT task when RTAI is enabled.
Clean-up logs format in RRC.
Fixed some warnings.

pre-ci Ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4550 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-29 16:06:30 +00:00
Cedric Roux 60dc65197c - Fix an issue that prevent some logs from being dumped
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4546 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 16:28:08 +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
Cedric Roux df177680ce - Put itti writes to file in another thread to avoid locks when flushing the file
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4522 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:06:45 +00:00
Cedric Roux b2e4d83e0f - Check return value of event semaphore operations (read/write)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4512 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 14:09:36 +00:00
winckel f3362b9a8e Added support for other ITTI log messages levels to match oaisim log levels.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4430 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 14:28:03 +00:00
Cedric Roux 0b10b80f68 - Subscribe to errors events in itti
- Fixed timeout for sctp when host is unreachable

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4418 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 15:47:50 +00:00