Commit Graph
175 Commits
Author SHA1 Message Date
Cedric Roux 874e220e90 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4689 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-12-12 12:25:18 +00:00
winckel 7bb2ec875c Compeleted messages transmission from NAS to RRC on UE side.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4686 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 09:52:49 +00:00
winckel 49cec160ff Fixed build errors due to missing function prototypes or wrong parameters list in function call.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4683 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 08:57:32 +00:00
Cedric Roux bb52f71432 - Force logs level to 7 in pre-ci
- Output logs from ping/oaisim in two distincts files
- Fix some compiler warnings
- Put assertions in some switch default cases
- Create a wrapper for macphy_exit to display FILE and LINE of the caller
- Enabled -Werror=implicit-function-declaration

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4682 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 23:26:33 +00:00
winckel 556a353160 Start to handle NAS_CELL_SELECTION_REQ.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4676 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 19:32:57 +00:00
winckel 714fefb8a1 Create a top level RRC state.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4675 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 19:28:13 +00:00
winckel dc07c752b3 Added transmission of an INITIALIZE_MESSAGE to all TASK_NAS_UE tasks when eNB is registered to MME.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4667 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 14:33:50 +00:00
Cedric Roux c26a130033 - Mapped malloc/free for ITTI to itti_malloc/itti_free functions for future use within real-time softmodem
- Fixed softmodem build issues with RAL
- Merged ITTI into agilent softmodem for eNB

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4661 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 10:08:23 +00:00
Lionel Gauthier a632b032c6 Add 802.21 in oaisim exe, work in progress.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4658 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-10 15:58:00 +00:00
winckel 4a4773b3de Moved "nas_ue_task.c" to integrate it into libuenas.a to simplify include dependencies.
Modified nas logging function to use the same than oaisim or lte-softmodem.
Added some object and include paths in nas ue lib makefile.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4653 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-09 15:41:14 +00:00
Raymond Knopp 631fa2be8b updates from Agilent IoT
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4649 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-09 14:17:36 +00:00
xuhl 218b9162f1 for pdcp security
BEARER should be RB identity - 1
secondly half of 256 bit key is used for 128 bit key

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4640 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-09 01:07:02 +00:00
winckel 034f2191b7 Fixed a build issue without ITTI enabled.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4634 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 18:22:23 +00:00
winckel 15e3d8cbf8 Updated NAS RRC messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4632 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 15:27:06 +00:00
winckel 597aa81ccf Updated UE NAS <-> RRC messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4630 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 15:00:04 +00:00
winckel 70ed03a89a Reordered ITTI tasks.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4629 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 14:10:27 +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
winckel 8d57d43a4a Added NAS log component.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4621 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 08:29:45 +00:00
winckel 387753e78d Created NAS UE task files.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4617 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 15:55:12 +00:00
Cedric Roux c4d68ea31e - Fix build issues
- Fix name in conversions macro

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4615 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 15:11:26 +00:00
winckel 27dea9687d 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@4610 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 13:15:44 +00:00
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