Andre Puschmann
70eaec21e2
all: fix uninitialized variables detected by coverity
2022-04-28 15:42:08 +02:00
Francisco
e8f6c723b6
refactor: isolate rrc interfaces for pdcp, rlc and s1ap into separate files. This will avoid importing lte asn1 symbols to srsgnb code
2021-12-15 23:25:26 +00:00
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
2021-11-05 15:26:06 +01:00
Francisco
8d719db43d
nr,gnb,mac: implement zero-copy get_dl_sched/get_ul_sched NR scheduler interface
2021-11-03 21:21:45 +01:00
Francisco
6fb5257609
nr,gnb,sched: cleanup of checks in sched_nr_allocator and removal of unused classes
2021-11-02 00:41:24 +00:00
Francisco
7b989d9976
nr,gnb,sched: refactored slot_ue class to use pointer to ue_carrier instead of deriving all necessary parameters
2021-11-02 00:41:24 +00:00
Francisco
1a56629a72
nr,gnb,sched: centralized all feedback/event management (cc-specific and non-cc-specific) into a single class
2021-11-02 00:41:24 +00:00
Francisco
e5e047bc63
nr,gnb,sched: avoid that the nr sched handles the rach before it creates the ue object
2021-11-02 00:41:24 +00:00
Francisco
f2409534e4
nr,gnb,sched: Simplify sched api and locking design to better reflect the mac-phy FAPI interface
...
- removal of condition variables from sched main calls
- addition of sched sched::slot_indication call as a point of synchronization per slot
- removal of sched_worker_manager class
- removal of serv_cell_manager class
- centralization of cc-specific functionality and components in cc_worker
2021-11-02 00:41:24 +00:00
Fabian Eckermann
3e9590fd13
Initialize variable.
2021-10-27 17:39:51 +02:00
Francisco
e4247517d0
nr,sched: update sched_nr_test to support the new DL sched no-copy api
2021-10-23 21:09:26 +02:00
Francisco
327687cbc2
nr,sched: auto clear HARQs that exceeded maxretx, after the feedback has been processed
2021-10-22 18:08:43 +01:00
Francisco
f2818d0504
enb,sched: improve sched ue buffer manager to show rnti in logs
2021-10-21 10:33:26 +01:00
Francisco
4a58c10f30
lte,enb,rlc: compute and forward to scheduler the number of bytes pending for retx and status pdu in RLC AM bearer
2021-10-21 09:31:03 +01:00
Francisco
bc4264277a
sched,nr: update NR scheduler tester to support parallel CC workers
2021-10-14 19:27:52 +01:00
Francisco
ea324e8cbe
nr,sched,test: update sched nr test to better reflect MAC-PHY FAPI
2021-10-14 19:27:52 +01:00
Francisco
04d48127bb
nr,sched: enable NR fixed mcs configuration via enb.conf
2021-10-13 11:23:10 +01:00
Francisco
c08bb6023c
nr,sched,refactor: clear of unused typedefs and renaming of some types
2021-10-13 08:22:35 +01:00
Francisco
877b995a4d
gnb,nr: add metrics for ack'd TBS in the gNB.
2021-10-11 11:08:37 +01:00
Francisco
3b79393974
sched,nr: fix default ue configuration when prach arrives
2021-10-06 16:33:51 +02:00
Francisco Paisana
9160c783c9
sched,nr: fix nr sched test
2021-10-04 19:26:07 +02:00
Francisco Paisana
7aa701eb85
nr,config: fix default SSB periodicity configuration in rrc and scheduler
2021-10-04 19:26:07 +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
bc7c21b8c3
sched,nr: add test case for SSB scheduling
...
The SSB test checks whether, with the given periodicity, the
SSB grant is present within the dl_sched structure passed to the PHY.
It also checks that the SSB grant is not scheduled outside
the required time slots.
NOTE: The test is a modified version of an existing scheduler test.
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-04 11:44:25 +02:00
Andre Puschmann
86938e8474
sched_nr_cfg: bump fixed UL MCS to 28
2021-10-03 12:07:18 +02:00
Andre Puschmann
88212ed3e0
fix NR sched configuration of UE generated in RRC
2021-09-24 17:35:15 +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
70fe48a5ab
sched,nr: change NR sched configuration api
2021-09-24 13:27:45 +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
Xavier Arteaga
53bf29a540
Add nr label to MAC NR tests
2021-09-21 18:11:16 +02:00
Andre Puschmann
88878e07c6
sched_nr_test: enable auto-refill for failing NR sched tests
2021-09-13 17:10:32 +02:00
Francisco Paisana
510a87e4b2
sched,nr: added logic to update UE DL and UL buffer status
2021-09-01 20:08:11 +02:00
Francisco Paisana
020bec025e
sched: created class common to LTE and NR for ue buffer status management
2021-09-01 20:08:11 +02:00
Francisco Paisana
2fb2598f8c
sched,nr: avoid extra copy of DL result and other small fixes
2021-09-01 20:08:11 +02:00
Francisco Paisana
04e5c81edf
sched,nr: nr_phy_test now uses the whole mac class rather than just the scheduler
2021-08-27 15:50:23 +02:00
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
2021-08-27 15:50:23 +02:00
Francisco Paisana
b486d2a1b5
sched,nr: implement prb grant fmt formatting
2021-08-26 12:09:11 +02:00
Francisco Paisana
8686a17f69
sched,nr: fill remaining DCI fields of RAR in NR scheduler
2021-08-26 12:09:11 +02:00
Francisco Paisana
da4b7e4f80
sched,nr: fix sched RAR NR test; update test assert macros
2021-08-26 12:09:11 +02:00
Francisco Paisana
8f00c9363c
sched,nr: change ra nr sched and bwp allocator interfaces
2021-08-26 12:09:11 +02:00
Francisco Paisana
3d810bc88a
sched,nr: fix RAR DCI values and extended RAR test
2021-08-26 12:09:11 +02:00
Francisco Paisana
2b114cb7b9
sched,nr: create simple NR scheduler RAR test
2021-08-26 12:09:11 +02:00
Francisco Paisana
359cff2302
sched,lte: fix test for LTE scheduler Msg3 detection
2021-08-24 20:17:45 +02:00
Francisco Paisana
f518861ebc
fix location of support/ folder. Created macros for ASSERT_EQ and ASSERT_NEQ
2021-08-23 16:47:54 +02:00
Francisco Paisana
24cbf1a0c1
sched,nr: fix msg3 retransmissions and add it to the sched nr random test.
2021-08-18 14:25:16 +02:00
Francisco Paisana
eecfee365b
sched,nr: fix softbuffer dimensioning for NR scheduler. Renamed sched_nr_rb_grid file
2021-08-18 14:25:16 +02:00
Xavier Arteaga
b728367149
Fix Scheduler NR cell config generator for variable number of PRB
2021-08-03 10:46:13 +02:00
Xavier Arteaga
4bc7df45c6
Added R.PDSCH.2-1.1 TDD reference for NZP-CSI-RS testing
2021-08-03 10:46:13 +02:00