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
winckel
2ee4242de0
Fixed a compile issue without ITTI.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4532 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 16:45:34 +00:00
winckel
3e29f713f6
Changed NAS PDU handling for do_RRCConnectionReconfiguration to allow transmission of several in the same RRC message.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4529 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 15:59:35 +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
1785e31f60
Fixed some warnings.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4523 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:27:04 +00:00
Cedric Roux
df177680ce
- Put itti writes to file in another thread to avoid locks when flushing the file
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4522 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-26 13:06:45 +00:00
winckel
f4113d53ba
Added support for other S1AP messages.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4519 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 21:22:55 +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
Navid Nikaein
c2a39c14f9
add the eNB task definition
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4516 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-25 16:56:39 +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
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
Cedric Roux
5697a9353c
- Update for kernel versions > 3.5.0
...
pre-ci ok
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4505 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-24 17:15:58 +00:00
winckel
081e337cdd
Reoragized code.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4499 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 15:58:39 +00:00
winckel
c964219d60
Separated RRC <-> S1AP procedures.
...
Pre-ci OK.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4497 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 15:18:17 +00:00
Cedric Roux
3789333ee6
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4496 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 13:04:20 +00:00
ghaddab
9d27b76de6
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4495 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 10:31:33 +00:00
Raymond Knopp
91e7fb1cad
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4493 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-22 10:13:22 +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
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
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
Cedric Roux
0d5e035eef
- Fix DL/UL information transfer encoders
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4484 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 12:13:08 +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
Florian Kaltenberger
731f75c594
lte-softmodem now uses new thread for pdcp
...
updated llr scaling for PDCCH and PDSCH in TM5
initialized all newly allocated memory to 0 in new_eNB/UE_ulsch/dlsch and setting pointers to 0 after freeing memory in free_eNB/UE_ulsch/dlsch
some small modifications related to EMOS (from the MU-MIMO measurement campaign)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4480 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 10:39:13 +00:00
winckel
681096edb6
Revert a function prototype change.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4478 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 09:52:15 +00:00
winckel
7609d57740
Change real location of this files to be accessible without openair-cn.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4476 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 09:35:29 +00:00
winckel
b96e4e38da
Change real location of this files to be accessible without openair-cn.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4475 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 09:31:35 +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
winckel
d9e1d11b96
Fixed a compile issue for non ENABLE_ITTI builds.
...
Pre-ci OK.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4472 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-21 07:53:44 +00:00
winckel
cd05a7a7df
Modified S1AP ids search to cover all RRC S1AP association cases.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4470 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 17:49:14 +00:00
winckel
08bd55cbca
Created an enum for e RAB status.
...
Corrected eNB_ue_s1ap_id setting in messages send to S1AP.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4469 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 17:23:02 +00:00
winckel
3341675bd9
Added S1AP_INITIAL_CONTEXT_SETUP_RESP.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4467 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 16:03:49 +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
winckel
ad5f5e3111
Corrected processing of S1AP_INITIAL_CONTEXT_SETUP_REQ.
...
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4464 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-20 14:26:22 +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