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
yagoda
82bda02b36
adding nr metrics
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
Francisco Paisana
cbb709d4e3
sched,nr: function to log UEs buffer status before scheduling decision, fix const_iterator of circular_map
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
a952f0f62d
sched,nr: expose sched nr UE bearer configuration in sched interface
3 years ago
Francisco Paisana
bdf18856d1
sched,nr: fix handling of DL BSR in NR scheduler and computation of UCI
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
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
yagoda
bc4388a78c
-adding temp crnti removal for NR carrier attach
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
00cc8fb8d8
sched,nr: ensure PUCCH is generated for SR even if the UE doesn't have any pending ACK
3 years ago
Xavier Arteaga
0324806d6c
Packed NR TDD config in duplex configuration and created test case for FDD
3 years ago
Ismael Gomez
3eaf5c50cb
Make PUCCH HARQ region a configurable parameter. Skip grants when ACK falls outside region
3 years ago
faluco
8a2231251a
Fix data race in enb::mac::ue class.
3 years ago
faluco
457dcf4de4
Fix data race in enb::ta class.
3 years ago
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
3 years ago
Andre Puschmann
6a46931144
mac_nr,enb: move header into nr subfolder
3 years ago
Andre Puschmann
4a5d2a8659
mac_nr: add basic get_metrics() implementation
3 years ago
Andre Puschmann
dbcf5c9503
sched_nr: add ue_exists() helper
3 years ago
Andre Puschmann
9a49d47968
sched_nr_interface: disable auto-refill of NR scheduler
3 years ago
Andre Puschmann
f7e943b6b6
enb,mac_nr: add handling of SBSR MAC CE
3 years ago
faluco
fdb4b91e98
Adapt the enb metrics to allow adding a PCI field for each CC.
...
Include the PCI field in the enb JSON metrics.
3 years ago
Andre Puschmann
88bb92dc0d
mac_nr,sched: handle C-RNTI CE
3 years ago
Francisco Paisana
e146345df0
sched,nr: add ue removal method to nr sched
3 years ago
Francisco Paisana
a7bf1ad26d
sched,nr: use NR UL DCI to fill RAR grant contents
3 years ago
Andre Puschmann
548c45a8fc
enb,mac_nr: add RAR packing
3 years ago
Francisco Paisana
cb2c339456
sched,nr: fix max number of UEs in NR scheduler
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
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
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
664bc626bf
sched,nr: creation of basic logic for NR SI scheduling
3 years ago
Francisco Paisana
f518861ebc
fix location of support/ folder. Created macros for ASSERT_EQ and ASSERT_NEQ
3 years ago
Francisco Paisana
599fc978a5
improvement of srsran_assert design, with specializations to enable/disable assertions based on compile flags other than ASSERTS_ENABLED. Creation of the support/ folder
3 years ago
Francisco Paisana
a366982e06
sched,nr: fix derivation of RAR window
3 years ago
Francisco Paisana
9855450a4a
sched,nr: use real ra-WindowSize in NR scheduler
3 years ago
Francisco Paisana
24cbf1a0c1
sched,nr: fix msg3 retransmissions and add it to the sched nr random test.
3 years ago
Francisco Paisana
a61d59993f
sched,nr: created time-domain round-robin scheduler
3 years ago
Francisco Paisana
eecfee365b
sched,nr: fix softbuffer dimensioning for NR scheduler. Renamed sched_nr_rb_grid file
3 years ago
Andre Puschmann
c03623863b
enb,nsa: fix UL PDU processing
...
* remove const from pusch_info() MAC/PHY interface to allow moving unique byte buffer
3 years ago
Andre Puschmann
fc35c0ee51
enb,nsa: fix packing of DL MAC PDUs
...
* use byte_buffer_t as interface type for DL PHY-MAC interface
* fix missing clear() for new DL tx
3 years ago
Andre Puschmann
f1658cbf98
enb,mac_nr: fix handling of UCI data from PHY
3 years ago
Andre Puschmann
2adb1c0723
sched_nr_worker: make cond var to sync workers an integer
...
the boolean isn't enough for more than 2 PHY workers, replace by int
3 years ago
Andre Puschmann
38f1e158a5
enb,nr: fix NR PHY PRACH init and MAC-PHY interaction
3 years ago
Andre Puschmann
fd3a7ce098
sched_nr_ue: fix uninitialized values
3 years ago
Francisco Paisana
ce884ee4c6
sched: fix sched DL RBG allocation for subband CQI
3 years ago
Francisco Paisana
e64fcf6ea6
sched,nr: extend sched nr to support RAR and msg3 DCI packing.
3 years ago
Andre Puschmann
7ab52500e9
enb,mac_nr: add NR sched class and add basic init calls
3 years ago
Andre Puschmann
45c1971249
mac,phy,interface: clean up and add NR interface to LTE stack
...
* remove obsolte rx_data_ind
* add mac_phy_interface_nr to LTE stack
3 years ago
Francisco Paisana
8e174c96ed
sched,nr: provide allocated byte_buffer in DL sched output + changes in RA procedure + added sched nr in default nr_phy_tests
3 years ago
Francisco Paisana
12e33483e1
sched,nr: add slot_point to sched nr
3 years ago
Francisco Paisana
4a2b51bc0d
sched,nr: fix sched nr pusch K2 timing
3 years ago
Francisco Paisana
b589c0d184
sched,nr: ack/crc info included in nr_phy_test
3 years ago
Francisco Paisana
592d9332ba
sched,nr: add logic for allocation of RAR and Msg3 grants
3 years ago
Francisco Paisana
c9a5180a09
sched,nr: integrate NR scheduler in nr_phy_test
...
The scheduler can be activated via a command line flag
3 years ago
Francisco Paisana
660b66dbe3
sched,nr: add option to run phy nr test with real NR scheduler
3 years ago
Francisco Paisana
e6683b7387
sched,nr: simplify scheduler threading architecture to reflect the new cc-based parallelism model
3 years ago
Francisco Paisana
74d0a8adb8
sched: add subband cqi info interface to LTE scheduler
3 years ago
Andre Puschmann
921a04ce65
enb,mac_nr: turn UE object into normal std::unique_ptr
3 years ago
Andre Puschmann
8d2e81ad6f
enb,mac,nr: add basic UE object skeleton
...
refactor that also adds a basic UE object to the NR MAC
3 years ago
Francisco Paisana
09c7000201
sched,nr: update nr scheduler to use new mac nr interface types
3 years ago
Francisco Paisana
8a34a3c41a
sched,nr: fix compilation issues in centos7 and removed unused variables
3 years ago
Francisco Paisana
d9336bcd9e
sched,nr: creation of pool of softbuffers for NR. Now the sched NR harq manages the lifetime of the softbuffer and its forwarding to the PHY
3 years ago
Francisco Paisana
1535e6b205
sched,nr: extend sched nr testing suite. restrict paralllelization for correct DAI generation
3 years ago
Francisco Paisana
323703c2f3
sched,nr: measure latency of sched nr in test
3 years ago
Francisco Paisana
d63ea00a5d
sched,nr: use PRBs instead of RBGs as the basic unit for PRB grants in the NR scheduler
3 years ago
Francisco Paisana
b81cbd1334
sched,nr: redesign the order available search spaces/coresets are found in the scheduler
3 years ago
Francisco Paisana
dd3c9b4d7e
sched,nr: utilization of common bwp params structure across multiple sched objects
3 years ago
Francisco Paisana
2db8b8d876
sched,nr: add RAR scheduler inspired in LTE one
3 years ago
Francisco Paisana
4f0b954cde
sched,nr: changed scheduler nr api to not require slot_indication function
3 years ago
Francisco Paisana
23afc66a86
sched,nr: implementation of PUCCH HARQ allocation in NR
3 years ago
Francisco Paisana
bcc374c2cd
implement TDD DL vs UL slot activation
3 years ago
Francisco Paisana
f87f898641
sched,nr: extend coreset pdcch allocation to UL
3 years ago
Ismael Gomez
1fd9d4300c
Move pdu buffer mutex in mac::ue to each carrier buffer map
3 years ago
Xavier Arteaga
b25681f9de
gnb,prach: add PRACH to gNB
...
rebase of Xavier's feature_gnb_prach branch
3 years ago
Andre Puschmann
8dd7075d12
enb,stack: add NR components for NSA mode
...
adds the main NR components for RLC, PDCP, MAC and RRC
for NSA operation.
3 years ago
Andre Puschmann
19996a4059
sched_nr: fix compilation
3 years ago
Xavier Arteaga
5307fec2f0
Added GNB MAC UL info initial interface and fix PHY implementation
3 years ago
Ismael Gomez
c0fd64c4e6
Fix data races in srsENB MAC
3 years ago
Francisco
4c316aa9ea
sched,nr: integrate mac-phy interface types into the scheduler
3 years ago
Francisco
5b3c5ded63
sched,nr: implement NR PDCCH allocation algorithm
3 years ago
Xavier Arteaga
8378c85ec4
Refactored gNb PHY
3 years ago
Xavier Arteaga
d49734b1bc
SRSENB: Refactor to accomodate 5G NR
3 years ago
Francisco
de05e1e549
sched,nr: fix invalid memory write
3 years ago
Francisco
75153c7c83
sched,nr: implementation of sched sim test class
3 years ago
Francisco
f1b3cfc764
sched,nr: implementation of sched NR harq retxs. Refactor of rb grid classes.
3 years ago