Commit Graph
38 Commits
Author SHA1 Message Date
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
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 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
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 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 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 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 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 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
Cedric Roux 10b8f5687c - Generate "unique" eNB_id according to host name
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4345 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-07 14:02:16 +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
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 5260b60df7 Added a command line option "-K file_name" to save ITTI logs directly.
Created "RRC_MAC_BCCH_DATA_REQ" message.
Separated L2L1 sub task by eNB/UE to separate messages handling in PDCP and MAC.
Added ITTI messages poll in MAC sub tasks.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4300 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-30 08:21:23 +00:00
winckel 9405e6addb Added RRC_MAC_CCCH_SUCCESS_IND and RRC_DCCH_DATA_REQ ITTI messages definition and handling.
Removed RRC_MAC_SYNC_IND that is not used anymore.
Added ITTI messages reception in PDCP (in pdcp_run).
Added pdcp_rrc_data_req in l2 interface.
Fixed warning.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4290 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-29 08:07:47 +00:00
winckel 1378c4fbfb Added an RRC UE task and inserted some message based communications between MAC or PDCP and RRC when ITTI is enabled.
Uniformized some parameter types.
Fixed some warnings.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4286 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-25 16:20:37 +00:00
winckel f00c036367 added "itti_exit_task" to terminate current task when a MESSAGE_TERMINATE is received.
Modified "itti_wait_tasks_end" to exit when some threads are not terminated after a 1 second time-out.
modified "SIGINT" handling, exit is done after tring to join all threads like for "SIGUSR1".
Added message reception for TASK_L2L1 and handling of TEST and TERMINATE messages in oaisim.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4269 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-23 14:08:42 +00:00
winckel b45af4a3c9 Moved files related to assertions, backtrace and signals handling into ITTI directory.
Renamed all ITTI functions, to make them start with module name ("itti_").
Added generic signals handling support in ITTI.
Changed ITTI log port for oaisim to 10006.
Introduce an option to use ITTI in oaisim and reoragized code.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4267 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-23 12:18:35 +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
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
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
Florian Kaltenberger 08c66e0cff fixed bug in OTG
added stats for PDSCH for MAC-PHY interface, removed some duplicate stats


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4113 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-08-27 20:04:19 +00:00
Cedric Roux ad0ca85229 - Added per-slot based interrupt for accurate computation of stats
Every 500us an interrupt is raised
-> Option -o to enable this feature

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4108 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-08-27 10:00:53 +00:00
Florian Kaltenberger 437f83b602 bugfix in config of OTG in oaisim, extended eNB stats in oaisim to multiple eNBs
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4090 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-08-22 08:15:34 +00:00
Navid Nikaein 8c339ad672 add makefile support for DB stats, fix minor issues for jitter calculation
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4030 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-15 16:21:05 +00:00
Cedric Roux a07b4097cf - Fix compiler warnings
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4016 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-09 14:19:41 +00:00
Cedric Roux b62ae47b90 - Fix uninitialized variables in MAC UL scheduler
- Fix invalid write in MAC pre-processor
- Fix variable defaulted to int (instead of double)

Pre-ci passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4005 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-01 14:08:53 +00:00
Cedric Roux 56c66c09aa - Fix: avoid infinite loop on mulitcast read thread if no data to read
Pre-ci test passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-06-25 09:05:02 +00:00