1. 17 Feb, 2017 12 commits
  2. 16 Feb, 2017 13 commits
  3. 15 Feb, 2017 3 commits
    • 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.
    • Cedric Roux's avatar
      bugfix: variable was on the stack · 7b36af05
      Cedric Roux authored
      Guess what happens when we return from the function...
    • Florian Kaltenberger's avatar
  4. 14 Feb, 2017 10 commits
    • Bilel's avatar
      [OAI-UE] fix pucch format2 regression · bfa8a28c
      Bilel authored
    • Thomas Laurent's avatar
      remove debug traces · 23c75476
      Thomas Laurent authored
    • Thomas Laurent's avatar
      gcc warning fix · d65d91dd
      Thomas Laurent authored
    • Cedric Roux's avatar
      cleanup lte-softmodem.c · f52a42ed
      Cedric Roux authored
      For whatever reason, lte-softmodem.c was totally messed up...
      We took the version from the branch develop and added
      abstraction_flag, which is needed in openair2/LAYER2/MAC/main.c
      (this is not clean, previous commit added a comment for this).
      This has to be cleaned at some point.
    • Gabriel's avatar
      UE logging, Replace LOG_I by LOG_D · 4ecdfa05
      Gabriel authored
    • Cedric Roux's avatar
      minor: add a comment · 6c789a36
      Cedric Roux authored
    • Cedric Roux's avatar
      fix build_oai · 09139ab0
      Cedric Roux authored
      - the option --UE was abused! Let's introduce --UE-conf-nvram and
      - the option name --UE-OUTPUT was not clear and is now replaced by
      - 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
    • Gabriel's avatar
      Merge remote-tracking branch 'origin/tm4-fixes' into develop_integration_w07 · 2dc9dc03
      Gabriel 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.
    • Cedric Roux's avatar
      deal with empty subframes at UE side even in oaisim · f66f6e49
      Cedric Roux authored
      The memset was also too big. It should only clear
      one subframe.
      Only tested without abstraction.
      Abstraction does not work for the moment anyway, but just to
      keep that in mind.
  5. 13 Feb, 2017 2 commits
    • Gabriel's avatar
      [OAI-UE] fix ack/nack reporting on pusch · 9ecae183
      Gabriel authored
    • Cedric Roux's avatar
      rewrite synchronisation in oaisim/channel simulation · b904ce79
      Cedric Roux authored
      The idea is as follows.
      oaisim waits for all tasks to be done for a TTI.
      To do so it waits for last_rx_timestamp == current_rx_timestamp,
      for all UEs and eNBs.
      When it's done, it increases current_rx_timestamp by samples_per_tti,
      to inform UEs and eNBs that a new TTI is ready.
      In the functions [UE|eNB]_trx_read, we wait for a new TTI to be ready,
      that is we wait for current_rx_timestamp != last_rx_timestamp.
      The UE has also to wait for processing threads to be done.
      In the eNB it's not necessary because the processing is all
      done in one thread, that is: read subframe, process this subframe,
      emit subframe+4, and then back to read subframe.
      The code is not clean. We should not use usleep but semaphores.
      Also, do_[DL|UL]_sig should not read from rxdata and write to txdata,
      but use internal buffers.
      The functions [UE|eNB]_trx_read should call do_[DL|UL]_sig and then
      copy from the internal buffers of the channel simulator into rxdata.
      The functions [UE|eNB]_trx_write should write data passed into the
      internal buffers of the channel simulator.