blob: 17d2d8bfaf7589b1453bfc9b763ca0cd7c44acac [file] [log] [blame]
Johannes Berg55682962007-09-20 13:09:35 -04001#ifndef __NET_WIRELESS_NL80211_H
2#define __NET_WIRELESS_NL80211_H
3
4#include "core.h"
5
Johannes Berg55682962007-09-20 13:09:35 -04006extern int nl80211_init(void);
7extern void nl80211_exit(void);
8extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
Johannes Berg2a519312009-02-10 21:25:55 +01009extern void nl80211_send_scan_done(struct cfg80211_registered_device *rdev,
10 struct net_device *netdev);
11extern void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev,
12 struct net_device *netdev);
Luis R. Rodriguez73d54c92009-03-09 22:07:42 -040013extern void nl80211_send_reg_change_event(struct regulatory_request *request);
Jouni Malinen6039f6d2009-03-19 13:39:21 +020014extern void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev,
15 struct net_device *netdev,
16 const u8 *buf, size_t len);
17extern void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev,
18 struct net_device *netdev,
19 const u8 *buf, size_t len);
Jouni Malinen53b46b82009-03-27 20:53:56 +020020extern void nl80211_send_deauth(struct cfg80211_registered_device *rdev,
21 struct net_device *netdev,
22 const u8 *buf, size_t len);
23extern void nl80211_send_disassoc(struct cfg80211_registered_device *rdev,
24 struct net_device *netdev,
25 const u8 *buf, size_t len);
Jouni Malinena3b8b052009-03-27 21:59:49 +020026extern void
27nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev,
28 struct net_device *netdev, const u8 *addr,
29 enum nl80211_key_type key_type,
30 int key_id, const u8 *tsc);
Johannes Berg55682962007-09-20 13:09:35 -040031
Luis R. Rodriguez6bad8762009-04-02 14:08:09 -040032extern void
33nl80211_send_beacon_hint_event(struct wiphy *wiphy,
34 struct ieee80211_channel *channel_before,
35 struct ieee80211_channel *channel_after);
36
Johannes Berg04a773a2009-04-19 21:24:32 +020037void nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev,
38 struct net_device *netdev, const u8 *bssid,
39 gfp_t gfp);
40
Johannes Berg55682962007-09-20 13:09:35 -040041#endif /* __NET_WIRELESS_NL80211_H */