Skip to content
Snippets Groups Projects
  1. Sep 20, 2018
  2. Sep 19, 2018
  3. Sep 14, 2018
    • Cédric Roux's avatar
      basic simulator: support TDD mode · 824f62d8
      Cédric Roux authored
      For whatever reason we need N_TA_offset to be 0 for the basic simulator
      to function properly.
      
      This is more a hack than a proper solution. More analysis is needed
      to understand what happens and what should be really done.
      824f62d8
    • Cédric Roux's avatar
      basic simulator: handle discontinuities in output · ab7515e2
      Cédric Roux authored
      In TDD mode the eNB does not output data all the time,
      only in downlink and special subframes.
      
      The basic simulator needs a continuous stream of samples.
      
      So let's fill the blank with silence.
      ab7515e2
  4. Sep 13, 2018
  5. Sep 12, 2018
  6. Sep 11, 2018
  7. Sep 06, 2018
  8. Sep 05, 2018
  9. Sep 04, 2018
  10. Sep 03, 2018
  11. Aug 31, 2018
  12. Aug 30, 2018
  13. Aug 29, 2018
  14. Aug 27, 2018
    • Cédric Roux's avatar
      bugfix: fix threading in the UE · a48c3658
      Cédric Roux authored
      Various problems were found with the basic simulator.
      
      Variables used by various threads for synchronization need to
      be initialized properly. That is before the various threads
      start using them.
      
      This goes for:
      - UE->is_synchronized
      - UE->proc.instance_cnt_synch
      - UE->proc.instance_cnt_rxtx
      
      The function "UE->rfdevice.trx_start_func" was called in
      "UE_thread_synch" but should be called in "UE_thread" because
      "UE_thread" is the one that calls "UE->rfdevice.trx_read_func"
      and there is no guaranty that the call to "UE->rfdevice.trx_start_func"
      is done before as it has to (it's in another thread).
      
      And finally "pthread_cond_signal(&proc->cond_rxtx)" was called twice,
      which may not be a problem but was certainly not intended. Plus
      removing one call simplifies the code by removing some "if" logic,
      which is a good thing per se.
      
      This commit was not tested with a real UE and may thus introduce some
      issues. Hopefully not!
      a48c3658
    • Cédric Roux's avatar
      basic simulator: bugfix: wait for synch ready at the right time · 97ddf5ea
      Cédric Roux authored
      Before this commit we were checking for UE->is_synchronized == 0
      then we were waiting for a potentially active synch routine to
      finish and then we were starting the synch routine again but the
      synch routine that was running may have set UE->is_synchronized
      to 1. This was leading to various problems, most notably the following
      message repeated over and over in the UE log and the UE unable to
      connect properly:
      
          [RRC]  [UE 0] Frame 377: OUT OF SYNC FROM eNB 0 (T310 active 0 : T310 0, N310 345, N311 0)
      
      So let's wait for a potentially active synch routine to finish
      before anything else.
      97ddf5ea
    • Cédric Roux's avatar
  15. Aug 24, 2018
  16. Aug 23, 2018
    • Konstantinos Alexandris's avatar
      minor fixes for x2 + modify conf files · 3b3b9718
      Konstantinos Alexandris authored
      The configuration file has now to contain ENB_IPV4_ADDRESS_FOR_X2C and
      ENB_PORT_FOR_X2C in the NETWORK_INTERFACES section.
      
      For example:
      
          NETWORK_INTERFACES :
          {
              ENB_INTERFACE_NAME_FOR_S1_MME            = "eth0";
              ENB_IPV4_ADDRESS_FOR_S1_MME              = "192.168.12.111/24";
              ENB_INTERFACE_NAME_FOR_S1U               = "eth0";
              ENB_IPV4_ADDRESS_FOR_S1U                 = "192.168.12.111/24";
              ENB_PORT_FOR_S1U                         = 2152; # Spec 2152
      
              ENB_IPV4_ADDRESS_FOR_X2C                 = "192.168.12.111/24";
              ENB_PORT_FOR_X2C                         = 36422; # Spec 36422
          };
      3b3b9718
    • Thomas Laurent's avatar
      fix 344 · d5f28018
      Thomas Laurent authored
      d5f28018
  17. Aug 17, 2018
  18. Aug 16, 2018
    • Eino Virtanen's avatar
      USRP addressess and clock sources can be configured in the configuration file... · be0e4095
      Eino Virtanen authored
      USRP addressess and clock sources can be configured in the configuration file with the RU section with comma separated IP addresses in 'sdr_addrs' and with strings "internal"/"external"/"gpsdo" in 'clock_src'.
      
      TODO: Currently the driver picks the two first RX and TX channels when nb_tx and nb_rx are both set to 2. If a developers wants to force usage of two devices, 'set_rx_subdev_spec' and 'set_tx_subdev_spec' can be used to indicate to the driver so that antennas from separate devices will be used. To rephrase: until 4 antennas are supported by OAI, testing with two devices, so that antennas from both devices are used, requires manual configuration of which subdevices' antennas are used.
      
      Conflicts:
      	targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
      be0e4095
  19. Aug 14, 2018
Loading