SRSUE: enable 256QAM in RRC NR capability message

This commit is contained in:
Xavier Arteaga 2021-05-04 13:13:07 +02:00 committed by Xavier Arteaga
parent af2f37d8ca
commit 5e6983f8e6
1 changed files with 11 additions and 8 deletions

View File

@ -373,6 +373,7 @@ void rrc_nr::get_nr_capabilities(srsran::byte_buffer_t* nr_caps_pdu)
band_nr.band_nr = band; band_nr.band_nr = band;
band_nr.ue_pwr_class_present = true; band_nr.ue_pwr_class_present = true;
band_nr.ue_pwr_class = band_nr_s::ue_pwr_class_opts::pc3; band_nr.ue_pwr_class = band_nr_s::ue_pwr_class_opts::pc3;
band_nr.pusch_minus256_qam_present = true;
nr_cap.rf_params.supported_band_list_nr.push_back(band_nr); nr_cap.rf_params.supported_band_list_nr.push_back(band_nr);
} }
@ -380,6 +381,8 @@ void rrc_nr::get_nr_capabilities(srsran::byte_buffer_t* nr_caps_pdu)
nr_cap.rlc_params.um_with_short_sn_present = true; nr_cap.rlc_params.um_with_short_sn_present = true;
nr_cap.rlc_params.um_with_long_sn_present = true; nr_cap.rlc_params.um_with_long_sn_present = true;
nr_cap.pdcp_params.short_sn_present = args.pdcp_short_sn_support; nr_cap.pdcp_params.short_sn_present = args.pdcp_short_sn_support;
nr_cap.phy_params.phy_params_fr1_present = true;
nr_cap.phy_params.phy_params_fr1.pdsch_minus256_qam_fr1_present = true;
// Pack nr_caps // Pack nr_caps
asn1::bit_ref bref(nr_caps_pdu->msg, nr_caps_pdu->get_tailroom()); asn1::bit_ref bref(nr_caps_pdu->msg, nr_caps_pdu->get_tailroom());
@ -1042,7 +1045,7 @@ bool rrc_nr::apply_sp_cell_ded_ul_pusch(const asn1::rrc_nr::pusch_cfg_s& pusch_c
phy_cfg.pusch.mcs_table = srsran_mcs_table_qam64LowSE; phy_cfg.pusch.mcs_table = srsran_mcs_table_qam64LowSE;
break; break;
case pusch_cfg_s::mcs_table_opts::nulltype: case pusch_cfg_s::mcs_table_opts::nulltype:
logger.warning("Warning while selecting pdsch mcs_table"); logger.warning("Warning while selecting pusch mcs_table");
return false; return false;
} }
} else { } else {