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