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
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