1. 24 Mar, 2017 8 commits
  2. 23 Mar, 2017 1 commit
    • 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.
  3. 21 Mar, 2017 1 commit
  4. 20 Mar, 2017 1 commit
  5. 16 Mar, 2017 1 commit
  6. 14 Mar, 2017 1 commit
  7. 10 Mar, 2017 3 commits
  8. 08 Mar, 2017 2 commits
  9. 23 Feb, 2017 1 commit
    • Cedric Roux's avatar
      hotfix: pass "%s" to LOG_W to avoid compilation warnings · 60b83d84
      Cedric Roux authored
      The warning was:
      In file included from /roux/openairinterface5g/openair2/UTIL/LOG/log.h:306:0,
                       from /roux/openairinterface5g/openair1/PHY/defs.h:54,
                       from /roux/openairinterface5g/openair2/LAYER2/MAC/eNB_scheduler_ulsch.c:33:
      /roux/openairinterface5g/openair2/UTIL/LOG/log.h: In function 'printMeas':
      /roux/openairinterface5g/common/utils/T/T.h:94:26: warning: format not a string literal and no format arguments [-Wformat-security]
       #define T_ID(x) ((struct T_header *)(uintptr_t)(x))
      /roux/openairinterface5g/common/utils/T/T.h:29:22: note: in definition of macro 'T_PUT_int'
           int T_PUT_var = (val); \
      /roux/openairinterface5g/common/utils/T/T.h:269:7: note: in expansion of macro 'T_HEADER'
             T_HEADER(t); \
      /roux/openairinterface5g/common/utils/T/T.h:101:76: note: in expansion of macro 'T3'
  10. 17 Feb, 2017 5 commits
    • Cedric Roux's avatar
      fix warnings: fix LOG_X problems when compiling lte-softmodem · 603c84c7
      Cedric Roux authored
      The compilation line was:
          ./build_oai --eNB -w USRP
      The file openairinterface5g/cmake_targets/log/lte-softmodem.Rel10.txt
      has been checked and all LOG_X (and 'msg') warnings have been fixed.
    • Cedric Roux's avatar
      fix warning: add missing */ · 96dc12cc
      Cedric Roux authored
    • Cedric Roux's avatar
      warning fix: remove pragma in LFDS · 74afbf84
      Cedric Roux authored
      Not sure that it's correct, but those #pragma seem
      to be of no use for gcc. Let's remove them
    • 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
      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.
    • pyroclaste's avatar
  11. 16 Feb, 2017 2 commits
  12. 15 Feb, 2017 1 commit
    • Cedric Roux's avatar
      bugfix: fix PDCP inst · 7d9945e8
      Cedric Roux authored
      This commit is a continuation of 614d6bbe
      (ue_ip: use correct instance).
      Now in openair2/NETWORK_DRIVER/UE_IP/common.c the 'inst' is not
      forced to 1 anymore, we take the value 'pdcph_p->inst'.
      It turns out that 'pdcph_p->inst' is 0 instead of 1 when we
      run lte-softmodem as an UE.
      So let's modify PDCP to set 'inst' to 1 where it was set to 0 for
      the UE softmodem case, and skip the places where it is reset to 0,
      still for the UE softmodem case.
      This may break things, I am not sure.
  13. 14 Feb, 2017 3 commits
    • Thomas Laurent's avatar
      gcc warning fix · d65d91dd
      Thomas Laurent authored
    • Cedric Roux's avatar
      minor: add a comment · 6c789a36
      Cedric Roux authored
    • Cedric Roux's avatar
      ue_ip: use correct instance · 614d6bbe
      Cedric Roux authored
      The problem was the following.
      Run oaisim with two UEs:
          sudo ../cmake_targets/oaisim_build_oai/build/oaisim -O enb.conf -u2 -s15 -AAWGN -y1 -b1 -Q0
      Then wait for both UEs to be connected. The interfaces "oip1" and "oip2" are
      activated, with IP addresses for the first UE and for
      the second.
      Then on the EPC machine, do:
      No reply.
      On the oaisim machine, we see that the packets are sent to "oip1" instead
      of "oip2".
      The fix may break softmodem UE. The inst was forced to "1" for some reason.
      To be checked.
  14. 13 Feb, 2017 1 commit
  15. 11 Feb, 2017 1 commit
  16. 09 Feb, 2017 2 commits
  17. 08 Feb, 2017 2 commits
  18. 07 Feb, 2017 1 commit
  19. 05 Feb, 2017 3 commits