Commit Graph

576 Commits

Author SHA1 Message Date
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
Pedro Alvarez fbcffb84bd Check if RLC is suspended before transmiting PDCP SDU.
This was done to avoid integrity issues, when the UE's RRC erroneously sent
measurement reports while the re-establishment was already in progress.

As errously sending PDCP PDUs on DRBs can cause issues as well, this was
disabled too.
2021-10-22 17:27:32 +01:00
Francisco fd998dac15 lte,enb,rrc: fix rrc_meascfg_test 2021-10-21 16:16:01 +01:00
Francisco c6226b0d94 lte,enb,rrc: parse cellIndividualOffset in rr.conf and propagate it to measConfig sent to UE 2021-10-21 16:16:01 +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 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 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 479df12775 fix rrc_nr_test bad config 2021-10-09 16:53:14 +01:00
Francisco 9dcfa8fdb1 nr,gnb,rrc: pass default rrc_nr_cfg_t to rrc_nr_test 2021-10-09 16:53:14 +01:00
Bedran Karakoc 850606f20b Added deregistration (UE terminating) 2021-10-06 20:01:00 +02: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
yagoda 82bda02b36 adding nr metrics 2021-10-03 13:06:59 +02:00
Andre Puschmann 86938e8474 sched_nr_cfg: bump fixed UL MCS to 28 2021-10-03 12:07:18 +02:00
Fabian Eckermann eb294fd4e3 Add phy object to rrc_nr_test. 2021-10-01 19:21:08 +02:00
Ismael Gomez 91401ae3a4 Fix meascfg test 2021-09-29 21:39:56 +02:00
Ismael Gomez ada05ea0c8 Add A1, A2 and A4 measurement Reports event triggers 2021-09-29 21:39:56 +02:00
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.
2021-09-28 16:55:54 +02:00
Ismael Gomez 1c77998df5 Stop PDCP for data bearers before initiating HO 2021-09-27 13:54:51 +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
yagoda bc4388a78c -adding temp crnti removal for NR carrier attach 2021-09-23 18:27:13 +02:00
Andre Puschmann 802b22ac91 enb,nsa: refactor NR RRC/cell config parsing
this allows to access all cell-related params from within RRC
2021-09-22 16:41:18 +02:00
David Rupprecht 611255aa5f Added GTPU bind address as output parameter 2021-09-22 15:15:47 +02:00
Bedran Karakoc 43915550cc NGAP GTP Bearer Establishment 2021-09-22 15:15:47 +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 3fd47d2af4 enb: refactor L2/L3 and (re)move all NR components to gNB stack
* decouple EUTRA and NR stack classes
* implement dummy X2 interface with control and data plane methods
* implement eNB time source interface that PHY calls
2021-09-17 14:57:33 +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 88878e07c6 sched_nr_test: enable auto-refill for failing NR sched tests 2021-09-13 17:10:32 +02:00
Andre Puschmann 88bb92dc0d mac_nr,sched: handle C-RNTI CE 2021-09-06 10:35:59 +02:00
Francisco Paisana 1dfc884b65 Changed S1AP causes for non-existing cell in HO and not available radio resources in HO for more apropriate ones. 2021-09-03 12:06:28 +02:00
Francisco Paisana ebd12b0778 stack lte,refactor: pass bearer manager instead of stack pointer to srsenb::rrc 2021-09-03 12:06:17 +02:00
Francisco Paisana f4df55c245 stack lte: separate bearer manager into two classes, one for the ue and one for the enb 2021-09-03 12:06:17 +02:00
Francisco Paisana 2ade4628ca stack lte: create an gtpu-pdcp adapter class that correctly converts lcids to eps bearers and vice-versa 2021-09-02 17:12:04 +02:00
Francisco Paisana 4b2f079581 gtpu: renamed lcid to eps_bearer_id as parte of the refactor of gtpu to use eps_bearer_ids 2021-09-02 17:12:04 +02:00
Andre Puschmann b27d1d913e enb_stack_lte: use bearer manager class
* user common bearer manager in eNB
* register/deregister bearers (LTE only so far
* provide dummy stack class for RRC tests
2021-09-02 17:12:04 +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