Merge remote-tracking branch 'kumar/merge' into merge
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / vt6656 / iwctl.h
1 /*
2  * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3  * All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * File: iwctl.h
20  *
21  * Purpose:
22  *
23  * Author: Lyndon Chen
24  *
25  * Date: May 21, 2004
26  *
27  */
28
29 #ifndef __IWCTL_H__
30 #define __IWCTL_H__
31
32 #include "device.h"
33
34 /*---------------------  Export Definitions -------------------------*/
35
36 /*---------------------  Export Classes  ----------------------------*/
37
38 /*---------------------  Export Variables  --------------------------*/
39
40 /*---------------------  Export Functions  --------------------------*/
41
42 struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
43
44 int iwctl_siwap(struct net_device *dev, struct iw_request_info *info,
45                 struct sockaddr *wrq, char *extra);
46
47 void iwctl_giwrange(struct net_device *dev, struct iw_request_info *info,
48                 struct iw_point *wrq, char *extra);
49
50 void iwctl_giwmode(struct net_device *dev, struct iw_request_info *info,
51                 __u32 *wmode, char *extra);
52
53 int iwctl_siwmode(struct net_device *dev, struct iw_request_info *info,
54                 __u32 *wmode, char *extra);
55
56 int iwctl_giwfreq(struct net_device *dev, struct iw_request_info *info,
57                 struct iw_freq *wrq, char *extra);
58
59 int iwctl_siwfreq(struct net_device *dev, struct iw_request_info *info,
60                 struct iw_freq *wrq, char *extra);
61
62 int iwctl_giwname(struct net_device *dev, struct iw_request_info *info,
63                 char *wrq, char *extra);
64
65 int iwctl_giwsens(struct net_device *dev, struct iw_request_info *info,
66                 struct iw_param *wrq, char *extra);
67
68 int iwctl_giwap(struct net_device *dev, struct iw_request_info *info,
69                 struct sockaddr *wrq, char *extra);
70
71 int iwctl_giwaplist(struct net_device *dev, struct iw_request_info *info,
72                 struct iw_point *wrq, char *extra);
73
74 int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
75                 struct iw_point *wrq, char *extra);
76
77 void iwctl_giwessid(struct net_device *dev, struct iw_request_info *info,
78                 struct iw_point *wrq, char *extra);
79
80 int iwctl_siwrate(struct net_device *dev, struct iw_request_info *info,
81                 struct iw_param *wrq, char *extra);
82
83 void iwctl_giwrate(struct net_device *dev, struct iw_request_info *info,
84                 struct iw_param *wrq, char *extra);
85
86 int iwctl_siwrts(struct net_device *dev, struct iw_param *wrq);
87
88 int iwctl_giwrts(struct net_device *dev, struct iw_request_info *info,
89                 struct iw_param *wrq, char *extra);
90
91 int iwctl_siwfrag(struct net_device *dev, struct iw_request_info *info,
92                 struct iw_param *wrq, char *extra);
93
94 int iwctl_giwfrag(struct net_device *dev, struct iw_request_info *info,
95                 struct iw_param *wrq, char *extra);
96
97 int iwctl_siwretry(struct net_device *dev, struct iw_request_info *info,
98                 struct iw_param *wrq, char *extra);
99
100 int iwctl_giwretry(struct net_device *dev, struct iw_request_info *info,
101                 struct iw_param *wrq, char *extra);
102
103 int iwctl_siwencode(struct net_device *dev, struct iw_request_info *info,
104                 struct iw_point *wrq, char *extra);
105
106 int iwctl_giwencode(struct net_device *dev, struct iw_request_info *info,
107                 struct iw_point *wrq, char *extra);
108
109 int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info,
110                 struct iw_param *wrq, char *extra);
111
112 int iwctl_giwpower(struct net_device *dev, struct iw_request_info *info,
113                 struct iw_param *wrq, char *extra);
114
115 int iwctl_giwscan(struct net_device *dev, struct iw_request_info *info,
116                 struct iw_point *wrq, char *extra);
117
118 int iwctl_siwscan(struct net_device *dev, struct iw_request_info *info,
119                 struct iw_param *wrq, char *extra);
120
121 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
122 int iwctl_siwauth(struct net_device *dev, struct iw_request_info *info,
123                 struct iw_param *wrq, char *extra);
124
125 int iwctl_giwauth(struct net_device *dev, struct iw_request_info *info,
126                 struct iw_param *wrq, char *extra);
127
128 int iwctl_siwgenie(struct net_device *dev, struct iw_request_info *info,
129                 struct iw_point *wrq, char *extra);
130
131 int iwctl_giwgenie(struct net_device *dev, struct iw_request_info *info,
132                 struct iw_point *wrq, char *extra);
133
134 int iwctl_siwencodeext(struct net_device *dev, struct iw_request_info *info,
135                 struct iw_point *wrq, char *extra);
136
137 int iwctl_giwencodeext(struct net_device *dev, struct iw_request_info *info,
138                 struct iw_point *wrq, char *extra);
139
140 int iwctl_siwmlme(struct net_device *dev, struct iw_request_info *info,
141                 struct iw_point *wrq, char *extra);
142 #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
143
144 extern const struct iw_handler_def iwctl_handler_def;
145 extern const struct iw_priv_args iwctl_private_args;
146
147 #endif /* __IWCTL_H__ */