mm: move inc_zone_page_state(NR_ISOLATED) to just isolated place
[wandboard.git] / net / wireless / nl80211.h
blob44cc2a76a1b094149d6f292fd337512d157465e9
1 #ifndef __NET_WIRELESS_NL80211_H
2 #define __NET_WIRELESS_NL80211_H
4 #include "core.h"
6 int nl80211_init(void);
7 void nl80211_exit(void);
8 void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
9 void nl80211_send_scan_start(struct cfg80211_registered_device *rdev,
10 struct net_device *netdev);
11 void nl80211_send_scan_done(struct cfg80211_registered_device *rdev,
12 struct net_device *netdev);
13 void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev,
14 struct net_device *netdev);
15 void nl80211_send_reg_change_event(struct regulatory_request *request);
16 void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev,
17 struct net_device *netdev,
18 const u8 *buf, size_t len, gfp_t gfp);
19 void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev,
20 struct net_device *netdev,
21 const u8 *buf, size_t len, gfp_t gfp);
22 void nl80211_send_deauth(struct cfg80211_registered_device *rdev,
23 struct net_device *netdev,
24 const u8 *buf, size_t len, gfp_t gfp);
25 void nl80211_send_disassoc(struct cfg80211_registered_device *rdev,
26 struct net_device *netdev,
27 const u8 *buf, size_t len, gfp_t gfp);
28 void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev,
29 struct net_device *netdev,
30 const u8 *addr, gfp_t gfp);
31 void nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev,
32 struct net_device *netdev,
33 const u8 *addr, gfp_t gfp);
34 void nl80211_send_connect_result(struct cfg80211_registered_device *rdev,
35 struct net_device *netdev, const u8 *bssid,
36 const u8 *req_ie, size_t req_ie_len,
37 const u8 *resp_ie, size_t resp_ie_len,
38 u16 status, gfp_t gfp);
39 void nl80211_send_roamed(struct cfg80211_registered_device *rdev,
40 struct net_device *netdev, const u8 *bssid,
41 const u8 *req_ie, size_t req_ie_len,
42 const u8 *resp_ie, size_t resp_ie_len, gfp_t gfp);
43 void nl80211_send_disconnected(struct cfg80211_registered_device *rdev,
44 struct net_device *netdev, u16 reason,
45 const u8 *ie, size_t ie_len, bool from_ap);
47 void
48 nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev,
49 struct net_device *netdev, const u8 *addr,
50 enum nl80211_key_type key_type,
51 int key_id, const u8 *tsc, gfp_t gfp);
53 void
54 nl80211_send_beacon_hint_event(struct wiphy *wiphy,
55 struct ieee80211_channel *channel_before,
56 struct ieee80211_channel *channel_after);
58 void nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev,
59 struct net_device *netdev, const u8 *bssid,
60 gfp_t gfp);
62 #endif /* __NET_WIRELESS_NL80211_H */