]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: support MIC error/replay detected counters driver update
authorJohannes Berg <johannes.berg@intel.com>
Sun, 29 Nov 2020 15:30:45 +0000 (17:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 11:53:48 +0000 (12:53 +0100)
commit43c9c8ad2d676aaf9c37a3ce603dc3a235dd80d7
tree868c85dae2b4f309d3f98713d09f0fc9d43be32e
parentdf3c9ceedd63b555d17ec58ea779994538208d4f
mac80211: support MIC error/replay detected counters driver update

Support the driver incrementing MIC error and replay detected
counters when having detected a bad frame, if it drops it directly
instead of relying on mac80211 to do the checks.

These are then exposed to userspace, though currently only in some
cases and in debugfs.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201129172929.fb59be9c6de8.Ife2260887366f585afadd78c983ebea93d2bb54b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/key.c