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
Fabian Eckermann
f44eb0534f
Add RRC NR test for FDD
2021-09-21 18:12:34 +02:00
Xavier Arteaga
0324806d6c
Packed NR TDD config in duplex configuration and created test case for FDD
2021-09-21 18:11:16 +02:00
Xavier Arteaga
53bf29a540
Add nr label to MAC NR tests
2021-09-21 18:11:16 +02:00
Fabian Eckermann
dd8db1a929
Replaced inet_addr() with inet_pton.
2021-09-21 11:59:40 +02:00
Ismael Gomez
5d051d8832
Set default pucch_harq_max_rb to 0
2021-09-21 11:49:04 +02:00
Ismael Gomez
3eaf5c50cb
Make PUCCH HARQ region a configurable parameter. Skip grants when ACK falls outside region
2021-09-21 11:49:04 +02:00
Ismael Gomez
28b956d128
Limit PUCCH ACK resources to the max CCE from the configured max_ctrl_symbols instead of from MAX_CFI
2021-09-21 11:49:04 +02:00
Xavier Arteaga
1f6c950dae
SRSUE: Fix speed and distance from TA metrics
2021-09-21 11:30:56 +02:00
Xavier Arteaga
25a4c7db92
SRSENB: make nr_cell_list optional
2021-09-21 11:30:56 +02:00
Xavier Arteaga
574683e3ef
Fix error message
2021-09-21 11:30:56 +02:00
Xavier Arteaga
e0be361fde
Corrected default rb.conf
2021-09-21 11:30:56 +02:00
Andre Puschmann
fbfca42ef3
ue,mux_nr: add missing break
2021-09-21 11:18:04 +02:00
Ismael Gomez
ad646f436c
Ignore PDSCH during cell selection
2021-09-21 11:09:34 +02:00
Fabian Eckermann
d59ebfce9d
add lock for fftw wisdom
2021-09-20 20:48:55 +02:00
Xavier Arteaga
ffba972fb7
Fix gnb amplitude
2021-09-20 20:48:08 +02:00
Xavier Arteaga
51d6ab3b3f
Disable CSI-RS resource mapping number of port check
2021-09-20 20:48:08 +02:00
Xavier Arteaga
de00b80228
Review NR NSA CFO estimation and compensation
2021-09-20 20:48:08 +02:00
Xavier Arteaga
63bb86bce1
Added SS type conversion to string
2021-09-20 20:48:08 +02:00
Xavier Arteaga
7ba5099bee
Implement CSI-RS resource mapping validation
2021-09-20 20:48:08 +02:00
Ismael Gomez
fb294c8b34
Set default UE inactivity timeout after RRC Reestablishment complete
2021-09-20 20:16:13 +02:00
Fabian Eckermann
e57ffca722
gnss_sync: fix timestamp to TTI conversion
...
* Improve reliability of timestamp to tti conversion
Difftime is not reliable as it might use 32 bit calculation, depending on the system. This leads to wrong frame numbers and subframe indices.
I encountered this Issue when testing the pssch_ue exampel on my system and the conversion from timestamp to frame number and sf idx was wrong.
* Improve GNSS Sync
Added loop to check for GNSS alignment while syncing.
If the received GNSS signal is weak, synchronization errors might occur while syncing.
2021-09-20 14:29:25 +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
3fd47d2af4
enb: refactor L2/L3 and (re)move all NR components to gNB stack
...
* decouple EUTRA and NR stack classes
* implement dummy X2 interface with control and data plane methods
* implement eNB time source interface that PHY calls
2021-09-17 14:57:33 +02:00
Andre Puschmann
1e9a4e3fba
enb: remove stack type variable
2021-09-17 14:57:33 +02:00