aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/wext-compat.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-27 06:01:50 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-29 15:46:14 -0400
commit0e82ffe3b90bcad72cfe80e4379946b8fb0691ca (patch)
treec6b73524d4db86ddcaa866d7ea81a9600b610413 /net/wireless/wext-compat.h
parenta7bc376c858e0e724b8cb2db09b6874562d377ca (diff)
cfg80211: combine iwfreq implementations
Until now we implemented iwfreq for managed mode, we needed to keep the implementations separate, but now that we have all versions implemented we can combine them and export just one handler. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/wext-compat.h')
-rw-r--r--net/wireless/wext-compat.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/wireless/wext-compat.h b/net/wireless/wext-compat.h
new file mode 100644
index 000000000000..23a6b5a83f2d
--- /dev/null
+++ b/net/wireless/wext-compat.h
@@ -0,0 +1,21 @@
1#ifndef __WEXT_COMPAT
2#define __WEXT_COMPAT
3
4int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
5 struct iw_request_info *info,
6 struct iw_freq *freq, char *extra);
7int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
8 struct iw_request_info *info,
9 struct iw_freq *freq, char *extra);
10
11int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
12 struct iw_request_info *info,
13 struct iw_freq *freq, char *extra);
14int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
15 struct iw_request_info *info,
16 struct iw_freq *freq, char *extra);
17
18struct ieee80211_channel *cfg80211_wext_freq(struct wiphy *wiphy,
19 struct iw_freq *freq);
20
21#endif /* __WEXT_COMPAT */