Commit Graph
17 Commits
Author SHA1 Message Date
WEI-TAI CHEN 45519c9249 Merge feature-s1ap-r14-based-on-new-asn1c 2018-05-28 08:17:07 -07:00
WEI-TAI CHEN 33d67f2453 merge S1AP 2018-05-28 05:07:25 -07:00
WEI-TAI CHEN e9ce528ed7 Modified and fixed common config 2018-05-28 04:52:39 -07:00
WEI-TAI CHEN 0339b49bdf RRC .ans1 file and test asn1c 2018-04-13 01:37:04 -07:00
Bi-Ruei, Chiu 7321aab67e Add S1AP R14 based on new asn1c
This feature requires an un-official version of asn1c :

https://github.com/velichkov/asn1c/tree/s1ap
2018-03-28 00:19:01 +08:00
oai da50d68b06 more NB-IoT integration 2018-03-08 17:35:35 +01:00
Cedric Roux 98b5faae47 RRC release 14.3 2017-10-27 16:13:41 +02:00
Cedric Roux fc5c876a81 Merge remote-tracking branch 'origin/feature-228-rrc-rel14' into develop_integration_w12 2017-03-24 17:08:27 +01:00
Cedric Roux b5a03474bf remove asn1 compilation fixes that went to asn1c (IMPORTANT: reinstall asn1c!)
The files NativeInteger.c.diff and constr_SET_OF.c.diff
from asn1c were generating compilation warnings. We had
local patches applied on generated files by asn1c.

A new version of asn1c has been pushed to
https://gitlab.eurecom.fr/oai/asn1c
(commit 224dc1f991b7e7ad705ce92e171b942f87b7b7e7)
making obsolete the fixes we do here.

So we now remove those fixes.

*************************
* IMPORTANT BEGIN       *
*************************

Everyone should update their asn1c installation.

The simplest is to do:

    source oaienv
    cd cmake_targets
    ./build_oai -I

*************************
* IMPORTANT END         *
*************************
2017-03-24 16:46:42 +01:00
Cedric Roux 4fcb6272f4 RRC Rel14
- import RRC ASN.1 defintions from the specifications
  (file openair2/RRC/LITE/MESSAGES/asn1c/ASN1_files/RRC-e10.asn)
  contrary to rel8/10, all modules have been imported, maybe it's too much
  to refine in case of problems
- deal with rel14 in fix_asn1
- all code that was for Rel10 is now for Rel10/Rel14
- some incompatible changes (mostly in naming) were resolved in favor
  of rel14, see in openair2/RRC/LITE/defs.h
- unsure about the rlc layer, some arrays have changed (values appended),
  I only changed the definition and in tests in the code, I changed
  the index limit, maybe it's not enough

Rel14 is the default compilation mode.
2017-03-23 18:06:40 +01:00
Cedric Roux f514c0656d more warning removals: add const to asn1cpatch_3.p0 and update fix_asn1 2016-03-27 16:51:16 +02:00
Cedric Roux 04eed3bd6e remove "unused variable" and "set but not used" warnings 2016-03-25 23:58:58 +01:00
Cedric Roux ffd02335a4 fixes to take into account new asn1 patch 2016-03-23 16:49:17 +01:00
Cedric Roux 1657e0897c Change the way we compute the sha1sum.
Line 4 of *.h files depends on the directory containing openair;
get rid of it.
2016-02-22 17:48:31 +01:00
Cedric Roux bae725a320 Deal with Rel8 RRC (not checked, just let fix_asn1 accept it).
Also modified CMakeLists.txt to run asn1tostruct.py at cmake time,
because the generated Makefile was wrong. When compiling with -j4
it would mess up by calling fix_asn1 twice with a weird timing,
leading to failures.
2016-02-22 16:08:08 +01:00
Cedric Roux 9108ecbdf6 Use diff files and 'patch' instead of copying full files. 2016-02-22 11:40:26 +01:00
Cedric Roux a9256dedb3 Fix asn1c warnings.
The strategy is rather basic. Files with warnings are replaced
by an edited copy that triggers no warning.

We take care to check that the replaced file is the same as the
one that was analyzed at the time of warning removal (through
checking its SHA1).

There is a new bash script "fix_asn1" in cmake_targets/tools
and the files replacing the existing ones are in
cmake_targets/tools/fix_asn1.data.
2016-02-21 22:01:49 +01:00