OSDN Git Service

ath10k: add report MIC error for sdio chip
authorWen Gong <wgong@codeaurora.org>
Mon, 3 Jun 2019 15:12:21 +0000 (18:12 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 13:15:35 +0000 (16:15 +0300)
commit47ed1b4e5d622a53dbdca2fe75013cc634bb0050
tree4e6a7b5c41fe26cea3a93b3056dcfbb98db4d7ed
parent33410a51468fdd8b5c398642c0d22347bc02296b
ath10k: add report MIC error for sdio chip

Firmware will report flag with HTT_RX_IND_MPDU_STATUS_TKIP_MIC_ERR
if MIC error, the flag will be used in mac80211.

ieee80211_rx_h_michael_mic_verify will check the flag and start TKIP
countermeasures.

Now countermeasure tests pass both with WPA only and WPA2/WPA mixed
mode.

Tested with QCA6174 SDIO with firmware
WLAN.RMH.4.4.1-00007-QCARMSWP-1.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt_rx.c