- 05 Apr, 2023 3 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
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.)
-
- 04 Apr, 2023 5 commits
-
-
francescomani authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- 03 Apr, 2023 13 commits
-
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
The UE copies scope data not in a single buffer to avoid overwiring in case of multiple slots processing in parallel. But the scope upates data from single buffer thats assigned during selection. A getPlotValue() method is created to update the data pointer on every timerEvent.
-
Sakthivel Velumani authored
Mutex for phy scope: Repeating this change again. My earlier change in commit 06ef3119 was erased by someone during merge of QT scope.
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
Tested with X300 and there was no real-time problems. Could get the same throughput as when NR_UE_CAPABILITY_SLOT_RX_TO_TX is 4.
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
-
Sakthivel Velumani authored
DL config as array in MAC Run RX slot processing in Tpool thread Fixed race in phy config Changed mac_IF_mutex Proc Tx: Lets wait for Proc Rx to get ACK/NACK -(only on slots that carry ACK/NACK) Fix problem with rfsim Separated PDCCH and PDSCH decoding functions. Run PDCCH decoding in main UE_thread. Fixed race in MAC dci config struct needed for parallel processing of slots Moved DLSCH transport block buffer to stack rx_ind as static allocation L2sim: Fixed calling of MAC sched in wrong slot Fix DCI extract bug for RA procedure
-
- 02 Apr, 2023 1 commit
-
-
francescomani authored
-
- 01 Apr, 2023 1 commit
-
-
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
-
- 31 Mar, 2023 17 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-