cfg80211: combine IWESSID handlers
[linux-2.6.git] / net / wireless / wext-compat.h
1 #ifndef __WEXT_COMPAT
2 #define __WEXT_COMPAT
3
4 int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
5                                struct iw_request_info *info,
6                                struct iw_freq *freq, char *extra);
7 int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
8                                struct iw_request_info *info,
9                                struct iw_freq *freq, char *extra);
10 int cfg80211_ibss_wext_siwap(struct net_device *dev,
11                              struct iw_request_info *info,
12                              struct sockaddr *ap_addr, char *extra);
13 int cfg80211_ibss_wext_giwap(struct net_device *dev,
14                              struct iw_request_info *info,
15                              struct sockaddr *ap_addr, char *extra);
16 int cfg80211_ibss_wext_siwessid(struct net_device *dev,
17                                 struct iw_request_info *info,
18                                 struct iw_point *data, char *ssid);
19 int cfg80211_ibss_wext_giwessid(struct net_device *dev,
20                                 struct iw_request_info *info,
21                                 struct iw_point *data, char *ssid);
22
23 int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
24                               struct iw_request_info *info,
25                               struct iw_freq *freq, char *extra);
26 int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
27                               struct iw_request_info *info,
28                               struct iw_freq *freq, char *extra);
29 int cfg80211_mgd_wext_siwap(struct net_device *dev,
30                             struct iw_request_info *info,
31                             struct sockaddr *ap_addr, char *extra);
32 int cfg80211_mgd_wext_giwap(struct net_device *dev,
33                             struct iw_request_info *info,
34                             struct sockaddr *ap_addr, char *extra);
35 int cfg80211_mgd_wext_siwessid(struct net_device *dev,
36                                struct iw_request_info *info,
37                                struct iw_point *data, char *ssid);
38 int cfg80211_mgd_wext_giwessid(struct net_device *dev,
39                                struct iw_request_info *info,
40                                struct iw_point *data, char *ssid);
41
42 struct ieee80211_channel *cfg80211_wext_freq(struct wiphy *wiphy,
43                                              struct iw_freq *freq);
44
45 #endif /* __WEXT_COMPAT */