Francisco Paisana
f4df55c245
stack lte: separate bearer manager into two classes, one for the ue and one for the enb
3 years ago
Francisco Paisana
cb2c339456
sched,nr: fix max number of UEs in NR scheduler
3 years ago
Andre Puschmann
201f29b4e5
enb,rrc_nr: register DRB1 at RLC/PDCP when enabling NSA mode
3 years ago
Francisco Paisana
296949b5f9
stack lte: use adapter for pdcp->gtpu write_pdu interface that converts lcid to eps bearer id
3 years ago
Francisco Paisana
2ade4628ca
stack lte: create an gtpu-pdcp adapter class that correctly converts lcids to eps bearers and vice-versa
3 years ago
Francisco Paisana
4b2f079581
gtpu: renamed lcid to eps_bearer_id as parte of the refactor of gtpu to use eps_bearer_ids
3 years ago
Andre Puschmann
b27d1d913e
enb_stack_lte: use bearer manager class
...
* user common bearer manager in eNB
* register/deregister bearers (LTE only so far
* provide dummy stack class for RRC tests
3 years ago
Andre Puschmann
3949a727a7
enb_interface: add stack interface for RRC
...
RRC uses the interface to register/deregister EPS bearer
3 years ago
Andre Puschmann
db8b710442
bearer_manager: move to lib folder and extend for multiple users
...
prepare bearer manager to be used by eNB which requires
to support multiple RNTIs
3 years ago
Andre Puschmann
ebef8a4cc4
enb_stack_lte: implement the PDCP interface for GTPU on the stack
...
this prepares for a change in which GTPU no longer writes into PDCP
directly but instead uses the stack as a wrapper.
For this the interface will be changed to use the EPS bearer ID instead
of the LCID
The stack will know which PDCP entity (EUTRA or NR) is currently associated
with the EPS bearer ID and will forward the PDU accordingly.
3 years ago
faluco
5f9aceb8b6
Fix alignment issue with the stdout metrics in srsue.
3 years ago
Francisco Paisana
75cd71b794
sched,nr: fix older gcc compilation array initialization
3 years ago
Francisco Paisana
510a87e4b2
sched,nr: added logic to update UE DL and UL buffer status
3 years ago
Francisco Paisana
020bec025e
sched: created class common to LTE and NR for ue buffer status management
3 years ago
Francisco Paisana
de06dbc684
sched,nr: implemented basic UE buffer status manager
3 years ago
Francisco Paisana
2fb2598f8c
sched,nr: avoid extra copy of DL result and other small fixes
3 years ago
Xavier Arteaga
9e1669c403
Better comments in minimum size symbol selection
3 years ago
Xavier Arteaga
4858202bf6
Fix NR symbol size for 270RB
3 years ago
Xavier Arteaga
54c39d8447
Set nr_phy_test scheduler logger to the level defined in the arguments
3 years ago
Xavier Arteaga
14a85d31ec
Fix symbol size simensioning for LTE standard rate
3 years ago
Xavier Arteaga
01390a7340
Better NR softbuffer size adjustment
3 years ago
Andre Puschmann
a80fdc0703
mac_nr: set logger slot context in get_dl_sched()
3 years ago
Andre Puschmann
f20e131083
mac_nr: when reserving RNTI in MAC, don't automatically reserve it in RRC
...
we assume that RRC itself will reserve the RNTI if it needs to
3 years ago
Andre Puschmann
9bf74843f6
mac_pdu_nr: add error handling to init_tx() method
...
check provided byte_buffer and return error if it's not valid
3 years ago
Andre Puschmann
4ef1ac2649
gw: (re-)use class mutex when updating the DL/UL metrics
3 years ago
Andre Puschmann
aa43e3c8d6
ue,mac: adding missing mutex when updating metrics
3 years ago
Andre Puschmann
e1776f8d28
ue,phy: update the PRACH params inside the lambda that also executes the reconfig
...
setting the new PRACH params (writing the the local var) needs to protected as well
because it is called from the RRC context and the PHY worker will call configure_prach_params()
if it sees changes to it.
3 years ago
Andre Puschmann
40499e6b6d
ue_stack_lte: use std::atomic for running var
3 years ago
Andre Puschmann
79cdc28015
nas_test_common: call NAS layer from stack thread context
...
since NAS layers insn't thread safe, all calls must come from
the same thread
3 years ago
Andre Puschmann
78d60bc138
nas: remove all uses of atomic from 4G and 5G classes
...
the NAS classes aren't thread safe and thread-safety shouldn't be
pretended by using atomics. Remove them and add explicit notice.
3 years ago
Fabian Eckermann
c63932f514
Added RACH, PDSCH, PUCCH, Sounding Reference Signal and UL Power Control configurations from target cell to RRCConnectionReconfigurationMessage
3 years ago
Francisco Paisana
5f9cfb56f6
lte,gtpu: fix and refactor gtpu tunnel management during handover
3 years ago
Francisco Paisana
b311806179
mac,nr: avoid repacking NR DL retxs
3 years ago
Francisco Paisana
01441d143d
mac,nr: avoid use of uninitialized rnti value
3 years ago
Francisco Paisana
fec60344dd
sched,nr: fix rar softbuffer allocation
3 years ago
Francisco Paisana
04e5c81edf
sched,nr: nr_phy_test now uses the whole mac class rather than just the scheduler
3 years ago
Francisco Paisana
05a5f4115f
sched,nr: extended sched nr DL output to account for RAR content and assist with RAR encoding in the mac_nr class
3 years ago
Francisco Paisana
b486d2a1b5
sched,nr: implement prb grant fmt formatting
3 years ago
Francisco Paisana
8686a17f69
sched,nr: fill remaining DCI fields of RAR in NR scheduler
3 years ago
Francisco Paisana
da4b7e4f80
sched,nr: fix sched RAR NR test; update test assert macros
3 years ago
Francisco Paisana
8f00c9363c
sched,nr: change ra nr sched and bwp allocator interfaces
3 years ago
Francisco Paisana
3d810bc88a
sched,nr: fix RAR DCI values and extended RAR test
3 years ago
Francisco Paisana
2b114cb7b9
sched,nr: create simple NR scheduler RAR test
3 years ago
Xavier Arteaga
8aa7ae7d95
Remove unused attribute
3 years ago
Xavier Arteaga
4cb633e6e6
UE dicards NR CFO measurement if SNR is negative
3 years ago
Xavier Arteaga
83b9b2d1ff
Implemented UE open loop CFO compensation for NR
3 years ago
Xavier Arteaga
5aa2279990
Fix NZP-CSI-RS CFO sign
3 years ago
Xavier Arteaga
7da2d20447
Added UE UL NR frequency offset option
3 years ago
Xavier Arteaga
cfe2b305a1
Fix CORESET0 related PDSCH resource allocation procedure
3 years ago
Xavier Arteaga
36207db615
Added CORESET start_rb helper function
3 years ago