summaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-04 14:18:12 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-10 01:05:49 +0400
commit28946da763e8b8d8ffd01ab861b684a4afb4bc3b (patch)
treec4e1cd440702b81c2192a164356da4ba769a29a6 /net/wireless/nl80211.h
parent665c93a93e35cafcd8c84073824f1ef1b19f0a7d (diff)
downloadlinux-28946da763e8b8d8ffd01ab861b684a4afb4bc3b.tar.xz
nl80211: allow subscribing to unexpected class3 frames
To implement AP mode without monitor interfaces we need to be able to send a deauth to stations that send frames without being associated. Enable this by adding a new nl80211 event for such frames that an application can subscribe to. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r--net/wireless/nl80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h
index f24a1fbeaf19..d94456e54f4e 100644
--- a/net/wireless/nl80211.h
+++ b/net/wireless/nl80211.h
@@ -117,4 +117,7 @@ void nl80211_pmksa_candidate_notify(struct cfg80211_registered_device *rdev,
struct net_device *netdev, int index,
const u8 *bssid, bool preauth, gfp_t gfp);
+bool nl80211_unexpected_frame(struct net_device *dev,
+ const u8 *addr, gfp_t gfp);
+
#endif /* __NET_WIRELESS_NL80211_H */