cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

wext-compat.h (2356B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2#ifndef __WEXT_COMPAT
      3#define __WEXT_COMPAT
      4
      5#include <net/iw_handler.h>
      6#include <linux/wireless.h>
      7
      8#ifdef CONFIG_CFG80211_WEXT_EXPORT
      9#define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_GPL(h)
     10#else
     11#define EXPORT_WEXT_HANDLER(h)
     12#endif /* CONFIG_CFG80211_WEXT_EXPORT */
     13
     14int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
     15			       struct iw_request_info *info,
     16			       struct iw_freq *freq, char *extra);
     17int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
     18			       struct iw_request_info *info,
     19			       struct iw_freq *freq, char *extra);
     20int cfg80211_ibss_wext_siwap(struct net_device *dev,
     21			     struct iw_request_info *info,
     22			     struct sockaddr *ap_addr, char *extra);
     23int cfg80211_ibss_wext_giwap(struct net_device *dev,
     24			     struct iw_request_info *info,
     25			     struct sockaddr *ap_addr, char *extra);
     26int cfg80211_ibss_wext_siwessid(struct net_device *dev,
     27				struct iw_request_info *info,
     28				struct iw_point *data, char *ssid);
     29int cfg80211_ibss_wext_giwessid(struct net_device *dev,
     30				struct iw_request_info *info,
     31				struct iw_point *data, char *ssid);
     32
     33int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
     34			      struct iw_request_info *info,
     35			      struct iw_freq *freq, char *extra);
     36int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
     37			      struct iw_request_info *info,
     38			      struct iw_freq *freq, char *extra);
     39int cfg80211_mgd_wext_siwap(struct net_device *dev,
     40			    struct iw_request_info *info,
     41			    struct sockaddr *ap_addr, char *extra);
     42int cfg80211_mgd_wext_giwap(struct net_device *dev,
     43			    struct iw_request_info *info,
     44			    struct sockaddr *ap_addr, char *extra);
     45int cfg80211_mgd_wext_siwessid(struct net_device *dev,
     46			       struct iw_request_info *info,
     47			       struct iw_point *data, char *ssid);
     48int cfg80211_mgd_wext_giwessid(struct net_device *dev,
     49			       struct iw_request_info *info,
     50			       struct iw_point *data, char *ssid);
     51
     52int cfg80211_wext_siwmlme(struct net_device *dev,
     53			  struct iw_request_info *info,
     54			  struct iw_point *data, char *extra);
     55int cfg80211_wext_siwgenie(struct net_device *dev,
     56			   struct iw_request_info *info,
     57			   struct iw_point *data, char *extra);
     58
     59
     60int cfg80211_wext_freq(struct iw_freq *freq);
     61
     62
     63extern const struct iw_handler_def cfg80211_wext_handler;
     64#endif /* __WEXT_COMPAT */