|
|
|
@ -9,6 +9,7 @@
|
|
|
|
|
if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
|
|
|
|
set(NR_PHY_TEST_GNB_NOF_THREADS 1)
|
|
|
|
|
set(NR_PHY_TEST_UE_NOF_THREADS 1)
|
|
|
|
|
set(NR_PHY_TEST_BW 10MHz)
|
|
|
|
|
|
|
|
|
|
add_executable(nr_phy_test nr_phy_test.cc)
|
|
|
|
|
target_link_libraries(nr_phy_test
|
|
|
|
@ -24,32 +25,31 @@ if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
|
${ATOMIC_LIBS})
|
|
|
|
|
|
|
|
|
|
add_nr_test(nr_phy_test_10MHz_dl_default nr_phy_test
|
|
|
|
|
add_nr_test(nr_phy_test_${NR_PHY_TEST_BW}_dl_default nr_phy_test
|
|
|
|
|
--reference=carrier=${NR_PHY_TEST_BW}
|
|
|
|
|
--duration=100
|
|
|
|
|
--gnb.stack.pdsch.slots=\"0,1,2,3,4,5\"
|
|
|
|
|
--gnb.stack.pdsch.start=0 # Start at RB 0
|
|
|
|
|
--gnb.stack.pdsch.length=52 # Full 10 MHz BW
|
|
|
|
|
--gnb.stack.pdsch.mcs=28 # Maximum MCS
|
|
|
|
|
--gnb.stack.pdsch.slots=0,1,2,3,4,5
|
|
|
|
|
--gnb.stack.pusch.slots=none
|
|
|
|
|
--gnb.phy.nof_threads=${NR_PHY_TEST_GNB_NOF_THREADS}
|
|
|
|
|
--ue.phy.nof_threads=${NR_PHY_TEST_UE_NOF_THREADS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_nr_test(nr_phy_test_10MHz_R.PDSCH.2-1.1_TDD nr_phy_test
|
|
|
|
|
"--reference=pdsch=R.PDSCH.2-1.1 TDD"
|
|
|
|
|
add_nr_test(nr_phy_test_${NR_PHY_TEST_BW}_ts38101/5.2-1 nr_phy_test
|
|
|
|
|
--reference=carrier=${NR_PHY_TEST_BW},pdsch=ts38101/5.2-1
|
|
|
|
|
--duration=100
|
|
|
|
|
--gnb.stack.pdsch.mcs=27
|
|
|
|
|
--gnb.stack.pdsch.start=0
|
|
|
|
|
--gnb.stack.pdsch.length=52
|
|
|
|
|
--gnb.stack.pdsch.slots=\"0,1,2,3,4,5\"
|
|
|
|
|
--gnb.stack.pusch.slots=\"\"
|
|
|
|
|
--gnb.stack.pdsch.slots=0,1,2,3,4,5
|
|
|
|
|
--gnb.stack.pusch.slots=none
|
|
|
|
|
--gnb.phy.nof_threads=${NR_PHY_TEST_GNB_NOF_THREADS}
|
|
|
|
|
--ue.phy.nof_threads=${NR_PHY_TEST_UE_NOF_THREADS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_nr_test(nr_phy_test_10MHz_ul_only nr_phy_test
|
|
|
|
|
add_nr_test(nr_phy_test_${NR_PHY_TEST_BW}_ul_only nr_phy_test
|
|
|
|
|
--reference=carrier=${NR_PHY_TEST_BW}
|
|
|
|
|
--duration=100 # 100 slots
|
|
|
|
|
--gnb.stack.pdsch.slots=none
|
|
|
|
|
--gnb.stack.pdsch.slots=6 # No PDSCH
|
|
|
|
|
--gnb.stack.pusch.slots=6,7,8,9 # All possible UL slots
|
|
|
|
|
--gnb.stack.pusch.start=0 # Start at RB 0
|
|
|
|
|
--gnb.stack.pusch.length=52 # Full 10 MHz BW
|
|
|
|
@ -58,7 +58,8 @@ if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
|
|
|
|
--ue.phy.nof_threads=${NR_PHY_TEST_UE_NOF_THREADS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_nr_test(nr_phy_test_10MHz_bidir nr_phy_test
|
|
|
|
|
add_nr_test(nr_phy_test_${NR_PHY_TEST_BW}_bidir nr_phy_test
|
|
|
|
|
--reference=carrier=${NR_PHY_TEST_BW}
|
|
|
|
|
--duration=100 # 100 slots
|
|
|
|
|
--gnb.stack.pdsch.slots=0,1,2,3,4,5 # All possible DL slots
|
|
|
|
|
--gnb.stack.pdsch.start=0 # Start at RB 0
|
|
|
|
@ -87,7 +88,8 @@ if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
|
|
|
|
--ue.phy.nof_threads=${NR_PHY_TEST_UE_NOF_THREADS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_nr_test(nr_phy_test_10MHz_prach nr_phy_test
|
|
|
|
|
add_nr_test(nr_phy_test_${NR_PHY_TEST_BW}_prach nr_phy_test
|
|
|
|
|
--reference=carrier=${NR_PHY_TEST_BW}
|
|
|
|
|
--duration=1000 # 100 slots
|
|
|
|
|
--gnb.stack.pdsch.slots=none # No PDSCH
|
|
|
|
|
--gnb.stack.pusch.slots=none # No PUSCH
|
|
|
|
@ -96,25 +98,4 @@ if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
|
|
|
|
--ue.stack.prach.preamble=10 # Use preamble 10
|
|
|
|
|
--ue.phy.nof_threads=${NR_PHY_TEST_UE_NOF_THREADS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_nr_test(nr_phy_test_10MHz_sr nr_phy_test
|
|
|
|
|
--duration=1000 # 100 slots
|
|
|
|
|
--gnb.stack.pdsch.slots=none # No PDSCH
|
|
|
|
|
--gnb.stack.pusch.slots=none # No PUSCH
|
|
|
|
|
--gnb.phy.nof_threads=${NR_PHY_TEST_GNB_NOF_THREADS}
|
|
|
|
|
--ue.stack.sr.period=1 # Transmit SR every candidate
|
|
|
|
|
--ue.phy.nof_threads=${NR_PHY_TEST_UE_NOF_THREADS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_nr_test(nr_phy_test_10MHz_dl_sr nr_phy_test
|
|
|
|
|
--duration=100
|
|
|
|
|
--gnb.stack.pdsch.slots=\"0,1,2,3,4,5\"
|
|
|
|
|
--gnb.stack.pdsch.start=0 # Start at RB 0
|
|
|
|
|
--gnb.stack.pdsch.length=2 # Full 10 MHz BW
|
|
|
|
|
--gnb.stack.pdsch.mcs=1 # Minimum MCS
|
|
|
|
|
--gnb.stack.pusch.slots=none
|
|
|
|
|
--gnb.phy.nof_threads=${NR_PHY_TEST_GNB_NOF_THREADS}
|
|
|
|
|
--ue.stack.sr.period=1 # Transmit SR every candidate
|
|
|
|
|
--ue.phy.nof_threads=${NR_PHY_TEST_UE_NOF_THREADS}
|
|
|
|
|
)
|
|
|
|
|
endif ()
|
|
|
|
|