1058 Commits (6f2c64194148370e79aea41e9aaa2f8d269cee3f)

Author SHA1 Message Date
David Rupprecht 68fe21928e Added initialization of nas5g logger 2 years ago
Andre Puschmann 70eaec21e2 all: fix uninitialized variables detected by coverity 3 years ago
Andre Puschmann 6db4835302 ue,rrc_nr: use minimal NR capabilities by default
keep hard-coded caps as compile-time option but don't use them by default.
3 years ago
Bedran Karakoc 2cccad9d28 ue,rrc_nr: Added initial UE Capability Information 3 years ago
Andre Puschmann da2ac3b2c1 srsue,rrc_nr: fix warning and error logs in SA mode
- provide PHY config state to configure MIB values (coreset0).
- set PRACH freq_offset to valid value to please config checker.

Addresses:
2022-04-19T12:42:38.726040 [PHY-SA ] [E] [    0] prach_cfg.freq_offset=0 is not compatible with LTE
2022-04-19T12:42:38.726040 [PHY-SA ] [I] [    0] PHY:   Set TA offset: n_ta_offset: 0, ta_usec: 0.0
2022-04-19T12:42:38.726141 [RRC-NR ] [W] PHY configuration completed without a clear state.
3 years ago
Andre Puschmann b2e0481849 ue,mac,nr: fix another race in MAC 3 years ago
Andre Puschmann b157490cb3 ue,nr,mac: fix race-condition when accesing temp RNTIs during RA procedure
the race was in the prach_nr that stored the temp crnti without proper protection.
the fix moves the logic to store the value to the MAC that uses the thread-safe
RNTI object for this.
3 years ago
Ismael Gomez 6ffa036b84 srsue,stack: initialize sdap pointers 3 years ago
Ismael Gomez f8c2fa05bf srsue,phy: support n_ta_offset parameter from sib1 3 years ago
Ismael Gomez edeb8e8f18 srsue,nr: add TA support from RAR and MAC CE 3 years ago
Ismael Gomez b3497c4a94 srsue,nr: decode SIB1 based on coreset0 configuration in MIB 3 years ago
Ismael Gomez bfe69deccc srsue, nr: Add SDAP to the UE. Supports only UL header 3 years ago
Ismael Gomez a4f26fa5d6 srsue,rrc: send precanned UECapabilityInformation 3 years ago
Ismael Gomez 7f8ac07b65 srsue: fix A1/S2 reports with CA. Fix some unstability issues when doing HO with multiple carriers due to frequent call to update_phy 3 years ago
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.
3 years ago
Francisco Paisana e4a15c9c51 rrc,gnb: move non-phy fields out of phy_cell_nr_t 3 years ago
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.
3 years ago
Andre Puschmann 83ad98c58b srsue,rrc_nr: add helper to configure default PHY layer parameters 3 years ago
Andre Puschmann 96ef1beaf2 srsue,phy,nr: only read metrics for NR rat 3 years ago
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
3 years ago
Andre Puschmann 8464a6ed63 srsue: refactor SA mode in RRC, don't initilize NSA-5G in NSA mode 3 years ago
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
3 years ago
Bedran Karakoc d448eac941 ue,rrc_nr: Add dummy handler for RRC Release to avoid logging an unhandled message error 3 years ago
Andre Puschmann 4890ee9875 ue,rrc: add RRC metrics and fix stdout 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 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 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
Xavier Arteaga d089653bd2 Fix concurrent access in UE NR PHY clear pending states 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
Xavier Arteaga 8854ba49b9 UE RRC NR includes cell search in the initial cell selection procedure 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
Xavier Arteaga db19941985 Minor changes on UE SA PHY 3 years ago
Xavier Arteaga e2b2007293 Fix srsue compilation 3 years ago
Xavier Arteaga d6ee282796 Created dummy radio and moved UE dummy PHY into real UE SA PHY 3 years ago
Xavier Arteaga a5130673f6 More cell search development 3 years ago
Fabian Eckermann 4182a9f164 Add cell group update without random access. 3 years ago
Fabian Eckermann a6c1098afe Add decoding of RRC reconfiguration. 3 years ago
Xavier Arteaga 6c4c1ea155 NR UE PHY: interfaced fix wideband CQI reporting in nr_phy_test 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
Matan Perelman 0dff58613f srsUE: Add option to filter N_id_1 / SSS to configuration 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 affdacd9b4 Add decoding of sib1. 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