Commit Graph

590 Commits

Author SHA1 Message Date
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
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 5f9cfb56f6 lte,gtpu: fix and refactor gtpu tunnel management during handover 2021-08-31 15:46:46 +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
Xavier Arteaga d4f1839991 Increase enb_phy_test flush time 2021-07-30 16:15:21 +02:00
Xavier Arteaga 43ed5c2ad4 Add crash handler to enb_phy_test 2021-07-30 16:15:21 +02:00
Francisco Paisana 589239bf7f sched: revert lifting of restriction of maximum UL coderate of 0.930 2021-07-29 13:57:06 +02:00
Francisco Paisana ce884ee4c6 sched: fix sched DL RBG allocation for subband CQI 2021-07-29 13:57:06 +02:00
Francisco Paisana 1f118aa238 sched: fix ul max coderate derivation 2021-07-29 13:57:06 +02:00
Bedran Karakoc a6226379b4 Introducing NGAP UE context procedures 2021-07-26 19:12:01 +02:00
Francisco Paisana 12e33483e1 sched,nr: add slot_point to sched nr 2021-07-26 11:52:07 +02:00
Francisco Paisana 61a73d5187 sched: add missing checks for prachs with tti duration above 1msec 2021-07-21 16:24:04 +02:00
Francisco Paisana 592d9332ba sched,nr: add logic for allocation of RAR and Msg3 grants 2021-07-21 15:07:10 +02:00
Francisco Paisana 660b66dbe3 sched,nr: add option to run phy nr test with real NR scheduler 2021-07-19 16:04:46 +02:00
Francisco Paisana e6683b7387 sched,nr: simplify scheduler threading architecture to reflect the new cc-based parallelism model 2021-07-16 22:57:55 +02:00
Francisco Paisana 74d0a8adb8 sched: add subband cqi info interface to LTE scheduler 2021-07-16 19:34:10 +02:00
Andre Puschmann 8d2e81ad6f enb,mac,nr: add basic UE object skeleton
refactor that also adds a basic UE object to the NR MAC
2021-07-16 12:35:12 +02:00
Francisco Paisana 09c7000201 sched,nr: update nr scheduler to use new mac nr interface types 2021-07-15 21:56:47 +02:00
Francisco Paisana 8a34a3c41a sched,nr: fix compilation issues in centos7 and removed unused variables 2021-07-15 21:56:47 +02:00
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 2021-07-15 21:56:47 +02:00
Francisco Paisana 1535e6b205 sched,nr: extend sched nr testing suite. restrict paralllelization for correct DAI generation 2021-07-15 21:56:47 +02:00
Francisco Paisana 323703c2f3 sched,nr: measure latency of sched nr in test 2021-07-15 21:56:47 +02:00
Francisco Paisana d63ea00a5d sched,nr: use PRBs instead of RBGs as the basic unit for PRB grants in the NR scheduler 2021-07-15 21:56:47 +02:00
Francisco Paisana b81cbd1334 sched,nr: redesign the order available search spaces/coresets are found in the scheduler 2021-07-15 21:56:47 +02:00
Francisco Paisana dd3c9b4d7e sched,nr: utilization of common bwp params structure across multiple sched objects 2021-07-15 21:56:47 +02:00
Francisco Paisana 4f0b954cde sched,nr: changed scheduler nr api to not require slot_indication function 2021-07-15 21:56:47 +02:00
Francisco Paisana 23afc66a86 sched,nr: implementation of PUCCH HARQ allocation in NR 2021-07-15 21:56:47 +02:00
Francisco Paisana bcc374c2cd implement TDD DL vs UL slot activation 2021-07-15 21:56:47 +02:00
Francisco Paisana f87f898641 sched,nr: extend coreset pdcch allocation to UL 2021-07-15 21:56:47 +02:00
Pedro Alvarez f0a28ebc88 Rename drb.conf to rb.conf to reflect the now configurable SRBs. 2021-07-14 20:21:07 +02:00
Andre Puschmann 8d443d79e5 enb,rrc: add skeleton code for new RRC internal interface for SgNB addition 2021-07-06 21:57:44 +02:00
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.
2021-07-06 21:57:44 +02:00
Andre Puschmann ec3465bb98 s1ap: fix compilation of test on 32bit 2021-07-06 12:48:41 +02:00
David Rupprecht f90e359208 Moved cp to test common 2021-07-02 17:23:06 +02:00
Pedro Alvarez 1b676aa406 Moved lib GTPU to its own folder 2021-06-30 18:19:20 +01:00
Francisco 4c316aa9ea sched,nr: integrate mac-phy interface types into the scheduler 2021-06-29 14:19:35 +02:00
Francisco 5b3c5ded63 sched,nr: implement NR PDCCH allocation algorithm 2021-06-29 14:19:35 +02:00
Xavier Arteaga 8378c85ec4 Refactored gNb PHY 2021-06-28 00:27:36 +02:00
Francisco de05e1e549 sched,nr: fix invalid memory write 2021-06-24 16:22:42 +01:00
Francisco 75153c7c83 sched,nr: implementation of sched sim test class 2021-06-24 16:22:42 +01:00
Francisco f1b3cfc764 sched,nr: implementation of sched NR harq retxs. Refactor of rb grid classes. 2021-06-24 16:22:42 +01:00
Francisco d950433cbd sched,nr: fix time-domain parallelization sched nr test. creation of util class to handle acquisition of boolean resources 2021-06-24 16:22:42 +01:00
Francisco 35a236b1b9 sched,nr: fix sched_nr_test. Resolve data race issues. Created new config structs used across the scheduler. 2021-06-24 16:22:42 +01:00
Francisco 407da794e1 sched,nr: implementation of slot grid class 2021-06-24 16:22:42 +01:00
Francisco 4fa27f3841 sched,nr: implementation of main classes for NR scheduler, and basic test for concurrency 2021-06-24 16:22:42 +01:00
David Rupprecht ec19919246 Fix NGAP valgrind test 2021-06-22 20:53:43 +02:00
Francisco 78acf81cf0 bugfix,sched: avoid instability in TPCs around PHR~0 2021-06-21 17:35:24 +01:00
Bedran Karakoc c280ac5ad6 Introducing extended NGAP functionality
Remove unused logger for now in ngap::ue to pass tests
2021-06-17 13:05:29 +02:00
Francisco 5a82a63bb5 bugfix,srsenb: fix intraenb handover softbuffer allocation during handover 2021-06-16 10:21:13 +01:00
Francisco 6ababf401b feature,sched: allow setting initial DL CQI in enb.conf 2021-06-14 15:55:23 +01:00
Francisco 99960c72fa bugfix,srsenb: extend rrc mobility unit test for intraenb handover 2021-06-10 09:46:01 +01:00
Francisco 048d487921 bugfix,gtpu: send end marker via the forwarding tunnel, when the source enb receives ue ctxt release command. Improve GTPU unit testing 2021-06-09 11:12:06 +01:00
Francisco 7e77da6a15 mac,optimization: use rnti memory pool to create mac::ue objects 2021-06-04 21:29:13 +01:00
Francisco 9e2a7d4592 bugfix,tpc: only cap PUSCH TPC when PHR is negative. I also extended TPC unit test 2021-06-04 17:39:51 +01:00
Andre Puschmann 107f6334dd compile: fix compilation on 32bit systems that require -latomic 2021-06-03 20:45:02 +02:00
Francisco ceaef3523f sched,feature: Enable setting the target PHR below which the maximum UL grant size starts decreasing 2021-06-03 15:33:38 +01:00
Francisco 486823e5de sched,bugfix: The PHR handling scheme now considers the number of PRBs of the UL grant that carried the PHR. Before, it was assuming the most conservative scenario of Nprb=1 2021-06-03 15:33:38 +01:00
Francisco f7aef3ffc1 sched,bugfix: fix nof_retx update when UL HARQs are resumed 2021-06-02 20:21:32 +01:00
Francisco 3b61df4b64 test,sched: update TPC test to reflect changes in SNR estimatioN 2021-06-02 10:08:34 +01:00
Francisco dda52afe61 move rrc unit tests to rrc/ folder 2021-06-02 10:05:49 +01:00
Pedro Alvarez 18e2149d68 Sending Initial Context Setup Response after RRC reconfiguration. 2021-06-01 19:16:16 +01:00
Francisco f80c591127 sched,bugfix: fix scheduler CA test 2021-05-31 23:59:46 +01:00
Francisco 2cdda3b6db sched,enhancement: allow PUSCH allocations when PHICH falls in measurement Gap by resuming UL HARQ 2021-05-31 23:59:46 +01:00
Andre Puschmann 66770a57e3 enb_phy_test: fix concurrent access between PHY worker and Stack
PHY and Stack are using a normal std::queue to communicate with each
other. Concurrent access among the threads needs to be protected.
2021-05-26 14:25:38 +02:00
Francisco fe0dc77c03 bugfix, s1ap: fix uninitialized variable access in s1ap_test 2021-05-26 11:35:32 +02:00
Francisco 297a2394b8 bugfix, s1ap: fix failing s1ap_test 2021-05-26 11:35:32 +02:00
Francisco a8cccd7a10 bugfix, sched: fix aggregation level derivation to avoid L > 3 2021-05-25 21:50:56 +02:00
Francisco c5029fc266 feature - implement adaptive link adaptation in DL and UL 2021-05-24 19:33:27 +02:00
Francisco 8df6ed07c6 sched small fixes - use 0.930 instead of 0.932 for max coderate. Allow computing mcs/tbs based on max coderate directly. Other small fixes 2021-05-24 17:25:07 +02:00
yagoda 9501283c1c fixing support for extended Cyclic Prefix
small cosmetic fixes of CP code
2021-05-20 18:16:15 +02:00
Francisco 52ef23f40e fix sched benchmark test 2021-05-19 13:11:39 +01:00
Francisco f0f99c1e4f update sched benchmark, created unit test to cover rbg search algorithms, improved algorithms to search for empty rbgs 2021-05-19 11:43:39 +01:00
Francisco 1488606156 refactor - create s1ap dedicated folder 2021-05-17 15:32:57 +01:00