herlesupreeth
150bfb6185
gtpu,ngap: fix pdu session id check and lcid allocation
2 years ago
herlesupreeth
b927936d52
gtpu: improve check for PDU session Id in NR SA
2 years ago
ikercosta
c4d69677aa
FIX: Changed EPS bearer id validation
2 years ago
Robert Falkenberg
44783030c4
security: remove polarssl dependency
2 years ago
Pedro Alvarez
2a60562a2e
enb,s1ap: adding SCTP configuration to enb.conf
2 years ago
Pedro Alvarez
08d03ee6e2
netutils,s1ap: split setting the SCTP options into different functions.
...
Added option for SO_REUSE_ADDR. Removed sctp_init_socket function.
2 years ago
Pedro Alvarez
386b1640a9
gnb,bearer_mapper: hack to keep 5QI information in bearer mapper
3 years ago
Ismael Gomez
f8c2fa05bf
srsue,phy: support n_ta_offset parameter from sib1
3 years ago
Robert Falkenberg
47c1845cdc
lib,rlc_am_nr: add pdu_retx_queue_base, rlc_ringbuffer_base as interfaces
...
that are independent from templated capacity.
3 years ago
faluco
c9c2d6982f
Implement a function to remove emergency handlers when a signal is raised.
...
Make PCAP handlers deregister from this list when they are destructed. This avoid the signal handler calling destructed objects under very rare circumstances.
3 years ago
Francisco Paisana
e4a15c9c51
rrc,gnb: move non-phy fields out of phy_cell_nr_t
3 years ago
Robert Falkenberg
57f84d4ca4
Radio: add support for file-based RF device abstraction
3 years ago
Bedran Karakoc
efa13290a9
ue,rrc_nr,nas_5g: Introduce NR AS Key derivation and update context handling in 5G NAS
3 years ago
Xavier Arteaga
a9591f1d45
Avoid poping queue if empty
3 years ago
Francisco
52106be3d5
sched,nr: remove phy cfg types from sched_nr_cell_cfg_t
3 years ago
Andre Puschmann
02cdc66302
security: fix k_gnb* derivation for 5G
...
add FC code for gNB KDF and fix ARFCN encoding (can be more than 2 bytes)
3 years ago
Francisco Paisana
c8f7976014
asn1: use byte buffer pool for temporary variable length field generation instead of stack array
3 years ago
Carlo Galiotto
0f92869156
rrc,sched: add csi-MeasConfig setup in RRC
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
a7255cfac6
sched: add fnc to map CQI to MCS
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Merlin Chlosta
c967b688ff
emergency handler for NAS PCAP to close file
...
Previously NAS PCAP wasn't closed/fflushed on
unclean exit, resulting in missing or corrupted PCAP.
3 years ago
Ismael Gomez
6947f87bcb
Add minimum NR SA logic in parent PHY class
3 years ago
Francisco
b27c184d2f
nr,gnb,stack: add bearer manager to gNB stack to correctly map between eps bearer ids and lcids
3 years ago
Andre Puschmann
97997b6d0b
buffer_pool: add helper to build byte_buffer from raw payload+len
3 years ago
Pedro Alvarez
2fad9ded01
Make sure that the pcap is started before NGAP init, so that the NGSetupRequest is caught
3 years ago
Pedro Alvarez
5e22e42762
Added option to save NGAP pcaps.
3 years ago
Pedro Alvarez
c0d2e8c11d
gNB NR security context:
...
- changed variables to use nia/nea instead of eia/eea.
- make rrc_nr_cfg a ref
- Changed NR ciphering/integrity algo enums to their own enum
3 years ago
faluco
453a7760b3
Port misc SSN changes to dev.
3 years ago
Francisco
92c4e6e2d0
nr,gnb: account for CORESET#0 RB offset (See 38.213, table 13-1) in computation of SSB center frequency
3 years ago
Francisco
83c1fb65d7
nr,gnb,rrc: add rrc nr message handler and send functions to establish an SA RRC connection
3 years ago
Francisco
16753a006a
nr,gnb,rrc: add test logger delimiter; handle rrc setup complete
3 years ago
Francisco
96fd3aae3c
nr,gnb: small gnb interface refactors and fix of byte buffer operator=
3 years ago
Francisco
dab6e8bdcd
nr,gnb: updates in parsing and phy files to allow the splitting of NR and LTE stacks
3 years ago
faluco
74456bf3d2
Whitelist a reported deadlock involving read lock.
3 years ago
Ismael Gomez
d972fb368c
Some LGTM fixes ( #3564 )
...
* Fix LGTM issues
* ue: add logging to switch on function
* Fix new LGTM issues
3 years ago
Xavier Arteaga
ebab12403f
Asynchronous NR PHY configuration ( #3527 )
...
* Fix a race condition when accessing the NR PHY cfg by the RRC and phy workers.
Rework how the phy cfg is handled, now workers have their own copy that gets updated after a reconfig moving it out of the state class.
* Default initialize sf_len member in sf_worker for consistency.
* Asynchronous NR PHY configuration
* Fix compilation
* Corrected method override and fix unitialised value
* Added carrier equal comparison to avoid aligment byte padding comparison
Co-authored-by: faluco <borja.ferrer@softwareradiosystems.com>
3 years ago
faluco
0ada9a01ec
Whitelist TSAN issue in srsenb::mac::sr_detected.
3 years ago
faluco
a1b2f3915d
Whitelist lock order inversion tsan issue in srsenb::rlc::rb_is_um.
3 years ago
Carlo Galiotto
284207dad6
WIP: fixing collision in the the users_map
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Ismael Gomez
7920e084b8
Revert "Do not abort tsan"
...
This reverts commit e8e1d101c553912f733070e71d020a33ec895280.
3 years ago
Ismael Gomez
4239222909
Do not abort tsan
3 years ago
Pedro Alvarez
e721504f8e
Removed the sctp_init_server for consistency. Added listen method to unique_socket class.
3 years ago
Pedro Alvarez
e9a7e6dbae
Getting rid of sctp_init_client function. The only thing it does is call the sctp_init_socket function.
3 years ago
faluco
dacf40f63e
Delete move constructor and move assignment operator explictly for mac_pcap_base and s1ap_pcap classes.
...
Move emergency handlers header file into the support folder.
Refactored signal handling:
- Remove the dependency with the running static variable in the header file.
- Move implementations down to cc files.
- Allow specifying a new signal handler that will be used to stop the applications.
- Move signal handling files to support.
3 years ago
faluco
9075251627
Move the cleanup code from the signal handlers down to the new emergency handlers for the ue, epc and enb.
3 years ago
faluco
2c1e9c0c55
Implement an emergency cleanup handler registration mechanism to allow modules to clean themselves before application gets killed.
...
Flush PCAP contents just before killing the application.
3 years ago
Francisco
ea324e8cbe
nr,sched,test: update sched nr test to better reflect MAC-PHY FAPI
3 years ago
faluco
28bbaa7816
Blacklist TSAN issues from libusb and libuhd.
3 years ago
Alejandro Leal Conejos
1a64c6adad
Enum fixes so clang 12 can build the repo
3 years ago
Carlo Galiotto
f53e01cfa3
mac: apply changes by PR reviewers
...
- reinstate write_lock on ue metrics
- change "rwlock" variable name in mac_nr.h
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
dc3e3a89f8
mac: update CQI in MAC with CSI reports from PHY
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago