Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 #ifndef __NET_CFG80211_WEXT_H
0003 #define __NET_CFG80211_WEXT_H
0004 /*
0005  * 802.11 device and configuration interface -- wext handlers
0006  *
0007  * Copyright 2006-2010  Johannes Berg <johannes@sipsolutions.net>
0008  */
0009 
0010 #include <linux/netdevice.h>
0011 #include <linux/wireless.h>
0012 #include <net/iw_handler.h>
0013 
0014 /*
0015  * Temporary wext handlers & helper functions
0016  *
0017  * These are used only by drivers that aren't yet fully
0018  * converted to cfg80211.
0019  */
0020 int cfg80211_wext_giwname(struct net_device *dev,
0021               struct iw_request_info *info,
0022               char *name, char *extra);
0023 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
0024               u32 *mode, char *extra);
0025 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
0026               u32 *mode, char *extra);
0027 int cfg80211_wext_siwscan(struct net_device *dev,
0028               struct iw_request_info *info,
0029               union iwreq_data *wrqu, char *extra);
0030 int cfg80211_wext_giwscan(struct net_device *dev,
0031               struct iw_request_info *info,
0032               struct iw_point *data, char *extra);
0033 int cfg80211_wext_giwrange(struct net_device *dev,
0034                struct iw_request_info *info,
0035                struct iw_point *data, char *extra);
0036 int cfg80211_wext_siwrts(struct net_device *dev,
0037              struct iw_request_info *info,
0038              struct iw_param *rts, char *extra);
0039 int cfg80211_wext_giwrts(struct net_device *dev,
0040              struct iw_request_info *info,
0041              struct iw_param *rts, char *extra);
0042 int cfg80211_wext_siwfrag(struct net_device *dev,
0043               struct iw_request_info *info,
0044               struct iw_param *frag, char *extra);
0045 int cfg80211_wext_giwfrag(struct net_device *dev,
0046               struct iw_request_info *info,
0047               struct iw_param *frag, char *extra);
0048 int cfg80211_wext_giwretry(struct net_device *dev,
0049                struct iw_request_info *info,
0050                struct iw_param *retry, char *extra);
0051 
0052 #endif /* __NET_CFG80211_WEXT_H */