Johannes Berg | 0e82ffe | 2009-07-27 12:01:50 +0200 | [diff] [blame] | 1 | #ifndef __WEXT_COMPAT |
| 2 | #define __WEXT_COMPAT |
| 3 | |
Johannes Berg | a9a1162 | 2009-07-27 12:01:53 +0200 | [diff] [blame] | 4 | #include <net/iw_handler.h> |
| 5 | #include <linux/wireless.h> |
| 6 | |
Johannes Berg | 2afe38d | 2015-01-06 14:00:53 +0100 | [diff] [blame] | 7 | #ifdef CONFIG_CFG80211_WEXT_EXPORT |
| 8 | #define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_GPL(h) |
| 9 | #else |
| 10 | #define EXPORT_WEXT_HANDLER(h) |
| 11 | #endif /* CONFIG_CFG80211_WEXT_EXPORT */ |
| 12 | |
Johannes Berg | 0e82ffe | 2009-07-27 12:01:50 +0200 | [diff] [blame] | 13 | int cfg80211_ibss_wext_siwfreq(struct net_device *dev, |
| 14 | struct iw_request_info *info, |
| 15 | struct iw_freq *freq, char *extra); |
| 16 | int cfg80211_ibss_wext_giwfreq(struct net_device *dev, |
| 17 | struct iw_request_info *info, |
| 18 | struct iw_freq *freq, char *extra); |
Johannes Berg | 562e482 | 2009-07-27 12:01:51 +0200 | [diff] [blame] | 19 | int cfg80211_ibss_wext_siwap(struct net_device *dev, |
| 20 | struct iw_request_info *info, |
| 21 | struct sockaddr *ap_addr, char *extra); |
| 22 | int cfg80211_ibss_wext_giwap(struct net_device *dev, |
| 23 | struct iw_request_info *info, |
| 24 | struct sockaddr *ap_addr, char *extra); |
Johannes Berg | 1f9298f | 2009-07-27 12:01:52 +0200 | [diff] [blame] | 25 | int cfg80211_ibss_wext_siwessid(struct net_device *dev, |
| 26 | struct iw_request_info *info, |
| 27 | struct iw_point *data, char *ssid); |
| 28 | int cfg80211_ibss_wext_giwessid(struct net_device *dev, |
| 29 | struct iw_request_info *info, |
| 30 | struct iw_point *data, char *ssid); |
Johannes Berg | 0e82ffe | 2009-07-27 12:01:50 +0200 | [diff] [blame] | 31 | |
| 32 | int cfg80211_mgd_wext_siwfreq(struct net_device *dev, |
| 33 | struct iw_request_info *info, |
| 34 | struct iw_freq *freq, char *extra); |
| 35 | int cfg80211_mgd_wext_giwfreq(struct net_device *dev, |
| 36 | struct iw_request_info *info, |
| 37 | struct iw_freq *freq, char *extra); |
Johannes Berg | 562e482 | 2009-07-27 12:01:51 +0200 | [diff] [blame] | 38 | int cfg80211_mgd_wext_siwap(struct net_device *dev, |
| 39 | struct iw_request_info *info, |
| 40 | struct sockaddr *ap_addr, char *extra); |
| 41 | int cfg80211_mgd_wext_giwap(struct net_device *dev, |
| 42 | struct iw_request_info *info, |
| 43 | struct sockaddr *ap_addr, char *extra); |
Johannes Berg | 1f9298f | 2009-07-27 12:01:52 +0200 | [diff] [blame] | 44 | int cfg80211_mgd_wext_siwessid(struct net_device *dev, |
| 45 | struct iw_request_info *info, |
| 46 | struct iw_point *data, char *ssid); |
| 47 | int cfg80211_mgd_wext_giwessid(struct net_device *dev, |
| 48 | struct iw_request_info *info, |
| 49 | struct iw_point *data, char *ssid); |
Johannes Berg | 0e82ffe | 2009-07-27 12:01:50 +0200 | [diff] [blame] | 50 | |
Johannes Berg | 04b0c5c | 2011-07-15 13:01:38 +0200 | [diff] [blame] | 51 | int cfg80211_wext_siwmlme(struct net_device *dev, |
| 52 | struct iw_request_info *info, |
| 53 | struct iw_point *data, char *extra); |
| 54 | int cfg80211_wext_siwgenie(struct net_device *dev, |
| 55 | struct iw_request_info *info, |
| 56 | struct iw_point *data, char *extra); |
| 57 | |
| 58 | |
Zhao, Gang | 96998e3 | 2014-04-09 09:28:06 +0800 | [diff] [blame] | 59 | int cfg80211_wext_freq(struct iw_freq *freq); |
Johannes Berg | 0e82ffe | 2009-07-27 12:01:50 +0200 | [diff] [blame] | 60 | |
Johannes Berg | a9a1162 | 2009-07-27 12:01:53 +0200 | [diff] [blame] | 61 | |
| 62 | extern const struct iw_handler_def cfg80211_wext_handler; |
Johannes Berg | 0e82ffe | 2009-07-27 12:01:50 +0200 | [diff] [blame] | 63 | #endif /* __WEXT_COMPAT */ |