|
|
@ -28,7 +28,7 @@ sched_nr_cell_cfg_t get_cell_cfg()
|
|
|
|
cell_cfg.bwps[0].pdcch.search_space_present[2] = true;
|
|
|
|
cell_cfg.bwps[0].pdcch.search_space_present[2] = true;
|
|
|
|
cell_cfg.bwps[0].pdcch.search_space[2] = get_default_ue_specific_search_space(2, 2);
|
|
|
|
cell_cfg.bwps[0].pdcch.search_space[2] = get_default_ue_specific_search_space(2, 2);
|
|
|
|
cell_cfg.bwps[0].pdcch.coreset_present[2] = true;
|
|
|
|
cell_cfg.bwps[0].pdcch.coreset_present[2] = true;
|
|
|
|
cell_cfg.bwps[0].pdcch.coreset[2] = get_default_ue_specific_coreset(2, cell_cfg.carrier.pci);
|
|
|
|
cell_cfg.bwps[0].pdcch.coreset[2] = get_default_ue_specific_coreset(2, cell_cfg.pci);
|
|
|
|
return cell_cfg;
|
|
|
|
return cell_cfg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -88,7 +88,7 @@ void test_si()
|
|
|
|
// Create Cell and UE configs
|
|
|
|
// Create Cell and UE configs
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_impl::cell_params_t cell_params{0, cellcfg, sched_args};
|
|
|
|
sched_nr_impl::cell_config_manager cell_params{0, cellcfg, sched_args};
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
|
|
|
|
|
|
|
|
pdsch_list_t pdschs;
|
|
|
|
pdsch_list_t pdschs;
|
|
|
@ -146,7 +146,7 @@ void test_rar()
|
|
|
|
|
|
|
|
|
|
|
|
// Create Cell and UE configs
|
|
|
|
// Create Cell and UE configs
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_impl::cell_params_t cell_cfg{0, get_cell_cfg(), sched_args};
|
|
|
|
sched_nr_impl::cell_config_manager cell_cfg{0, get_cell_cfg(), sched_args};
|
|
|
|
const bwp_params_t& bwp_params = cell_cfg.bwps[0];
|
|
|
|
const bwp_params_t& bwp_params = cell_cfg.bwps[0];
|
|
|
|
|
|
|
|
|
|
|
|
pdsch_list_t pdschs;
|
|
|
|
pdsch_list_t pdschs;
|
|
|
@ -204,7 +204,7 @@ void test_ue_pdsch()
|
|
|
|
// Create Cell and UE configs
|
|
|
|
// Create Cell and UE configs
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_impl::cell_params_t cell_params{0, get_cell_cfg(), sched_args};
|
|
|
|
sched_nr_impl::cell_config_manager cell_params{0, get_cell_cfg(), sched_args};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
@ -272,7 +272,7 @@ void test_pdsch_fail()
|
|
|
|
// Create Cell and UE configs
|
|
|
|
// Create Cell and UE configs
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_impl::cell_params_t cell_params{0, cellcfg, sched_args};
|
|
|
|
sched_nr_impl::cell_config_manager cell_params{0, cellcfg, sched_args};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
@ -322,7 +322,7 @@ void test_multi_pdsch()
|
|
|
|
// Create Cell and UE configs
|
|
|
|
// Create Cell and UE configs
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_impl::cell_params_t cell_params{0, cellcfg, sched_args};
|
|
|
|
sched_nr_impl::cell_config_manager cell_params{0, cellcfg, sched_args};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
@ -414,7 +414,7 @@ void test_multi_pusch()
|
|
|
|
// Create Cell and UE configs
|
|
|
|
// Create Cell and UE configs
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_interface::sched_args_t sched_args;
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_cell_cfg_t cellcfg = get_cell_cfg();
|
|
|
|
sched_nr_impl::cell_params_t cell_params{0, cellcfg, sched_args};
|
|
|
|
sched_nr_impl::cell_config_manager cell_params{0, cellcfg, sched_args};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
sched_nr_impl::ue_cfg_manager uecfg{get_ue_cfg(cellcfg)};
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
const bwp_params_t& bwp_params = cell_params.bwps[0];
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
|
ue_carrier_params_t ue_cc{0x4601, bwp_params, uecfg};
|
|
|
|