فهرست منبع

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
Sai Pratyusha Magam 2 سال پیش
والد
کامیت
a76b886ed4
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      wmi/src/wmi_unified_tlv.c

+ 3 - 0
wmi/src/wmi_unified_tlv.c

@@ -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");
 		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) {
 		wmi_err("Rx mgmt frame length mismatch, discard it");