blob: 20b3daef69643586d2508deca0f1f52c1ebe6ac0 [file] [log] [blame]
Johannes Berg0e82ffe2009-07-27 12:01:50 +02001#ifndef __WEXT_COMPAT
2#define __WEXT_COMPAT
3
Johannes Berga9a11622009-07-27 12:01:53 +02004#include <net/iw_handler.h>
5#include <linux/wireless.h>
6
Johannes Berg0e82ffe2009-07-27 12:01:50 +02007int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
8 struct iw_request_info *info,
9 struct iw_freq *freq, char *extra);
10int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
11 struct iw_request_info *info,
12 struct iw_freq *freq, char *extra);
Johannes Berg562e4822009-07-27 12:01:51 +020013int cfg80211_ibss_wext_siwap(struct net_device *dev,
14 struct iw_request_info *info,
15 struct sockaddr *ap_addr, char *extra);
16int cfg80211_ibss_wext_giwap(struct net_device *dev,
17 struct iw_request_info *info,
18 struct sockaddr *ap_addr, char *extra);
Johannes Berg1f9298f2009-07-27 12:01:52 +020019int cfg80211_ibss_wext_siwessid(struct net_device *dev,
20 struct iw_request_info *info,
21 struct iw_point *data, char *ssid);
22int cfg80211_ibss_wext_giwessid(struct net_device *dev,
23 struct iw_request_info *info,
24 struct iw_point *data, char *ssid);
Johannes Berg0e82ffe2009-07-27 12:01:50 +020025
26int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
27 struct iw_request_info *info,
28 struct iw_freq *freq, char *extra);
29int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
30 struct iw_request_info *info,
31 struct iw_freq *freq, char *extra);
Johannes Berg562e4822009-07-27 12:01:51 +020032int cfg80211_mgd_wext_siwap(struct net_device *dev,
33 struct iw_request_info *info,
34 struct sockaddr *ap_addr, char *extra);
35int cfg80211_mgd_wext_giwap(struct net_device *dev,
36 struct iw_request_info *info,
37 struct sockaddr *ap_addr, char *extra);
Johannes Berg1f9298f2009-07-27 12:01:52 +020038int cfg80211_mgd_wext_siwessid(struct net_device *dev,
39 struct iw_request_info *info,
40 struct iw_point *data, char *ssid);
41int cfg80211_mgd_wext_giwessid(struct net_device *dev,
42 struct iw_request_info *info,
43 struct iw_point *data, char *ssid);
Johannes Berg0e82ffe2009-07-27 12:01:50 +020044
Johannes Berg59bbb6f2009-08-07 17:22:35 +020045int cfg80211_wext_freq(struct wiphy *wiphy, struct iw_freq *freq);
Johannes Berg0e82ffe2009-07-27 12:01:50 +020046
Johannes Berga9a11622009-07-27 12:01:53 +020047
48extern const struct iw_handler_def cfg80211_wext_handler;
Johannes Berg0e82ffe2009-07-27 12:01:50 +020049#endif /* __WEXT_COMPAT */