diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index ec33096fc655..f8bf0c86650b 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -957,4 +957,20 @@ void cfg80211_hold_bss(struct cfg80211_bss *bss); | |||
957 | */ | 957 | */ |
958 | void cfg80211_unhold_bss(struct cfg80211_bss *bss); | 958 | void cfg80211_unhold_bss(struct cfg80211_bss *bss); |
959 | 959 | ||
960 | /** | ||
961 | * cfg80211_michael_mic_failure - notification of Michael MIC failure (TKIP) | ||
962 | * @dev: network device | ||
963 | * @addr: The source MAC address of the frame | ||
964 | * @key_type: The key type that the received frame used | ||
965 | * @key_id: Key identifier (0..3) | ||
966 | * @tsc: The TSC value of the frame that generated the MIC failure (6 octets) | ||
967 | * | ||
968 | * This function is called whenever the local MAC detects a MIC failure in a | ||
969 | * received frame. This matches with MLME-MICHAELMICFAILURE.indication() | ||
970 | * primitive. | ||
971 | */ | ||
972 | void cfg80211_michael_mic_failure(struct net_device *dev, const u8 *addr, | ||
973 | enum nl80211_key_type key_type, int key_id, | ||
974 | const u8 *tsc); | ||
975 | |||
960 | #endif /* __NET_CFG80211_H */ | 976 | #endif /* __NET_CFG80211_H */ |