Andre Puschmann
dd28f173b0
ue: log fixes
3 years ago
Fabian Eckermann
7f6fd45b1f
Add NSA TDD/FDD tests for new RRC reconfiguration interface.
3 years ago
Fabian Eckermann
6252d94ef4
Change NSA RRC reconfiguration interface to prepare for SA.
3 years ago
Fabian Eckermann
1407983c75
Add decoding of RRC setup.
3 years ago
Fabian Eckermann
93210d9bb3
Add unit tests for new functions.
3 years ago
Fabian Eckermann
affdacd9b4
Add decoding of sib1.
3 years ago
Andre Puschmann
2e70256548
ue,nsa,rrc: fix RRC's unfinished PHY config for CSI in NSA mode
...
if this commit brakes the attach in SA, we need to investigate again
and provide another fix that works for both NSA/SA.
3 years ago
Ismael Gomez
f04227c3fb
srsue,nr: add default NAS 5G ia5g and ea5g arguments
3 years ago
Ismael Gomez
825d363d44
srsue,nr: fix crnti mac CE not being added in msg3
3 years ago
Ismael Gomez
3c929ed24c
ue,sa: Sends PRACH and receives RAR, then Msg4, resolves contention resolution and pushes ConnectionSetup to RRC
3 years ago
Ismael Gomez
15025f5d57
Merge remote-tracking branch 'origin/sa_ue_rrc2' into feature_nr_sa_igm
3 years ago
Ismael Gomez
46f4be458a
ue,sa: can sync and receive pbch successfully
3 years ago
Andre Puschmann
38da5a9c94
ue,rrc,test: add RRC conn setup testcase
3 years ago
Andre Puschmann
28bd93be40
ue,sa: add minimal cell selection and setup request procedure
...
skeleton based on EUTRA procedures
3 years ago
Ismael Gomez
219bae4fd3
srsue,sa: dummy rrc_nr to initiate dummy cell_select and phy_cfg
3 years ago
Ismael Gomez
c71ab70b83
Completed basic sync module with bypass camping. Removed ue_phy_nr and ue_phy_lte base classes
3 years ago
Ismael Gomez
fb897d2998
Refactor PHY interfaces to remove difference between SA and NSA PHY
3 years ago
Andre Puschmann
7227f03314
ue,rrc_nr: refactor reconfig procedure to own source file
...
preparation to add next procedure
3 years ago
Andre Puschmann
ccd4334672
rrc_nr: add basic interface for NAS
3 years ago
Andre Puschmann
a15962c817
ue,rrc: move NR RRC into own folder
3 years ago
Fabian Eckermann
8bac4eceda
Add ue MAC procedures for PDCCH orders.
3 years ago
Francisco
e8beb2ef81
nr,rrc: redesign fetching of asn1 obj ids for comparison and addmod/rem to asn1 lists
3 years ago
Carlo Galiotto
2eaf9add48
rrc,nr: rename boolean variable
3 years ago
Carlo Galiotto
ba50bbfb76
rlc,rrc,nr: remove rb_type from rlc_um_config
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
9c2099f680
rrc,rlc,nr: fix RB label in RLC-NR for UE logs + ..
...
add rb_type in rlc_um_config
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
faluco
dfd16718fe
Fix data race in proc_sr_nr.
3 years ago
faluco
3b2f0d2f65
Fix several issues in GW class:
...
- Avoid triggering an assertion when the gw thread is pending termination.
- Re-order gw::stop method to avoid a race condition when closing the TUN device while the gw thread is still running.
3 years ago
Bedran Karakoc
fa87715724
Increase context rx count for handled messages
3 years ago
Bedran Karakoc
b6b0dd911b
Apply NAS security for Identity Response
3 years ago
Bedran Karakoc
66ed8b9065
Add NSSAI slice differentiator, currently only 0 supported
3 years ago
Bedran Karakoc
4e60475200
Apply security to Deregistration Request (UE Originating)
3 years ago
faluco
f1385640c4
Fix data race in proc_bsr and ul_harq classes.
3 years ago
faluco
3f0d4f0293
Fix data races in proc_bsr_nr and proc_ra_nr.
3 years ago
Fabian Eckermann
1c75ed10a8
Initialize variable.
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
Alejandro Leal Conejos
2a2518b7e4
Fixes coverity 372096
3 years ago
Pedro Alvarez
a40a2dc191
Disable integrity/encription at PDCP-NR, as it will break when packets arrive out-of-order.
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
28887a4384
Relax memory ordering for atomic load for the ul_harq::current_tx_nb member.
3 years ago
faluco
3ecc8bb4c6
Fix data race in gw::deactivate_eps_bearer.
3 years ago
faluco
5f93ff6ed0
Batch of data race fixes in the following classes: RLC AM, Intra measure, UL HARQ, PHY common.
3 years ago
Andre Puschmann
dd5eda04e3
ue,rrc_nr: clear DRB to LCID lookup during RRC release
3 years ago
faluco
904d05d4c4
Fix data race in bsr_proc::print_state().
...
While there, early exit if the log info channel is disabled to avoid formatting a string that will not be used.
3 years ago
Ismael Gomez
c096270fc7
ue,nr: ignore NDI if received on T-CRNTI or RAR
3 years ago
Andre Puschmann
97d43eb044
mac_nr_test: add PDU packing test for two SDUs from different LCs
3 years ago
Andre Puschmann
d4a4da7ecc
mux_nr: fix tiny issue in mux unit when adding SDUs of different logical channels
...
this issue has a tiny affect when adding new SDUs from different logical channels
to an UL MAC PDU.
Since the MAC subPDU header is accounted for twice, less SDU payload may be packed.
The patch calculates the required header space and accounts for it in the scheduling.
Howerver, it is only substracted from the available space when an SDU was actually added.
3 years ago
Andre Puschmann
cc87af2986
ue,rrc: simplify code
3 years ago
Francisco
08c96b0e35
nr,ue,mac: added TODO comment warning about missing functionality in srsue::mac_nr::reset method
3 years ago
Francisco
81174bda64
nr,ue,rrc: release NR logical channels during RRC release
3 years ago
Bedran Karakoc
0507d9df2b
nas,nr: Fix ciphering and sequence numbers in NAS
3 years ago