Commit Graph

155 Commits

Author SHA1 Message Date
Francisco 2d6ce768c7 nr,gnb,rrc: generation of MIB/SIB1 inside rrc_nr class and test to verify the correct output 2021-11-04 18:05:14 +00:00
Francisco 7e7f7b4c01 nr: fix failing unit tests 2021-11-04 15:24:57 +00:00
Francisco dab6e8bdcd nr,gnb: updates in parsing and phy files to allow the splitting of NR and LTE stacks 2021-11-04 15:24:57 +00:00
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.
2021-10-25 20:54:32 +02:00
Francisco c6226b0d94 lte,enb,rrc: parse cellIndividualOffset in rr.conf and propagate it to measConfig sent to UE 2021-10-21 16:16:01 +01:00
Fabian Eckermann 33df51a1f5 Remove error message if dl_freq and ul_freq are not specified. 2021-10-15 11:49:27 +02:00
Xavier Arteaga f250c83a66 Minor NR configuration fixes 2021-10-13 11:00:03 +02:00
Xavier Arteaga b060c3deca Add possible band when invalid band is given 2021-10-06 18:02:55 +02:00
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.
2021-10-06 18:02:15 +02:00
Andre Puschmann bdc84f24f3 gnb,cfg: fix SSB config deriviation
* this fixes the SSB config for TDD
* UE decodes the SSB correctly
2021-10-06 14:30:29 +02:00
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.
2021-10-06 10:44:56 +02:00
Fabian Eckermann cb721aa292 fix calculation of ssb frequency. 2021-10-05 18:21:58 +02:00
Francisco Paisana 7aa701eb85 nr,config: fix default SSB periodicity configuration in rrc and scheduler 2021-10-04 19:26:07 +02:00
Andre Puschmann 8bb06ff2c0 Added SSB in gNb PHY 2021-10-04 19:26:07 +02:00
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
2021-10-04 17:52:14 +02:00
Fabian Eckermann 95abfbfec8 Calculate ssb frequency from freqency point a. 2021-10-04 15:59:05 +02:00
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
2021-10-02 17:39:19 +02:00
Fabian Eckermann 992d1bb02a Configure PHY from RRC. 2021-10-01 19:21:08 +02:00
Fabian Eckermann 1018e7ae1c fix validation of ul_arfcn. 2021-10-01 10:56:57 +02:00
Fabian Eckermann 93eb6e93d9 Read band from rr config. 2021-10-01 10:56:57 +02:00
Ismael Gomez ada05ea0c8 Add A1, A2 and A4 measurement Reports event triggers 2021-09-29 21:39:56 +02:00
Fabian Eckermann 8830c2796f Add support for NSA FDD on band n3, n5 and n7. 2021-09-29 16:03:44 +02:00
Andre Puschmann 802b22ac91 enb,nsa: refactor NR RRC/cell config parsing
this allows to access all cell-related params from within RRC
2021-09-22 16:41:18 +02:00
Xavier Arteaga 25a4c7db92 SRSENB: make nr_cell_list optional 2021-09-21 11:30:56 +02:00
Andre Puschmann 39e00bdbe8 enb,nsa: fix deriviation of UL ARFCN from DL ARFCN for FDD bands 2021-09-17 17:32:50 +02:00
Andre Puschmann 93e1d7712d enb,phy: add checks for invalid EARFCN and exit eNB if config is wrong 2021-09-10 22:08:26 +02:00
Andre Puschmann b5dcf7804c enb,cfg: add new NR cell list to RR configuration parser 2021-09-10 22:08:26 +02:00
Ismael Gomez 00653bdd46 Fix PUCCH2 RRC scheduling 2021-09-07 12:14:36 +02:00
Xavier Arteaga 0ca70e6ad7 Implement enb to gnb number of PRB conversion 2021-08-03 10:47:40 +02:00
Andre Puschmann ffc63ea270 enb: use band_helper to derive freqencies for NR carrier 2021-08-02 15:18:47 +02:00
Xavier Arteaga 97db7f2d34 Added custom frequency in cell parser 2021-07-23 14:31:32 +02:00
Ismael Gomez 5d034b067e
Add option to rr.conf to select sub-band CQI K value (#3071) 2021-07-15 21:23:35 +02:00
Francisco 2a31daca4a enb,configuration: allow to specify enb specific max nof RLC retxs 2021-07-15 15:59:33 +02:00
Pedro Alvarez e946cbd5de Tweaked SRB parsing to remove unecessary parenthisis 2021-07-14 20:21:07 +02:00
Pedro Alvarez 8d41c0d476 Maded SRB configuration optional in rb.conf 2021-07-14 20:21:07 +02:00
Pedro Alvarez f0a28ebc88 Rename drb.conf to rb.conf to reflect the now configurable SRBs. 2021-07-14 20:21:07 +02:00
Pedro Alvarez 17c09dfd75 Changed enb_cfg_parcer.cc to use SRSRAN_ERROR instead of -1 for error returning. 2021-07-14 20:21:07 +02:00
Pedro Alvarez e19df2aedb Make sure that SRB configuration goes in RR config dedicated message. 2021-07-14 20:21:07 +02:00
Pedro Alvarez 72cf3a1cec Added RLC SRB1 and SRB2 configuration ability.
The configuration was added to drb.conf
2021-07-14 20:21:07 +02:00
Francisco 6ababf401b feature,sched: allow setting initial DL CQI in enb.conf 2021-06-14 15:55:23 +01:00
Francisco ceaef3523f sched,feature: Enable setting the target PHR below which the maximum UL grant size starts decreasing 2021-06-03 15:33:38 +01:00
Francisco a587d20252 allow specification of subset of valid measurement gap offsets in rr.conf 2021-05-28 17:19:30 +02:00
yagoda 9501283c1c fixing support for extended Cyclic Prefix
small cosmetic fixes of CP code
2021-05-20 18:16:15 +02:00
Francisco 9464f36714 make eNB UE release timer after RLF detection configurable 2021-05-07 09:51:59 +01:00
Francisco 15484e9472 rrc - make t304 configurable via rr.conf 2021-05-06 18:07:20 +01:00
Francisco 5818488b27 change enb max_nof_ues config parameter to nof_prealloc_ues 2021-05-04 17:52:47 +01:00
Francisco Paisana d39183419c
Separate TPC PUSCH and PUCCH target SINR (#2740)
* separate target pusch and pucch sinr configurations in tpc class and rr.conf
2021-04-27 10:12:40 +01:00
David Rupprecht f42d4dbc28 Refactored carrier config 2021-04-19 12:13:37 +02:00
Ismael Gomez 77b11b82ac
Release UE if no activity in DRB (#2658)
* Count user activity with DRB only and SRBs for initial procedures. Add counter to release user after max KO in UL.
2021-04-15 19:13:01 +02:00
Francisco 4838cd2f5e implement cell measurement bandwidth feature 2021-04-15 17:48:18 +01:00