|
|
@ -66,7 +66,6 @@ int test_eutra_nr_capabilities()
|
|
|
|
band_combination.band_list.push_back(band_param_nr);
|
|
|
|
band_combination.band_list.push_back(band_param_nr);
|
|
|
|
|
|
|
|
|
|
|
|
mrdc_cap.rf_params_mrdc.supported_band_combination_list.push_back(band_combination);
|
|
|
|
mrdc_cap.rf_params_mrdc.supported_band_combination_list.push_back(band_combination);
|
|
|
|
mrdc_cap.rf_params_mrdc.supported_band_combination_list_present = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mrdc_cap.rf_params_mrdc.ext = true;
|
|
|
|
mrdc_cap.rf_params_mrdc.ext = true;
|
|
|
|
|
|
|
|
|
|
|
@ -83,8 +82,6 @@ int test_eutra_nr_capabilities()
|
|
|
|
band_info_nr.band_info_nr().band_nr = 78;
|
|
|
|
band_info_nr.band_info_nr().band_nr = 78;
|
|
|
|
mrdc_cap.rf_params_mrdc.applied_freq_band_list_filt.push_back(band_info_nr);
|
|
|
|
mrdc_cap.rf_params_mrdc.applied_freq_band_list_filt.push_back(band_info_nr);
|
|
|
|
|
|
|
|
|
|
|
|
mrdc_cap.rf_params_mrdc.applied_freq_band_list_filt_present = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// rf_params_mrdc supported band combination list v1540
|
|
|
|
// rf_params_mrdc supported band combination list v1540
|
|
|
|
|
|
|
|
|
|
|
|
band_combination_list_v1540_l* band_combination_list_v1450 = new band_combination_list_v1540_l();
|
|
|
|
band_combination_list_v1540_l* band_combination_list_v1450 = new band_combination_list_v1540_l();
|
|
|
@ -137,8 +134,6 @@ int test_eutra_nr_capabilities()
|
|
|
|
|
|
|
|
|
|
|
|
mrdc_cap.feature_set_combinations.push_back(feature_set_combination);
|
|
|
|
mrdc_cap.feature_set_combinations.push_back(feature_set_combination);
|
|
|
|
|
|
|
|
|
|
|
|
mrdc_cap.feature_set_combinations_present = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Pack mrdc_cap
|
|
|
|
// Pack mrdc_cap
|
|
|
|
uint8_t buffer[1024];
|
|
|
|
uint8_t buffer[1024];
|
|
|
|
asn1::bit_ref bref(buffer, sizeof(buffer));
|
|
|
|
asn1::bit_ref bref(buffer, sizeof(buffer));
|
|
|
@ -209,7 +204,7 @@ int test_ue_rrc_reconfiguration()
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
TESTASSERT(rrc_recfg.crit_exts.type() == asn1::rrc_nr::rrc_recfg_s::crit_exts_c_::types::rrc_recfg);
|
|
|
|
TESTASSERT(rrc_recfg.crit_exts.type() == asn1::rrc_nr::rrc_recfg_s::crit_exts_c_::types::rrc_recfg);
|
|
|
|
TESTASSERT(rrc_recfg.crit_exts.rrc_recfg().secondary_cell_group_present == true);
|
|
|
|
TESTASSERT(rrc_recfg.crit_exts.rrc_recfg().secondary_cell_group.size() > 0);
|
|
|
|
|
|
|
|
|
|
|
|
cell_group_cfg_s cell_group_cfg;
|
|
|
|
cell_group_cfg_s cell_group_cfg;
|
|
|
|
cbit_ref bref0(rrc_recfg.crit_exts.rrc_recfg().secondary_cell_group.data(),
|
|
|
|
cbit_ref bref0(rrc_recfg.crit_exts.rrc_recfg().secondary_cell_group.data(),
|
|
|
@ -221,7 +216,6 @@ int test_ue_rrc_reconfiguration()
|
|
|
|
srslog::fetch_basic_logger("RRC").info("RRC Secondary Cell Group: \n %s", jw1.to_string().c_str());
|
|
|
|
srslog::fetch_basic_logger("RRC").info("RRC Secondary Cell Group: \n %s", jw1.to_string().c_str());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
TESTASSERT(cell_group_cfg.cell_group_id == 1);
|
|
|
|
TESTASSERT(cell_group_cfg.cell_group_id == 1);
|
|
|
|
TESTASSERT(cell_group_cfg.rlc_bearer_to_add_mod_list_present == true);
|
|
|
|
|
|
|
|
TESTASSERT(cell_group_cfg.rlc_bearer_to_add_mod_list.size() == 1);
|
|
|
|
TESTASSERT(cell_group_cfg.rlc_bearer_to_add_mod_list.size() == 1);
|
|
|
|
TESTASSERT(cell_group_cfg.mac_cell_group_cfg_present == true);
|
|
|
|
TESTASSERT(cell_group_cfg.mac_cell_group_cfg_present == true);
|
|
|
|
TESTASSERT(cell_group_cfg.phys_cell_group_cfg_present == true);
|
|
|
|
TESTASSERT(cell_group_cfg.phys_cell_group_cfg_present == true);
|
|
|
@ -240,7 +234,6 @@ int test_radio_bearer_config()
|
|
|
|
radio_bearer_cfg.to_json(jw);
|
|
|
|
radio_bearer_cfg.to_json(jw);
|
|
|
|
srslog::fetch_basic_logger("RRC").info("RRC Bearer CFG Message: \n %s", jw.to_string().c_str());
|
|
|
|
srslog::fetch_basic_logger("RRC").info("RRC Bearer CFG Message: \n %s", jw.to_string().c_str());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
TESTASSERT(radio_bearer_cfg.drb_to_add_mod_list_present == true);
|
|
|
|
|
|
|
|
TESTASSERT(radio_bearer_cfg.drb_to_add_mod_list.size() == 1);
|
|
|
|
TESTASSERT(radio_bearer_cfg.drb_to_add_mod_list.size() == 1);
|
|
|
|
TESTASSERT(radio_bearer_cfg.security_cfg_present == true);
|
|
|
|
TESTASSERT(radio_bearer_cfg.security_cfg_present == true);
|
|
|
|
TESTASSERT(radio_bearer_cfg.security_cfg.security_algorithm_cfg_present == true);
|
|
|
|
TESTASSERT(radio_bearer_cfg.security_cfg.security_algorithm_cfg_present == true);
|
|
|
@ -252,7 +245,6 @@ int test_radio_bearer_config()
|
|
|
|
rrc_recfg_ies_s& recfg_ies = reconfig.crit_exts.set_rrc_recfg();
|
|
|
|
rrc_recfg_ies_s& recfg_ies = reconfig.crit_exts.set_rrc_recfg();
|
|
|
|
|
|
|
|
|
|
|
|
recfg_ies.radio_bearer_cfg_present = true;
|
|
|
|
recfg_ies.radio_bearer_cfg_present = true;
|
|
|
|
recfg_ies.radio_bearer_cfg.drb_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
recfg_ies.radio_bearer_cfg.drb_to_add_mod_list.resize(1);
|
|
|
|
recfg_ies.radio_bearer_cfg.drb_to_add_mod_list.resize(1);
|
|
|
|
|
|
|
|
|
|
|
|
auto& drb_item = recfg_ies.radio_bearer_cfg.drb_to_add_mod_list[0];
|
|
|
|
auto& drb_item = recfg_ies.radio_bearer_cfg.drb_to_add_mod_list[0];
|
|
|
@ -389,7 +381,6 @@ int test_cell_group_config_tdd()
|
|
|
|
cell_group_cfg_s cell_group_cfg_pack;
|
|
|
|
cell_group_cfg_s cell_group_cfg_pack;
|
|
|
|
|
|
|
|
|
|
|
|
// RLC for DRB1
|
|
|
|
// RLC for DRB1
|
|
|
|
cell_group_cfg_pack.rlc_bearer_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.rlc_bearer_to_add_mod_list.resize(1);
|
|
|
|
cell_group_cfg_pack.rlc_bearer_to_add_mod_list.resize(1);
|
|
|
|
auto& rlc = cell_group_cfg_pack.rlc_bearer_to_add_mod_list[0];
|
|
|
|
auto& rlc = cell_group_cfg_pack.rlc_bearer_to_add_mod_list[0];
|
|
|
|
rlc.lc_ch_id = 1;
|
|
|
|
rlc.lc_ch_id = 1;
|
|
|
@ -421,7 +412,6 @@ int test_cell_group_config_tdd()
|
|
|
|
cell_group_cfg_pack.mac_cell_group_cfg_present = true;
|
|
|
|
cell_group_cfg_pack.mac_cell_group_cfg_present = true;
|
|
|
|
auto& mac_cell_group = cell_group_cfg_pack.mac_cell_group_cfg;
|
|
|
|
auto& mac_cell_group = cell_group_cfg_pack.mac_cell_group_cfg;
|
|
|
|
mac_cell_group.sched_request_cfg_present = true;
|
|
|
|
mac_cell_group.sched_request_cfg_present = true;
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list.resize(1);
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list.resize(1);
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sched_request_id = 0;
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sched_request_id = 0;
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sr_trans_max =
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sr_trans_max =
|
|
|
@ -442,7 +432,6 @@ int test_cell_group_config_tdd()
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg_present = true;
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg_present = true;
|
|
|
|
auto& pdcch_cfg_dedicated = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg;
|
|
|
|
auto& pdcch_cfg_dedicated = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg;
|
|
|
|
pdcch_cfg_dedicated.set_setup();
|
|
|
|
pdcch_cfg_dedicated.set_setup();
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].ctrl_res_set_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].ctrl_res_set_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].freq_domain_res.from_number(
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].freq_domain_res.from_number(
|
|
|
@ -453,7 +442,6 @@ int test_cell_group_config_tdd()
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
|
|
|
|
|
|
|
|
// search spaces
|
|
|
|
// search spaces
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].search_space_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].search_space_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].ctrl_res_set_id_present = true;
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].ctrl_res_set_id_present = true;
|
|
|
@ -488,7 +476,6 @@ int test_cell_group_config_tdd()
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position_present = true;
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position_present = true;
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position =
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position =
|
|
|
|
asn1::rrc_nr::dmrs_dl_cfg_s::dmrs_add_position_opts::pos1;
|
|
|
|
asn1::rrc_nr::dmrs_dl_cfg_s::dmrs_add_position_opts::pos1;
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].tci_state_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].tci_state_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].qcl_type1.ref_sig.set_ssb();
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].qcl_type1.ref_sig.set_ssb();
|
|
|
@ -503,7 +490,6 @@ int test_cell_group_config_tdd()
|
|
|
|
asn1::rrc_nr::pdsch_cfg_s::prb_bundling_type_c_::static_bundling_s_::bundle_size_opts::wideband;
|
|
|
|
asn1::rrc_nr::pdsch_cfg_s::prb_bundling_type_c_::static_bundling_s_::bundle_size_opts::wideband;
|
|
|
|
|
|
|
|
|
|
|
|
// ZP-CSI
|
|
|
|
// ZP-CSI
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].zp_csi_rs_res_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].zp_csi_rs_res_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].res_map.freq_domain_alloc.set_row4();
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].res_map.freq_domain_alloc.set_row4();
|
|
|
@ -542,7 +528,6 @@ int test_cell_group_config_tdd()
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().format2.setup().max_code_rate = pucch_max_code_rate_opts::zero_dot25;
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().format2.setup().max_code_rate = pucch_max_code_rate_opts::zero_dot25;
|
|
|
|
|
|
|
|
|
|
|
|
// SR resources
|
|
|
|
// SR resources
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list.resize(1);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list.resize(1);
|
|
|
|
auto& sr_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list[0];
|
|
|
|
auto& sr_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list[0];
|
|
|
|
sr_res1.sched_request_res_id = 1;
|
|
|
|
sr_res1.sched_request_res_id = 1;
|
|
|
@ -554,7 +539,6 @@ int test_cell_group_config_tdd()
|
|
|
|
sr_res1.res = 0; // only PUCCH resource we have defined so far
|
|
|
|
sr_res1.res = 0; // only PUCCH resource we have defined so far
|
|
|
|
|
|
|
|
|
|
|
|
// DL data
|
|
|
|
// DL data
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack_present = true;
|
|
|
|
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack.resize(5);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack.resize(5);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[0] = 8;
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[0] = 8;
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[1] = 7;
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[1] = 7;
|
|
|
@ -563,7 +547,6 @@ int test_cell_group_config_tdd()
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[4] = 4;
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[4] = 4;
|
|
|
|
|
|
|
|
|
|
|
|
// PUCCH resources (only one format1 for the moment)
|
|
|
|
// PUCCH resources (only one format1 for the moment)
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list.resize(1);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list.resize(1);
|
|
|
|
auto& pucch_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list[0];
|
|
|
|
auto& pucch_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list[0];
|
|
|
|
pucch_res1.pucch_res_id = 0;
|
|
|
|
pucch_res1.pucch_res_id = 0;
|
|
|
@ -625,7 +608,6 @@ int test_cell_group_config_tdd()
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.set_setup();
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.set_setup();
|
|
|
|
|
|
|
|
|
|
|
|
// nzp-CSI-RS Resource
|
|
|
|
// nzp-CSI-RS Resource
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list.resize(1);
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list.resize(1);
|
|
|
|
auto& nzp_csi_res =
|
|
|
|
auto& nzp_csi_res =
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list[0];
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list[0];
|
|
|
@ -649,8 +631,6 @@ int test_cell_group_config_tdd()
|
|
|
|
nzp_csi_res.qcl_info_periodic_csi_rs = 0;
|
|
|
|
nzp_csi_res.qcl_info_periodic_csi_rs = 0;
|
|
|
|
|
|
|
|
|
|
|
|
// nzp-CSI-RS ResourceSet
|
|
|
|
// nzp-CSI-RS ResourceSet
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list_present =
|
|
|
|
|
|
|
|
true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list.resize(1);
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list.resize(1);
|
|
|
|
auto& nzp_csi_res_set =
|
|
|
|
auto& nzp_csi_res_set =
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list[0];
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list[0];
|
|
|
@ -660,7 +640,6 @@ int test_cell_group_config_tdd()
|
|
|
|
// Skip TRS info
|
|
|
|
// Skip TRS info
|
|
|
|
|
|
|
|
|
|
|
|
// CSI report config
|
|
|
|
// CSI report config
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list.resize(1);
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list.resize(1);
|
|
|
|
auto& csi_report =
|
|
|
|
auto& csi_report =
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list[0];
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list[0];
|
|
|
@ -743,7 +722,6 @@ int test_cell_group_config_tdd()
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
|
|
|
|
|
|
|
|
// common search space list
|
|
|
|
// common search space list
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list_present = true;
|
|
|
|
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list.resize(1);
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list.resize(1);
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].search_space_id = 1;
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].search_space_id = 1;
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].ctrl_res_set_id_present = true;
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].ctrl_res_set_id_present = true;
|
|
|
@ -779,7 +757,6 @@ int test_cell_group_config_tdd()
|
|
|
|
.set_setup();
|
|
|
|
.set_setup();
|
|
|
|
auto& pdsch_cfg_common = cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.dl_cfg_common.init_dl_bwp
|
|
|
|
auto& pdsch_cfg_common = cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.dl_cfg_common.init_dl_bwp
|
|
|
|
.pdsch_cfg_common.setup();
|
|
|
|
.pdsch_cfg_common.setup();
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list_present = true;
|
|
|
|
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list.resize(1);
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list.resize(1);
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].map_type = pdsch_time_domain_res_alloc_s::map_type_opts::type_a;
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].map_type = pdsch_time_domain_res_alloc_s::map_type_opts::type_a;
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].start_symbol_and_len = 40;
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].start_symbol_and_len = 40;
|
|
|
@ -833,7 +810,6 @@ int test_cell_group_config_tdd()
|
|
|
|
auto& pusch_cfg_common_pack =
|
|
|
|
auto& pusch_cfg_common_pack =
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.ul_cfg_common.init_ul_bwp.pusch_cfg_common;
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.ul_cfg_common.init_ul_bwp.pusch_cfg_common;
|
|
|
|
pusch_cfg_common_pack.set_setup();
|
|
|
|
pusch_cfg_common_pack.set_setup();
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list_present = true;
|
|
|
|
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list.resize(2);
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list.resize(2);
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2_present = true;
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2_present = true;
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2 = 4;
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2 = 4;
|
|
|
@ -1006,7 +982,6 @@ int test_cell_group_config_fdd()
|
|
|
|
cell_group_cfg_s cell_group_cfg_pack;
|
|
|
|
cell_group_cfg_s cell_group_cfg_pack;
|
|
|
|
|
|
|
|
|
|
|
|
// RLC for DRB1
|
|
|
|
// RLC for DRB1
|
|
|
|
cell_group_cfg_pack.rlc_bearer_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.rlc_bearer_to_add_mod_list.resize(1);
|
|
|
|
cell_group_cfg_pack.rlc_bearer_to_add_mod_list.resize(1);
|
|
|
|
auto& rlc = cell_group_cfg_pack.rlc_bearer_to_add_mod_list[0];
|
|
|
|
auto& rlc = cell_group_cfg_pack.rlc_bearer_to_add_mod_list[0];
|
|
|
|
rlc.lc_ch_id = 4;
|
|
|
|
rlc.lc_ch_id = 4;
|
|
|
@ -1038,7 +1013,6 @@ int test_cell_group_config_fdd()
|
|
|
|
cell_group_cfg_pack.mac_cell_group_cfg_present = true;
|
|
|
|
cell_group_cfg_pack.mac_cell_group_cfg_present = true;
|
|
|
|
auto& mac_cell_group = cell_group_cfg_pack.mac_cell_group_cfg;
|
|
|
|
auto& mac_cell_group = cell_group_cfg_pack.mac_cell_group_cfg;
|
|
|
|
mac_cell_group.sched_request_cfg_present = true;
|
|
|
|
mac_cell_group.sched_request_cfg_present = true;
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list.resize(1);
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list.resize(1);
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sched_request_id = 0;
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sched_request_id = 0;
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sr_trans_max =
|
|
|
|
mac_cell_group.sched_request_cfg.sched_request_to_add_mod_list[0].sr_trans_max =
|
|
|
@ -1059,7 +1033,6 @@ int test_cell_group_config_fdd()
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg_present = true;
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg_present = true;
|
|
|
|
auto& pdcch_cfg_dedicated = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg;
|
|
|
|
auto& pdcch_cfg_dedicated = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.init_dl_bwp.pdcch_cfg;
|
|
|
|
pdcch_cfg_dedicated.set_setup();
|
|
|
|
pdcch_cfg_dedicated.set_setup();
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].ctrl_res_set_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].ctrl_res_set_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].freq_domain_res.from_number(
|
|
|
|
pdcch_cfg_dedicated.setup().ctrl_res_set_to_add_mod_list[0].freq_domain_res.from_number(
|
|
|
@ -1070,7 +1043,6 @@ int test_cell_group_config_fdd()
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
|
|
|
|
|
|
|
|
// search spaces
|
|
|
|
// search spaces
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list.resize(1);
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].search_space_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].search_space_id = 2;
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].ctrl_res_set_id_present = true;
|
|
|
|
pdcch_cfg_dedicated.setup().search_spaces_to_add_mod_list[0].ctrl_res_set_id_present = true;
|
|
|
@ -1105,7 +1077,6 @@ int test_cell_group_config_fdd()
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position_present = true;
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position_present = true;
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position =
|
|
|
|
pdsch_cfg_dedicated.setup().dmrs_dl_for_pdsch_map_type_a.setup().dmrs_add_position =
|
|
|
|
asn1::rrc_nr::dmrs_dl_cfg_s::dmrs_add_position_opts::pos1;
|
|
|
|
asn1::rrc_nr::dmrs_dl_cfg_s::dmrs_add_position_opts::pos1;
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].tci_state_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].tci_state_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].qcl_type1.ref_sig.set_ssb();
|
|
|
|
pdsch_cfg_dedicated.setup().tci_states_to_add_mod_list[0].qcl_type1.ref_sig.set_ssb();
|
|
|
@ -1120,7 +1091,6 @@ int test_cell_group_config_fdd()
|
|
|
|
asn1::rrc_nr::pdsch_cfg_s::prb_bundling_type_c_::static_bundling_s_::bundle_size_opts::wideband;
|
|
|
|
asn1::rrc_nr::pdsch_cfg_s::prb_bundling_type_c_::static_bundling_s_::bundle_size_opts::wideband;
|
|
|
|
|
|
|
|
|
|
|
|
// ZP-CSI
|
|
|
|
// ZP-CSI
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list.resize(1);
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].zp_csi_rs_res_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].zp_csi_rs_res_id = 0;
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].res_map.freq_domain_alloc.set_row4();
|
|
|
|
pdsch_cfg_dedicated.setup().zp_csi_rs_res_to_add_mod_list[0].res_map.freq_domain_alloc.set_row4();
|
|
|
@ -1159,7 +1129,6 @@ int test_cell_group_config_fdd()
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().format2.setup().max_code_rate = pucch_max_code_rate_opts::zero_dot25;
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().format2.setup().max_code_rate = pucch_max_code_rate_opts::zero_dot25;
|
|
|
|
|
|
|
|
|
|
|
|
// SR resources
|
|
|
|
// SR resources
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list.resize(1);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list.resize(1);
|
|
|
|
auto& sr_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list[0];
|
|
|
|
auto& sr_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().sched_request_res_to_add_mod_list[0];
|
|
|
|
sr_res1.sched_request_res_id = 1;
|
|
|
|
sr_res1.sched_request_res_id = 1;
|
|
|
@ -1171,13 +1140,11 @@ int test_cell_group_config_fdd()
|
|
|
|
sr_res1.res = 16;
|
|
|
|
sr_res1.res = 16;
|
|
|
|
|
|
|
|
|
|
|
|
// DL data
|
|
|
|
// DL data
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack_present = true;
|
|
|
|
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack.resize(1);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack.resize(1);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[0] = 4;
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().dl_data_to_ul_ack[0] = 4;
|
|
|
|
|
|
|
|
|
|
|
|
// TODO?
|
|
|
|
// TODO?
|
|
|
|
// PUCCH resources (only one format1 for the moment)
|
|
|
|
// PUCCH resources (only one format1 for the moment)
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list.resize(1);
|
|
|
|
ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list.resize(1);
|
|
|
|
auto& pucch_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list[0];
|
|
|
|
auto& pucch_res1 = ul_config.init_ul_bwp.pucch_cfg.setup().res_to_add_mod_list[0];
|
|
|
|
pucch_res1.pucch_res_id = 0;
|
|
|
|
pucch_res1.pucch_res_id = 0;
|
|
|
@ -1239,7 +1206,6 @@ int test_cell_group_config_fdd()
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.set_setup();
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.set_setup();
|
|
|
|
|
|
|
|
|
|
|
|
// nzp-CSI-RS Resource
|
|
|
|
// nzp-CSI-RS Resource
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list.resize(5);
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_to_add_mod_list.resize(5);
|
|
|
|
auto& nzp_csi_res = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup();
|
|
|
|
auto& nzp_csi_res = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup();
|
|
|
|
// item 0
|
|
|
|
// item 0
|
|
|
@ -1349,8 +1315,6 @@ int test_cell_group_config_fdd()
|
|
|
|
nzp_csi_res.nzp_csi_rs_res_to_add_mod_list[4].qcl_info_periodic_csi_rs = 0;
|
|
|
|
nzp_csi_res.nzp_csi_rs_res_to_add_mod_list[4].qcl_info_periodic_csi_rs = 0;
|
|
|
|
|
|
|
|
|
|
|
|
// nzp-CSI-RS ResourceSet
|
|
|
|
// nzp-CSI-RS ResourceSet
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list_present =
|
|
|
|
|
|
|
|
true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list.resize(2);
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().nzp_csi_rs_res_set_to_add_mod_list.resize(2);
|
|
|
|
auto& nzp_csi_res_set = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup();
|
|
|
|
auto& nzp_csi_res_set = cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup();
|
|
|
|
// item 0
|
|
|
|
// item 0
|
|
|
@ -1373,7 +1337,6 @@ int test_cell_group_config_fdd()
|
|
|
|
// TODO: add csi resource config
|
|
|
|
// TODO: add csi resource config
|
|
|
|
|
|
|
|
|
|
|
|
// CSI report config
|
|
|
|
// CSI report config
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list_present = true;
|
|
|
|
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list.resize(1);
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list.resize(1);
|
|
|
|
auto& csi_report =
|
|
|
|
auto& csi_report =
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list[0];
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg.setup().csi_report_cfg_to_add_mod_list[0];
|
|
|
@ -1456,7 +1419,6 @@ int test_cell_group_config_fdd()
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
asn1::rrc_nr::ctrl_res_set_s::precoder_granularity_opts::same_as_reg_bundle;
|
|
|
|
|
|
|
|
|
|
|
|
// common search space list
|
|
|
|
// common search space list
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list_present = true;
|
|
|
|
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list.resize(1);
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list.resize(1);
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].search_space_id = 1;
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].search_space_id = 1;
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].ctrl_res_set_id_present = true;
|
|
|
|
pdcch_cfg_common.setup().common_search_space_list[0].ctrl_res_set_id_present = true;
|
|
|
@ -1492,7 +1454,6 @@ int test_cell_group_config_fdd()
|
|
|
|
.set_setup();
|
|
|
|
.set_setup();
|
|
|
|
auto& pdsch_cfg_common = cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.dl_cfg_common.init_dl_bwp
|
|
|
|
auto& pdsch_cfg_common = cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.dl_cfg_common.init_dl_bwp
|
|
|
|
.pdsch_cfg_common.setup();
|
|
|
|
.pdsch_cfg_common.setup();
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list_present = true;
|
|
|
|
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list.resize(1);
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list.resize(1);
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].map_type = pdsch_time_domain_res_alloc_s::map_type_opts::type_a;
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].map_type = pdsch_time_domain_res_alloc_s::map_type_opts::type_a;
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].start_symbol_and_len = 40;
|
|
|
|
pdsch_cfg_common.pdsch_time_domain_alloc_list[0].start_symbol_and_len = 40;
|
|
|
@ -1550,7 +1511,6 @@ int test_cell_group_config_fdd()
|
|
|
|
auto& pusch_cfg_common_pack =
|
|
|
|
auto& pusch_cfg_common_pack =
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.ul_cfg_common.init_ul_bwp.pusch_cfg_common;
|
|
|
|
cell_group_cfg_pack.sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common.ul_cfg_common.init_ul_bwp.pusch_cfg_common;
|
|
|
|
pusch_cfg_common_pack.set_setup();
|
|
|
|
pusch_cfg_common_pack.set_setup();
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list_present = true;
|
|
|
|
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list.resize(2);
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list.resize(2);
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2_present = true;
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2_present = true;
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2 = 4;
|
|
|
|
pusch_cfg_common_pack.setup().pusch_time_domain_alloc_list[0].k2 = 4;
|
|
|
|