Commit Graph
56 Commits
Author SHA1 Message Date
Cedric Roux d48c336934 hotfix: better management of s-tmsi reconnect
The code was changing the rnti in the red-black tree without
removing/reinserting the context. This is wrong because the
rnti is a key of the red-black tree and you cannot change the
key in a stored item at will.

There are also modifications of the function mac_eNB_rrc_ul_failure
which has to remove the UE in any case.

And rrc_mac_remove_ue has been changed for the case where
the UE is not found.
2016-07-11 12:47:31 +02:00
Cedric Roux bc20616af7 minor: parameters missing to some LOG_ macros plus some cleanup 2016-06-24 17:51:00 +02:00
Raymond Knopp e71aebc603 Merge remote-tracking branch 'origin/develop' into bugfix-48-L1L2signaling
Conflicts:
	openair1/PHY/LTE_ESTIMATION/lte_eNB_measurements.c
	openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
	openair1/SCHED/phy_procedures_lte_eNb.c
	openair2/LAYER2/MAC/config.c
	openair2/LAYER2/MAC/pre_processor.c
	openair2/LAYER2/openair2_proc.c
	openair2/RRC/LITE/rrc_eNB.c
	openair3/NAS/UE/API/USIM/usim_api.c
	openair3/NAS/UE/ESM/esm_ebr_context.c
2016-03-31 14:36:12 -07:00
Cedric Roux 5f823b401a some more warning removals 2016-03-28 22:45:20 +02:00
Raymond Knopp a4ea1f9ba6 small changes in RRC 2016-02-19 21:24:08 +01:00
Raymond Knopp d4cdda31ab Final changes for UE context management 2016-02-19 15:42:32 +01:00
kaltenbe 59f6146a35 UE UL failure debugging 2016-02-15 19:08:08 +01:00
Raymond Knopp 61bff80ccb added UL failure indication to PHY/MAC/RRC eNodeB procedures. 2016-02-14 14:32:11 -08:00
gauthier c7518ecf42 SVN to GIT migration (removed EPC software, updated mailing list address in all files)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7885 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-10-06 16:24:54 +00:00
knopp c1d89577e0 Added tracing of SIB5 in UE for EUTRA interfrequency information (rrc_UE.c) and removed some compiler warnings. Corrected a bug related to T310 usage before having received SIB2 (rrc_common.c)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7678 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-07-01 17:19:12 +00:00
Raymond Knopp 65f8298ae7 modifications in UE system information handling to allow for decoding of all SIBs. For USRP targets, timing advance and TX power control.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7563 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-16 05:13:58 +00:00
Cedric Roux f8edc28e83 fix log
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7510 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-02 08:44:28 +00:00
Lionel Gauthier fa5d2f5e22 Add subframe in some proc calls
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7480 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-28 13:08:53 +00:00
Cedric Roux 0e6e84c3c0 carrier aggregation preparatory work:
- mac_rrc_data_req/mac_rrc_data_ind API modification
- ITTI message RRC_MAC_CCCH_DATA_IND updated
- substructure "carrier" introduced in "eNB_rrc_inst"
- ASN.1 messages SIB1/SIB23 adapted
- handover not correctly handled (CC_id not used)


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7456 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-22 07:53:10 +00:00
Navid Nikaein 24cbca8bf4 revert the eNB_index in MAC-RLC-PDCP-RRC APIs for cases when a UE is connected to more than 1 e
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7449 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-21 13:08:26 +00:00
Cedric Roux db30c788d1 minor fixes
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7417 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-15 07:53:49 +00:00
Lionel Gauthier ca7e56d111 Sebastian Held patches15/0038-fix-compiler-warnings.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7340 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-30 09:47:25 +00:00
Lionel Gauthier 02b715513d Sebastian Held patches15/0014-memory-corruption-uninitialized-variable.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7316 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-30 09:19:45 +00:00
Lionel Gauthier d2dd7c2a42 Sebastian Held patches15/0013-typo.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7315 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-30 09:18:53 +00:00
Lionel Gauthier abd09c9a3e define
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7174 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-16 11:55:56 +00:00
Lionel Gauthier 8612173cbb MESSAGE_CHART_GENERATOR with macros
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7154 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-14 09:35:09 +00:00
Lionel Gauthier 56c9000558 branch LG_PRE_RELEASE_0.3 reintegration
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7117 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-10 13:18:11 +00:00
Lionel Gauthier 059a0a3fdc astyle --recursive --indent=spaces=2 --style=kr --indent-col1-comments --break-blocks --convert-tabs --max-code-length=200
This is done for better merging branch/LG_PRE_RELEASE_0.3 into trunk (same process is applied on this branch)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7073 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:29:12 +00:00
Florian Kaltenberger 103b751fb1 adding a few error messages
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6628 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-02-27 10:00:54 +00:00
Navid Nikaein 9ba19119a5 * adding additional tests for 10MHz and 20MHz channel BW
* applying patches 8 and 9 contributed from S. Held


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6536 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-02-12 15:03:13 +00:00
Lionel Gauthier 4082f54931 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6414 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-01-19 11:12:57 +00:00
Lionel Gauthier 36ecc8484d Put module identifiers, enb_flag, frame in a struct called protocol_ctxt_t
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6326 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-01-06 16:44:32 +00:00
ghaddab c23783c702 License corrected
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5714 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-08-14 07:26:42 +00:00
Navid Nikaein 65c84039ad * Update license and header files
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5578 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-07-22 13:43:51 +00:00
Navid Nikaein d7ab6af323 * EPC config file for sequence
* EPC condif file for centos on ubuntu
* minor adjustments for logs 


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5417 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-06-20 13:46:19 +00:00
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 21407c86f4 instance_t with itti only
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5110 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-03 17:23:45 +00:00
Lionel Gauthier 4943612660 minor corrections
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5108 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-03 16:19:43 +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
Navid Nikaein 9a575c71ec * fix the bugs for the IP connectivity when more than one UE is activated
* add the phy abstraction for eMBMS, and the MCH transport info for distributed simulation
* add supports in PDCP to detect the multicast/broadcast packets
* update the readme files, and the script start_one_eNB_multi_UE_nas



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5079 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-17 17:45:18 +00:00
winckel 1f5bc3c8fc Cleared "SDU" part of some ITTI message to avoid having trailing random values.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4870 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-14 14:06: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 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 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 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
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 fd55fbc6eb Completed RRC handling of S1AP messages.
Re-organized UE info in eNB.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4459 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 12:17:18 +00:00
winckel c2e44ad7c0 Modified use of instance in ITTI messages to have a coherent use of it. It always refers to the same unit (eNB or UE) in all tasks or sub-tasks. This will allow filtering on instance number in itti_analyser.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4371 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-12 15:59:43 +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 fdd7de3280 Introduced MAC xCCH DATA REQ messages to complete RRC MAC interface, they are not actually used!
Integrated SDU buffer into MAX xCCH messages with a fixed size.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4302 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-30 14:04:22 +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 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