Commit Graph
154 Commits
Author SHA1 Message Date
winckel e8630ed685 Modified handling of MME shutdown in S1AP to avoid stopping eNB.
!!! No recovering mechanism for this situation !!!

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4609 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 13:15:05 +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 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
Raymond Knopp c4b7d4c134 updates to UL (DFTs for 10/20 MHz), Ndi toggling, DCI structures
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4600 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 21:11:02 +00:00
winckel 5fdc5fbe4d Created a log component (TMR) for timer.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4592 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 16:22:49 +00:00
winckel b6bca8da53 Created a log component for eNB application.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4590 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 15:21:39 +00:00
winckel 43c63492b5 Fixed a build issue without ENABLE_USE_MME.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4587 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:42:24 +00:00
Cedric Roux c0e312ad39 - Fixed invalid write when dumping capabilities sdu
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4586 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:13:56 +00:00
winckel 0e822b0a69 Fixed some warnings due to bad prototype syntax.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4583 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:11:36 +00:00
winckel 3685cf3f41 Added struct names.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4582 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:10:45 +00:00
winckel 89df5c9139 Modified eNB app to be compatible with lte-softmodem build.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4581 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:01:02 +00:00
winckel 03d76e8d43 Created files for eNB application.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4579 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 09:54: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
winckel 24a42f5b67 Fixed some warnings for RTAI build.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4575 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:29:14 +00:00
winckel 20fd994f68 Fixed a build issue when ENABLE_VCD_FIFO is not defined.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4570 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:24:03 +00:00
winckel 4fabe3b44c Added struct names.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4569 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:22:41 +00:00
Cedric Roux ed28505dd8 - Use nas_error_code_t instead of uint8_t for error code
- Use explicit error code from S1AP to NAS

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4564 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-03 09:58:41 +00:00
Cedric Roux faa51ec4b6 - Use typedef for enums/structs
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4562 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-03 08:44:10 +00:00
winckel c35ba1cf77 Use a bit mask with atomic or and and operations for VCD logging of ITTI messages task IDs in messages handling functions to support correctly multi threading logging.
Separated eNB and UE frame and slot VCD logs.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4556 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 15:29:24 +00:00
winckel 945a6d6c97 Modified VCD format for variables.
Modified some ITTI VCD log points.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4555 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 13:31:36 +00:00
Cedric Roux 499ec0753a - Converted calloc to malloc in ITTI to save some time
- Added vcd signal for alloc of message

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4551 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 08:58:32 +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 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 8bf78981da Added support for EIA0 and EEA0 security algorithms.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4541 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 10:42:46 +00:00
winckel ca187dcc70 Added processing of security key and corrected use of security algorithms information received from S1AP.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4537 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-27 10:54:10 +00:00
winckel b83aca1d0f Moved "assertions.h" into the "common/utils" directory.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4536 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-27 07:44:31 +00:00
winckel 44a88c503f Marked some unused parameters from S1AP req.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4535 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 18:07:03 +00:00
winckel 01f8ff657f Cleared dedicatedInfoNas structure to avoid issues with buffer free calls in ASN_SEQUENCE_ADD.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4534 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 17:11:56 +00:00
winckel 2ee4242de0 Fixed a compile issue without ITTI.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4532 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 16:45:34 +00:00
winckel 3e29f713f6 Changed NAS PDU handling for do_RRCConnectionReconfiguration to allow transmission of several in the same RRC message.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4529 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 15:59:35 +00:00
winckel 9999403e56 Modified "xer_sprint" to avoid string buffer overflow.
Added transmission of security parameters from S1AP to lower layers.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4524 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:29:30 +00:00
winckel 1785e31f60 Fixed some warnings.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4523 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:27:04 +00:00
Cedric Roux df177680ce - Put itti writes to file in another thread to avoid locks when flushing the file
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4522 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:06:45 +00:00
winckel f4113d53ba Added support for other S1AP messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4519 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 21:22:55 +00:00
winckel e667c572f2 Corrected "rrc_TransactionIdentifier" in some DCCH messages.
Corrected instance number and origin task in some GENERIC_LOG messages.
-

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4518 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 20:23:41 +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 c2a39c14f9 add the eNB task definition
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4516 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 16:56:39 +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
Cedric Roux 5697a9353c - Update for kernel versions > 3.5.0
pre-ci ok

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4505 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-24 17:15:58 +00:00
winckel 081e337cdd Reoragized code.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4499 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 15:58:39 +00:00
winckel c964219d60 Separated RRC <-> S1AP procedures.
Pre-ci OK.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4497 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 15:18:17 +00:00
Cedric Roux 3789333ee6 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4496 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-11-22 13:04:20 +00:00
ghaddab 9d27b76de6 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4495 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-11-22 10:31:33 +00:00
Raymond Knopp 91e7fb1cad git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4493 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-11-22 10:13:22 +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 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