Commit Graph
166 Commits
Author SHA1 Message Date
winckel 1b602597ec Added new generic asserts.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4768 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:43:48 +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 9284206344 Changed task id for ITTI dump thread.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4766 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:10:54 +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 309bf36129 Fixed a build issue with RTAI.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4758 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-18 13:25:26 +00:00
winckel 46dc719895 Added item status to check double free attempt.
Splitted 32bits item info into two 16bits info.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4757 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-17 22:34:55 +00:00
winckel b3bfef1214 Added "memory_pools_statistics()" and fixed some issue in MP.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4753 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-17 14:49:36 +00:00
winckel ad3f704e7f Added item alloc and free functions.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4745 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 21:08:20 +00:00
winckel fcde22a252 Added files for memory pools handling.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4744 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 16:02:11 +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 f91ff99a72 - Flush debug streams before exiting process
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4698 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 23:27:06 +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
Cedric Roux c1ac956eff - Fix undefined reference to log10
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4696 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 22:16:31 +00:00
winckel 3c4bda72e3 Created ACTIVATE_MESSAGE and DEACTIVATE_MESSAGE messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4687 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 10:11:08 +00:00
winckel f3f9866047 Fixed a SIGSEGV issue when stopping oaisim.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4684 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 09:08:40 +00:00
Cedric Roux 54ada88ddb - Put "Exiting execution" key phrase in assertions to allow catching these errors in pre-ci
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4681 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 22:24:07 +00:00
Cedric Roux 0691204a1e - Use maximum available integer for assertions parameters display
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4680 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 21:41:50 +00:00
winckel e23e28ebdf Modified colors for NAS signals.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4668 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 14:43:47 +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
Lionel Gauthier 008c0adbf7 ???
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4660 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 09:21:58 +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
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 15e3d8cbf8 Updated NAS RRC messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4632 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 15:27:06 +00:00
winckel 70ed03a89a Reordered ITTI tasks.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4629 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 14:10:27 +00:00
winckel 201e44e849 Updated itti_analyzer filters.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4612 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 13:34:39 +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
Cedric Roux b0f23c27ee - Fix alignment for arrays
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4602 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 08:45:20 +00:00
winckel 21635af249 Improved detections and processing of null terminated c string in itti analyzer.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4599 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 18:13:52 +00:00
winckel b91ab12102 Changed the way some fields are located (children rather than next).
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4598 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 18:05:46 +00:00
winckel c8fa1f9553 Added detection and skip of incomplete message at end of file when reading a message file.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4597 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 17:04:36 +00:00
winckel c5a3b8a954 Modified timer log to use oaisim / lte-softmodem logging rather than fprintf when available.
Moved itti initialization in oaisim to have log initialized just before.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4594 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 16:33:36 +00:00
winckel b566d59dd5 Changed enum order to have correct name in itti_analyzer for the first task (TIMER_TASK).
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4593 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 16:23:56 +00:00
winckel 3efd28486c Updated itti_analyzer example message filter.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4573 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:26:46 +00:00
winckel 9c825398cb Added the INITIALIZE_MESSAGE.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4572 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:26:00 +00:00
winckel ff4b9a11ec Added a define to access TIMER_HAS_EXPIRED fields.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4571 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:25:06 +00:00
winckel 9402c4c3ce Added an example of filters for itti_analyzer.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4559 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 18:50:16 +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
winckel 18f113c486 Corrected pop-menu name.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4544 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 15:23:10 +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