1. 05 Apr, 2023 3 commits
    • Robert Schmidt's avatar
    • Robert Schmidt's avatar
    • Cedric Roux's avatar
      bugfix: change memory management of interface between PHY and MAC scheduler · 733c7e5e
      Cedric Roux authored
      This commit fixes a bug caused by global variables in the gNB_MAC_INST
      structure used to transfer MAC scheduler's results to the PHY layer.
      
      When using several threads in the PHY layer, it may happen that the
      MAC scheduler is called a second time by the second PHY thread for the
      next slot before the content of the global variables in the gNB_MAC_INST
      structure used to store the result of the MAC scheduler for the current
      slot have been consumed by the first thread, leading to unpredictable
      results (all of them certainly wrong).
      
      The solution is to introduce a small memory management module for the
      interface between the PHY threads and the MAC scheduler. The MAC
      scheduler now fills the data structures passed to it, and not a
      global variable anymore. The PHY layer manages the structures and
      ensures that no data is overwritten before being fully consumed by
      the various threads of the PHY layer.
      
      Some care has to be taken because several PHY threads will access the
      same structures at the same time for a given slot (in read mode, so
      it's okay). A mechanism of reference counting has thus been introduced.
      
      Only one CC is supported. This restriction should not be too hard
      to remove if/when needed. (The code before this commit does not seem
      to work for more than one CC anyway.)
      733c7e5e
  2. 04 Apr, 2023 5 commits
  3. 03 Apr, 2023 13 commits
  4. 02 Apr, 2023 1 commit
  5. 01 Apr, 2023 1 commit
    • Robert Schmidt's avatar
      Merge branch 'integration_2023_w13' into 'develop' · 1f979696
      Robert Schmidt authored
      integration_2023_w13
      
      See merge request oai/openairinterface5g!2037
      
      * !1945 Free RNTI related structures at PHY after UE disconnection
      * !2011 Creation of new pipeline LTE-TDD-2x2-container
      * !1854 Handle reconfigurationWithSync
      * !2019 bugfix: LDPC decoding in the gNB: clear d properly
      * !2038 Fix DL 2x2 errors
      * !2039 Adding test-case in XML to reset USRP in LTE-TDD pipeline
      * !2008 Implement NR-UE Deregistration procedure
      * !2023 Rework PDCP OAI API to allow custom SRB data forwarding (e.g., in F1)
      * !2015 Update documentation: CI, general README.md, overview of doc README, various improvements
      1f979696
  6. 31 Mar, 2023 17 commits