NR_UE: discard DCI with bwp_indicator != 1

Even stricter check/hack for BWP ID.
Drop every DCI where this value is not '1'.
This commit is contained in:
Thomas Schlichter
2021-02-04 19:27:56 +01:00
parent 82d40a654c
commit ea0d24b935
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -804,8 +804,8 @@ int8_t nr_ue_process_dci(module_id_t module_id, int cc_id, uint8_t gNB_index, fr
* 47 DMRS_SEQ_INI:
*/
if (dci->bwp_indicator.val == 0) {
LOG_W(MAC, "[%d.%d] bwp_indicator == 0! Possibly due to false DCI. Ignoring DCI!\n", frame, slot);
if (dci->bwp_indicator.val != 1) {
LOG_W(MAC, "[%d.%d] bwp_indicator != 1! Possibly due to false DCI. Ignoring DCI!\n", frame, slot);
return -1;
}
config_bwp_ue(mac, &dci->bwp_indicator.val, &dci_format);
+1 -1
View File
@@ -587,7 +587,7 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac,
} else if (*dci_format == NR_UL_DCI_FORMAT_0_1) {
/* BANDWIDTH_PART_IND */
if (dci->bwp_indicator.val == 0)
if (dci->bwp_indicator.val != 1)
return -1;
config_bwp_ue(mac, &dci->bwp_indicator.val, dci_format);
target_ss = NR_SearchSpace__searchSpaceType_PR_ue_Specific;