]> 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)
commite5e210cbf76ca15fd7c90913f79f52818e0a9784
tree868c85dae2b4f309d3f98713d09f0fc9d43be32e
parent437ac1aa54f74c698a55ae54e2b406359a010f1f
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