summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-04 11:18:19 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-09 22:13:52 +0100
commitb92ab5d86dafc2b3733c5fdd5def40c8fe7ea7c9 (patch)
tree2676545e9b179102b00e02cc19b9643e8f718871 /net/wireless/nl80211.h
parentmac80211: report OBSS beacons (diff)
downloadlinux-b92ab5d86dafc2b3733c5fdd5def40c8fe7ea7c9.tar.xz
linux-b92ab5d86dafc2b3733c5fdd5def40c8fe7ea7c9.zip
cfg80211: add event for unexpected 4addr frames
The frames are used by AP/STA WDS mode, and hostapd needs to know when such a frame was received to set up the VLAN appropriately to allow using it. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h
index d94456e54f4e..12bf4d185abe 100644
--- a/net/wireless/nl80211.h
+++ b/net/wireless/nl80211.h
@@ -119,5 +119,7 @@ void nl80211_pmksa_candidate_notify(struct cfg80211_registered_device *rdev,
bool nl80211_unexpected_frame(struct net_device *dev,
const u8 *addr, gfp_t gfp);
+bool nl80211_unexpected_4addr_frame(struct net_device *dev,
+ const u8 *addr, gfp_t gfp);
#endif /* __NET_WIRELESS_NL80211_H */