1. 23 Aug, 2017 1 commit
    • Cedric Roux's avatar
      mobipass standalone driver · c866677a
      Cedric Roux authored
      How to use:
      
      1 - compilation of softmodem:
        ./build_oai --eNB -t ETHERNET
      
      2 - compilation of mobipass driver:
        cd cmake_targets/lte_build_oai/build
        make oai_mobipass
        ln -sf liboai_mobipass.so liboai_transpro.so
      
      3 - configuration:
        edit the configuration file, set "node_timing" to
        "synch_to_mobipass_standalone"
        that is, have the line:
          node_timing               = "synch_to_mobipass_standalone";
      
      4 - run:
        run as usual: sudo ./lte-softmodem -C <configuration file>
      c866677a
  2. 16 Jun, 2017 1 commit
  3. 02 Jun, 2017 1 commit
    • Cedric Roux's avatar
      integration fixes · 60c4b5ec
      Cedric Roux authored
      - rename UE_NO_LOG to DISABLE_LOG_X
        because the name is misleading. The full software
        is impacted, not only the UE part
      - same for compilation option ---ue-no-log
        that becomes --disable-log
      - keep LOG_X for the standard case, that is the
        case without DISABLE_LOG_X where printf has been
        put. Two reasons:
        * printf is not realtime friendly
        * keep behavior similar for other users who may
          be troubled by different logs that don't add
          any benefit to previous logs
      60c4b5ec
  4. 31 May, 2017 1 commit
  5. 19 May, 2017 1 commit
    • Gabriel's avatar
      UE logging change : · fe350d5b
      Gabriel authored
      --ue-trace : Enabling UE trace for debug
      --ue-timing : Enabling UE timing trace
      --ue-no-log : Disabling all LOG_X traces
      fe350d5b
  6. 15 May, 2017 1 commit
  7. 12 May, 2017 1 commit
  8. 24 Mar, 2017 1 commit
  9. 23 Mar, 2017 2 commits
    • Cedric Roux's avatar
      RRC Rel14 · 4fcb6272
      Cedric 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
    • Cedric Roux's avatar
      fix issue 227 - UE IP settings disrupts realtime · cff91499
      Cedric 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
  10. 20 Mar, 2017 1 commit
  11. 16 Mar, 2017 2 commits
    • Cedric Roux's avatar
      fix compilation for ubuntu 16 · 20b420bb
      Cedric Roux authored
      This work was done by Laurent Thomas.
      20b420bb
    • Cedric Roux's avatar
      fix dependancies in CMakeLists.txt for the T tracer · fc6dec9e
      Cedric 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
  12. 13 Mar, 2017 1 commit
  13. 08 Mar, 2017 1 commit
  14. 17 Feb, 2017 1 commit
    • Cedric Roux's avatar
      Revert "fix nettle" · 76574a1a
      Cedric 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
  15. 05 Feb, 2017 1 commit
  16. 02 Feb, 2017 1 commit
  17. 25 Jan, 2017 1 commit
  18. 20 Jan, 2017 1 commit
  19. 07 Jan, 2017 2 commits
  20. 06 Jan, 2017 1 commit
    • Cedric Roux's avatar
      fix compilation order of lapack · 3f4a993e
      Cedric Roux authored
      As reported on the mailing list, there was a problem
      for some users. The link phase of building the simulators
      was giving the error "undefined reference to ATL_scopy".
      3f4a993e
  21. 08 Dec, 2016 2 commits
  22. 24 Nov, 2016 1 commit
  23. 21 Nov, 2016 2 commits
  24. 18 Nov, 2016 3 commits
  25. 09 Nov, 2016 1 commit
  26. 04 Nov, 2016 2 commits
  27. 27 Oct, 2016 1 commit
  28. 20 Oct, 2016 1 commit
  29. 12 Oct, 2016 1 commit
  30. 10 Oct, 2016 1 commit
  31. 07 Oct, 2016 1 commit
  32. 03 Oct, 2016 1 commit