Commit Graph

2433 Commits

Author SHA1 Message Date
Andre Puschmann 98494a1ea2 srsue,rrc: remove timer stopping in main RRC class as this is done in procedures 2022-02-03 13:29:24 +01:00
Andre Puschmann 1b891bb600 srsue,rrc: check present flag before parsing UCI PUSCH scaling info 2022-02-03 13:29:24 +01:00
Andre Puschmann 82429d1742 srsue,rrc: fix PHY config updates in SA/NSA mode
* in SA the entire PHY config is applied immediately
* for NSA (in some scenarios) parts of the config are applied after the RA complete

This fixes #3842
2022-02-03 13:29:24 +01:00
Andre Puschmann 96ef1beaf2 srsue,phy,nr: only read metrics for NR rat 2022-02-01 20:38:06 +01:00
Andre Puschmann 8cf6c851e1 srsue,rrc: remove phy_cfg_default header
* address Xicos comment in https://github.com/softwareradiosystems/srsLTE/pull/3836
2022-02-01 20:38:06 +01:00
Andre Puschmann 7c63da9e4d srsue,rrc_nr: expose main carrier parameters as config
* remove hard-coded ARFCN, SCS, etc
* use PCI deteceted in cell search for carrier config
2022-02-01 20:38:06 +01:00
Andre Puschmann 8464a6ed63 srsue: refactor SA mode in RRC, don't initilize NSA-5G in NSA mode 2022-02-01 20:38:06 +01:00
Andre Puschmann 71f48ee7f2 ue,rrc: refactor PHY parameter derivation for SA
* expose carrier/SSB config in RRC args
* provide hard-coded values until exposed as param
* remove coreless option
2022-02-01 20:38:06 +01:00
Bedran Karakoc d448eac941 ue,rrc_nr: Add dummy handler for RRC Release to avoid logging an unhandled message error 2022-01-31 16:19:20 +01:00
Bedran Karakoc 84c842f8c3 lib,nas_5g: Fix logging in configuration update complete message 2022-01-31 16:19:20 +01:00
Andre Puschmann e3b95de5e0 ue,metrics_test: add testcases for EUTRA,NSA, and SA mode 2022-01-27 15:17:00 +01:00
Andre Puschmann 4890ee9875 ue,rrc: add RRC metrics and fix stdout 2022-01-27 15:17:00 +01:00
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
2022-01-27 12:49:13 +01:00
Bedran Karakoc efa13290a9 ue,rrc_nr,nas_5g: Introduce NR AS Key derivation and update context handling in 5G NAS 2022-01-25 14:24:58 +01:00
Bedran Karakoc a8eaf1cdd8 ue,nas_5g: Add get_k_amf() helper function and security context flag 2022-01-25 14:24:58 +01:00
Andre Puschmann d035a57ed5 ue,rrc_nr: various smaller refactors to allow SA attach 2022-01-24 11:57:46 +01:00
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.
2022-01-24 11:57:46 +01:00
Andre Puschmann 9c9db176d5 ue: set NAS-5G args in ue module using NAS-LTE arguments 2022-01-24 11:57:46 +01:00
Andre Puschmann b5a39f9d9f ue,rrc_nr_proc: if bug connection_setup_proc that cause procedure to fail 2022-01-24 11:57:46 +01:00
Andre Puschmann f3fa0d6d46 ue,rrc_nr: add RRC Reconfig Complete sender 2022-01-24 11:57:46 +01:00
Xavier Arteaga 57b50edbe2 Fix initial buffer data and removed unimplemented method 2022-01-24 10:09:17 +01:00
Fabian Eckermann 12cc7cb4d7 Add support for RRC redirect. 2022-01-21 09:46:56 +01:00
Andre Puschmann 4cda49a037 ue,rrc_nr: cosmetic changes, typo 2022-01-19 18:37:24 +01:00
Andre Puschmann 486483da13 nas_5g: small typo fixes 2022-01-19 18:37:24 +01:00
Andre Puschmann 09b8d3ba6b ue,rrc_nr: add message handler/sender for SA until security mode command 2022-01-19 18:37:24 +01:00
Xavier Arteaga 0812a90d21 Removed unused attribute and fix end-of-burst in NR UE SA PHY 2022-01-19 18:33:39 +01:00
Xavier Arteaga d089653bd2 Fix concurrent access in UE NR PHY clear pending states 2022-01-19 18:33:39 +01:00
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
2022-01-18 18:20:04 +01:00
Andre Puschmann c13797d287 ue,mac: remove double newlines in logs 2022-01-18 18:20:04 +01:00
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 2022-01-17 11:58:00 +00:00
Xavier Arteaga ae0fb4f4fc UE NR PHY cell select minor fixes 2022-01-17 10:55:38 +01:00
Xavier Arteaga 8854ba49b9 UE RRC NR includes cell search in the initial cell selection procedure 2022-01-17 10:55:38 +01:00
Xavier Arteaga c26f030edb UE PHY SA Slot synchronization integrated 2022-01-17 10:55:38 +01:00
Xavier Arteaga d661db032d Ammended UE NR RRC to perform cell selection without a procedure 2022-01-17 10:55:38 +01:00
Xavier Arteaga 98f304bfa8 Add in srsue and srsenb SSB configuration in log 2022-01-17 10:55:38 +01:00
Ismael Gomez 89f910e79e srsue,phy: do not queue set_scell command in background if running from set_cells_to_meas comman 2022-01-13 22:01:23 +01:00
Ismael Gomez 552e0816f7 ue: store new EARFCN in the foreground of cell_select to avoid race conditions with the other cmd_worker 2022-01-13 17:25:20 +01:00
faluco 1ec8e8a94e Raise C++ version to 14 and fix ill-formed code that is considered by this new standard. 2022-01-13 13:35:58 +00:00
Xavier Arteaga 2c7287e4d4 Fix successful related typos 2022-01-12 10:27:33 +01:00
Xavier Arteaga e8095529d7 Fix NR UE SFN Sync 2022-01-12 10:27:33 +01:00
Xavier Arteaga db19941985 Minor changes on UE SA PHY 2022-01-12 10:27:33 +01:00
Xavier Arteaga e2b2007293 Fix srsue compilation 2022-01-12 10:27:33 +01:00
Xavier Arteaga 5760080b27 Fix multiple nr_phy_test tests 2022-01-12 10:27:33 +01:00
Xavier Arteaga d6ee282796 Created dummy radio and moved UE dummy PHY into real UE SA PHY 2022-01-12 10:27:33 +01:00
Xavier Arteaga 3b396c8a9a Implement and test initial SFN synchronization for UE standalone mode 2022-01-12 10:27:33 +01:00
Xavier Arteaga 4f86c2fac7 Added more information in NR PHY SA cell search test 2022-01-12 10:27:33 +01:00
Xavier Arteaga d4fd4c8350 Fix deadlock 2022-01-12 10:27:33 +01:00
Xavier Arteaga a5130673f6 More cell search development 2022-01-12 10:27:33 +01:00
Francisco Paisana 61e225d762 asn1: move setup_release_c from rrc_nr_asn1 to asn1_utils and improved interface 2022-01-11 22:59:38 +00:00
Fabian Eckermann 4182a9f164 Add cell group update without random access. 2022-01-10 21:09:03 +01:00