1. 06 Feb, 2018 1 commit
    • Cedric Roux's avatar
      bugfix: fix UL over scheduling · eccb96c4
      Cedric Roux authored
      There is too much UL scheduling because the buffer status is
      overestimated.
      
      This commit tries to make things simpler.
      eccb96c4
  2. 25 Jan, 2018 1 commit
  3. 22 Jan, 2018 1 commit
    • Cedric Roux's avatar
      bugfix: fix issue 285 - connect/disconnect multiple time · 4b5b5564
      Cedric Roux authored
      As reported by Emad Alizade:
      
          According to "Issue255 256 257 paging reesta release" that has been
          merged in develop version, we have a question: In rrc_eNB_free_UE()
          function only all ulsch related memory of user has been cleaned, but
          I think not only ulsch memory but also dlsch memory must be cleaned.
          I tested the latest develop version and with repetition UE attach-detach
          procedures we find that the dlsch memory has not been cleaned and after
          repeat this sequence (45 times) assertion with cause UE_id!=-1 (no free
          or exiting dlsch_context, dci_tools.c: fill_dci_and_dlsch() ) occurred
          and no UE will be attached to system.
      
      The fixes in this commit are from Emad Alizade.
      4b5b5564
  4. 21 Jan, 2018 1 commit
  5. 19 Jan, 2018 1 commit
  6. 16 Jan, 2018 3 commits
  7. 15 Jan, 2018 3 commits
    • Mongazon's avatar
      Fix #582, RTAI, RTAI_ENABLED, ENABLE_RTAI_CLOCK, RTAI_ISNT_POSIX,... · cf0e9175
      Mongazon authored
      Fix #582, RTAI, RTAI_ENABLED, ENABLE_RTAI_CLOCK, RTAI_ISNT_POSIX, _RTAI_MATH_H, CELLULAR, TIMER_ONESHOT_MODE, EMOS, EMOS_CHANNEL, OAI_EMU, OPENAIR_EMU, PHY_ABSTRACTION, PHY_ABSTRACTION_UL removed
      cf0e9175
    • Cedric Roux's avatar
      Fix NFAPI integration · 922b5b59
      Cedric Roux authored
      This commit fixes issues introduced by the previous commit.
      
      Summary of work:
      - cleanup:
        - fix LOG_XX to be less verbose
        - fix cmake_targets/CMakeLists.txt
        - fix oaienv
        - remove dead code
      - bug fixes:
        - in openair1/SCHED/fapi_l1.c we had:
            eNB->pdcch_vars[subframe&1].num_dci           = number_dci;
          should be:
            eNB->pdcch_vars[subframe&1].num_dci           = 0;
          This bug let the PHY send more DCIs than what should have been
          sent because num_dci is incremented later on in the code.
          This fix may be a problem for fapi mode, to be checked.
        - add new T VCD traces
        - revert openair1/PHY/TOOLS/file_output.c to 'develop' version
        - remove thread_id in logRecord/logRecord_mt
        - revert (and adapt) configuration files
        - be careful when doing frame++, we need to % 1024
        - revert target_rx_power in openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
      - NFAPI:
        - the open-nFAPI code has been included in the repository. See nfapi/README.
          Maybe we should "git clone" the Cisco repository instead. We have to be
          careful of availability though.
      
      What has been tested:
      - monolithic eNB FDD 5/10MHz with one UE, iperf UDP/TCP uplink/downlink
      
      Anything else may fail to work, especially the FAPI mode, which has not
      been tested at all.
      922b5b59
    • Cedric Roux's avatar
      import NFAPI work from David Price from Cisco (non-working commit, do not use it) · 7757b9e7
      Cedric Roux authored
      It has been chosen to not include the full history of commits
      from David. He included a binary version of wireshark, probably
      a modified one that understands NFAPI. Wireshark is released under
      the GPL license, we cannot include it in the repository. We could
      have done a next commit to remove this binary. But then it would
      still be present in the history of commits, which may not be allowed.
      And it would take space on disk. We could edit the history to remove
      wireshark entirely. But this operation is too complicated.
      
      There was also a pcap capture file, which has nothing to do in
      the history of commits and would take space on disk. There again,
      it's too difficult to edit the history to remove it.
      
      There was a file .gitignore that was also removed.
      
      The original history can be found on David's repository:
      https://gitlab.eurecom.fr/daveprice/openairinterface5g/
      The branch is: nfapi-ru-rau-split.
      
      A copy of that branch has been included in the internal OAI
      repository, for those who have access to it.
      The branch is the same. The last commit ID is
      91064382.
      
      You can compare the current commit with the commit 9106...
      to see what differs.
      
      The current commit has to be considered non-working.
      The commit following the current commit will fix problems with
      the work in the current commit.
      
      If you use git bisect, don't spend time analyzing the current
      commit.
      7757b9e7
  8. 14 Jan, 2018 2 commits
  9. 11 Jan, 2018 1 commit
  10. 09 Jan, 2018 1 commit
  11. 08 Jan, 2018 2 commits
  12. 29 Dec, 2017 1 commit
  13. 02 Dec, 2017 1 commit
  14. 01 Dec, 2017 1 commit
  15. 28 Nov, 2017 2 commits
  16. 27 Nov, 2017 2 commits
  17. 22 Nov, 2017 2 commits
  18. 17 Nov, 2017 1 commit
  19. 14 Nov, 2017 1 commit
  20. 04 Nov, 2017 1 commit
  21. 27 Oct, 2017 1 commit
  22. 25 Oct, 2017 1 commit
    • Cedric Roux's avatar
      bugfix: fix timing advance · 6da42658
      Cedric Roux authored
      - remove global variables in the function lte_est_timing_advance_pusch
      - do the smoothing logic that was in lte_est_timing_advance_pusch
        in rx_sdu (is it necessary? is it correct?)
      - put back the value 100 in prach_procedures for the test on prach energy
      - change the value of timing_advance_update
      
        it was:
      
           timing_advance_update                  = sync_pos - eNB->frame_parms.nb_prefix_samples/4; //to check
      
        it is now:
      
           timing_advance_update                  = sync_pos; // - eNB->frame_parms.nb_prefix_samples/4; //to check
      
        this should be checked somehow. The computation looked suspicious. Maybe
        the new one is wrong.
      6da42658
  23. 24 Oct, 2017 1 commit
  24. 23 Oct, 2017 1 commit
  25. 20 Oct, 2017 2 commits
    • Cedric Roux's avatar
      fix asn1_msg.c · 6087ede0
      Cedric Roux authored
      - compile with warning enabled (changes in CMakeLists.txt)
      - remove warnings that were present
      6087ede0
    • Cedric Roux's avatar
      bugfix: fix featureGroup · 5afc71f3
      Cedric Roux authored
      - allocate memory, memory on stack does not survive the function
      - avoid uint32_t, use a char buffer, for endianness neutrality
      5afc71f3
  26. 19 Oct, 2017 3 commits
  27. 18 Oct, 2017 1 commit
    • Cedric Roux's avatar
      improve crnti reception (still not correct, we need to reconfigure the UE) · 256c5ab0
      Cedric Roux authored
      TODO: if the UE did random access (followed by a MAC uplink with
      CRNTI) because none of its scheduling request was granted, then
      according to 36.321 5.4.4 the UE's MAC will notify RRC to release
      PUCCH/SRS. According to 36.331 5.3.13 the UE will then apply
      default configuration for CQI reporting and scheduling requests,
      which basically means that the CQI requests won't work anymore and
      that the UE won't do any scheduling request anymore as long as the
      eNB doesn't reconfigure the UE.
      We have to take care of this. As the code is, nothing is done and
      the UE state in the eNB is wrong.
      256c5ab0
  28. 17 Oct, 2017 1 commit