Commit Graph

2446 Commits

Author SHA1 Message Date
Robert Falkenberg 50ac1c6c0a cmake: flag install() of compiled targets as OPTIONAL
This enables `make install` for partial builds of selected targets,
which otherwise fails because the omitted targets are not present.
2022-03-09 11:28:12 +01:00
Pedro Alvarez 031b91a180 ue,nas5g: fix using wrong serving network name in authentication request 2022-03-07 17:14:42 +00:00
Joaquim Broquetas 520128162e
Add CFR to srsue LTE UL (#3865)
lte,phy: Add CFR to srsue LTE UL

This commit adds the configuration steps needed to enable
and configure the CFR module for the srsue's uplink signal.
Parsing of the CFR manual threshold has been streamlined.
2022-03-07 17:05:33 +01:00
Bedran Karakoc 380280b4d0 lib,nas_5g: Log cause for pdu session establishment reject 2022-02-08 20:18:16 +01:00
Francisco Paisana e4a15c9c51 rrc,gnb: move non-phy fields out of phy_cell_nr_t 2022-02-08 18:21:07 +01:00
Francisco Paisana e8902c785f rrc,gnb: remove srsran_prach_cfg_t from gnb rrc config struct 2022-02-08 18:21:07 +01:00
Andre Puschmann 32885e2404 ue, rrc_nr: refactor PHY config statages for NSA/SA operation
split the PHY config states into NSA and SA states.
this should remove unwanted warnings when PHY returns
from the configuration.
2022-02-08 09:48:58 +01:00
Xavier Arteaga ace6026d24 UE-PHY: Skip PUCCH-NR transmission if there is no PUCCH resource available 2022-02-07 15:51:27 +01:00
Andre Puschmann 26f3f6109b gw,pdcp,rlc,mac: log rate metrics in debug mode
reduce periodic log spam for L2 in info level
2022-02-07 12:41:32 +01:00
Andre Puschmann d65ae322d3 ue,rrc: fix UL center freq setting 2022-02-07 12:41:16 +01:00
Andre Puschmann 1fb4a54b28 srsue,rrc_nr_procedures: only send reconfig complete in SA mode 2022-02-07 12:10:20 +01:00
Andre Puschmann bb2777536a rrc_nr: reduce loglevel to debug for some reconfig parsing messages 2022-02-07 12:10:20 +01:00
Andre Puschmann 83ad98c58b srsue,rrc_nr: add helper to configure default PHY layer parameters 2022-02-04 15:34:06 +01:00
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