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
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
a442876bfc
* add RA procedures for handover, SR, and other DCCH messaging. Status: experimental
...
* fixed few issues in the testing scripts
* pre-ci passed
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4334 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-06 16:49:47 +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
e52c28aa08
Corrected calls to "phy_procedures_eNB_lte" and "phy_procedures_UE_lte".
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4305 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-30 14:25: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
5b07ebb052
Created RRC eNB ITTI task and inserted ITTI messages between it and L2L1 task.
...
Moved RRC UE code into "rrc_UE.c".
Fixed some warnings.
pre-ci ok.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4296 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-29 13:07:33 +00:00
winckel
cf5c4633e2
Added a check on gccxml tool.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4291 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-29 08:09:04 +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
06665e9de6
Fixed an issue with pre-ci due to rm -f -v in a shell invocation.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4285 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-25 16:13:15 +00:00
winckel
129ccac0ae
Added a build option (DISABLE_XER_PRINT) to exclude some debug messages.
...
Blocked dependencies on messages_xml.h when ITTI is not used.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4279 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-25 08:48:48 +00:00
winckel
241d686ea6
Fixed an issue with "messages_xml.h" build order.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4275 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-24 15:25:59 +00:00
winckel
e0c1c4c7be
Keep definition of ITTI variables for cleanning even without ITTI option.
...
Reorganized "clean" targets in makefile.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4274 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-24 13:49:45 +00:00
winckel
fd7dcaf9a5
Added corrected autodependencies rules for "messages.xml".
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4271 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-24 12:29:18 +00:00
winckel
2c9e12f857
Added autodependencies generation for "messages.xml".
...
Added rules to use autodependencies for top level objects.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4270 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-24 12:17:58 +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
winckel
3dc3d6ae45
Corrected target name.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4257 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-22 12:51:10 +00:00
winckel
9c4e19448f
Added ENABLE_ITTI option in makefile to suport intertask_interface build mode.
...
Reorganized OBJ and LIB for building targets.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4255 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-22 09:38:48 +00:00
winckel
167f9db78c
Added a missing function prototype.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4254 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-22 09:22:50 +00:00