xref: /OK3568_Linux_fs/kernel/include/net/cfg80211-wext.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun #ifndef __NET_CFG80211_WEXT_H
3*4882a593Smuzhiyun #define __NET_CFG80211_WEXT_H
4*4882a593Smuzhiyun /*
5*4882a593Smuzhiyun  * 802.11 device and configuration interface -- wext handlers
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * Copyright 2006-2010	Johannes Berg <johannes@sipsolutions.net>
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #include <linux/netdevice.h>
11*4882a593Smuzhiyun #include <linux/wireless.h>
12*4882a593Smuzhiyun #include <net/iw_handler.h>
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun /*
15*4882a593Smuzhiyun  * Temporary wext handlers & helper functions
16*4882a593Smuzhiyun  *
17*4882a593Smuzhiyun  * These are used only by drivers that aren't yet fully
18*4882a593Smuzhiyun  * converted to cfg80211.
19*4882a593Smuzhiyun  */
20*4882a593Smuzhiyun int cfg80211_wext_giwname(struct net_device *dev,
21*4882a593Smuzhiyun 			  struct iw_request_info *info,
22*4882a593Smuzhiyun 			  char *name, char *extra);
23*4882a593Smuzhiyun int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
24*4882a593Smuzhiyun 			  u32 *mode, char *extra);
25*4882a593Smuzhiyun int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
26*4882a593Smuzhiyun 			  u32 *mode, char *extra);
27*4882a593Smuzhiyun int cfg80211_wext_siwscan(struct net_device *dev,
28*4882a593Smuzhiyun 			  struct iw_request_info *info,
29*4882a593Smuzhiyun 			  union iwreq_data *wrqu, char *extra);
30*4882a593Smuzhiyun int cfg80211_wext_giwscan(struct net_device *dev,
31*4882a593Smuzhiyun 			  struct iw_request_info *info,
32*4882a593Smuzhiyun 			  struct iw_point *data, char *extra);
33*4882a593Smuzhiyun int cfg80211_wext_giwrange(struct net_device *dev,
34*4882a593Smuzhiyun 			   struct iw_request_info *info,
35*4882a593Smuzhiyun 			   struct iw_point *data, char *extra);
36*4882a593Smuzhiyun int cfg80211_wext_siwrts(struct net_device *dev,
37*4882a593Smuzhiyun 			 struct iw_request_info *info,
38*4882a593Smuzhiyun 			 struct iw_param *rts, char *extra);
39*4882a593Smuzhiyun int cfg80211_wext_giwrts(struct net_device *dev,
40*4882a593Smuzhiyun 			 struct iw_request_info *info,
41*4882a593Smuzhiyun 			 struct iw_param *rts, char *extra);
42*4882a593Smuzhiyun int cfg80211_wext_siwfrag(struct net_device *dev,
43*4882a593Smuzhiyun 			  struct iw_request_info *info,
44*4882a593Smuzhiyun 			  struct iw_param *frag, char *extra);
45*4882a593Smuzhiyun int cfg80211_wext_giwfrag(struct net_device *dev,
46*4882a593Smuzhiyun 			  struct iw_request_info *info,
47*4882a593Smuzhiyun 			  struct iw_param *frag, char *extra);
48*4882a593Smuzhiyun int cfg80211_wext_giwretry(struct net_device *dev,
49*4882a593Smuzhiyun 			   struct iw_request_info *info,
50*4882a593Smuzhiyun 			   struct iw_param *retry, char *extra);
51*4882a593Smuzhiyun 
52*4882a593Smuzhiyun #endif /* __NET_CFG80211_WEXT_H */
53