Andre Puschmann
0967cda042
gnb,stack: move gNB components into own folder
...
* move RRC, MAC, NGAP, SDAP into gnb folder
* move testing code below respective layers
3 years ago
Francisco
2d6ce768c7
nr,gnb,rrc: generation of MIB/SIB1 inside rrc_nr class and test to verify the correct output
3 years ago
Francisco
5f3afffd05
nr,gnb: implementation of sib and mib asn1 generation functions
3 years ago
Francisco
96fd3aae3c
nr,gnb: small gnb interface refactors and fix of byte buffer operator=
3 years ago
Andre Puschmann
79c443fd60
rrc_nr: add log_rrc_message helper to UE object to print RNTI
3 years ago
Andre Puschmann
c913db5ade
enb,rrc_nr: log RRC messages as Json
...
* add log messages for RRC NR message containers sent to EUTRA RRC
* add helper function to pack RRC message into byte_buffer
3 years ago
Francisco
0dc9cf142a
lte,enb,rrc: verify the drbtoaddmodlist is correctly updated in the add_erab case, and change the function add_erab to addmod_erab
3 years ago
Alejandro Leal Conejos
0fdbfcffd0
Removes unnecesary cast
3 years ago
Carlo Galiotto
9c74dda039
rrc,nr: add msg5 and inactivity timers to RRC-NR
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Ismael Gomez
d972fb368c
Some LGTM fixes ( #3564 )
...
* Fix LGTM issues
* ue: add logging to switch on function
* Fix new LGTM issues
3 years ago
Fabian Eckermann
32a1646536
nr,gnb,rrc: Derive RRC parameters from config.
...
* Derive RRC parameters from config.
* nr,gnb,rrc: hard code prach config index to 8 to avoid expiring RA proc window.
3 years ago
Xavier Arteaga
2f5a1ad2e3
SRSENB: MAC controller recover MAC bearer state after PDSCH KO burst ( #3225 )
...
* SRSENB: MAC controller recover MAC bearer state after PDSCH KO burst
* mac,lte: simplify scheduler phy config enable configuration
Co-authored-by: Francisco Paisana <francisco.paisana@softwareradiosystems.com>
3 years ago
Carlo Galiotto
0c35045543
rrc,nr: remove default value from input arg + ...
...
change input arg name
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
ebaab9b1d0
rrc,nr: add private fnc to overload public method...
...
... and propagate input to calling function
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
4f6905363f
rrc,nr: add MSG3 activity timer to rrc_nr
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Francisco
b3e974db9b
nr,gnb,rrc: avoid warning when eutra requests sgnb release and destroys the UE before acknowledgement
3 years ago
Francisco
0b51848dda
nr,gnb,rrc: use multiqueue to forward x2 tasks to NR stack
3 years ago
Francisco
51806982f7
nr,gnb,rrc: correctly release NR RNTI user after Reestablishment
3 years ago
Francisco
abe2c8cba4
nr,gnb,rrc: Allow NR EN-DC to be re-activated in case of Reestablishment with cause other than ReconfFailure
3 years ago
Francisco
5b2afb1739
rrc,nr,gnb: ensure same PDCCH config is sent to PHY, scheduler cell config, and sched ue cfg
3 years ago
Francisco
7a16be9692
rrc,nr: ensure coresets and search spaces are passed to scheduler cell_cfg and ue_cfg
3 years ago
Fabian Eckermann
9cbd2727f5
Disable measGapConfig in first reconfig. Remove all measurement reports for nr in the 2nd reconfig.
3 years ago
Carlo Galiotto
dc3dad6e20
rrc,nr: implements PR review comments
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
fb75cbaadc
rrc: disable MAC bearers when RNTI gets updated
...
When the RRC handles the C-RNTI CE to update the RNTI, all the bearers
associated with the new RNTI (that will no longer be used) need to be disabled.
This commit implements this.
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Francisco
9df6c6b936
sched,nr: ensure the ue_cfg_t passed to the scheduler in NR FDD mode has the correct harq delay
3 years ago
Andre Puschmann
255ddb1329
enb,gnb: add basic support for sgnb release procedure
...
the procedure is currently started when the EUTRA UE object
is deleted (after RRC release) in order to clean-up the
ENDC resources on the gNB.
3 years ago
Francisco
acd5b8c46a
nr,gnb,rrc: correctly configure TDD for UE and scheduler
3 years ago
Francisco
25f34502a7
nr,gnb,rrc: restore the GTPU TEIDs back from NR RNTI to LTE RNTI when RRC reconfiguration fails
3 years ago
Francisco
43b12b9ffb
rrc,nr: transfer SSB config to both UE and NR scheduler
3 years ago
Andre Puschmann
c8d6f54dab
enb,rrc: add radio link monitoring config
3 years ago
Bedran Karakoc
850606f20b
Added deregistration (UE terminating)
3 years ago
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
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
Francisco Paisana
b58915d7ed
rrc,nr: make gnb cell CSI NZP configuration consistent with UE NSA configuration.
3 years ago
Xavier Arteaga
ca19b466bb
Fix paging float to int conversion
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
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
a952f0f62d
sched,nr: expose sched nr UE bearer configuration in sched interface
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
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
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
Bedran Karakoc
43915550cc
NGAP GTP Bearer Establishment
3 years ago
Fabian Eckermann
651a76000e
Add function to pack secondary cell group config for FDD.
3 years ago