aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 0c71d4a30cd6..ef118e452589 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2183,6 +2183,8 @@ struct wireless_dev {
2183 2183
2184 int beacon_interval; 2184 int beacon_interval;
2185 2185
2186 u32 ap_unexpected_nlpid;
2187
2186#ifdef CONFIG_CFG80211_WEXT 2188#ifdef CONFIG_CFG80211_WEXT
2187 /* wext data */ 2189 /* wext data */
2188 struct { 2190 struct {
@@ -3193,6 +3195,21 @@ void cfg80211_gtk_rekey_notify(struct net_device *dev, const u8 *bssid,
3193void cfg80211_pmksa_candidate_notify(struct net_device *dev, int index, 3195void cfg80211_pmksa_candidate_notify(struct net_device *dev, int index,
3194 const u8 *bssid, bool preauth, gfp_t gfp); 3196 const u8 *bssid, bool preauth, gfp_t gfp);
3195 3197
3198/**
3199 * cfg80211_rx_spurious_frame - inform userspace about a spurious frame
3200 * @dev: The device the frame matched to
3201 * @addr: the transmitter address
3202 * @gfp: context flags
3203 *
3204 * This function is used in AP mode (only!) to inform userspace that
3205 * a spurious class 3 frame was received, to be able to deauth the
3206 * sender.
3207 * Returns %true if the frame was passed to userspace (or this failed
3208 * for a reason other than not having a subscription.)
3209 */
3210bool cfg80211_rx_spurious_frame(struct net_device *dev,
3211 const u8 *addr, gfp_t gfp);
3212
3196/* Logging, debugging and troubleshooting/diagnostic helpers. */ 3213/* Logging, debugging and troubleshooting/diagnostic helpers. */
3197 3214
3198/* wiphy_printk helpers, similar to dev_printk */ 3215/* wiphy_printk helpers, similar to dev_printk */