Commit Graph
66 Commits
Author SHA1 Message Date
Lionel Gauthier e7921f03a3 Changed default DRB id from 3 to 1
With folowwing implicit rule
drb id = x => correspondind lc id = x+2, eps bearer id = x+4

Changed RLC inner structs, no more statically allocated array, now it is dynamic via malloc and collection of RLC entities are stored in a hashtable.
Changed misc simple types
Started compiling with all warning setted and treated as errors, still working on RLC and around...
Add const qualifier wherever suitable (for example param frame, module id, const pointers, etc)

Thinking about a type of context parameter in procedure calls in L2 data plane (modules id, frame, srb flag, enb flag, etc)...


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5222 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-27 17:07:39 +00:00
Lionel Gauthier d6aeaf802a git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5116 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2014-03-04 09:47:15 +00:00
Lionel Gauthier da74451120 eNB and MBMS flags are now boolean
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5097 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-28 14:32:23 +00:00
Lionel Gauthier c60dc45b2b Changed uX, uX_t sX, sX_t to uinX_t
Cleaned some PDCP/driver code

types parameters and vars

Please see openair2/COMMON/platform_types.h for simple coding rules.

please declare prototypes of functions in .h and include .h files in where the function is used and where it is implemented.



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5096 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-28 13:03:10 +00:00
Lionel Gauthier 6f5219a600 Did not compiled for itti, stil problem with MBMS, see tomorrow
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5087 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-25 17:53:10 +00:00
Lionel Gauthier 899c178d08 Now virtualization should be OK.
TO DO :test RF and ethernet emulation.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5086 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-25 15:31:28 +00:00
winckel 72fed7d33c Corrected log message.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5049 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-07 08:29:22 +00:00
winckel 6720a1d714 Added a memory pool for DCCH log message.
Increassed DCCH log buffer.
Ajusted one memory pool size.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4984 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-29 13:47:24 +00:00
winckel dcc76e5dcc Fixed a ITTI allocation issue due to requested buffer size.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4980 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-29 10:35:02 +00:00
winckel e4f59a0323 Added asserts after ASN1 message encoding to detect buffer overflow or other encoding issues.
Increase RRC buffer size for RRCConnectionReconfiguration messages.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4926 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-22 08:48:55 +00:00
Lionel Gauthier 56fb661432 Updates for RAL
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4915 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-21 11:01:42 +00:00
Lionel Gauthier c5e3a46704 RAL Updates + RLC PDU dumped in ITTI msg text
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4886 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-15 17:25:01 +00:00
winckel 9fa4ec6671 Changed ITTI RRC log message names.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4878 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-15 08:56:02 +00:00
winckel 456f91baba Replace generic ITTI log messages by dedicated messages in RRC.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4876 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-15 00:06:25 +00:00
winckel 46b3ab9e23 Disabled UE RRC state check when setting sub-state if ENABLE_USE_MME is not defined.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4872 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-14 15:23:55 +00:00
Lionel Gauthier 58b62709f3 Commit for updates to RAL (802.21, MIH)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4867 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-14 09:54:15 +00:00
winckel 73b79d4ed7 Corrected ITTI log source task.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4858 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-13 16:47:21 +00:00
winckel 3b1a53e69e Added "eps_BearerIdentity" field set to 5 in "rrc_eNB_generate_defaultRRCConnectionReconfiguration()" (was set to this on PFT traces).
Added ITTI log on some ASN1 messages.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4854 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-13 15:55:51 +00:00
winckel 31726e8a85 Fixed build issue without ITTI enabled.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4826 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-07 14:01:49 +00:00
Lionel Gauthier a94a6f3810 Added preproc if (MME) for NAS message:
Line 1849
# if defined(ENABLE_USE_MME)
&& (UE_rrc_inst[Mod_id].initialNasMsg.data != NULL)
#endif


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4818 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-02 14:22:42 +00:00
winckel 9bf7fbcee2 Fixed a build issue for lte-softmodem.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4816 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-02 13:03:23 +00:00
winckel 78b75acef9 Created a RRC sub-state field.
Created RRC state ans sub-state handling functions.
Completed handling of NAS_CONN_ESTABLI_REQ.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4815 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-02 12:25:25 +00:00
winckel 69cadc976d Added rsrq and rsrp to BCCH DATA IND message to allow reporting of signal level and quality to upper layers.
Added NAS_CELL_SELECTION_CNF response for NAS after successful decoding of SIB1.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4811 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-22 12:54:34 +00:00
winckel 9133056d98 Corrected instance value for UE NAS to RRC messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4804 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 17:48:52 +00:00
Lionel Gauthier b223ac4e8a ooops
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4803 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 16:04:27 +00:00
Lionel Gauthier 3f88f2cadb Update for MIH
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4802 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 15:45:31 +00:00
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
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 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 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
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 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 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
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 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 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 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
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 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
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 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
winckel 51596029e9 Modified asn1 function to let them handle memory allocation.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4481 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 10:47:18 +00:00
winckel 8470aa8024 RRC:
- Reorganized ITTI messages definition by groups (MAC, PDCP and RRC).
- Added support for some NAS / S1AP messages.

S1AP:
- Corrected MME selection in handle NAS first request.
- Modified some messages definition.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4429 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 14:17:15 +00:00
winckel 9a077d29a7 Encoded s-TMSI field in S1AP_NAS_FIRST_REQ message.
Fixed some warnings.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4424 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-18 08:09:54 +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