2270 Commits (9160c783c9abdc760069ba167e1c3aedc7fdbeea)

Author SHA1 Message Date
Francisco Paisana 9160c783c9 sched,nr: fix nr sched test 3 years ago
Francisco Paisana 7aa701eb85 nr,config: fix default SSB periodicity configuration in rrc and scheduler 3 years ago
Francisco Paisana 0cb76681a8 sched,nr: forbid concurrent SSB and PDSCH until it is supported 3 years ago
Andre Puschmann 8bb06ff2c0 Added SSB in gNb PHY 3 years ago
Francisco Paisana 952b958aff nr: signal RRC activity when an NR UL PDU is received 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
Xavier Arteaga ca19b466bb Fix paging float to int conversion 3 years ago
Francisco Paisana f97b92abd0 sched,nr: fix nzp csi rs allocation in NR scheduler 3 years ago
Francisco Paisana 55ea2cbcee sched,nr: fix harq delay derivation 3 years ago
Francisco Paisana 8ceb573ea7 mac,nr: avoid concurrency in update of pdsch/pusch slot 3 years ago
Carlo Galiotto f177a03605 sched,nr: add const to function input parameter
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto 9887c17c17 sched,nr: move ssb_sched test to different file...
and also:
- correct half-frame bit in MIB package
- rename slot_index variable in ssb_sched function

Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto d18af603aa sched,nr: address comments in PR (code formatting)
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto bc7c21b8c3 sched,nr: add test case for SSB scheduling
The SSB test checks whether, with the given periodicity, the
SSB grant is present within the dl_sched structure passed to the PHY.
It also checks that the SSB grant is not scheduled outside
the required time slots.

NOTE: The test is a modified version of an existing scheduler test.

Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto fd4b368f71 sched,nr: handle case of ssb_periodicity not given
If the parameter ssb_periodicity is not given by higher layers,
the function needs to handle this case. The parameters could be
passed with 0 value, which makes the function crash.

For the time being, if ssb_periodicity is not given, the std value
5 ms will be used.

Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto 9d864bbe55 sched,nr: add function that schedule SSB
Notes:
- NOT YET TESTED
- Requires rebase on commit with PHY changes to work

Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Ismael Gomez 6b506ec357
phy_common: clear tx_hold flag before releasing the semaphore (#3342) 3 years ago
Andre Puschmann f8d55a6fd3 Refactor rrc nr. 3 years ago
yagoda 82bda02b36 adding nr metrics 3 years ago
Andre Puschmann 86938e8474 sched_nr_cfg: bump fixed UL MCS to 28 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 eb294fd4e3 Add phy object to rrc_nr_test. 3 years ago
Fabian Eckermann 992d1bb02a Configure PHY from RRC. 3 years ago
Francisco Paisana 28e25b12b4 sched,nr: add error checking and logging for invalid PIDs 3 years ago
Francisco Paisana 14b3a65dfe sched,nr: fix assignment of PID for PUSCH grants that the scheduler outputs 3 years ago
Andre Puschmann 2b1be3dbce enb,rrc_nr: fix wrong fmt formater 3 years ago
Andre Puschmann a66994aa80 gnb,rrc: disable NZP and ZP CSI configs 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 a1294ed06a srsgnb: use lcg=3 for as a default for drb. Pass lcg to MAC config 3 years ago
Francisco Paisana 78dad52cc8 rrc,nr,gnb: disable CQI configuration in gNB until gNB PHY supports it 3 years ago
Francisco Paisana a64750e1be rrc,nr,gnb: fix number of PDCCH candidates in search space 3 years ago
Fabian Eckermann e02218e4ab configure phy to be tdd by default (currently static). 3 years ago
Ismael Gomez 91401ae3a4 Fix meascfg test 3 years ago
Ismael Gomez 7bc8bb8500 combine all report configuration with all measurement objects 3 years ago
Ismael Gomez ada05ea0c8 Add A1, A2 and A4 measurement Reports event triggers 3 years ago
Ismael Gomez 04db8c6bbf Log measurementReport before checking if it's valid 3 years ago
Fabian Eckermann 8830c2796f Add support for NSA FDD on band n3, n5 and n7. 3 years ago
Francisco Paisana c45c3ec95c sched,nr: ensure the SSB and NZP CSI RS allocations are cleared at the end of every slot 3 years ago
Francisco Paisana d927b779dc sched,nr: implement methods to fill nzp csi-rs in scheduler 3 years ago
faluco a8f58f503c - Fix arm compiler warning. GCC treats chars as unsigned in this arch.
- Fix race condition in json metrics.
3 years ago
Francisco Paisana 17e015df62 rrc,nr: fix PUCCH Resource CSI configuration to avoid collisions with SR 3 years ago
Andre Puschmann 315057d11c enb: signal user activity to EUTRA RRC when doing NR DL traffic
to avoid releasing the UE when only NR DL traffic is done.
similar to the EUTRA solution.
3 years ago
Xavier Arteaga 8b2514ded3 Added NZP-CSI-RS signals in gNb 3 years ago
Andre Puschmann 6054e1229b enb,rrc,rrc_nr: fix logging when removing user
each action should only be logged once
3 years ago
Andre Puschmann 9cefddd739 enb,mac_nr: remove user from scheduler when removed from MAC 3 years ago
Francisco Paisana 698eff29f4 sched,nr: avoid ul pending bytes of each UE becoming negative 3 years ago
Francisco Paisana 3119214124 nr,rrc: defer drb activation in NR to when the C-RNTI is received 3 years ago
Francisco Paisana cbb709d4e3 sched,nr: function to log UEs buffer status before scheduling decision, fix const_iterator of circular_map 3 years ago