Johannes Berg | 5568296 | 2007-09-20 13:09:35 -0400 | [diff] [blame] | 1 | #ifndef __NET_WIRELESS_NL80211_H |
| 2 | #define __NET_WIRELESS_NL80211_H |
| 3 | |
| 4 | #include "core.h" |
| 5 | |
Johannes Berg | 5568296 | 2007-09-20 13:09:35 -0400 | [diff] [blame] | 6 | extern int nl80211_init(void); |
| 7 | extern void nl80211_exit(void); |
| 8 | extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); |
Johannes Berg | 2a51931 | 2009-02-10 21:25:55 +0100 | [diff] [blame] | 9 | extern void nl80211_send_scan_done(struct cfg80211_registered_device *rdev, |
| 10 | struct net_device *netdev); |
| 11 | extern void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev, |
| 12 | struct net_device *netdev); |
Luis R. Rodriguez | 73d54c9 | 2009-03-09 22:07:42 -0400 | [diff] [blame] | 13 | extern void nl80211_send_reg_change_event(struct regulatory_request *request); |
Jouni Malinen | 6039f6d | 2009-03-19 13:39:21 +0200 | [diff] [blame] | 14 | extern void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, |
| 15 | struct net_device *netdev, |
| 16 | const u8 *buf, size_t len); |
| 17 | extern void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, |
| 18 | struct net_device *netdev, |
| 19 | const u8 *buf, size_t len); |
Jouni Malinen | 53b46b8 | 2009-03-27 20:53:56 +0200 | [diff] [blame] | 20 | extern void nl80211_send_deauth(struct cfg80211_registered_device *rdev, |
| 21 | struct net_device *netdev, |
| 22 | const u8 *buf, size_t len); |
| 23 | extern void nl80211_send_disassoc(struct cfg80211_registered_device *rdev, |
| 24 | struct net_device *netdev, |
| 25 | const u8 *buf, size_t len); |
Jouni Malinen | 1965c85 | 2009-04-22 21:38:25 +0300 | [diff] [blame] | 26 | extern void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev, |
| 27 | struct net_device *netdev, |
| 28 | const u8 *addr); |
| 29 | extern void nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev, |
| 30 | struct net_device *netdev, |
| 31 | const u8 *addr); |
Jouni Malinen | a3b8b05 | 2009-03-27 21:59:49 +0200 | [diff] [blame] | 32 | extern void |
| 33 | nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, |
| 34 | struct net_device *netdev, const u8 *addr, |
| 35 | enum nl80211_key_type key_type, |
| 36 | int key_id, const u8 *tsc); |
Johannes Berg | 5568296 | 2007-09-20 13:09:35 -0400 | [diff] [blame] | 37 | |
Luis R. Rodriguez | 6bad876 | 2009-04-02 14:08:09 -0400 | [diff] [blame] | 38 | extern void |
| 39 | nl80211_send_beacon_hint_event(struct wiphy *wiphy, |
| 40 | struct ieee80211_channel *channel_before, |
| 41 | struct ieee80211_channel *channel_after); |
| 42 | |
Johannes Berg | 04a773a | 2009-04-19 21:24:32 +0200 | [diff] [blame] | 43 | void nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev, |
| 44 | struct net_device *netdev, const u8 *bssid, |
| 45 | gfp_t gfp); |
| 46 | |
Johannes Berg | 5568296 | 2007-09-20 13:09:35 -0400 | [diff] [blame] | 47 | #endif /* __NET_WIRELESS_NL80211_H */ |