Andre Puschmann
146f12f0c0
enb,mac_nr: fix MAC PDU packing by tyring to pack multiple SDUs when possible
...
the patch adds support to fully use the available space in a MAC PDU by adding
multiple SDUs.
2021-10-19 11:51:39 +02:00
Francisco
d5acf73c46
nr,gnb,sched: fix logging of tbs. check if sched args are supported at sched startup. change the tti logging to be equal to tti_rx
2021-10-18 14:50:14 +01:00
Francisco
9df6c6b936
sched,nr: ensure the ue_cfg_t passed to the scheduler in NR FDD mode has the correct harq delay
2021-10-14 21:38:12 +01:00
Francisco
64ffd81cf9
nr,sched: fix recomputation of ue_bwp_cfg when sched receives new ue_cfg objects
2021-10-14 14:23:21 +01:00
Alejandro Leal Conejos
1a64c6adad
Enum fixes so clang 12 can build the repo
2021-10-14 08:48:04 +02:00
Francisco
964dce575b
nr,sched: fix nof_harqs in NR scheduler to 8
2021-10-13 23:24:20 +01:00
Francisco
25eb44914e
nr,sched: fix sched_args_t default values
2021-10-13 11:23:10 +01:00
Francisco
04d48127bb
nr,sched: enable NR fixed mcs configuration via enb.conf
2021-10-13 11:23:10 +01:00
Carlo Galiotto
a57ccdabf5
mac: move and check boolean from funcion to caller
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
Carlo Galiotto
1a52cdcdaa
mac: remove unused rwlock and unused cqi counter
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
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>
2021-10-13 11:12:03 +02:00
Carlo Galiotto
dc3e3a89f8
mac: update CQI in MAC with CSI reports from PHY
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
Francisco
c08bb6023c
nr,sched,refactor: clear of unused typedefs and renaming of some types
2021-10-13 08:22:35 +01:00
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.
2021-10-12 15:48:37 +01:00
Francisco
877b995a4d
gnb,nr: add metrics for ack'd TBS in the gNB.
2021-10-11 11:08:37 +01:00
Francisco
7d4a5238f6
sched,nr: force R<0.9 by reducing mcs
2021-10-08 01:16:07 +01:00
Francisco Paisana
efa2026a70
sched,nr: erase uneeded parameters from sched_nr_interface bwp_cft_t
2021-10-06 10:58:29 +01:00
Francisco Paisana
b7f40b2baf
rrc,nr: reenable CSI reporting in gNB
2021-10-06 10:58:29 +01:00
Ismael Gomez
410cec7557
NR: assume all zero LCG is SBSR with 0 is received
2021-10-05 10:26:30 +02:00
Francisco Paisana
55ea2cbcee
sched,nr: fix harq delay derivation
2021-10-04 14:44:35 +02:00
Francisco Paisana
8ceb573ea7
mac,nr: avoid concurrency in update of pdsch/pusch slot
2021-10-04 12:24:51 +02:00
Carlo Galiotto
f177a03605
sched,nr: add const to function input parameter
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-04 11:44:25 +02:00
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>
2021-10-04 11:44:25 +02:00
Carlo Galiotto
d18af603aa
sched,nr: address comments in PR (code formatting)
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-04 11:44:25 +02:00
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>
2021-10-04 11:44:25 +02:00
yagoda
82bda02b36
adding nr metrics
2021-10-03 13:06:59 +02:00
Francisco Paisana
28e25b12b4
sched,nr: add error checking and logging for invalid PIDs
2021-10-01 17:35:54 +02:00
Francisco Paisana
d927b779dc
sched,nr: implement methods to fill nzp csi-rs in scheduler
2021-09-29 13:42:48 +02:00
Francisco Paisana
cbb709d4e3
sched,nr: function to log UEs buffer status before scheduling decision, fix const_iterator of circular_map
2021-09-27 15:43:16 +02:00
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.
2021-09-27 13:26:21 +02:00
Francisco Paisana
a952f0f62d
sched,nr: expose sched nr UE bearer configuration in sched interface
2021-09-24 17:35:15 +02:00
Francisco Paisana
bdf18856d1
sched,nr: fix handling of DL BSR in NR scheduler and computation of UCI
2021-09-24 17:35:15 +02:00
Francisco Paisana
70fe48a5ab
sched,nr: change NR sched configuration api
2021-09-24 13:27:45 +02:00
Francisco Paisana
a035ad144b
mac,nr: create sched_nr object only at mac::init()
2021-09-24 13:27:45 +02:00
Francisco Paisana
12d63468e3
sched,lte: separated adaptive mcs learning rate argument into two arguments, one for DL and the other for UL
2021-09-23 19:12:46 +02:00
Andre Puschmann
7f897d83e2
gnb,mac_nr: push DL buffer state to scheduler
2021-09-23 19:07:31 +02:00
yagoda
bc4388a78c
-adding temp crnti removal for NR carrier attach
2021-09-23 18:27:13 +02:00
Francisco Paisana
3351e97aa2
nr,mac: use SR to send an UL grant after Msg3 and complete ContextResolution of UE NSA NR
2021-09-23 16:08:48 +02:00
Francisco Paisana
e1a4e63ec8
sched,nr: use MAC-NR as prefix for NR scheduler
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
Xavier Arteaga
0324806d6c
Packed NR TDD config in duplex configuration and created test case for FDD
2021-09-21 18:11:16 +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
faluco
8a2231251a
Fix data race in enb::mac::ue class.
2021-09-17 11:34:42 +02:00
faluco
457dcf4de4
Fix data race in enb::ta class.
2021-09-17 11:34:42 +02:00
Andre Puschmann
ed92f2bd34
enb,mac_nr: remove EUTRA cell param for MAC-NR cell config calls
...
* the old srsran_cell_cfg_t is only carried for SIB params
* the SIB scheduling, etc needs to be ported and integrated into NR data structures
* disbable SIB test for the moment
2021-09-15 14:49:28 +02:00
Andre Puschmann
6a46931144
mac_nr,enb: move header into nr subfolder
2021-09-15 14:49:28 +02:00
Andre Puschmann
4a5d2a8659
mac_nr: add basic get_metrics() implementation
2021-09-15 14:49:28 +02:00
Andre Puschmann
dbcf5c9503
sched_nr: add ue_exists() helper
2021-09-15 14:49:28 +02:00
Andre Puschmann
9a49d47968
sched_nr_interface: disable auto-refill of NR scheduler
2021-09-13 17:10:32 +02:00
Andre Puschmann
f7e943b6b6
enb,mac_nr: add handling of SBSR MAC CE
2021-09-09 14:29:04 +02:00