mirror of https://github.com/PentHertz/srsLTE.git
Added R.PDSCH.2-1.1 TDD reference for NZP-CSI-RS testing
This commit is contained in:
parent
1b50758bd5
commit
4bc7df45c6
|
@ -192,4 +192,4 @@ int main()
|
||||||
|
|
||||||
srsenb::sched_nr_cfg_serialized_test();
|
srsenb::sched_nr_cfg_serialized_test();
|
||||||
srsenb::sched_nr_cfg_parallel_cc_test();
|
srsenb::sched_nr_cfg_parallel_cc_test();
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
${ATOMIC_LIBS})
|
${ATOMIC_LIBS})
|
||||||
|
|
||||||
add_nr_test(nr_phy_test_10MHz_dl_only nr_phy_test
|
add_nr_test(nr_phy_test_10MHz_dl_default nr_phy_test
|
||||||
--duration=100
|
--duration=100
|
||||||
--gnb.stack.pdsch.slots=\"0,1,2,3,4,5\"
|
--gnb.stack.pdsch.slots=\"0,1,2,3,4,5\"
|
||||||
--gnb.stack.pdsch.start=0 # Start at RB 0
|
--gnb.stack.pdsch.start=0 # Start at RB 0
|
||||||
|
@ -35,6 +35,18 @@ if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
||||||
--ue.phy.nof_threads=${NR_PHY_TEST_UE_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"
|
||||||
|
--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.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_10MHz_ul_only nr_phy_test
|
||||||
--duration=100 # 100 slots
|
--duration=100 # 100 slots
|
||||||
--gnb.stack.pdsch.slots=none
|
--gnb.stack.pdsch.slots=none
|
||||||
|
|
|
@ -23,6 +23,7 @@ namespace bpo = boost::program_options;
|
||||||
|
|
||||||
test_bench::args_t::args_t(int argc, char** argv)
|
test_bench::args_t::args_t(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
std::string reference_cfg_str = "";
|
||||||
bpo::options_description options("Test bench options");
|
bpo::options_description options("Test bench options");
|
||||||
bpo::options_description options_gnb_stack("gNb stack and scheduling related options");
|
bpo::options_description options_gnb_stack("gNb stack and scheduling related options");
|
||||||
bpo::options_description options_gnb_phy("gNb PHY related options");
|
bpo::options_description options_gnb_phy("gNb PHY related options");
|
||||||
|
@ -39,6 +40,7 @@ test_bench::args_t::args_t(int argc, char** argv)
|
||||||
("rnti", bpo::value<uint16_t>(&rnti)->default_value(rnti), "UE RNTI")
|
("rnti", bpo::value<uint16_t>(&rnti)->default_value(rnti), "UE RNTI")
|
||||||
("duration", bpo::value<uint64_t>(&durations_slots)->default_value(durations_slots), "Test duration in slots")
|
("duration", bpo::value<uint64_t>(&durations_slots)->default_value(durations_slots), "Test duration in slots")
|
||||||
("lib.log.level", bpo::value<std::string>(&phy_lib_log_level)->default_value(phy_lib_log_level), "PHY librray log level")
|
("lib.log.level", bpo::value<std::string>(&phy_lib_log_level)->default_value(phy_lib_log_level), "PHY librray log level")
|
||||||
|
("reference", bpo::value<std::string>(&reference_cfg_str)->default_value(reference_cfg_str), "Reference PHY configuration arguments")
|
||||||
;
|
;
|
||||||
|
|
||||||
options_gnb_stack.add_options()
|
options_gnb_stack.add_options()
|
||||||
|
@ -100,8 +102,7 @@ test_bench::args_t::args_t(int argc, char** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load default reference configuration
|
// Load default reference configuration
|
||||||
srsran::phy_cfg_nr_default_t::reference_cfg_t reference_cfg;
|
phy_cfg = srsran::phy_cfg_nr_default_t(srsran::phy_cfg_nr_default_t::reference_cfg_t(reference_cfg_str));
|
||||||
phy_cfg = srsran::phy_cfg_nr_default_t(reference_cfg);
|
|
||||||
|
|
||||||
cell_list.resize(1);
|
cell_list.resize(1);
|
||||||
cell_list[0].carrier = phy_cfg.carrier;
|
cell_list[0].carrier = phy_cfg.carrier;
|
||||||
|
|
Loading…
Reference in New Issue