Skip to content
Snippets Groups Projects
  1. Jun 08, 2017
  2. Jun 06, 2017
  3. May 19, 2017
  4. May 17, 2017
  5. May 15, 2017
  6. May 12, 2017
  7. Apr 14, 2017
  8. Apr 12, 2017
  9. Mar 28, 2017
  10. Mar 27, 2017
  11. Mar 24, 2017
    • Cédric Roux's avatar
      bugfix: fix nos1 compilation · af8ce457
      Cédric Roux authored
      af8ce457
    • Cédric Roux's avatar
      remove asn1 compilation fixes that went to asn1c (IMPORTANT: reinstall asn1c!) · b5a03474
      Cédric Roux authored
      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         *
      *************************
      b5a03474
  12. Mar 23, 2017
    • Cédric Roux's avatar
      RRC Rel14 · 4fcb6272
      Cédric Roux authored
      - 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.
      4fcb6272
    • Cédric Roux's avatar
      fix issue 227 - UE IP settings disrupts realtime · cff91499
      Cédric Roux authored
      see oai/openairinterface5g#227
      
      When the UE connects to the eNodeB and receives its IP address from the
      network, it calls system() to set it in the linux kernel world. This call
      is not done in a realtime thread, but in the NAS, which uses its own thread,
      independent of the realtime processing.
      
      In some situations this totally disrupts realtime processing.
      
      It is difficult to know precisely why that happens, but it seems that calling
      fork(), as system() does, in a multi-threaded program is not a good idea. (So
      say several people on the internet.) It is not clear why the softmodem is
      impacted, but it seems that fork() is really what triggers the disruption.
      Several tests lead to that conclusion.
      
      To fix the problem, we create a child background process very early in main()
      (before anything else basically). Then instead of calling system(), the main
      process sends the string to the background process. The background process
      gets the string, passes it to system() and reports the success/failure back
      to the main process.
      
      This solution involves a lot of system calls, but calling system() in the
      first place is not cheap either. As long as no realtime thread uses this
      mechanism, things should be fine. Time will tell.
      cff91499
  13. Mar 21, 2017
  14. Mar 17, 2017
  15. Mar 16, 2017
    • Cédric Roux's avatar
      fix compilation for ubuntu 16 · 20b420bb
      Cédric Roux authored
      This work was done by Laurent Thomas.
      20b420bb
    • Cédric Roux's avatar
      fix dependancies in CMakeLists.txt for the T tracer · fc6dec9e
      Cédric Roux authored
      On some hosts, compilations with the T tracer was failing.
      
      The error was:
        common/utils/T/T.h:15:19: fatal error: T_IDs.h: No such file or directory
      
      The problem was that in CMakeLists.txt some targets depend on the
      pre-generation of T_IDs.h but this dependancy relation was not set,
      so those targets could be generated before the T (it was the case
      with HASHTABLE).
      
      This commit fixes that. Basically, we take all the targets found in
      "add_executable" and "add_library" and make them depend on the
      T if the T is enabled. Almost all existing targets were added,
      even those that may not need it.
      
      The problem of this approach is that someone adding a new target
      using the T will not necessarily add a dependancy there.
      
      Another solution would be to generate T_IDs.h at "cmake" stage,
      not "make" stage and use an "if (NOT EXISTS T_IDs.h)" to generate
      the file. We lose the dependancy relation though.
      
      Things may be changed if maintenance cost is too high.
      fc6dec9e
  16. Mar 15, 2017
  17. Mar 13, 2017
  18. Mar 10, 2017
    • Cédric Roux's avatar
      test setup v2: add TDD tests · 8e8fec1e
      Cédric Roux authored
      New tests: 0186xx for TDD with the huawei 3276 dongle.
      All necessary files to configure and use it have been added.
      Existing code has been adapted for the TDD tests.
      Only the test setup v2 has been adapted.
      The file test_case_list.xml has been changed to add tests
      0186xx, but only to work with test setup v2. It won't
      work with test setup v1. To be completed if needed.
      
      The tests are similar to FDD tests.
      Throughputs for TDD have to be adjusted, the throughputs
      of FDD are used for the moment.
      8e8fec1e
    • Cédric Roux's avatar
      cleanup test setup README file · e6cd9873
      Cédric Roux authored
      e6cd9873
  19. Mar 08, 2017
  20. Feb 20, 2017
  21. Feb 17, 2017
    • Cédric Roux's avatar
      use ln -sf instead of ln -s in cmake_targets/build_oai · baeb9303
      Cédric Roux authored
      When rebuilding oaisim, I had a failure because the target
      link already exists. The -f flag forces the link to be done.
      baeb9303
    • Anta Huang's avatar
      Issue #211 - enhance build script for snapping package · e3186c17
      Anta Huang authored
      - build script has ability to indicate location for downloading uhd images
      - one simple wrapper to set environment variables and initiate another program (supposed to be lte-softmodem)
      e3186c17
    • Cédric Roux's avatar
      Revert "fix nettle" · 76574a1a
      Cédric Roux authored
      This reverts commit d31634c3.
      
      Laurent Thomas had a problem on one machine with the build_oai
      way of checking for nettle.
      
      The problem with the alternative solution of including nettle/bignum.h
      is that it is very unclear.
      
      The problem with nettle is that the file nettle/config.h does not
      exist for version 2. It was introduced in version 3.
      
      We want to support both versions, but there is an API incompatibility.
      So we need an #if #else mechanism.
      
      The file nettle/bignum.h is present in both versions 2 and 3 and it
      includes nettle/version.h in the version 3.
      
      So by including this file, we can check for the existence of
      NETTLE_VERSION_MAJOR (that comes from nettle/config.h) in the
      code.
      
      But as you can see, the reasoning is way too complex.
      
      So it's better to keep the check in cmake_targets/CMakeLists.txt.
      
      As long as we support version 2 this will be the way to go.
      
      It is possible to force a given version in specific non-generic
      customized environments.
      76574a1a
  22. Feb 14, 2017
    • Cédric Roux's avatar
      fix build_oai · 09139ab0
      Cédric Roux authored
      - the option --UE was abused! Let's introduce --UE-conf-nvram and
        --UE-gen-nvram
      - the option name --UE-OUTPUT was not clear and is now replaced by
        --UE-gen-nvram
      - the new options are described when running ./build_oai -h
      - print_help has been modified (' replaced by ") to print
        $conf_nvram_path and $gen_nvram_path
      09139ab0
  23. Feb 13, 2017
  24. Feb 09, 2017
  25. Feb 05, 2017
  26. Feb 03, 2017
Loading