Andre Puschmann
ca6ea55cb6
mac_nr_test: fix test vector after making padding BSR work
3 years ago
Andre Puschmann
bed4cfb5e5
ue,mac_nr: fix generation of padding BSRs
...
* in Msg3 don't add explicit SBSR (rely on padding BSR to add)
* fix padding BSR generation to always use padding bytes to add it
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
faluco
1eaca0d343
Escape asn1 message strings that get printed in the enb event json report.
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
c7e2038904
lte: stop radio before stopping stack
3 years ago
Andre Puschmann
593d28fa4d
enb,stack_lte: protect access to sync queue
...
the sync queue is only created during init so access needs to be protected
3 years ago
Andre Puschmann
59e1bca3f5
rlc_am_lte: fix potential crash when attempting to resize tx queue
...
under some circumstances it could happen that the RLC is configured
when SDUs are already being written to the queue. The resize
operation of the underlying container would fail in this case.
Make sure to empty the queue before doing the resize.
3 years ago
Pedro Alvarez
9230bc3b23
Demoted GTP-C logging of recieving downlink notification ack/failure when paging is not peding from warning to info
3 years ago
Francisco Paisana
8ba623f954
sched,nr: remove unecessary setup of lcid=0 in scheduler
3 years ago
Andre Puschmann
88212ed3e0
fix NR sched configuration of UE generated in RRC
3 years ago
Francisco Paisana
a952f0f62d
sched,nr: expose sched nr UE bearer configuration in sched interface
3 years ago
Francisco Paisana
d1b1ef181a
fix conflicts in rebasing
3 years ago
Francisco Paisana
bdf18856d1
sched,nr: fix handling of DL BSR in NR scheduler and computation of UCI
3 years ago
faluco
7b079fe289
Fix a data race in rlc TM metrics.
3 years ago
faluco
edb7342aef
Fix data race in rlc UM metrics.
3 years ago
faluco
6c91a824e2
Whitelist the TSAN lock order inversion issue in srsenb::mac::rlc_buffer_state.
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
faluco
8a38a89652
Fix compiler warning: control reaches end of non-void function
3 years ago
Andre Puschmann
7cdb9c00c0
enb,rrc: disable log error when non-EUTRA reports arrive
...
since this will be cause an Error log for NR events
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
1c44546c0b
srsenb: allocate pucch for new UE on reestablishment request
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
aabec3d7af
sched,nr: forward SRs present in PUCCH from MAC to scheduler
3 years ago
Francisco Paisana
5a45767c73
sched,nr: fix SR PUCCH resource configuration
3 years ago
Francisco Paisana
37bdf53f42
sched,nr: fix SR slot derivation in scheduler
3 years ago
Francisco Paisana
8d30ed0721
sched,nr: ensure PUCCHs are cleared at the end of a slot
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
Ismael Gomez
6e18bd1c71
Do not accept a UE if SR resources are defined
3 years ago
Ismael Gomez
2b16c1b8f5
Do not accept a UE if n_rb_cqi=0
3 years ago
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.
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
David Rupprecht
bd0e641633
Added GTPU PDU Session header parsing
3 years ago