From 5e6983f8e64c5e186fc7733267ddadba6b9ddd1c Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Tue, 4 May 2021 13:13:07 +0200 Subject: [PATCH] SRSUE: enable 256QAM in RRC NR capability message --- srsue/src/stack/rrc/rrc_nr.cc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/srsue/src/stack/rrc/rrc_nr.cc b/srsue/src/stack/rrc/rrc_nr.cc index a7d9a2730..0ca80f752 100644 --- a/srsue/src/stack/rrc/rrc_nr.cc +++ b/srsue/src/stack/rrc/rrc_nr.cc @@ -370,16 +370,19 @@ void rrc_nr::get_nr_capabilities(srsran::byte_buffer_t* nr_caps_pdu) for (const auto& band : args.supported_bands_nr) { band_nr_s band_nr; - band_nr.band_nr = band; - band_nr.ue_pwr_class_present = true; - band_nr.ue_pwr_class = band_nr_s::ue_pwr_class_opts::pc3; + band_nr.band_nr = band; + band_nr.ue_pwr_class_present = true; + 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.rlc_params_present = true; - nr_cap.rlc_params.um_with_short_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.rlc_params_present = true; + nr_cap.rlc_params.um_with_short_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.phy_params.phy_params_fr1_present = true; + nr_cap.phy_params.phy_params_fr1.pdsch_minus256_qam_fr1_present = true; // Pack nr_caps 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; break; 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; } } else {