Commit Graph

128 Commits

Author SHA1 Message Date
Francisco Paisana a035ad144b mac,nr: create sched_nr object only at mac::init() 2021-09-24 13:27:45 +02:00
Xavier Arteaga 182202bdb0 Added NR PHY SR test cases 2021-09-22 13:18:28 +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
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
Xavier Arteaga 54c39d8447 Set nr_phy_test scheduler logger to the level defined in the arguments 2021-08-31 18:56:41 +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 36eee0ab40 test,nr: add ra_search_space configuration to phy_cfg_nr; now the test ue searches for RA-RNTI while expecting a RAR 2021-08-24 20:15:22 +02:00
Andre Puschmann c03623863b enb,nsa: fix UL PDU processing
* remove const from pusch_info() MAC/PHY interface to allow moving unique byte buffer
2021-08-05 10:28:29 +02:00
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
2021-08-05 10:28:29 +02:00
Xavier Arteaga 3ae131b336 gNb creates PUSCH decode PDU 2021-08-03 17:30:08 +02:00
Xavier Arteaga 6707ec9928 Introduced multiple BW for PHY DL NR test 2021-08-03 10:46:13 +02:00
Xavier Arteaga ce0cd230bb Reduced NR PHY test PDSCH MCS to 27 2021-08-03 10:46:13 +02:00
Xavier Arteaga 956c4f8266 Added PHY NR test TDD FR1.15-1 pattern 2021-08-03 10:46:13 +02:00
Xavier Arteaga dfa323df6b Added 20MHz default configuration 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
David Rupprecht 7838b3c935 Fixed run_lte.sh script enb parameter 2021-07-30 09:33:05 +02:00
Xavier Arteaga b57df4db10 Refactored worker_end mechanism for concurrent workers 2021-07-28 12:14:37 +02:00
Francisco Paisana e64fcf6ea6 sched,nr: extend sched nr to support RAR and msg3 DCI packing. 2021-07-27 19:32:48 +02:00
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
2021-07-27 18:26:20 +02:00
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 2021-07-27 12:47:31 +02:00
Francisco Paisana 12e33483e1 sched,nr: add slot_point to sched nr 2021-07-26 11:52:07 +02:00
Xavier Arteaga 5b31fa72d3 Fix gnb race condition in asynchronous PRACH processing by setting number of threads to 0 2021-07-26 11:50:16 +02:00
Andre Puschmann 1098d9d444 phy,nr,test: disable nr_phy_test_10MHz_prach nr_phy_test
temporarily disable test until flaky nightly tests are fixed
2021-07-22 22:54:59 +02:00
Francisco Paisana b589c0d184 sched,nr: ack/crc info included in nr_phy_test 2021-07-21 15:07:10 +02:00
Xavier Arteaga bb4f469794 Integrated SR decoder in gNb 2021-07-21 10:40:40 +02:00
Xavier Arteaga d783fbf3a0 Reviewed NR procedure for PUCCH resource sselection and reviewed gNb PUCCH interface 2021-07-21 10:40:40 +02:00
Xavier Arteaga 7842cedb75 Fix compilation. 2021-07-19 19:17:33 +02:00
Francisco Paisana c9a5180a09 sched,nr: integrate NR scheduler in nr_phy_test
The scheduler can be activated via a command line flag
2021-07-19 16:04:46 +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
Xavier Arteaga bc072f07d6 NR PHY test use 1 PHY thread 2021-07-19 12:53:48 +02:00
Xavier Arteaga b264f8fa1e Fix nr_phy_test TSAN warnings 2021-07-19 12:53:48 +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
Xavier Arteaga b25681f9de gnb,prach: add PRACH to gNB
rebase of Xavier's feature_gnb_prach branch
2021-07-14 14:30:58 +02:00
Andre Puschmann 6c82d63aa6 remove legacy PNF/VNF code
the code hasn't been maintained for a while an likely needs to be
adapted for a real-world scenarios.

in order to avoid having to maintain two MAC/PHY interfaces we
remove the code from now.
2021-07-12 19:24:02 +02:00
Xavier Arteaga 5ed241fc9b Fix unitialised NR PHY test data 2021-07-09 22:32:40 +02:00
Xavier Arteaga 1f3b3d5ef2 Show PDSCH and PUSCH metrics if any transmitted 2021-07-09 22:32:40 +02:00
Xavier Arteaga b82491bc74 Added SR option in NR PHY Test 2021-07-09 22:32:40 +02:00
Xavier Arteaga f5a3fcf2b6 More NR PHY test enhacements 2021-07-09 22:32:40 +02:00
Xavier Arteaga 248a52b33d Enhanced NR PHY test 2021-07-09 22:32:40 +02:00
Xavier Arteaga d12085e8a7 Added different NR PHY test cases 2021-07-09 22:32:40 +02:00
Xavier Arteaga 96cb25b868 Add arguments to NR PHY test 2021-07-09 22:32:40 +02:00
Xavier Arteaga ecc0b92142 Integrated PUSCH decoder in gNb 2021-07-08 16:47:07 +02:00
Xavier Arteaga f07d925be1 Initial NR PHY test scheduling for PUSCH 2021-07-08 16:47:07 +02:00
Xavier Arteaga e3ea5d3d25 Renamed PHY NR test 2021-07-08 16:47:07 +02:00
Xavier Arteaga c11a5cc2c8 Walk around GCC 4.8 compilation 2021-07-05 17:51:27 +02:00
Xavier Arteaga a7c728c189 Fix old gcc compilation 2021-07-05 17:51:27 +02:00
Xavier Arteaga 5307fec2f0 Added GNB MAC UL info initial interface and fix PHY implementation 2021-07-05 17:51:27 +02:00
Xavier Arteaga 2fbd172888 Initial PHY NR configuration generator 2021-07-05 17:51:27 +02:00
Xavier Arteaga e764a26136 Integrated PUCCH decoding in gNb 2021-07-05 17:51:27 +02:00
Xavier Arteaga eecaccb541 Added NR PHY helpers 2021-07-05 17:51:27 +02:00
Xavier Arteaga 6f5614a0cc Suggested modifications on gNb MAC/PHY interface 2021-06-28 00:27:36 +02:00
Xavier Arteaga 8378c85ec4 Refactored gNb PHY 2021-06-28 00:27:36 +02:00
Xavier Arteaga aef3e5a40a More NR PHY test and GNB PHY development 2021-06-28 00:27:36 +02:00
Xavier Arteaga d49734b1bc SRSENB: Refactor to accomodate 5G NR 2021-06-28 00:27:36 +02:00
Xavier Arteaga cc3ac83c14 Skip nr_phy_test compilation without RF 2021-06-22 12:19:13 +02:00
Xavier Arteaga b1e4720721 SRSUE/SRSENB: added tx_enable flag in worker_end 2021-06-21 18:07:53 +02:00
Xavier Arteaga 027201d457 SRSUE/SRSENB: Refactor NR workers to generalise lower PHY 2021-06-21 18:07:53 +02:00
David Rupprecht 70d232c917 Fix run_lte script 2021-05-27 13:29:23 +02:00
Codebot 4523ee6087 rename srsLTE to srsRAN 2021-03-21 21:47:01 +01:00
Andre Puschmann 00f3f21081 last set of license header changes 2020-12-12 15:59:26 +01:00
Andre Puschmann 07d2bc4fe8 change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
Andre Puschmann 33bb8388a5 run_lte: fix UE/eNB args
* remove PHY thread limitation
* set rx_gain for UE to avoid starting AGC thread for ZMQ
2020-09-03 18:28:49 +02:00
Andre Puschmann c9bf4d14bd run_lte: fix check for apps being shutdown correctly
since the new logging system doesn't tag the log file after closing
we now use the stdout to verify the UE has been shut down correctly.
2020-09-03 18:28:49 +02:00
Andre Puschmann 67877d15d5 run_lte.sh: fix EPC shutdown timer and disble proc timing measurements
this avoids having warnings in the logs when running with ASAN or on slow hardware
2020-06-29 21:19:42 +02:00
Andre Puschmann ed7db370c8 run_lte.sh: fix typo 2020-06-23 11:21:39 +02:00
Andre Puschmann 6a71e83d70 run_lte: adding stricter checks for pass/fail
* enable all layer logs in info
* check that no component ever logs an error/warning
* check that all PHY UL and DL transmissions are always crc=OK
* check PHICH, PUCCH, cqi
2020-06-10 20:50:47 +02:00
Andre Puschmann 355078926a fix run_lte.sh for new ZMQ arguments 2020-04-17 20:47:20 +02:00
Andre Puschmann 0e221f1317 adding CA support to run_lte.sh and adopt readme 2020-03-22 20:45:02 +01:00
Xavier Arteaga e832769ae6 Updated copyright 2020-03-16 11:26:06 +01:00
Andre Puschmann 0dd93c793c add CMake option for ZMQ-based end-to-end tests 2020-02-27 21:39:09 +01:00
Pau Espin Pedrol 501e06893e test/run_lte.sh: add missing parameters
Take the chance to set one parameter per line so it becomes easier to
find them.
2020-02-03 16:26:15 +01:00
Pau Espin Pedrol 75782fa6f2 test/run_lte.sh: Increase UE conn timeout
First time the script is run it needs more time, since some values are
not yet precomputed.
2020-02-03 16:26:15 +01:00
Pau Espin Pedrol a941355c37 test/run_lte.sh: fix trailing whitespace 2020-02-03 16:26:15 +01:00
Andre Puschmann 53032f8d98 run_lte: fix 75PRB config and enable PCAP in UE 2020-02-03 16:26:15 +01:00
Andre Puschmann a612d99c23 fix PRACH check in run_lte.sh script 2020-02-03 16:26:15 +01:00
Andre Puschmann 0247762265 adding basic shell script for running end-to-end tests 2020-02-03 16:26:15 +01:00