1099 Commits (546f637f917af8c7f355a3258fced70db4f6bdae)

Author SHA1 Message Date
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
faluco 83b9777220 Fix data races in cell_list array members inside enb::phy_common. 3 years ago
Francisco Paisana efa2026a70 sched,nr: erase uneeded parameters from sched_nr_interface bwp_cft_t 3 years ago
Francisco Paisana 51f1c0d6ef rrc,nr: refactor csi report asn1 configuration 3 years ago
Francisco Paisana b7f40b2baf rrc,nr: reenable CSI reporting in gNB 3 years ago
faluco 9058ee9a5b Move gNB metrics processing to the stack thread avoiding concurrency issues in MAC and RRC. 3 years ago
faluco a703279975 Fix a data race when passing the nr_workers to the txrx worker.
There was an unprotected access of the txrx reading this variable while being set from a different thread.
Fix it by starting the txrx thread after all variables are ready.
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
Xavier Arteaga b6ea78dfd3
Fix gNb PHY-Stack UL-DL time paradox (#3365)
* Fix gNb PHY-Stack UL-DL time paradox

* Fix clang compilation
3 years ago
Francisco Paisana b58915d7ed rrc,nr: make gnb cell CSI NZP configuration consistent with UE NSA configuration. 3 years ago
Ismael Gomez 410cec7557 NR: assume all zero LCG is SBSR with 0 is received 3 years ago
Francisco Paisana 23bf542ae7 stack,nr: isolate calls between LTE and NR stacks via the task multiqueue 3 years ago
Andre Puschmann 8bb06ff2c0 Added SSB in gNb PHY 3 years ago
Xavier Arteaga ca19b466bb Fix paging float to int conversion 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 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
Andre Puschmann f8d55a6fd3 Refactor rrc nr. 3 years ago
yagoda 82bda02b36 adding nr metrics 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
Francisco Paisana 28e25b12b4 sched,nr: add error checking and logging for invalid PIDs 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
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
Francisco Paisana cbb709d4e3 sched,nr: function to log UEs buffer status before scheduling decision, fix const_iterator of circular_map 3 years ago
Ismael Gomez 1c77998df5 Stop PDCP for data bearers before initiating HO 3 years ago
faluco fa351cd285 Rename functions that contain the unsafe word to nolock.
The term "unsafe" does not clearly state that the function is not locking the shared date and it sounds "dangerous", so use a more explicit term.
3 years ago
Francisco Paisana a952f0f62d sched,nr: expose sched nr UE bearer configuration in sched interface 3 years ago
Francisco Paisana bdf18856d1 sched,nr: fix handling of DL BSR in NR scheduler and computation of UCI 3 years ago
Francisco Paisana 70fe48a5ab sched,nr: change NR sched configuration api 3 years ago
Francisco Paisana a035ad144b mac,nr: create sched_nr object only at mac::init() 3 years ago
Andre Puschmann 5966760458 rrc_endc: start SgNB addition from start if B1 events are disabled 3 years ago
Andre Puschmann af73c57780 rrc_endc: prepare ENDC paramter
exposes some of the hard-coded params as struct.
filling/parsing from file still needs to be added.
3 years ago
Francisco Paisana 12d63468e3 sched,lte: separated adaptive mcs learning rate argument into two arguments, one for DL and the other for UL 3 years ago
Andre Puschmann 7f897d83e2 gnb,mac_nr: push DL buffer state to scheduler 3 years ago
Andre Puschmann 426e876047 enb,nr: fix GTPU handler to forward UL PDUs 3 years ago
yagoda bc4388a78c -adding temp crnti removal for NR carrier attach 3 years ago
Ismael Gomez af9822bede srsenb: add error handling on RRC message generation 3 years ago
Francisco Paisana 3351e97aa2 nr,mac: use SR to send an UL grant after Msg3 and complete ContextResolution of UE NSA NR 3 years ago
Francisco Paisana e1a4e63ec8 sched,nr: use MAC-NR as prefix for NR scheduler 3 years ago
Francisco Paisana 00cc8fb8d8 sched,nr: ensure PUCCH is generated for SR even if the UE doesn't have any pending ACK 3 years ago
Ismael Gomez 3bbf173149 Allocate PUCCH resources on ConnectionRequest and send ConnectionReject if not available 3 years ago
Andre Puschmann faf9d2dbd8 gnb,rrc: replace hard-coded PCI with actual value in rrc_cfg 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
faluco feec3c5905 Fix a data race during enb initialization.
The stack unique pointer in the enb class is written while the phy workers are calling enb::tti_clock() where it is read.
Avoid the read access until the whole class has been properly initialized.
3 years ago
David Rupprecht 611255aa5f Added GTPU bind address as output parameter 3 years ago