18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci#ifndef __WEXT_COMPAT 38c2ecf20Sopenharmony_ci#define __WEXT_COMPAT 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <net/iw_handler.h> 68c2ecf20Sopenharmony_ci#include <linux/wireless.h> 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifdef CONFIG_CFG80211_WEXT_EXPORT 98c2ecf20Sopenharmony_ci#define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_GPL(h) 108c2ecf20Sopenharmony_ci#else 118c2ecf20Sopenharmony_ci#define EXPORT_WEXT_HANDLER(h) 128c2ecf20Sopenharmony_ci#endif /* CONFIG_CFG80211_WEXT_EXPORT */ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciint cfg80211_ibss_wext_siwfreq(struct net_device *dev, 158c2ecf20Sopenharmony_ci struct iw_request_info *info, 168c2ecf20Sopenharmony_ci struct iw_freq *freq, char *extra); 178c2ecf20Sopenharmony_ciint cfg80211_ibss_wext_giwfreq(struct net_device *dev, 188c2ecf20Sopenharmony_ci struct iw_request_info *info, 198c2ecf20Sopenharmony_ci struct iw_freq *freq, char *extra); 208c2ecf20Sopenharmony_ciint cfg80211_ibss_wext_siwap(struct net_device *dev, 218c2ecf20Sopenharmony_ci struct iw_request_info *info, 228c2ecf20Sopenharmony_ci struct sockaddr *ap_addr, char *extra); 238c2ecf20Sopenharmony_ciint cfg80211_ibss_wext_giwap(struct net_device *dev, 248c2ecf20Sopenharmony_ci struct iw_request_info *info, 258c2ecf20Sopenharmony_ci struct sockaddr *ap_addr, char *extra); 268c2ecf20Sopenharmony_ciint cfg80211_ibss_wext_siwessid(struct net_device *dev, 278c2ecf20Sopenharmony_ci struct iw_request_info *info, 288c2ecf20Sopenharmony_ci struct iw_point *data, char *ssid); 298c2ecf20Sopenharmony_ciint cfg80211_ibss_wext_giwessid(struct net_device *dev, 308c2ecf20Sopenharmony_ci struct iw_request_info *info, 318c2ecf20Sopenharmony_ci struct iw_point *data, char *ssid); 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciint cfg80211_mgd_wext_siwfreq(struct net_device *dev, 348c2ecf20Sopenharmony_ci struct iw_request_info *info, 358c2ecf20Sopenharmony_ci struct iw_freq *freq, char *extra); 368c2ecf20Sopenharmony_ciint cfg80211_mgd_wext_giwfreq(struct net_device *dev, 378c2ecf20Sopenharmony_ci struct iw_request_info *info, 388c2ecf20Sopenharmony_ci struct iw_freq *freq, char *extra); 398c2ecf20Sopenharmony_ciint cfg80211_mgd_wext_siwap(struct net_device *dev, 408c2ecf20Sopenharmony_ci struct iw_request_info *info, 418c2ecf20Sopenharmony_ci struct sockaddr *ap_addr, char *extra); 428c2ecf20Sopenharmony_ciint cfg80211_mgd_wext_giwap(struct net_device *dev, 438c2ecf20Sopenharmony_ci struct iw_request_info *info, 448c2ecf20Sopenharmony_ci struct sockaddr *ap_addr, char *extra); 458c2ecf20Sopenharmony_ciint cfg80211_mgd_wext_siwessid(struct net_device *dev, 468c2ecf20Sopenharmony_ci struct iw_request_info *info, 478c2ecf20Sopenharmony_ci struct iw_point *data, char *ssid); 488c2ecf20Sopenharmony_ciint cfg80211_mgd_wext_giwessid(struct net_device *dev, 498c2ecf20Sopenharmony_ci struct iw_request_info *info, 508c2ecf20Sopenharmony_ci struct iw_point *data, char *ssid); 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciint cfg80211_wext_siwmlme(struct net_device *dev, 538c2ecf20Sopenharmony_ci struct iw_request_info *info, 548c2ecf20Sopenharmony_ci struct iw_point *data, char *extra); 558c2ecf20Sopenharmony_ciint cfg80211_wext_siwgenie(struct net_device *dev, 568c2ecf20Sopenharmony_ci struct iw_request_info *info, 578c2ecf20Sopenharmony_ci struct iw_point *data, char *extra); 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ciint cfg80211_wext_freq(struct iw_freq *freq); 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ciextern const struct iw_handler_def cfg80211_wext_handler; 648c2ecf20Sopenharmony_ci#endif /* __WEXT_COMPAT */ 65