Commit Graph

8984 Commits

Author SHA1 Message Date
Francisco Paisana 8ba623f954 sched,nr: remove unecessary setup of lcid=0 in scheduler 2021-09-24 17:35:15 +02:00
Andre Puschmann 88212ed3e0 fix NR sched configuration of UE generated in RRC 2021-09-24 17:35:15 +02:00
Francisco Paisana a952f0f62d sched,nr: expose sched nr UE bearer configuration in sched interface 2021-09-24 17:35:15 +02:00
Francisco Paisana d1b1ef181a fix conflicts in rebasing 2021-09-24 17:35:15 +02:00
Francisco Paisana bdf18856d1 sched,nr: fix handling of DL BSR in NR scheduler and computation of UCI 2021-09-24 17:35:15 +02:00
faluco 7b079fe289 Fix a data race in rlc TM metrics. 2021-09-24 14:27:37 +02:00
faluco edb7342aef Fix data race in rlc UM metrics. 2021-09-24 14:27:37 +02:00
faluco 6c91a824e2 Whitelist the TSAN lock order inversion issue in srsenb::mac::rlc_buffer_state. 2021-09-24 14:27:37 +02:00
Francisco Paisana 70fe48a5ab sched,nr: change NR sched configuration api 2021-09-24 13:27:45 +02:00
Francisco Paisana a035ad144b mac,nr: create sched_nr object only at mac::init() 2021-09-24 13:27:45 +02:00
faluco 8a38a89652 Fix compiler warning: control reaches end of non-void function 2021-09-24 13:15:05 +02:00
Andre Puschmann 7cdb9c00c0 enb,rrc: disable log error when non-EUTRA reports arrive
since this will be cause an Error log for NR events
2021-09-24 11:43:53 +02:00
Andre Puschmann 5966760458 rrc_endc: start SgNB addition from start if B1 events are disabled 2021-09-24 11:43:53 +02:00
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.
2021-09-24 11:43:53 +02:00
Francisco Paisana 12d63468e3 sched,lte: separated adaptive mcs learning rate argument into two arguments, one for DL and the other for UL 2021-09-23 19:12:46 +02:00
Andre Puschmann 7f897d83e2 gnb,mac_nr: push DL buffer state to scheduler 2021-09-23 19:07:31 +02:00
Andre Puschmann 426e876047 enb,nr: fix GTPU handler to forward UL PDUs 2021-09-23 19:07:31 +02:00
yagoda bc4388a78c -adding temp crnti removal for NR carrier attach 2021-09-23 18:27:13 +02:00
Ismael Gomez 1c44546c0b srsenb: allocate pucch for new UE on reestablishment request 2021-09-23 18:26:24 +02:00
Ismael Gomez af9822bede srsenb: add error handling on RRC message generation 2021-09-23 18:26:24 +02:00
Francisco Paisana 3351e97aa2 nr,mac: use SR to send an UL grant after Msg3 and complete ContextResolution of UE NSA NR 2021-09-23 16:08:48 +02:00
Francisco Paisana e1a4e63ec8 sched,nr: use MAC-NR as prefix for NR scheduler 2021-09-23 09:46:56 +02:00
Francisco Paisana aabec3d7af sched,nr: forward SRs present in PUCCH from MAC to scheduler 2021-09-23 09:46:56 +02:00
Francisco Paisana 5a45767c73 sched,nr: fix SR PUCCH resource configuration 2021-09-23 09:46:56 +02:00
Francisco Paisana 37bdf53f42 sched,nr: fix SR slot derivation in scheduler 2021-09-23 09:46:56 +02:00
Francisco Paisana 8d30ed0721 sched,nr: ensure PUCCHs are cleared at the end of a slot 2021-09-23 09:46:56 +02:00
Francisco Paisana 00cc8fb8d8 sched,nr: ensure PUCCH is generated for SR even if the UE doesn't have any pending ACK 2021-09-23 09:46:56 +02:00
Ismael Gomez 3bbf173149 Allocate PUCCH resources on ConnectionRequest and send ConnectionReject if not available 2021-09-22 17:48:20 +02:00
Ismael Gomez 6e18bd1c71 Do not accept a UE if SR resources are defined 2021-09-22 17:48:20 +02:00
Ismael Gomez 2b16c1b8f5 Do not accept a UE if n_rb_cqi=0 2021-09-22 17:48:20 +02:00
Andre Puschmann 430694c72f gnb,dl: fix amplitude scaling
use PDSCH struct to get number of PRBs to compute scaling factor.
then PDCCH struct is only filled if it's encoded.
2021-09-22 16:41:18 +02:00
Andre Puschmann faf9d2dbd8 gnb,rrc: replace hard-coded PCI with actual value in rrc_cfg 2021-09-22 16:41:18 +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
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.
2021-09-22 16:07:51 +02:00
David Rupprecht 611255aa5f Added GTPU bind address as output parameter 2021-09-22 15:15:47 +02:00
David Rupprecht bd0e641633 Added GTPU PDU Session header parsing 2021-09-22 15:15:47 +02:00
Bedran Karakoc 43915550cc NGAP GTP Bearer Establishment 2021-09-22 15:15:47 +02:00
David Rupprecht 3712983308 Added PDU Session est request 2021-09-22 15:15:47 +02:00
David Rupprecht 0385980347 Fixed minor NGAP issues 2021-09-22 15:15:47 +02:00
David Rupprecht c670383ae9 Added NAS 5G functions incoming msg and reg proc 2021-09-22 15:15:47 +02:00
David Rupprecht bbe54fb248 Fix uninitialized issue in NAS 5G pack/unpacking 2021-09-22 15:15:47 +02:00
David Rupprecht 107eba9d66 Fixed srsue namespace 2021-09-22 15:15:47 +02:00
Xavier Arteaga d0ce17f736 Added SSB different SCS combination unit test 2021-09-22 14:15:41 +02:00
faluco 55f5f74ff3 Fixed case where calling gw::setup_if_addr after ue attachment would spawn a new thread without closing the current one.
This would end up being a resource leak as the number of threads grow forever until the application crashes.
2021-09-22 13:26:59 +02:00
Xavier Arteaga e2facef540 Abort radio application if decimation/interpolation ratios are not integer 2021-09-22 13:19:51 +02:00
Xavier Arteaga 182202bdb0 Added NR PHY SR test cases 2021-09-22 13:18:28 +02:00
Xavier Arteaga cdfbe28b69 Initial NR-MIB packing/unpacking 2021-09-22 11:17:27 +02:00
Andre Puschmann 26cc6d7886 ue: remove stack type parameter
for the moment we always use the LTE stack (also for NSA mode).
For SA we likely pick a smarter approach to pick the stack type, i.e.
using the ARFCN specified in the config.
2021-09-22 10:56:56 +02:00
Andre Puschmann b134781d36 enb: remove redundant RLC/PDPC classes for NR
the RLC/PDCP entities for NR are included in the RLC/PDCP wrapper classes
and don't require their own
2021-09-22 10:56:56 +02:00
Fabian Eckermann 651a76000e Add function to pack secondary cell group config for FDD. 2021-09-21 18:12:34 +02:00