From: Felix Fietkau Date: Wed, 13 Jul 2011 15:35:05 +0000 (+0800) Subject: ath9k: improve reliability of MIC error detection X-Git-Tag: v3.1-rc1~255^2~14^2^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66760eac005d569393bac34136bcbb8af55d8a5a;p=pandora-kernel.git ath9k: improve reliability of MIC error detection For unicast the hardware sometimes reports MIC errors even though the frame that it received actually contains a valid MIC - on some chips this can happen frequently enough to trigger TKIP countermeasures. Fix this issue by not reporting MIC errors for unicast frames with a valid key, letting mac80211 validate the MIC instead. Additionally, strip the MIC for all frames that the hardware considers valid to avoid wasting CPU cycles re-validating it. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed