1. 24 Mar, 2017 1 commit
  2. 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 #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
  3. 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
  4. 13 Mar, 2017 1 commit
  5. 08 Mar, 2017 1 commit
  6. 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
  7. 05 Feb, 2017 1 commit
  8. 02 Feb, 2017 1 commit
  9. 25 Jan, 2017 1 commit
  10. 20 Jan, 2017 1 commit
  11. 07 Jan, 2017 2 commits
  12. 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
  13. 08 Dec, 2016 2 commits
  14. 24 Nov, 2016 1 commit
  15. 21 Nov, 2016 2 commits
  16. 18 Nov, 2016 3 commits
  17. 09 Nov, 2016 1 commit
  18. 04 Nov, 2016 2 commits
  19. 27 Oct, 2016 1 commit
  20. 20 Oct, 2016 1 commit
  21. 12 Oct, 2016 1 commit
  22. 10 Oct, 2016 1 commit
  23. 07 Oct, 2016 1 commit
  24. 03 Oct, 2016 1 commit
  25. 02 Oct, 2016 1 commit
  26. 01 Oct, 2016 1 commit
  27. 30 Sep, 2016 1 commit
  28. 28 Sep, 2016 1 commit
    • Cedric Roux's avatar
      update licensing information in remaining files · b0662e4b
      Cedric Roux authored
      The text has been updated in all those files.
      
      	modified:   README.txt
      	modified:   cmake_targets/CMakeLists.txt
      	modified:   cmake_targets/at_commands/CMakeLists.txt
      	modified:   cmake_targets/autotests/core.py
      	modified:   cmake_targets/autotests/log.py
      	modified:   cmake_targets/autotests/openair.py
      	modified:   cmake_targets/autotests/run_exec_autotests.bash
      	modified:   cmake_targets/autotests/run_exec_lte-softmodem_tests.py
      	modified:   cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
      	modified:   cmake_targets/autotests/tools/configure_cots_huaweiE398_ue.py
      	modified:   cmake_targets/autotests/tools/configure_usrpb210.py
      	modified:   cmake_targets/autotests/tools/find_usb_path.bash
      	modified:   cmake_targets/autotests/tools/free_mem.bash
      	modified:   cmake_targets/autotests/tools/iperf3_script
      	modified:   cmake_targets/autotests/tools/iperf3_script_phone
      	modified:   cmake_targets/autotests/tools/iperf_script
      	modified:   cmake_targets/autotests/tools/iperf_script_phone
      	modified:   cmake_targets/autotests/tools/lib_autotest.py
      	modified:   cmake_targets/autotests/tools/search_repl.py
      	modified:   cmake_targets/build_oai
      	modified:   cmake_targets/tools/asn1tostruct.py
      	modified:   cmake_targets/tools/build_helper
      	modified:   cmake_targets/tools/build_test_epc_tools
      	modified:   cmake_targets/tools/example_enb_exmimo_mme_hss.txt
      	modified:   cmake_targets/tools/example_oaisim_enb_ue_mme_virtual.txt
      	modified:   cmake_targets/tools/indent_source_code
      	modified:   cmake_targets/tools/init_exmimo2
      	modified:   cmake_targets/tools/init_nas_nos1
      	modified:   cmake_targets/tools/perf_oai.bash
      	modified:   cmake_targets/tools/run_enb_s1_exmimo
      	modified:   cmake_targets/tools/run_enb_s1_usrp
      	modified:   cmake_targets/tools/run_enb_ue_virt_noS1
      	modified:   cmake_targets/tools/run_enb_ue_virt_s1
      	modified:   openair2/DOCS/TEMPLATES/README/Readme.doxy
      	modified:   openair2/DOCS/TEMPLATES/README/readme.txt
      	modified:   openair2/Makefile
      	modified:   openair2/UTIL/OCG/Readme.doxy
      	modified:   openair2/UTIL/OCG/readme.txt
      	modified:   openair2/UTIL/OSD/recep.php
      	modified:   openair2/X2AP/MESSAGES/ASN1/asn1tostruct.py
      	modified:   openair3/DOCS/DOXYGEN/Makefile.am
      	modified:   openair3/DOCS/Latex/EPC/Makefile
      	modified:   openair3/DOCS/Makefile.am
      	modified:   openair3/GTPV1-U/Makefile.am
      	modified:   openair3/GTPV1-U/Makefile.eNB
      	modified:   openair3/NAS/TEST/AS_SIMULATOR/Makefile
      	modified:   openair3/NAS/TEST/NETWORK/Makefile
      	modified:   openair3/NAS/TEST/USER/Makefile
      	modified:   openair3/NAS/TOOLS/Makefile
      	modified:   openair3/NAS/UE/API/USER/Makefile
      	modified:   openair3/NAS/UE/API/USER/tst/Makefile
      	modified:   openair3/NAS/UE/API/USIM/Makefile
      	modified:   openair3/S1AP/MESSAGES/ASN1/asn1tostruct.py
      	modified:   openair3/TEST/Makefile.am
      	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/gpib_send.cc
      	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_config_exmimo.cc
      	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_get_frame.cc
      	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_get_num_detected_cards.cc
      	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_send_frame.cc
      	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_stop.cc
      	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_stop_without_reset.cc
      	modified:   targets/PROJECTS/E-MBMS/build_all.bash
      	modified:   targets/PROJECTS/E-MBMS/start_enb.bash
      	modified:   targets/PROJECTS/E-MBMS/start_ue.bash
      	modified:   targets/PROJECTS/E-MBMS/utils.bash
      	modified:   targets/PROJECTS/GENERIC-LTE-EPC/interfaces.bash
      	modified:   targets/PROJECTS/GENERIC-LTE-EPC/networks.bash
      	modified:   targets/PROJECTS/GENERIC-LTE-EPC/start_enb_and_ue_virt.bash
      	modified:   targets/PROJECTS/GENERIC-LTE-EPC/start_ue.bash
      	modified:   targets/PROJECTS/GENERIC-LTE-EPC/utils.bash
      	modified:   targets/PROJECTS/GENERIC-LTE-EPC/virtual_box.bash
      	modified:   targets/SCRIPTS/install_asn1c_0.9.24.modified.bash
      	modified:   targets/TEST/OAI/case01.py
      	modified:   targets/TEST/OAI/case02.py
      	modified:   targets/TEST/OAI/case03.py
      	modified:   targets/TEST/OAI/case04.py
      	modified:   targets/TEST/OAI/case05.py
      	modified:   targets/TEST/OAI/case11.py
      	modified:   targets/TEST/OAI/case12.py
      	modified:   targets/TEST/OAI/case13.py
      	modified:   targets/TEST/OAI/core.py
      	modified:   targets/TEST/OAI/log.py
      	modified:   targets/TEST/OAI/openair.py
      	modified:   targets/TEST/OAI/test01.py
      	modified:   targets/TEST/OAI/test02.py
      	modified:   targets/TEST/PDCP/readme.txt
      	modified:   targets/build_helper.bash
      	modified:   targets/build_oai.bash
      	modified:   targets/perf_oai.bash
      b0662e4b
  29. 25 Sep, 2016 1 commit
  30. 10 Sep, 2016 1 commit
  31. 03 Sep, 2016 1 commit
  32. 31 Aug, 2016 1 commit