xref: /openbmc/linux/net/wireless/wext-compat.h (revision c819e2cf)
1 #ifndef __WEXT_COMPAT
2 #define __WEXT_COMPAT
3 
4 #include <net/iw_handler.h>
5 #include <linux/wireless.h>
6 
7 int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
8 			       struct iw_request_info *info,
9 			       struct iw_freq *freq, char *extra);
10 int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
11 			       struct iw_request_info *info,
12 			       struct iw_freq *freq, char *extra);
13 int cfg80211_ibss_wext_siwap(struct net_device *dev,
14 			     struct iw_request_info *info,
15 			     struct sockaddr *ap_addr, char *extra);
16 int cfg80211_ibss_wext_giwap(struct net_device *dev,
17 			     struct iw_request_info *info,
18 			     struct sockaddr *ap_addr, char *extra);
19 int cfg80211_ibss_wext_siwessid(struct net_device *dev,
20 				struct iw_request_info *info,
21 				struct iw_point *data, char *ssid);
22 int cfg80211_ibss_wext_giwessid(struct net_device *dev,
23 				struct iw_request_info *info,
24 				struct iw_point *data, char *ssid);
25 
26 int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
27 			      struct iw_request_info *info,
28 			      struct iw_freq *freq, char *extra);
29 int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
30 			      struct iw_request_info *info,
31 			      struct iw_freq *freq, char *extra);
32 int cfg80211_mgd_wext_siwap(struct net_device *dev,
33 			    struct iw_request_info *info,
34 			    struct sockaddr *ap_addr, char *extra);
35 int cfg80211_mgd_wext_giwap(struct net_device *dev,
36 			    struct iw_request_info *info,
37 			    struct sockaddr *ap_addr, char *extra);
38 int cfg80211_mgd_wext_siwessid(struct net_device *dev,
39 			       struct iw_request_info *info,
40 			       struct iw_point *data, char *ssid);
41 int cfg80211_mgd_wext_giwessid(struct net_device *dev,
42 			       struct iw_request_info *info,
43 			       struct iw_point *data, char *ssid);
44 
45 int cfg80211_wext_siwmlme(struct net_device *dev,
46 			  struct iw_request_info *info,
47 			  struct iw_point *data, char *extra);
48 int cfg80211_wext_siwgenie(struct net_device *dev,
49 			   struct iw_request_info *info,
50 			   struct iw_point *data, char *extra);
51 
52 
53 int cfg80211_wext_freq(struct iw_freq *freq);
54 
55 
56 extern const struct iw_handler_def cfg80211_wext_handler;
57 #endif /* __WEXT_COMPAT */
58