1. 03 Sep, 2018 2 commits
  2. 31 Aug, 2018 12 commits
  3. 30 Aug, 2018 3 commits
  4. 29 Aug, 2018 2 commits
  5. 28 Aug, 2018 3 commits
  6. 27 Aug, 2018 6 commits
    • Cedric Roux's avatar
      bugfix: fix threading in the UE · a48c3658
      Cedric 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
    • Cedric Roux's avatar
      basic simulator: bugfix: do not put random data in DCI when not used · 164bbc65
      Cedric Roux authored
      With 50 RBs and 100 RBs the UE crashes in the basic simulator
      because of false detection of DCIs.
      
      Putting nothing in the unused REs in the DCI instead of random
      bits solves this issue and let the basic simulator run with 50 RBs
      and 100 RBs.
      
      Note that in the real UE the problem needs to be solved because
      the channel may lead to false DCI detection and the consequent
      crashes have to be solved. This commit sort of "hides" the issue
      to have the basic simulator functional.
      
      Note also that putting nothing in the unused REs in the DCI should
      be the normal general case. But it has not been tested with anything
      but the basic simulator so the previous code is left.
      164bbc65
    • Cedric Roux's avatar
      basic simulator: bugfix: wait for synch ready at the right time · 97ddf5ea
      Cedric 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
    • Cedric Roux's avatar
      2276996f
    • Rajeev Gangula's avatar
      Uncommemnt rrc_mac remove function. · 9f6d466f
      Rajeev Gangula authored
      9f6d466f
    • Rajeev Gangula's avatar
      Merge branch 'develop' into cqiSchedule · 0bd400d1
      Rajeev Gangula authored
      0bd400d1
  7. 25 Aug, 2018 1 commit
  8. 24 Aug, 2018 8 commits
  9. 23 Aug, 2018 3 commits
    • WANG Tsu-Han's avatar
      warning removal · f65c3902
      WANG Tsu-Han authored
      f65c3902
    • 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