Commit Graph
55 Commits
Author SHA1 Message Date
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
Navid Nikaein 5861085339 * Add relay node types and its eNB/UE procedures
* update the L2 interface
* update eMBMS MAC/PHY to support more than one MBSFN sync area
* update OTG to support different multicast traffic for eMBMS
* pre-ci test passed (100%)
 


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4170 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-09-27 22:53:57 +00:00
Cedric Roux f79434c0b0 - VCD signals for PDCP security
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4162 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-09-24 08:15:11 +00:00
Cedric Roux 212192cb88 - Added new feature: Oaisim Security Algorithms (see README in openair2/UTIL/OSA/README
- Fix uint64_t formatting in openair_proc.c
- Removed duplicate call to pdcp_fifo_read_input_sdus

pre-ci tests passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4158 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-09-19 13:45:51 +00:00
Navid Nikaein c5196908d5 * Update the relay node (RN) procedure when multicast relaying is enabled
* Fix the non-continous indexing of the PDCP array (replace rb_id by lc_id)
* Add a new test case 03 for Rel10 and eMBMS  
  


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4149 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-09-17 05:45:21 +00:00
nguyennd e46fb84684 Update and validate the eMBMS operation and its interface to OTG, pre-ci test passed
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4148 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-09-13 15:29:47 +00:00
Navid Nikaein 2f889b422b add the relay node for a dual stack operation for eMBMS (experimental)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4146 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-09-11 14:59:47 +00:00
Cedric Roux 907aac18ca - Forgot a file in previous commit
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4112 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-08-27 15:39:28 +00:00
Cedric Roux 23e9d2a227 - Fix some compiler warnings
[pre-ci tests passed for 32/64 bits platforms]

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4102 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-08-26 08:59:42 +00:00
Florian Kaltenberger dba9117432 disabled effective SINR calculation in ulsch_coding (too slow and not used anyway)
added vcd signals for ue transmitter


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4059 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-08-01 16:34:15 +00:00
Navid Nikaein 8fb5a37b39 protect includes related to DB (mysql)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4032 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-16 08:20:14 +00:00