Commit Graph
167 Commits
Author SHA1 Message Date
winckel 53da551ba0 Fixed a dependency issue for S1AP and SCTP libs.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4628 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 13:36:58 +00:00
winckel 57e23af6f8 Added reason in calls to exit_fun().
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4627 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 13:02:17 +00:00
winckel c352103899 Cleanned-up log messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4626 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 12:50:58 +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 7330b97926 Moved create_tasks into targets/COMMON.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4623 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 10:00:42 +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 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 92273754aa Updated itti_recv_msg task list.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4605 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 10:57:09 +00:00
Florian Kaltenberger d1fa94aa96 small bugfix in firmware for ExpressMIMO2: TX gain was not set correctly
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4604 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 09:27:18 +00:00
Florian Kaltenberger 6c11825d2e updated octave code for reciprocity measurements
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4603 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 09:21:34 +00:00
winckel dfeb30caff Fixed some issue with IP address copy in eNB application.
Modified eNB appilcation for lte-softmodem.
Changed log conponent to ENB_APP.
Addapted lte-softmodem to wait for eNB - MME registration before starting L2L1 task.
Fixed warnings.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4601 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 07:56:44 +00:00
Lionel Gauthier e90b9e1f76 testbench with distincts 2 hosts (1UE 1 eNB) with ethernet emulation execution mode of oaisim
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4595 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 16:58:20 +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 6f50fd2bc3 Fixed a buid issue with ENABLE_USE_MME enabled.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4578 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:46:42 +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
winckel 8d2f5e8950 Removed DISABLE_ITTI_EVENT_FD option.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4576 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:29:45 +00:00
linhuang 569d1c5f90 minor update
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4560 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-03 03:04:00 +00:00
winckel 33514324ba Added an example of format file for GTKWAVE.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4558 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 18:42:36 +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 e9ba767cae - Fix dependencies inclusion for softmodem
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4548 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-29 09:24:38 +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
Cedric Roux becd4ba5a2 - Output all logs files for pre-ci in SIMU/USER/pre-ci-logs
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4538 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-27 16:59:24 +00:00
Cedric Roux 114cd1e836 - Reverted -lrt for softmodem with RTAI
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4531 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 16:42:04 +00:00
winckel fbbe8a1df7 Added ITTI log generation for ITTI tests.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4526 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:31:48 +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
Florian Kaltenberger 731f75c594 lte-softmodem now uses new thread for pdcp
updated llr scaling for PDCCH and PDSCH in TM5
initialized all newly allocated memory to 0 in new_eNB/UE_ulsch/dlsch and setting pointers to 0 after freeing memory in free_eNB/UE_ulsch/dlsch  
some small modifications related to EMOS (from the MU-MIMO measurement campaign)


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4480 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 10:39:13 +00:00
winckel c4283f8701 Corrected log directory creation place.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4479 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 09:55:37 +00:00
winckel 94e60e9415 Added a logs save mechanism to test cases.
Logs are save in the "./pre-ci-logs" directory.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4473 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 07:55:40 +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
Huang e69afaade4 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4444 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-11-20 04:44:37 +00:00
Huang 83f6a8359d git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4443 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-11-20 04:40:48 +00:00
Huang 6975baad8c Minor updates. Not a stable version for USRP.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4442 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 04:36:56 +00:00