Commit Graph
204 Commits
Author SHA1 Message Date
winckel f7e98c7e2c Modified asserts in pdcp_data_req() to have more accurate information.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4785 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 12:47:34 +00:00
winckel 5a6de28863 Added result check for calls to itti_free.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4782 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 10:41:27 +00:00
Cedric Roux 8e7ede4850 - Add UEid in connection establishment conf
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4780 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 09:34:04 +00:00
winckel 763b715a34 Mapped RRC -> NAS message to NAS function calls.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4776 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 20:35:08 +00:00
winckel 93cb343bae Modified oaisim -V option to get VCD log file name from command line.
Updated oaisim help.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4771 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:51:01 +00:00
winckel 825f0cd111 Added VCD log points in memory pools allocate and free function.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4767 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:13:25 +00:00
winckel aa65305f46 Integrated memory pools into ITTI for OAISIM and lte-softmodem targets.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4761 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-18 14:08:05 +00:00
Cedric Roux 295ed069fa - Add re-synchronisation of SQN on S6A interface
- Corrected some bugs in NAS layer

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4755 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-17 17:52:21 +00:00
Cedric Roux f8d5dc9225 - Fix eNB_ue_s1ap_id not set correctly when receiving First income from MME
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4749 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-17 08:52:32 +00:00
winckel 0bdbd0892b Added a VCD log point for ITTI relay thread.
tuned ITTI relay thread polling delay to 200 micro-seconds to have no RT tasks reacting within the same slot most of the time.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4740 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 14:16:28 +00:00
winckel 447eb872db Uniformized use of assert.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4739 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 11:01:18 +00:00
winckel 3d4d85a8e1 Removed dynamic memory allocation from this module to reduce real time inpact.
Replaced use of liblfds611 by a simple data FIFO.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4738 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 10:55:54 +00:00
Cedric Roux 91287abe68 - Fix NB_eNB_INST, NB_UE_INST equal to 0 when running RF
- Fix 100% CPU usage for the VCD signal dumper

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4737 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 10:06:36 +00:00
winckel 8d446ede1d Modified message of some "macphy_exit()" calls.
Added SIB logging for ITTI when creating SIB2/3.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4735 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 09:20:24 +00:00
winckel 6299ef93d0 Corrected calls to "pdcp_rrc_data_req()" when "ENABLE_USE_MME" is defined.
Added some missing break in RAL messages handling.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4732 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-16 09:02:29 +00:00
Cedric Roux 91dfec6227 - Fix some more compiler warnings
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4731 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-15 22:29:35 +00:00
Cedric Roux 0b0fabaa7e - Fix recent issues with ping in pre-ci
- Corrected PDCP layer to manage more than one UE correctly
	* use eNB_id, UE_id as identifiers for connections
	* splitted UE/eNB data
	* Use the real rb_id for index in array (instead of the one used for communication with RLC/IP driver

pre-ci OK, except for the random issue related to Msg3

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4730 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-15 22:02:33 +00:00
Cedric Roux bb8e616dd4 - Fix pdcp_header for communication NASMESH/PDCP
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4728 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-15 12:35:07 +00:00
winckel aa4d373c22 Updated some log messages format.
Added PHY_FIND_CELL_REQ sent to PHY when starting RRC.
Fixed an issue with ITTI tasks creation with RTAI builds.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4726 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 16:10:29 +00:00
winckel af993318dd Fixed a build issue for RTAI.
Added handling of RRC_CONFIGURATION_REQ in eNB RRC  (some SIB1 fields will be configured by eNB app settings).

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4721 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 14:22:36 +00:00
winckel 3ddc05b39c Corrected IP v4 overwrite.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4717 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 13:16:54 +00:00
winckel a3121cb605 Fixed a compile issue without ENABLE_USE_MME.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4716 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 13:04:58 +00:00
winckel 79eb2e308e Created more default eNB properties (4) and corrected DevCheck.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4707 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 10:51:05 +00:00
winckel 54f88942d1 Created a RRC configuration message.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4703 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 10:24:12 +00:00
winckel e8215501a8 Created a structure to define eNB default properties.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4702 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 09:59:03 +00:00
Lionel Gauthier 04719cedc2 For RAL interface
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4701 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 09:46:44 +00:00
winckel dc423b3470 Created some phy messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4694 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 16:51:09 +00:00
winckel 8f897e06b6 Added on UE side NAS controlled L2L1 start.
Saved parameters of NAS_CELL_SELECTION_REQ.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4691 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 12:54:01 +00:00
winckel 90410a00e9 Modified log level handling; log is done if:
- level >= c->level
       or
- level >= g_log->level

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4690 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 12:50:15 +00:00
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