Andre Puschmann
db8b710442
bearer_manager: move to lib folder and extend for multiple users
...
prepare bearer manager to be used by eNB which requires
to support multiple RNTIs
3 years ago
faluco
5f9aceb8b6
Fix alignment issue with the stdout metrics in srsue.
3 years ago
Andre Puschmann
4ef1ac2649
gw: (re-)use class mutex when updating the DL/UL metrics
3 years ago
Andre Puschmann
aa43e3c8d6
ue,mac: adding missing mutex when updating metrics
3 years ago
Andre Puschmann
e1776f8d28
ue,phy: update the PRACH params inside the lambda that also executes the reconfig
...
setting the new PRACH params (writing the the local var) needs to protected as well
because it is called from the RRC context and the PHY worker will call configure_prach_params()
if it sees changes to it.
3 years ago
Andre Puschmann
40499e6b6d
ue_stack_lte: use std::atomic for running var
3 years ago
Xavier Arteaga
83b9b2d1ff
Implemented UE open loop CFO compensation for NR
3 years ago
Xavier Arteaga
9c3dd56398
Added PDCCH DMRS interleaved mapping
3 years ago
Xavier Arteaga
d61d6aa59f
Integrated CORESET0 into UE's RRC
3 years ago
Francisco Paisana
7a527cd09e
fix,lte: zero-initialize phy_meas_t in rlf test
3 years ago
Francisco Paisana
36eee0ab40
test,nr: add ra_search_space configuration to phy_cfg_nr; now the test ue searches for RA-RNTI while expecting a RAR
3 years ago
Francisco Paisana
f518861ebc
fix location of support/ folder. Created macros for ASSERT_EQ and ASSERT_NEQ
3 years ago
Ismael Gomez
7839ab09dc
Add RLF-Reportv9 to srsUE
3 years ago
David Rupprecht
3217c00cfc
Adjusting NAS base security function to 5G
3 years ago
Andre Puschmann
fc2b6a7fb5
ue,rrc: fail NR reconfiguration if mac-logicalChannelConfig is not present
3 years ago
Andre Puschmann
e6d9ec40ef
ue,rrc: let RRC reconfig fail when LCID cannot be derived from DRB id
3 years ago
Xavier Arteaga
cba6df3722
Extended NR PHY robustnes against wrong RRC configuration
3 years ago
Andre Puschmann
28668aac34
ue,proc_ra_nr: add temporary flag to skip RAR reception
...
this will be removed again as soon as the eNB supports full RAR
transmission.
3 years ago
Andre Puschmann
d78cbdf9bb
ue,proc_ra_nr: fix retransmission of PRACH after failed RAR rx
...
if the backoff value is calculated to be zero, don't start
a timer but tx new preamble directly
3 years ago
Xavier Arteaga
c9183326ce
Clean up some code and minor change
3 years ago
Xavier Arteaga
dbb10dd6a2
Hold worker thread until baseband is transmitted
3 years ago
Xavier Arteaga
0c7239e5df
SRSUE: add RF channel offset
3 years ago
Xavier Arteaga
b57df4db10
Refactored worker_end mechanism for concurrent workers
3 years ago
Andre Puschmann
e833751031
rrc_nr: add CSI config packing
3 years ago
Andre Puschmann
f181733c7e
rrc_nr,enb: add more fields to spcell cfg dedicated
3 years ago
David Rupprecht
04ef6e120d
Added new SIM functions to get MCC, MNC and MSIN
3 years ago
David Rupprecht
9172059078
Supply ctor with logger instead of fetching
3 years ago
Xavier Arteaga
bb4f469794
Integrated SR decoder in gNb
3 years ago
Andre Puschmann
fc8fe032ff
rrc_nr,endc: add more fields to NR RRC Reconfig for EN-DC activation
...
adds a big chunk of new fields to the reconfig packing code,
tested with srsUE
3 years ago
faluco
7b7ecb7983
Add a new configuration option that controls PDSCH baseband sample dump to a file on KO.
4 years ago
Xavier Arteaga
b25681f9de
gnb,prach: add PRACH to gNB
...
rebase of Xavier's feature_gnb_prach branch
4 years ago
David Rupprecht
fb92118bb7
Add 5G NAS infrastructure
4 years ago
David Rupprecht
505225d845
Added ue nas base class with security functions
4 years ago
David Rupprecht
7fa85ab336
Added nas test common file
4 years ago
David Rupprecht
59ca11db68
Added missing target_link_libs
4 years ago
Andre Puschmann
9d6d437ba5
mac_nr,ue: don't decode RAR PDU that couldn't be decoded
...
ignore RAR PDU when PDSCH wasn't OK
4 years ago
Andre Puschmann
c7d29f4af1
ttcn3: fix potential deadlock
...
* fix a few races detected with TSAN in SR proc of the DUT
* fix deadlock caused by sync_queue_size set to 1
4 years ago
Andre Puschmann
6c82d63aa6
remove legacy PNF/VNF code
...
the code hasn't been maintained for a while an likely needs to be
adapted for a real-world scenarios.
in order to avoid having to maintain two MAC/PHY interfaces we
remove the code from now.
4 years ago
Xavier Arteaga
54a12870ec
SRSUE: avoid negative SR transmission in NR
4 years ago
Andre Puschmann
f2f9082d09
ue,rrc_meas: fix invalid access to field when eport_quant_cell_nr_r15 is not present
4 years ago
Xavier Arteaga
e764a26136
Integrated PUCCH decoding in gNb
4 years ago
Xavier Arteaga
e3afd945bc
Refactored NR HARQ ACK feedback
4 years ago
Xavier Arteaga
eecaccb541
Added NR PHY helpers
4 years ago
Andre Puschmann
5dbeecdbb5
ue,upper: fix linking on 32bit platforms with missing atomic libs
4 years ago
Andre Puschmann
5999b0d3a5
ue: move blocking wait for detach outside of stack class
...
the thread sleep waiting for the UE release should not run
on the stack thread. Move it to the UE class therefore.
4 years ago
Andre Puschmann
3173dedf0a
ue_stack_lte: make sure to execute stack commands on Stack thread
...
some commands were executed from the calling thread which may lead
to concurrent access to members. Detected by TSAN. The patch
moves all remaining calls (the majority was alread moved) to the
Stack task queue.
4 years ago
Andre Puschmann
fb4dd3ba7b
ttcn3: fix various races between SS and Stack thread detected by TSAN
...
fixed through the right usage of mutexes in both TTCN PHY and syssim.
nested mutex locking is solved by calling SS from the PHY after
releaseing the PHY lock again.
4 years ago
Ismael Gomez
4e39982a19
Fix TSAN warnings in UE ( #3021 )
...
* Protect PHY SR signal management in a class
* Protect intra_freq_meas vector
* Protect cell and srate shared variables in thread-safe classes
* srsue,srsenb: include TSAN options header
* Protect ue_rnti_t and rnti scheduling windows behind thread-safe classes
* Protect access to state variable in sync_state
* Protect access to metrics configuration
* Protect access to is_pending_sr
* Protect access to UE prach worker
* Protect UE mux
* Avoid unlocking mutex twice
* Fix data races in RF/ZMQ
* Fix data races in intra_measure and PHY
* Fix minor data races in MAC
* Make TSAN default behaviour to not halt on error
* Fix blocking in intra cell measurement
* Address comments
Co-authored-by: Andre Puschmann <andre@softwareradiosystems.com>
4 years ago
Pedro Alvarez
1b676aa406
Moved lib GTPU to its own folder
4 years ago
Pedro Alvarez
865298f8d5
Moved lib PDCP to its own folder
4 years ago