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