1. 31 Jul, 2017 4 commits
    • Cedric Roux's avatar
      bugfix: fix sync for oaisim · 030a3452
      Cedric Roux authored
      With the current implementation of oaisim
      (rxdata and channel simulation), we cannot
      call trx_read_func on a dummy buffer. The
      code will actually modify the rxdata buffers
      of the UE.
      
      This is has to be rewritten properly. In the
      meantime, let's introduce a simple hack. The
      idea of the read at this point is to wait for
      the synch to finish and not lose samples from
      the hardware in the real UE. In the simulator,
      as it is today, we can simply sleep until the
      synch code has finished its work.
      030a3452
    • Cedric Roux's avatar
      integration fix: let oaisim work again · 3ed32a77
      Cedric Roux authored
      In case of oaisim, dl_phy_sync_success has to be called
      by initial_sync, as it used to be.
      
      We introduce an #if OAISIM, this is not elegant, but will
      do it for the moment.
      3ed32a77
    • tct-labo4's avatar
      fix dlsim · 4c2c1a36
      tct-labo4 authored
      4c2c1a36
    • tct-labo4's avatar
  2. 28 Jul, 2017 2 commits
  3. 27 Jul, 2017 1 commit
    • Cedric Roux's avatar
      bugfix: fix bug "Unknown UE_id for rnti" · 8d5901c8
      Cedric Roux authored
      This bug happens when we detect uplink failure for one UE.
      In this case, a DCI format 1A is sent to the UE to ask it
      to do random acces.
      
      The way this DCI is generated was not compatible with how
      the software is organized. It was expected that the DCI are
      added (with add_ue_spec_dci and add_common_dci) in a very
      specific order: first all DCIs in common space are added
      (with add_common_dci) then all DCIs in UE specific space
      are added (with add_ue_spec_dci).
      
      The problem was that the DCI format 1A DCI sent to the UE
      for it to do random access is added (with add_ue_spec_dci)
      before the DCIs in common space.
      
      That totally messed up the logic in add_common_dci and
      add_ue_spec_dci.
      
      The solution is to get rid of Num_common_dci and Num_ue_spec_dci,
      replace those two counters by only one (Num_dci) and add
      "search_space" in the dci_alloc structure to be used later by
      the function "allocate_CCEs" when calling "get_nCCE_offset".
      
      The software had to be adapted to the new variables, everywhere.
      
      I am not sure that the simulators work. It seems that some
      of them didn't use Num_common_dci and Num_ue_spec_dci to
      decide on what space (common or UE specific) to put the DCI,
      but relied on the rnti (comparing with SI_RNTI). To be tested
      properly.
      
      The modified simulators are:
        - openair1/SIMULATION/LTE_PHY/dlsim.c
        - openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
        - openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
        - openair1/SIMULATION/LTE_PHY/framegen.c
        - openair1/SIMULATION/LTE_PHY/pdcchsim.c
        - openair1/SIMULATION/LTE_PHY/syncsim.c
      8d5901c8
  4. 26 Jul, 2017 2 commits
  5. 20 Jul, 2017 1 commit
  6. 17 Jul, 2017 6 commits
  7. 06 Jul, 2017 1 commit
  8. 04 Jul, 2017 1 commit
  9. 29 Jun, 2017 2 commits
  10. 28 Jun, 2017 1 commit
  11. 27 Jun, 2017 2 commits
  12. 26 Jun, 2017 2 commits
  13. 23 Jun, 2017 7 commits
  14. 21 Jun, 2017 5 commits
  15. 19 Jun, 2017 1 commit
  16. 16 Jun, 2017 2 commits