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
64ffd81cf9
nr,sched: fix recomputation of ue_bwp_cfg when sched receives new ue_cfg objects
3 years ago
faluco
aa0c936f50
Fix race condition when destroying the gnb stack class.
...
The gnb stack class could be destroyed concurrently while still running its task scheduler thread.
3 years ago
Alejandro Leal Conejos
1a64c6adad
Enum fixes so clang 12 can build the repo
3 years ago
Francisco
964dce575b
nr,sched: fix nof_harqs in NR scheduler to 8
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
25eb44914e
nr,sched: fix sched_args_t default values
3 years ago
Francisco
04d48127bb
nr,sched: enable NR fixed mcs configuration via enb.conf
3 years ago
Carlo Galiotto
a57ccdabf5
mac: move and check boolean from funcion to caller
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
1a52cdcdaa
mac: remove unused rwlock and unused cqi counter
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
f53e01cfa3
mac: apply changes by PR reviewers
...
- reinstate write_lock on ue metrics
- change "rwlock" variable name in mac_nr.h
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
dc3e3a89f8
mac: update CQI in MAC with CSI reports from PHY
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Francisco
c08bb6023c
nr,sched,refactor: clear of unused typedefs and renaming of some types
3 years ago
Francisco
510e9f47a7
sched,nr: simplify metrics extraction from MAC
...
Allow some level of mutex contention between metrics and worker threads in accessing
internal scheduler variables.
3 years ago
Francisco
877b995a4d
gnb,nr: add metrics for ack'd TBS in the gNB.
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
Francisco
7d4a5238f6
sched,nr: force R<0.9 by reducing mcs
3 years ago
Bedran Karakoc
1e1e1420b1
Return AUTS in authentication failure for case AUTH_SYNCH_FAILURE
3 years ago
Bedran Karakoc
ca08b18745
Pass pdu_session_id instead of lcid for mapping in GTPU
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
efa2026a70
sched,nr: erase uneeded parameters from sched_nr_interface bwp_cft_t
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
faluco
9058ee9a5b
Move gNB metrics processing to the stack thread avoiding concurrency issues in MAC and RRC.
3 years ago
Andre Puschmann
06fbb58d70
gnb,mac: add dedicated arguments struct for MAC-NR
...
as the PCAP object is now only visible inside MAC-NR we can't
share the PCAP file between EUTRA/NR (like we do in the UE).
This patch removes the hard-coded filename for the NR PCAP file.
3 years ago
Francisco Paisana
b58915d7ed
rrc,nr: make gnb cell CSI NZP configuration consistent with UE NSA configuration.
3 years ago
Ismael Gomez
410cec7557
NR: assume all zero LCG is SBSR with 0 is received
3 years ago
Francisco Paisana
23bf542ae7
stack,nr: isolate calls between LTE and NR stacks via the task multiqueue
3 years ago
Xavier Arteaga
ca19b466bb
Fix paging float to int conversion
3 years ago
Francisco Paisana
55ea2cbcee
sched,nr: fix harq delay derivation
3 years ago
Francisco Paisana
8ceb573ea7
mac,nr: avoid concurrency in update of pdsch/pusch slot
3 years ago
Carlo Galiotto
f177a03605
sched,nr: add const to function input parameter
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
9887c17c17
sched,nr: move ssb_sched test to different file...
...
and also:
- correct half-frame bit in MIB package
- rename slot_index variable in ssb_sched function
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
d18af603aa
sched,nr: address comments in PR (code formatting)
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
9d864bbe55
sched,nr: add function that schedule SSB
...
Notes:
- NOT YET TESTED
- Requires rebase on commit with PHY changes to work
Signed-off-by: Carlo Galiotto <carlo@srs.io>
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
Francisco Paisana
28e25b12b4
sched,nr: add error checking and logging for invalid PIDs
3 years ago
Francisco Paisana
d927b779dc
sched,nr: implement methods to fill nzp csi-rs in scheduler
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
cbb709d4e3
sched,nr: function to log UEs buffer status before scheduling decision, fix const_iterator of circular_map
3 years ago