1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #include <net/iw_handler.h>
6 #include <linux/wireless.h>
8 #ifdef CONFIG_CFG80211_WEXT_EXPORT
9 #define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_GPL(h)
11 #define EXPORT_WEXT_HANDLER(h)
12 #endif /* CONFIG_CFG80211_WEXT_EXPORT */
14 int cfg80211_ibss_wext_siwfreq(struct net_device
*dev
,
15 struct iw_request_info
*info
,
16 struct iw_freq
*freq
, char *extra
);
17 int cfg80211_ibss_wext_giwfreq(struct net_device
*dev
,
18 struct iw_request_info
*info
,
19 struct iw_freq
*freq
, char *extra
);
20 int cfg80211_ibss_wext_siwap(struct net_device
*dev
,
21 struct iw_request_info
*info
,
22 struct sockaddr
*ap_addr
, char *extra
);
23 int cfg80211_ibss_wext_giwap(struct net_device
*dev
,
24 struct iw_request_info
*info
,
25 struct sockaddr
*ap_addr
, char *extra
);
26 int cfg80211_ibss_wext_siwessid(struct net_device
*dev
,
27 struct iw_request_info
*info
,
28 struct iw_point
*data
, char *ssid
);
29 int cfg80211_ibss_wext_giwessid(struct net_device
*dev
,
30 struct iw_request_info
*info
,
31 struct iw_point
*data
, char *ssid
);
33 int cfg80211_mgd_wext_siwfreq(struct net_device
*dev
,
34 struct iw_request_info
*info
,
35 struct iw_freq
*freq
, char *extra
);
36 int cfg80211_mgd_wext_giwfreq(struct net_device
*dev
,
37 struct iw_request_info
*info
,
38 struct iw_freq
*freq
, char *extra
);
39 int cfg80211_mgd_wext_siwap(struct net_device
*dev
,
40 struct iw_request_info
*info
,
41 struct sockaddr
*ap_addr
, char *extra
);
42 int cfg80211_mgd_wext_giwap(struct net_device
*dev
,
43 struct iw_request_info
*info
,
44 struct sockaddr
*ap_addr
, char *extra
);
45 int cfg80211_mgd_wext_siwessid(struct net_device
*dev
,
46 struct iw_request_info
*info
,
47 struct iw_point
*data
, char *ssid
);
48 int cfg80211_mgd_wext_giwessid(struct net_device
*dev
,
49 struct iw_request_info
*info
,
50 struct iw_point
*data
, char *ssid
);
52 int cfg80211_wext_siwmlme(struct net_device
*dev
,
53 struct iw_request_info
*info
,
54 struct iw_point
*data
, char *extra
);
55 int cfg80211_wext_siwgenie(struct net_device
*dev
,
56 struct iw_request_info
*info
,
57 struct iw_point
*data
, char *extra
);
60 int cfg80211_wext_freq(struct iw_freq
*freq
);
63 extern const struct iw_handler_def cfg80211_wext_handler
;
64 #endif /* __WEXT_COMPAT */