diff options
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index b9ec3061ed72..43ad9c81efcf 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h | |||
@@ -54,6 +54,8 @@ struct cfg80211_registered_device { | |||
54 | int opencount; /* also protected by devlist_mtx */ | 54 | int opencount; /* also protected by devlist_mtx */ |
55 | wait_queue_head_t dev_wait; | 55 | wait_queue_head_t dev_wait; |
56 | 56 | ||
57 | u32 ap_beacons_nlpid; | ||
58 | |||
57 | /* BSSes/scanning */ | 59 | /* BSSes/scanning */ |
58 | spinlock_t bss_lock; | 60 | spinlock_t bss_lock; |
59 | struct list_head bss_list; | 61 | struct list_head bss_list; |
@@ -247,12 +249,11 @@ struct cfg80211_event { | |||
247 | u16 status; | 249 | u16 status; |
248 | } cr; | 250 | } cr; |
249 | struct { | 251 | struct { |
250 | struct ieee80211_channel *channel; | ||
251 | u8 bssid[ETH_ALEN]; | ||
252 | const u8 *req_ie; | 252 | const u8 *req_ie; |
253 | const u8 *resp_ie; | 253 | const u8 *resp_ie; |
254 | size_t req_ie_len; | 254 | size_t req_ie_len; |
255 | size_t resp_ie_len; | 255 | size_t resp_ie_len; |
256 | struct cfg80211_bss *bss; | ||
256 | } rm; | 257 | } rm; |
257 | struct { | 258 | struct { |
258 | const u8 *ie; | 259 | const u8 *ie; |
@@ -339,13 +340,17 @@ int __cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, | |||
339 | const u8 *bssid, const u8 *prev_bssid, | 340 | const u8 *bssid, const u8 *prev_bssid, |
340 | const u8 *ssid, int ssid_len, | 341 | const u8 *ssid, int ssid_len, |
341 | const u8 *ie, int ie_len, bool use_mfp, | 342 | const u8 *ie, int ie_len, bool use_mfp, |
342 | struct cfg80211_crypto_settings *crypt); | 343 | struct cfg80211_crypto_settings *crypt, |
344 | u32 assoc_flags, struct ieee80211_ht_cap *ht_capa, | ||
345 | struct ieee80211_ht_cap *ht_capa_mask); | ||
343 | int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, | 346 | int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, |
344 | struct net_device *dev, struct ieee80211_channel *chan, | 347 | struct net_device *dev, struct ieee80211_channel *chan, |
345 | const u8 *bssid, const u8 *prev_bssid, | 348 | const u8 *bssid, const u8 *prev_bssid, |
346 | const u8 *ssid, int ssid_len, | 349 | const u8 *ssid, int ssid_len, |
347 | const u8 *ie, int ie_len, bool use_mfp, | 350 | const u8 *ie, int ie_len, bool use_mfp, |
348 | struct cfg80211_crypto_settings *crypt); | 351 | struct cfg80211_crypto_settings *crypt, |
352 | u32 assoc_flags, struct ieee80211_ht_cap *ht_capa, | ||
353 | struct ieee80211_ht_cap *ht_capa_mask); | ||
349 | int __cfg80211_mlme_deauth(struct cfg80211_registered_device *rdev, | 354 | int __cfg80211_mlme_deauth(struct cfg80211_registered_device *rdev, |
350 | struct net_device *dev, const u8 *bssid, | 355 | struct net_device *dev, const u8 *bssid, |
351 | const u8 *ie, int ie_len, u16 reason, | 356 | const u8 *ie, int ie_len, u16 reason, |
@@ -376,7 +381,9 @@ int cfg80211_mlme_mgmt_tx(struct cfg80211_registered_device *rdev, | |||
376 | enum nl80211_channel_type channel_type, | 381 | enum nl80211_channel_type channel_type, |
377 | bool channel_type_valid, unsigned int wait, | 382 | bool channel_type_valid, unsigned int wait, |
378 | const u8 *buf, size_t len, bool no_cck, | 383 | const u8 *buf, size_t len, bool no_cck, |
379 | u64 *cookie); | 384 | bool dont_wait_for_ack, u64 *cookie); |
385 | void cfg80211_oper_and_ht_capa(struct ieee80211_ht_cap *ht_capa, | ||
386 | const struct ieee80211_ht_cap *ht_capa_mask); | ||
380 | 387 | ||
381 | /* SME */ | 388 | /* SME */ |
382 | int __cfg80211_connect(struct cfg80211_registered_device *rdev, | 389 | int __cfg80211_connect(struct cfg80211_registered_device *rdev, |
@@ -395,8 +402,7 @@ int cfg80211_disconnect(struct cfg80211_registered_device *rdev, | |||
395 | struct net_device *dev, u16 reason, | 402 | struct net_device *dev, u16 reason, |
396 | bool wextev); | 403 | bool wextev); |
397 | void __cfg80211_roamed(struct wireless_dev *wdev, | 404 | void __cfg80211_roamed(struct wireless_dev *wdev, |
398 | struct ieee80211_channel *channel, | 405 | struct cfg80211_bss *bss, |
399 | const u8 *bssid, | ||
400 | const u8 *req_ie, size_t req_ie_len, | 406 | const u8 *req_ie, size_t req_ie_len, |
401 | const u8 *resp_ie, size_t resp_ie_len); | 407 | const u8 *resp_ie, size_t resp_ie_len); |
402 | int cfg80211_mgd_wext_connect(struct cfg80211_registered_device *rdev, | 408 | int cfg80211_mgd_wext_connect(struct cfg80211_registered_device *rdev, |