2019-05-19 19:08:55 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2009-07-27 17:01:50 +07:00
|
|
|
#ifndef __WEXT_COMPAT
|
|
|
|
#define __WEXT_COMPAT
|
|
|
|
|
2009-07-27 17:01:53 +07:00
|
|
|
#include <net/iw_handler.h>
|
|
|
|
#include <linux/wireless.h>
|
|
|
|
|
2015-01-06 20:00:53 +07: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 17:01:50 +07: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 17:01:51 +07: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 17:01:52 +07: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 17:01:50 +07: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 17:01:51 +07: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 17:01:52 +07: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 17:01:50 +07:00
|
|
|
|
2011-07-15 18:01:38 +07: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 08:28:06 +07:00
|
|
|
int cfg80211_wext_freq(struct iw_freq *freq);
|
2009-07-27 17:01:50 +07:00
|
|
|
|
2009-07-27 17:01:53 +07:00
|
|
|
|
|
|
|
extern const struct iw_handler_def cfg80211_wext_handler;
|
2009-07-27 17:01:50 +07:00
|
|
|
#endif /* __WEXT_COMPAT */
|