Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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 058956bd1d Corrected eNB loop.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4704 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 10:25:25 +00:00
winckel 8f897e06b6 Added on UE side NAS controlled L2L1 start.
Saved parameters of NAS_CELL_SELECTION_REQ.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4691 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 12:54:01 +00:00
Cedric Roux ad1e986d26 - Valgrind script to track memories leackages
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4688 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 10:57:20 +00:00
Cedric Roux f91b16712c - Fixed missing compiler directives
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4679 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 21:00:17 +00:00
Cedric Roux 42f0ff23ea - Fix undefined reference when RAL disabled
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4662 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 10:15:01 +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
winckel 568128e190 Fixed some build issue with USE_MME enabled.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4657 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-10 15:18:43 +00:00
winckel 490d0f0fbf Modified makefiles to integrate UE NAS lib.
Corrected some NAS file to compile without C99 mode option.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4633 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 17:52:26 +00:00
winckel 5521ba109e Reorganized RTAI and SIMU makefiles to factorize some common code.
Added some NAS primitive handling on UE side.

pre-ci Ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4625 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 12:35:41 +00:00
Florian Kaltenberger 4711d8da74 repaired oaisim so that it compiles again with options XFORMS=1 and PRINT_STATS=1
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4624 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 10:34:17 +00:00
winckel 4150c634cf Fixed a task exit issue when receiving TERMINATE_MESSAGE before INITIALIZE_MESSAGE in L2L1 task.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4606 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 12:33:44 +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 678668dabd Modified create_tasks to be usable in RTAI builds.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4591 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 15:23:18 +00:00
winckel 20adaf6609 Grouped all ITTI tasks creation in the same place.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4585 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:13:50 +00:00
winckel 68909776a8 Removed eNB_app from oaisim.c.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4580 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 09:56:27 +00:00
winckel 0ef04198b5 Added a mechanism to wait for eNB MME link to be establish for all eNB before starting L2L1 task.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4577 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:32:21 +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 c76bcd2ec6 Created a "xer_sprintf" to dump asn1 message into a string buffer.
Fixed a build issue in "oaisim.c".
Replaced asn1 struct in ITTI debug message by "xer_sprint" formatted text.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4517 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 18:34:34 +00:00
Navid Nikaein 6d44a4537d remove the redundent code in l2l1_task
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4515 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 16:53:11 +00:00
Cedric Roux d5a12e3b79 - Moved Makerules to OPENAIR_TARGETS
- Created Makefile.common that gathers common definitions for oaisim and lte-softmodem
- Added ITTI capabilities to lte-softmodem (currently not stable)
	* Created dummy l2l1 task
	* Added -K option to output itti messages to file (some RT issues with file flush)
- Added S1AP/SCTP tasks in lte-softmodem

pre-ci ok
lte-softmodem with HARD_RT=1 build ok

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4514 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 16:49:27 +00:00
Navid Nikaein c53171a977 *add eNB app to the oaisim
*update target and ASN1 readmes
*update oai test cases



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4513 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 16:20:19 +00:00
winckel cef118a2be Fixed some warnings.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4511 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 13:45:13 +00:00
winckel 7e4aacabca Fixed an issue with RRC S1AP ids.
Change log level of ITTI message receiption.
Replace failure message by   S1AP_NAS_NON_DELIVERY_IND when processing S1AP_DOWNLINK_NAS.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4510 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 13:04:13 +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
winckel fafa0e25bf Fixed a potential array index error.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4498 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 15:57:59 +00:00
Cedric Roux 0802f49d7c - Updated s1ap configuration to handle modes where oai_emulation is not compiled
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4492 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 09:56:10 +00:00
winckel 56d45ba31f Fixed warnings.
Moved some direct printf into logging system.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4491 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 07:30:06 +00:00
Cedric Roux 9c5b97275b - Fix dependencies inclusion
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4489 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 16:44:05 +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
Florian Kaltenberger 6463bb93c2 deleting some old unused files
oaisim now also compiles with OPENAIR2=0
PDCCH now generates dummy data instead of zeors (needed for power measurements)
fixed bug in DAC (power levels)


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4483 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 11:33:59 +00:00
winckel 4556cd179a Corrected SCTP dir test.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4460 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 12:24:02 +00:00
Cedric Roux e81132589c - Test for S1AP/SCTP directories existence before trying to enter directories
- Added '\n' to message_xml.h to ease XML file parser debugging (ITTI analyzer)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4447 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 08:46:06 +00:00
winckel b8a66a0f4a Use command line option for MME IP address when available.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4434 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 15:08:14 +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 ec8c37c704 Updated Makefiles to include "common/utils" files.
moved ITTI initialization just after command line arguments parsing.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4422 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-18 08:00:46 +00:00
Cedric Roux 5e2586626c - Added new feature to ITTI:
* Possibilty to dump formatted strings directly to the analyzer
- Updated itti_analyzer accordingly

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4413 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 12:49:51 +00:00
winckel 63d26ecd6f Moved build targets to always have default as first target (was overdrive by s1ap when USE_MME was set).
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4402 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 14:30:40 +00:00
winckel 8480abba02 Fixed an issue with non ITTI builds.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4396 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 08:45:22 +00:00
winckel f73cac4cbe Enabled by default use of EVENT_FD for ITTI.
It allows use of internal and external events with a single wait point in tasks.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4395 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 07:52:14 +00:00
winckel c5c41e480a Added update of ITTI LTE frame for messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4394 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 07:50:48 +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 2c89929611 - Fixed some uninitialized structures
- Fixed compiler warnings

Pre-ci test passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4388 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 16:23:03 +00:00
Cedric Roux e63f6c79aa - Fixed instance id for SCTP layer
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4379 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 09:30:56 +00:00
Cedric Roux 6b2152a2ef - Fix incorrect SCTP stream for UE
- Added some message for S1AP
- Fixed PLMN for EPC

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4354 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-08 16:43:30 +00:00
winckel cefa14650f Modified ITTI to create one message queue for each task and sub task.
Still only one thread is created by task.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4350 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-08 09:43:03 +00:00