nl80211: Generate deauth/disassoc event for locally generated frames
[linux-2.6.git] / net / wireless / nl80211.h
1 #ifndef __NET_WIRELESS_NL80211_H
2 #define __NET_WIRELESS_NL80211_H
3
4 #include "core.h"
5
6 extern int nl80211_init(void);
7 extern void nl80211_exit(void);
8 extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
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);
13 extern void nl80211_send_reg_change_event(struct regulatory_request *request);
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);
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);
26
27 #endif /* __NET_WIRELESS_NL80211_H */