qcacmn: Check for WMI_RXERR_MIC status flag

When beacon protection is enabled, On the station side,
MIC validation is performed in firmware for the received
beacons ,by computing the expected MIC and comparing it
against the MIC received in MMIE of the beacons. Check for
WMI_RXERR_MIC, a status in Mgmt RX WMI event reported to
host when a MIC validation failure/mismatch found.

Change-Id: I2f55d4481e8a0decbc89d2fc88a442478a09faf6
CRs-Fixed: 3344354
Tento commit je obsažen v:
Sai Pratyusha Magam
2022-11-25 08:04:32 +05:30
odevzdal Madan Koyyalamudi
rodič 04014003d6
revize a76b886ed4

Zobrazit soubor

@@ -12730,6 +12730,9 @@ static QDF_STATUS extract_mgmt_rx_params_tlv(wmi_unified_t wmi_handle,
wmi_err("RX mgmt frame decrypt error, discard it"); wmi_err("RX mgmt frame decrypt error, discard it");
return QDF_STATUS_E_INVAL; return QDF_STATUS_E_INVAL;
} }
if ((ev_hdr->status) & WMI_RXERR_MIC) {
wmi_err("RX mgmt frame MIC mismatch for beacon protected frame");
}
if (ev_hdr->buf_len > param_tlvs->num_bufp) { if (ev_hdr->buf_len > param_tlvs->num_bufp) {
wmi_err("Rx mgmt frame length mismatch, discard it"); wmi_err("Rx mgmt frame length mismatch, discard it");