2019-05-19 20:08:55 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2009-07-27 18:01:50 +08:00
|
|
|
#ifndef __WEXT_COMPAT
|
|
|
|
#define __WEXT_COMPAT
|
|
|
|
|
2009-07-27 18:01:53 +08:00
|
|
|
#include <net/iw_handler.h>
|
|
|
|
#include <linux/wireless.h>
|
|
|
|
|
2015-01-06 21:00:53 +08:00
|
|
|
#ifdef CONFIG_CFG80211_WEXT_EXPORT
|
|
|
|
#define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_GPL(h)
|
|
|
|
#else
|
|
|
|
#define EXPORT_WEXT_HANDLER(h)
|
|
|
|
#endif /* CONFIG_CFG80211_WEXT_EXPORT */
|
|
|
|
|
2009-07-27 18:01:50 +08:00
|
|
|
int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_freq *freq, char *extra);
|
|
|
|
int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_freq *freq, char *extra);
|
2009-07-27 18:01:51 +08:00
|
|
|
int cfg80211_ibss_wext_siwap(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct sockaddr *ap_addr, char *extra);
|
|
|
|
int cfg80211_ibss_wext_giwap(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct sockaddr *ap_addr, char *extra);
|
2009-07-27 18:01:52 +08:00
|
|
|
int cfg80211_ibss_wext_siwessid(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_point *data, char *ssid);
|
|
|
|
int cfg80211_ibss_wext_giwessid(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_point *data, char *ssid);
|
2009-07-27 18:01:50 +08:00
|
|
|
|
|
|
|
int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_freq *freq, char *extra);
|
|
|
|
int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_freq *freq, char *extra);
|
2009-07-27 18:01:51 +08:00
|
|
|
int cfg80211_mgd_wext_siwap(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct sockaddr *ap_addr, char *extra);
|
|
|
|
int cfg80211_mgd_wext_giwap(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct sockaddr *ap_addr, char *extra);
|
2009-07-27 18:01:52 +08:00
|
|
|
int cfg80211_mgd_wext_siwessid(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_point *data, char *ssid);
|
|
|
|
int cfg80211_mgd_wext_giwessid(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_point *data, char *ssid);
|
2009-07-27 18:01:50 +08:00
|
|
|
|
2011-07-15 19:01:38 +08:00
|
|
|
int cfg80211_wext_siwmlme(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_point *data, char *extra);
|
|
|
|
int cfg80211_wext_siwgenie(struct net_device *dev,
|
|
|
|
struct iw_request_info *info,
|
|
|
|
struct iw_point *data, char *extra);
|
|
|
|
|
|
|
|
|
2014-04-09 09:28:06 +08:00
|
|
|
int cfg80211_wext_freq(struct iw_freq *freq);
|
2009-07-27 18:01:50 +08:00
|
|
|
|
2009-07-27 18:01:53 +08:00
|
|
|
|
|
|
|
extern const struct iw_handler_def cfg80211_wext_handler;
|
2009-07-27 18:01:50 +08:00
|
|
|
#endif /* __WEXT_COMPAT */
|