2114 Commits (e20cb2e0c84ada6d1dc7bfc8223ef891bb70787f)

Author SHA1 Message Date
Andre Puschmann 4890ee9875 ue,rrc: add RRC metrics and fix stdout 3 years ago
Andre Puschmann d71f4152cd ue: register PDU session at bearer manager to NAS doesn't trigger service request
* forward service request to NAS 5G in SA mode
* register PDU session at bearer manager so service request isn't triggered in the first place
* remove [TTI] from GW logs
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
Bedran Karakoc a8eaf1cdd8 ue,nas_5g: Add get_k_amf() helper function and security context flag 3 years ago
Andre Puschmann d035a57ed5 ue,rrc_nr: various smaller refactors to allow SA attach 3 years ago
Andre Puschmann 4f8991e41a ue,rrc_nr: temporarily add hard-coded SIB1 message for cell select
this will be remove shortly when SI reception is implemented but its
required right now to have the PLMN read correctly and to avoid
changes in the meas_cell_list class, etc. that require valid
values.
3 years ago
Andre Puschmann 9c9db176d5 ue: set NAS-5G args in ue module using NAS-LTE arguments 3 years ago
Andre Puschmann b5a39f9d9f ue,rrc_nr_proc: if bug connection_setup_proc that cause procedure to fail 3 years ago
Andre Puschmann f3fa0d6d46 ue,rrc_nr: add RRC Reconfig Complete sender 3 years ago
Xavier Arteaga 57b50edbe2 Fix initial buffer data and removed unimplemented method 3 years ago
Fabian Eckermann 12cc7cb4d7 Add support for RRC redirect. 3 years ago
Andre Puschmann 4cda49a037 ue,rrc_nr: cosmetic changes, typo 3 years ago
Andre Puschmann 486483da13 nas_5g: small typo fixes 3 years ago
Andre Puschmann 09b8d3ba6b ue,rrc_nr: add message handler/sender for SA until security mode command 3 years ago
Xavier Arteaga 0812a90d21 Removed unused attribute and fix end-of-burst in NR UE SA PHY 3 years ago
Andre Puschmann e9252c731e ue,rrc: fix cell selection and RRC setup procedure
* fix event processing in RRC procedures
* add UE timer and constants
* parse SRB setup
3 years ago
Andre Puschmann c13797d287 ue,mac: remove double newlines in logs 3 years ago
Francisco 3c25b6cb24 asn1: remove presence flag for lists and octet strings, as the size of the latter implicitly tell if the asn1 field is present 3 years ago
Xavier Arteaga ae0fb4f4fc UE NR PHY cell select minor fixes 3 years ago
Xavier Arteaga 8854ba49b9 UE RRC NR includes cell search in the initial cell selection procedure 3 years ago
Xavier Arteaga c26f030edb UE PHY SA Slot synchronization integrated 3 years ago
Xavier Arteaga d661db032d Ammended UE NR RRC to perform cell selection without a procedure 3 years ago
Xavier Arteaga 98f304bfa8 Add in srsue and srsenb SSB configuration in log 3 years ago
Ismael Gomez 89f910e79e srsue,phy: do not queue set_scell command in background if running from set_cells_to_meas comman 3 years ago
Ismael Gomez 552e0816f7 ue: store new EARFCN in the foreground of cell_select to avoid race conditions with the other cmd_worker 3 years ago
faluco 1ec8e8a94e Raise C++ version to 14 and fix ill-formed code that is considered by this new standard. 3 years ago
Xavier Arteaga 2c7287e4d4 Fix successful related typos 3 years ago
Xavier Arteaga e8095529d7 Fix NR UE SFN Sync 3 years ago
Xavier Arteaga db19941985 Minor changes on UE SA PHY 3 years ago
Xavier Arteaga e2b2007293 Fix srsue compilation 3 years ago
Xavier Arteaga 5760080b27 Fix multiple nr_phy_test tests 3 years ago
Xavier Arteaga d6ee282796 Created dummy radio and moved UE dummy PHY into real UE SA PHY 3 years ago
Xavier Arteaga 3b396c8a9a Implement and test initial SFN synchronization for UE standalone mode 3 years ago
Xavier Arteaga 4f86c2fac7 Added more information in NR PHY SA cell search test 3 years ago
Xavier Arteaga d4fd4c8350 Fix deadlock 3 years ago
Xavier Arteaga a5130673f6 More cell search development 3 years ago
Francisco Paisana 61e225d762 asn1: move setup_release_c from rrc_nr_asn1 to asn1_utils and improved interface 3 years ago
Fabian Eckermann 4182a9f164 Add cell group update without random access. 3 years ago
Fabian Eckermann cb6809c9b2 Add SA RRC reconfiguration test. 3 years ago
Fabian Eckermann a6c1098afe Add decoding of RRC reconfiguration. 3 years ago
Fabian Eckermann a9724fced1 Remove unused code from test. 3 years ago
Ismael Gomez 4d382905fd ue,lte: run parse_meas_config after RACH is complete to avoid race condition with PHY reset 3 years ago
Ismael Gomez 2d31e11144 ue,lte: update rx_gain_offset more frequently. Avoid calling UHD driver when getting rx_gain 3 years ago
Ismael Gomez 120ad5c72f ue: store new EARFCN in the foreground of cell_select to avoid race conditions with the other cmd_worker 3 years ago
Robert Falkenberg 226001709d srsUE: refactor option to filter N_id_1 / SSS to configuration
* pick the cell with strongest peak (instead of last match)
* proper selection if N_id_2 was forced too
* add comment explaining potential occlusion of cells
3 years ago
Matan Perelman 0dff58613f srsUE: Add option to filter N_id_1 / SSS to configuration 3 years ago
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
Ismael Gomez 0ea7dbee2d srsue,phy: initialize NR PHY only if NR carriers are defined in ue.conf 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 6947f87bcb Add minimum NR SA logic in parent PHY class 3 years ago
Ismael Gomez fb897d2998 Refactor PHY interfaces to remove difference between SA and NSA PHY 3 years ago
Ismael Gomez 58ab8086ff Added multi gNb simulation and RF 3 years ago
Xavier Arteaga f5446422bc UE NR SA interface expects PBCH message instead of spare fields 3 years ago
Xavier Arteaga fb17e3326f More development in UE NR SA cell search 3 years ago
Xavier Arteaga 47b857db25 Initial gnb emulator 3 years ago
Xavier Arteaga b1bcc1a8c0 Initial UE NR SA PHY classes 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
Fabian Eckermann d0c07fc86e Add packing of dci format 1A 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
Andre Puschmann b687f58ff0 ue,cc_worker: print coreset info in debug mode 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
Alejandro Leal Conejos eb889d740d Fixes coverity 369513 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
Ismael Gomez bdbaf7357a ue,nr: Protect pending_cfgs in PHY worker_pool 3 years ago
faluco b058945142 Fix data race in sync::current_earfcn. 3 years ago
faluco dc31fb05a3 Fix ODR issue detected by ASAN in arch for the srsran_verbose global variable. 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