8907 Commits (8830c2796f8fe801e147b8f8f05f598deb023016)
 

Author SHA1 Message Date
Francisco 0349949cce bugfix, handover: disable inactivity timer during s1 handover in target enb 4 years ago
Francisco 19af55b63d bugfix, handover: Avoid sending UEContextReleaseRequest from Target eNB during S1 Handover due to UL KOs 4 years ago
Andre Puschmann b0a2f31478 prach: protect configuration and state getters with mutex
purely TSAN with unit-test based approach that protects
the state getters and configuration routines with a mutex
4 years ago
Andre Puschmann d2ec3ca5e1 intra_measure_base: fix race detected with TSAN
use mutex to protect state getters
4 years ago
Andre Puschmann f43e82a8a6 ue_phy_test: fix test 4 years ago
Andre Puschmann 98a91a2057 sync: protect sync_state, access ue_sync object only from one thread
races detected with TSAN, primarily the ue_sync object which isn't
thread-safe is accessed by all workers to set the CFO and by the
sync thread to receive samples (which read the CFO).

The patch introduces shadow variables that are updates from the
main thread before/after the sync is executed. The atomic shadow
variables can then be read from otherthreads without holding a
mutex, i.e. blocking the sync.
4 years ago
Andre Puschmann 1529379e9e fec,pbch: remove unused variables
unused code that moreover was causing TSAN to complain, e.g.
in the ue_phy_test
4 years ago
Andre Puschmann 7ee38e6255 threads: disable thread attributes when compiled with TSAN
TSAN doesn't work well then threads are created with attributes
thar require root rights but the process is run as normal user.

this patch avoid the thread attributes in this case. TSAN isn't going
to be used for production builds.
4 years ago
Andre Puschmann b88f22b9fe network_utils_test: fix race detected with TSAN 4 years ago
Andre Puschmann f823340a95 rf_imp: fix race when stopping gain thread
detected with TSAN using benchmark_radio test
4 years ago
Andre Puschmann 716caafd6c multiqueue_test: fix race reported by TSAN 4 years ago
Andre Puschmann 2c975732dc metrics_stdout: fix race detected by TSAN 4 years ago
Andre Puschmann 1ef3cb7e5d threads: fix race in stopping periodic thread 4 years ago
Andre Puschmann 312b5a241c mac_pcap_base: fix race detected with TSAN 4 years ago
Andre Puschmann c434aac526 rlc_stress_test: include tsan options header 4 years ago
Andre Puschmann 1d34aa280f byte_buffer_queue: make class thread-safe by using atomics 4 years ago
Andre Puschmann 8ab512c2be nas_test: fix TSAN warnings
remove mutex and cvar again that we used to circumvent the startup.
we now use a atomic variable to sync the main thread and the stack.
4 years ago
Pedro Alvarez c23034e1a7 Make sure the S1AP state is reset after sending a successful/unsuccessful message 4 years ago
Pedro Alvarez 18e2149d68 Sending Initial Context Setup Response after RRC reconfiguration. 4 years ago
Xavier Arteaga 4f7a94acb6 Fix comment 4 years ago
Xavier Arteaga 2d0a21f779 Move radio frequency mapping out of the PHY common into the PHY reset method 4 years ago
Xavier Arteaga d329297151 Implement radio invalid mapping countermeasure 4 years ago
Andre Puschmann 3966065bff pssch_test: fix newlines in printf 4 years ago
Andre Puschmann 2ace2b47b8 pssch: fix uninitialized value 4 years ago
Xavier Arteaga 50b7d3937f Added RNTI in SRSENB PDCCH log line 4 years ago
Xavier Arteaga bbab2cd9ba Make PDCCH LLR mean amplitude in function of maximum 4 years ago
Xavier Arteaga 6de34524e2 Fix SRSENB PHY log line 4 years ago
Xavier Arteaga ce3c808a16 Reviewed SRSENB PHY unused variables and log messages 4 years ago
Xavier Arteaga 2ca0932d9b Reviewed LTE noise estimation 4 years ago
Xavier Arteaga 10a268fdba Added SNR to phy_dl_test 4 years ago
Francisco f80c591127 sched,bugfix: fix scheduler CA test 4 years ago
Francisco 2cdda3b6db sched,enhancement: allow PUSCH allocations when PHICH falls in measurement Gap by resuming UL HARQ 4 years ago
Francisco f36f5271d3 timers,feature: make timers thread-safe by using atomic to store timers state. 4 years ago
Xavier Arteaga dddb3ede71 Fix zero parity 4 years ago
Andre Puschmann 50f7fc644b rlc_am_lte: log event when status prohibit timer expires 4 years ago
Andre Puschmann 11a6d3160f mac_test: include TSAN options header 4 years ago
Andre Puschmann 018c734b09 dl_harq: fix unlocking of unlocked mutex bug detected by TSAN
in the mac_test the tb_decoded() method was called twice for
the 2nd codeword, causig TSAN to complain about an unlocked mutex
being unlocked.

The patch resolves the potential issue only calling tb_decoded
for a grant/tb thas has a non-zero MCS.

The patch also adjusts the reset function to have a safe and "unsafe"
version to be called from inside the class, similar to other
classes where we do the same.
4 years ago
Xavier Arteaga 5c55ff24ec Minor UE aesthetical changes 4 years ago
Xavier Arteaga 44b6a2b55f Fix SYNC wait for IDLE if the state is reached 4 years ago
Xavier Arteaga 807b60988d Wait for PHY workers to transmit before considering SYNC in IDLE 4 years ago
Xavier Arteaga 3c93d5ba43 Fix carrier mapping concurrency issue 4 years ago
Xavier Arteaga 93b35676e7 Solve concurrency issue when setting up SCell measurement 4 years ago
Xavier Arteaga 7185ec6beb PHY CC configuration is stashed and applied in the next TTI 4 years ago
Xavier Arteaga 235a664120 SRSUE: Removed PUSCH-DMRS/SRS pregeneration methods 4 years ago
Xavier Arteaga aab2211058 Protect UE PHY SCell configuration 4 years ago
Xavier Arteaga a7dcd629ef Cell search waits for IDLE transition before launch 4 years ago
Xavier Arteaga cc2a6dc269 Review cell selection and SCell configuration during HO 4 years ago
Xavier Arteaga 65d51f5855 Fix unitialised value 4 years ago
Andre Puschmann 531acc0a98 rlc_am_test: add check for RLC buffer state return during retx 4 years ago
Andre Puschmann 3102861ee3 rlc_am_lte: make func param const& 4 years ago