]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit4271d4bde0a23edc53097339fc185d0c09c75819
tree868c85dae2b4f309d3f98713d09f0fc9d43be32e
parent081e1e7ece05c5eb8bbaf28dc20970cf49edf5d5
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