diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-05-15 11:44:01 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-05-24 18:02:20 -0400 |
commit | 91bf9b26fc95c505846bc2f744a73b51f2aaee1d (patch) | |
tree | 0a8cad8fa49ccb5f4899446ce78d183d50d377af /net/wireless/core.h | |
parent | 38fd2143fa653f80729800c1d61d4207b91dca42 (diff) |
cfg80211: remove some locked wrappers from mlme API
By making all the API functions require wdev locking we
can clean up the API a bit, getting rid of the locking
version of each function. This also decreases the size
of cfg80211 by a small amount.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index d21a0fc01401..c8f87dfd50d3 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h | |||
@@ -282,38 +282,21 @@ int cfg80211_stop_ap(struct cfg80211_registered_device *rdev, | |||
282 | struct net_device *dev); | 282 | struct net_device *dev); |
283 | 283 | ||
284 | /* MLME */ | 284 | /* MLME */ |
285 | int __cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, | ||
286 | struct net_device *dev, | ||
287 | struct ieee80211_channel *chan, | ||
288 | enum nl80211_auth_type auth_type, | ||
289 | const u8 *bssid, | ||
290 | const u8 *ssid, int ssid_len, | ||
291 | const u8 *ie, int ie_len, | ||
292 | const u8 *key, int key_len, int key_idx, | ||
293 | const u8 *sae_data, int sae_data_len); | ||
294 | int cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, | 285 | int cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, |
295 | struct net_device *dev, struct ieee80211_channel *chan, | 286 | struct net_device *dev, |
296 | enum nl80211_auth_type auth_type, const u8 *bssid, | 287 | struct ieee80211_channel *chan, |
288 | enum nl80211_auth_type auth_type, | ||
289 | const u8 *bssid, | ||
297 | const u8 *ssid, int ssid_len, | 290 | const u8 *ssid, int ssid_len, |
298 | const u8 *ie, int ie_len, | 291 | const u8 *ie, int ie_len, |
299 | const u8 *key, int key_len, int key_idx, | 292 | const u8 *key, int key_len, int key_idx, |
300 | const u8 *sae_data, int sae_data_len); | 293 | const u8 *sae_data, int sae_data_len); |
301 | int __cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, | ||
302 | struct net_device *dev, | ||
303 | struct ieee80211_channel *chan, | ||
304 | const u8 *bssid, | ||
305 | const u8 *ssid, int ssid_len, | ||
306 | struct cfg80211_assoc_request *req); | ||
307 | int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, | 294 | int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, |
308 | struct net_device *dev, | 295 | struct net_device *dev, |
309 | struct ieee80211_channel *chan, | 296 | struct ieee80211_channel *chan, |
310 | const u8 *bssid, | 297 | const u8 *bssid, |
311 | const u8 *ssid, int ssid_len, | 298 | const u8 *ssid, int ssid_len, |
312 | struct cfg80211_assoc_request *req); | 299 | struct cfg80211_assoc_request *req); |
313 | int __cfg80211_mlme_deauth(struct cfg80211_registered_device *rdev, | ||
314 | struct net_device *dev, const u8 *bssid, | ||
315 | const u8 *ie, int ie_len, u16 reason, | ||
316 | bool local_state_change); | ||
317 | int cfg80211_mlme_deauth(struct cfg80211_registered_device *rdev, | 300 | int cfg80211_mlme_deauth(struct cfg80211_registered_device *rdev, |
318 | struct net_device *dev, const u8 *bssid, | 301 | struct net_device *dev, const u8 *bssid, |
319 | const u8 *ie, int ie_len, u16 reason, | 302 | const u8 *ie, int ie_len, u16 reason, |