1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 #ifndef __WEXT_COMPAT 2 #ifndef __WEXT_COMPAT 3 #define __WEXT_COMPAT 3 #define __WEXT_COMPAT 4 4 5 #include <net/iw_handler.h> 5 #include <net/iw_handler.h> 6 #include <linux/wireless.h> 6 #include <linux/wireless.h> 7 7 8 #ifdef CONFIG_CFG80211_WEXT_EXPORT 8 #ifdef CONFIG_CFG80211_WEXT_EXPORT 9 #define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_G 9 #define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_GPL(h) 10 #else 10 #else 11 #define EXPORT_WEXT_HANDLER(h) 11 #define EXPORT_WEXT_HANDLER(h) 12 #endif /* CONFIG_CFG80211_WEXT_EXPORT */ 12 #endif /* CONFIG_CFG80211_WEXT_EXPORT */ 13 13 14 int cfg80211_ibss_wext_siwfreq(struct net_devi 14 int cfg80211_ibss_wext_siwfreq(struct net_device *dev, 15 struct iw_reque 15 struct iw_request_info *info, 16 struct iw_freq 16 struct iw_freq *wextfreq, char *extra); 17 int cfg80211_ibss_wext_giwfreq(struct net_devi 17 int cfg80211_ibss_wext_giwfreq(struct net_device *dev, 18 struct iw_reque 18 struct iw_request_info *info, 19 struct iw_freq 19 struct iw_freq *freq, char *extra); 20 int cfg80211_ibss_wext_siwap(struct net_device 20 int cfg80211_ibss_wext_siwap(struct net_device *dev, 21 struct iw_request 21 struct iw_request_info *info, 22 struct sockaddr * 22 struct sockaddr *ap_addr, char *extra); 23 int cfg80211_ibss_wext_giwap(struct net_device 23 int cfg80211_ibss_wext_giwap(struct net_device *dev, 24 struct iw_request 24 struct iw_request_info *info, 25 struct sockaddr * 25 struct sockaddr *ap_addr, char *extra); 26 int cfg80211_ibss_wext_siwessid(struct net_dev 26 int cfg80211_ibss_wext_siwessid(struct net_device *dev, 27 struct iw_requ 27 struct iw_request_info *info, 28 struct iw_poin 28 struct iw_point *data, char *ssid); 29 int cfg80211_ibss_wext_giwessid(struct net_dev 29 int cfg80211_ibss_wext_giwessid(struct net_device *dev, 30 struct iw_requ 30 struct iw_request_info *info, 31 struct iw_poin 31 struct iw_point *data, char *ssid); 32 32 33 int cfg80211_mgd_wext_siwfreq(struct net_devic 33 int cfg80211_mgd_wext_siwfreq(struct net_device *dev, 34 struct iw_reques 34 struct iw_request_info *info, 35 struct iw_freq * 35 struct iw_freq *wextfreq, char *extra); 36 int cfg80211_mgd_wext_giwfreq(struct net_devic 36 int cfg80211_mgd_wext_giwfreq(struct net_device *dev, 37 struct iw_reques 37 struct iw_request_info *info, 38 struct iw_freq * 38 struct iw_freq *freq, char *extra); 39 int cfg80211_mgd_wext_siwap(struct net_device 39 int cfg80211_mgd_wext_siwap(struct net_device *dev, 40 struct iw_request_ 40 struct iw_request_info *info, 41 struct sockaddr *a 41 struct sockaddr *ap_addr, char *extra); 42 int cfg80211_mgd_wext_giwap(struct net_device 42 int cfg80211_mgd_wext_giwap(struct net_device *dev, 43 struct iw_request_ 43 struct iw_request_info *info, 44 struct sockaddr *a 44 struct sockaddr *ap_addr, char *extra); 45 int cfg80211_mgd_wext_siwessid(struct net_devi 45 int cfg80211_mgd_wext_siwessid(struct net_device *dev, 46 struct iw_reque 46 struct iw_request_info *info, 47 struct iw_point 47 struct iw_point *data, char *ssid); 48 int cfg80211_mgd_wext_giwessid(struct net_devi 48 int cfg80211_mgd_wext_giwessid(struct net_device *dev, 49 struct iw_reque 49 struct iw_request_info *info, 50 struct iw_point 50 struct iw_point *data, char *ssid); 51 51 52 int cfg80211_wext_siwmlme(struct net_device *d 52 int cfg80211_wext_siwmlme(struct net_device *dev, 53 struct iw_request_in 53 struct iw_request_info *info, 54 union iwreq_data *wr 54 union iwreq_data *wrqu, char *extra); 55 int cfg80211_wext_siwgenie(struct net_device * 55 int cfg80211_wext_siwgenie(struct net_device *dev, 56 struct iw_request_i 56 struct iw_request_info *info, 57 union iwreq_data *w 57 union iwreq_data *wrqu, char *extra); 58 58 59 59 60 int cfg80211_wext_freq(struct iw_freq *freq); 60 int cfg80211_wext_freq(struct iw_freq *freq); 61 61 62 62 63 extern const struct iw_handler_def cfg80211_we 63 extern const struct iw_handler_def cfg80211_wext_handler; 64 #endif /* __WEXT_COMPAT */ 64 #endif /* __WEXT_COMPAT */ 65 65
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.