Commit Graph
52 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
Cedric Roux 2d5d61073a - Work in progress
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4589 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 14:29:38 +00:00
Cedric Roux 167455d2e0 - Print s1ap message when decoded in MME
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4588 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 14:20:02 +00:00
winckel b670354c3f Fixd some warnings.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4584 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:12:17 +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 b195964f31 Added defines for info level logs.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4574 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:27:38 +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 0aec555a9c - Some minor improvements when NAS is enabled
- Some formatting of header files

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4561 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-03 08:33:11 +00:00
Cedric Roux c67aafd2a6 - Fixed origin task id of sctp date req message
- Unified structures names
- Added nas ul data ind between S1AP and NAS
- Fixed indentation of NAS files

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4554 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-02 12:51:30 +00:00
Cedric Roux b900880d47 - handle TERMINATE_MESSAGE in EPC layers
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4547 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 16:45:37 +00:00
Cedric Roux d5a12e3b79 - Moved Makerules to OPENAIR_TARGETS
- Created Makefile.common that gathers common definitions for oaisim and lte-softmodem
- Added ITTI capabilities to lte-softmodem (currently not stable)
	* Created dummy l2l1 task
	* Added -K option to output itti messages to file (some RT issues with file flush)
- Added S1AP/SCTP tasks in lte-softmodem

pre-ci ok
lte-softmodem with HARD_RT=1 build ok

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4514 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 16:49:27 +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
Cedric Roux bb7f0252d9 - Add encode procedure for nas non delivery ind
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4509 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 10:35:48 +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 96db716cdf - Fix an issue that prevents S1ap library to be rebuilt
- Added XML print of sent S1AP messages

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4503 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-23 15:36:59 +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
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
Navid Nikaein c0ea1f682d update the asn1c patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4482 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 10:52:42 +00:00
Cedric Roux 364d662cf2 - Fix DL/UL information transfer messages encoders
- Reset the initial ue id when first asnwer sent to RRC

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4474 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 09:16:09 +00:00
Cedric Roux cbec05f00b - Add config file name for itti in EPC
- Add rrc ue identifier in downlink NAS transport message

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4466 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 15:09:29 +00:00
Cedric Roux e120336ac5 - Add Initial context setup failure message definition
- Add initial ue id for initial context setup req message
- Add configuration for caviar machine

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4462 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 13:40:02 +00:00
winckel d3acdac8c9 Changed UE id for first S1AP message.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4461 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 12:58:29 +00:00
Cedric Roux cd6ed90587 - Completed Initial context setup request message
- Fixed RB ID
- Removed unused variable in NNSF

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4458 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 12:09:17 +00:00
Cedric Roux 4c3024e489 - Declared asn1 inlined conversions functions as static to avoid errors at link time
- Forward initial context setup req message to RRC
- Updated some data types related to initial context setup request

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4454 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 10:43:23 +00:00
Cedric Roux c299fb93a4 - Fix integrity/encryption algorithms values
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4452 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 10:40:30 +00:00
Cedric Roux 496e81ef92 - Fix dependencies in S1AP Makefile
- Added xer print for initial context setup request message

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4449 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 09:03:47 +00:00
Cedric Roux 4f528b3805 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4439 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2013-11-19 15:59:34 +00:00
Cedric Roux 9b65f48dc3 - Add -Wall to SCTP and S1AP libraries makefile
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4438 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 15:58:21 +00:00
Cedric Roux 2acd0d949a - Fix uninitialized pointer
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4437 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 15:52:03 +00:00
Cedric Roux 25d86e7220 - removed trigger for initial ue message -> now triggered by RRC
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4436 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 15:44:43 +00:00
winckel 9e33f65f8e Fixed a structure change issue.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4433 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-19 14:48:19 +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
Navid Nikaein 7ef7bc9226 update the patch file with the latest modifications
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4421 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-16 21:17:22 +00:00
Cedric Roux 0b10b80f68 - Subscribe to errors events in itti
- Fixed timeout for sctp when host is unreachable

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4418 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 15:47:50 +00:00
Cedric Roux 366b06c873 - Fixed handling of non success result for S1AP/SCTP new association
- Handled not connected state in SCTP when recvmsg returns -1

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4416 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 14:57:17 +00:00
Cedric Roux 6c4ce5f999 - Fixed ITTI calls for EPC
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4414 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 13:36: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
winckel ccb126d6df Added some field in RRC eNB info structure to store additionnal information.
Corrected "get_next_UE_index" and "rrc_remove_UE".
Started communication between RRC eNB and S1ap.
Changed some S1ap structure definitions.
Fixed warnings.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4410 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 07:24:19 +00:00
Cedric Roux ebba5542ad - Mark SCTP sockets as non-blocking to avoid locks in SCTP layer, particularly at connection
- Fixed some log points formats

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4398 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 13:00:23 +00:00
Cedric Roux 82c9323146 - Correctly remove asn1 generated files even when Release is not specified in clean command
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4387 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 15:49:15 +00:00
winckel 1f460d558b Removed duplicated "as_message.h" from "openair-cn/COMMON" file and updated "Makefile.am" files
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4382 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 12:47:29 +00:00
Cedric Roux e63f6c79aa - Fixed instance id for SCTP layer
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4379 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 09:30:56 +00:00
Cedric Roux 2c9ab577e4 - Fixed incorrect formatter
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4378 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 09:13:20 +00:00
Cedric Roux f2767bebfb - Updated S1AP to integrate instance id instead of mod id
- Updated some messages for S1AP

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4375 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-13 09:07:25 +00:00
Cedric Roux 45f52474c4 - Prefix-ed Informations Elements for S1AP to avoid types redefinitions with RRC
EPC/eNB builds OK

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4373 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-12 17:23:21 +00:00
Cedric Roux 6b2152a2ef - Fix incorrect SCTP stream for UE
- Added some message for S1AP
- Fixed PLMN for EPC

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4354 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-08 16:43:30 +00:00
Cedric Roux 7a31d752fe - Fix an issue when removing UE contexts in S1AP layer after eNB disconnection
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4348 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-08 08:43:58 +00:00
Cedric Roux 117f955ddf - Fixed initial tac/mcc/mnc
- Trigger a dummy initial ue message when receiving s1 setup response
- Added new S1AP <-> RRC messages
- Fixed almost all S1AP messages to integrate ITTI

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4347 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-07 16:10:58 +00:00
Cedric Roux 10b8f5687c - Generate "unique" eNB_id according to host name
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4345 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-07 14:02:16 +00:00
Cedric Roux 85e85fb93a - Update S1AP and SCTP layers to use ITTI for eNB: may broke the old version of S1AP/SCTP (compile with USE_MME=R10 and ENABLE_ITTI=1)
pre-ci tests passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4342 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-07 13:00:54 +00:00