177 Commits (66bf6fd28c319e95113283b3c5d507ed87a92338)

Author SHA1 Message Date
Pedro Alvarez 66bf6fd28c gnb,config: added PDCP-NR configuration parsing 3 years ago
Pedro Alvarez 43a2678841 gnb,config: Added five_qi_cfg to rrc_nr_config_t. Starting to add
five_qi_field to parse the rb.conf for 5g configuration.
3 years ago
Francisco 0de1565e52 rrc,s1ap: configurable target eNB TACs during LTE handover. 3 years ago
Francisco Paisana e4a15c9c51 rrc,gnb: move non-phy fields out of phy_cell_nr_t 3 years ago
Francisco Paisana e8902c785f rrc,gnb: remove srsran_prach_cfg_t from gnb rrc config struct 3 years ago
Carlo Galiotto b259dbedb1 enb: tentative fix for ubuntu18.04 compile error
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Joaquim Broquetas b2075673e5
Crest Factor Reduction feature for the phy layer (#3720)
* Add CFR module to the phy lib

* Add dynamic threshold with PAPR estimation

* Add a CFR unit test, CFR module improvements and refactoring.
Swap the gain normalization before the CFR.

* Add CFR config interface to srsenb

* Add CFR support to pdsch_enodeb

* Add DL PAPR measurement to eNB.

Co-authored-by: Cristian Balint <cristian.balint@gmail.com>

* Add test coverage to srsran_vec_gen_clip_env
3 years ago
Ismael Gomez 67db8a2b75 srsenb: add support for A5 report 3 years ago
Ismael Gomez dcd94649ef enb,parser: add option to set a default tx gain per cell 3 years ago
Francisco d1ddd3da4d gnb,rrc: make plmn and cell id configurable in SIB1 3 years ago
Francisco 61e923a6a6 nr,gnb,rrc: configurable RRC NR inactivity timeout 3 years ago
Francisco 5411e75ce3 fix failing unit tests due to bug in enb parser related to the rf_port 3 years ago
Pedro Alvarez f86fbe97bd gnb,rrc_nr: simplified parsing of NEA/NIA preference list 3 years ago
Pedro Alvarez 84f94b26b2 gnb,rlc_nr: re-used security algo preference list from LTE. Added the ability to enable integrity/encription at the PDCP upon the security mode command. 3 years ago
Andre Puschmann 77a7185274 cfg_parser: check RF port numbering starts with zero
make sure all RF ports are in-order with no gaps and zero indexed
3 years ago
Francisco 976532fb52 nr,gnb,cfg: set phy nr cell cfg only after the rrc cfg is completely generated 3 years ago
Francisco 9ecb3f516d nr,gnb,rrc: add helper function to derive rrc cfg parameters for all cells 3 years ago
Francisco 79a018683f nr,gnb,rrc: consistent generation of rachConfig for phy, SIB1, and NSA reconf 3 years ago
Andre Puschmann 7eb4fb944d gnb,ngap: set NGAP connect params to S1AP equivalents
in SA mode we use the S1AP params for AMF and NGC
3 years ago
Francisco fec97689a2 rrc,nr,gnb: refactored rrc nr cfg default and derived param generation to be mostly independent of parser 3 years ago
Francisco 0b8a6970f0 nr,gnb,rrc: fix ssb frequency derivation when coreset0 is active 3 years ago
Francisco 92c4e6e2d0 nr,gnb: account for CORESET#0 RB offset (See 38.213, table 13-1) in computation of SSB center frequency 3 years ago
Francisco 2d6ce768c7 nr,gnb,rrc: generation of MIB/SIB1 inside rrc_nr class and test to verify the correct output 3 years ago
Francisco 7e7f7b4c01 nr: fix failing unit tests 3 years ago
Francisco dab6e8bdcd nr,gnb: updates in parsing and phy files to allow the splitting of NR and LTE stacks 3 years ago
Fabian Eckermann 32a1646536
nr,gnb,rrc: Derive RRC parameters from config.
* Derive RRC parameters from config.
* nr,gnb,rrc: hard code prach config index to 8 to avoid expiring RA proc window.
3 years ago
Francisco c6226b0d94 lte,enb,rrc: parse cellIndividualOffset in rr.conf and propagate it to measConfig sent to UE 3 years ago
Fabian Eckermann 33df51a1f5 Remove error message if dl_freq and ul_freq are not specified. 3 years ago
Xavier Arteaga f250c83a66 Minor NR configuration fixes 3 years ago
Xavier Arteaga b060c3deca Add possible band when invalid band is given 3 years ago
Andre Puschmann 8d2c394326 enb,rrc: fix SSB absolute freq value in EUTRA measConfig
we've been using the ARFCN of the NR carrier instead of
the absolute freq SSB.

The patch fixes this and renames the variable to make it clearer.
3 years ago
Andre Puschmann bdc84f24f3 gnb,cfg: fix SSB config deriviation
* this fixes the SSB config for TDD
* UE decodes the SSB correctly
3 years ago
Andre Puschmann 06fbb58d70 gnb,mac: add dedicated arguments struct for MAC-NR
as the PCAP object is now only visible inside MAC-NR we can't
share the PCAP file between EUTRA/NR (like we do in the UE).

This patch removes the hard-coded filename for the NR PCAP file.
3 years ago
Fabian Eckermann cb721aa292 fix calculation of ssb frequency. 3 years ago
Francisco Paisana 7aa701eb85 nr,config: fix default SSB periodicity configuration in rrc and scheduler 3 years ago
Andre Puschmann 8bb06ff2c0 Added SSB in gNb PHY 3 years ago
Andre Puschmann 3e5b40fd36 enb,rrc: fix compilation after freq point a has been removed from nr_carrier_t
since absolute freq point a members have been removed from the srslte_nr_carrier_t
struct (they are now actual frequencies) the abs_point_a values are now in
the RRC cell structs
3 years ago
Fabian Eckermann 95abfbfec8 Calculate ssb frequency from freqency point a. 3 years ago
Andre Puschmann 782aefa553 enb,rrc: derive ENDC configuration from cell config
* move ENDC config struct to main RRC config (same for all UEs)
* remove hard-coded measurement config for NR carrier
* now both TDD and FDD cells are correctly handled
3 years ago
Fabian Eckermann 992d1bb02a Configure PHY from RRC. 3 years ago
Fabian Eckermann 1018e7ae1c fix validation of ul_arfcn. 3 years ago
Fabian Eckermann 93eb6e93d9 Read band from rr config. 3 years ago
Ismael Gomez ada05ea0c8 Add A1, A2 and A4 measurement Reports event triggers 3 years ago
Fabian Eckermann 8830c2796f Add support for NSA FDD on band n3, n5 and n7. 3 years ago
Andre Puschmann 802b22ac91 enb,nsa: refactor NR RRC/cell config parsing
this allows to access all cell-related params from within RRC
3 years ago
Xavier Arteaga 25a4c7db92 SRSENB: make nr_cell_list optional 3 years ago
Andre Puschmann 39e00bdbe8 enb,nsa: fix deriviation of UL ARFCN from DL ARFCN for FDD bands 3 years ago
Andre Puschmann 93e1d7712d enb,phy: add checks for invalid EARFCN and exit eNB if config is wrong 3 years ago
Andre Puschmann b5dcf7804c enb,cfg: add new NR cell list to RR configuration parser 3 years ago
Ismael Gomez 00653bdd46 Fix PUCCH2 RRC scheduling 3 years ago