Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / drivers / staging / vt6655 / iwctl.h
blob3096de0ba1bdf39f084765b238ca6cc9c32da09f
1 /*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
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.
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.
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.
19 * File: iwctl.h
21 * Purpose:
23 * Author: Lyndon Chen
25 * Date: May 21, 2004
29 #ifndef __IWCTL_H__
30 #define __IWCTL_H__
32 #include "device.h"
34 /*--------------------- Export Definitions -------------------------*/
37 /*--------------------- Export Classes ----------------------------*/
39 /*--------------------- Export Variables --------------------------*/
41 /*--------------------- Export Functions --------------------------*/
43 struct iw_statistics *iwctl_get_wireless_stats (struct net_device *dev);
46 int iwctl_siwap(struct net_device *dev,
47 struct iw_request_info *info,
48 struct sockaddr *wrq,
49 char *extra);
51 int iwctl_giwrange(struct net_device *dev,
52 struct iw_request_info *info,
53 struct iw_point *wrq,
54 char *extra);
57 int iwctl_giwmode(struct net_device *dev,
58 struct iw_request_info *info,
59 __u32 *wmode,
60 char *extra);
62 int iwctl_siwmode(struct net_device *dev,
63 struct iw_request_info *info,
64 __u32 *wmode,
65 char *extra);
67 int iwctl_giwfreq(struct net_device *dev,
68 struct iw_request_info *info,
69 struct iw_freq *wrq,
70 char *extra);
72 int iwctl_siwfreq(struct net_device *dev,
73 struct iw_request_info *info,
74 struct iw_freq *wrq,
75 char *extra);
77 int iwctl_giwname(struct net_device *dev,
78 struct iw_request_info *info,
79 char *wrq,
80 char *extra);
82 int iwctl_giwnwid(struct net_device *dev,
83 struct iw_request_info *info,
84 struct iw_param *wrq,
85 char *extra) ;
87 int iwctl_giwsens(struct net_device *dev,
88 struct iw_request_info *info,
89 struct iw_param *wrq,
90 char *extra);
92 int iwctl_giwap(struct net_device *dev,
93 struct iw_request_info *info,
94 struct sockaddr *wrq,
95 char *extra);
97 int iwctl_giwaplist(struct net_device *dev,
98 struct iw_request_info *info,
99 struct iw_point *wrq,
100 char *extra);
102 int iwctl_siwessid(struct net_device *dev,
103 struct iw_request_info *info,
104 struct iw_point *wrq,
105 char *extra);
107 int iwctl_giwessid(struct net_device *dev,
108 struct iw_request_info *info,
109 struct iw_point *wrq,
110 char *extra);
112 int iwctl_siwrate(struct net_device *dev,
113 struct iw_request_info *info,
114 struct iw_param *wrq,
115 char *extra);
117 int iwctl_giwrate(struct net_device *dev,
118 struct iw_request_info *info,
119 struct iw_param *wrq,
120 char *extra);
122 int iwctl_siwrts(struct net_device *dev,
123 struct iw_request_info *info,
124 struct iw_param *wrq,
125 char *extra);
128 int iwctl_giwrts(struct net_device *dev,
129 struct iw_request_info *info,
130 struct iw_param *wrq,
131 char *extra);
133 int iwctl_siwfrag(struct net_device *dev,
134 struct iw_request_info *info,
135 struct iw_param *wrq,
136 char *extra);
138 int iwctl_giwfrag(struct net_device *dev,
139 struct iw_request_info *info,
140 struct iw_param *wrq,
141 char *extra);
143 int iwctl_siwretry(struct net_device *dev,
144 struct iw_request_info *info,
145 struct iw_param *wrq,
146 char *extra);
148 int iwctl_giwretry(struct net_device *dev,
149 struct iw_request_info *info,
150 struct iw_param *wrq,
151 char *extra);
153 int iwctl_siwencode(struct net_device *dev,
154 struct iw_request_info *info,
155 struct iw_point *wrq,
156 char *extra);
158 int iwctl_giwencode(struct net_device *dev,
159 struct iw_request_info *info,
160 struct iw_point *wrq,
161 char *extra);
163 int iwctl_siwpower(struct net_device *dev,
164 struct iw_request_info *info,
165 struct iw_param *wrq,
166 char *extra);
168 int iwctl_giwpower(struct net_device *dev,
169 struct iw_request_info *info,
170 struct iw_param *wrq,
171 char *extra);
173 int iwctl_giwscan(struct net_device *dev,
174 struct iw_request_info *info,
175 struct iw_point *wrq,
176 char *extra);
178 int iwctl_siwscan(struct net_device *dev,
179 struct iw_request_info *info,
180 struct iw_param *wrq,
181 char *extra);
183 //2008-0409-07, <Add> by Einsn Liu
184 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
185 int iwctl_siwauth(struct net_device *dev,
186 struct iw_request_info *info,
187 struct iw_param *wrq,
188 char *extra);
190 int iwctl_giwauth(struct net_device *dev,
191 struct iw_request_info *info,
192 struct iw_param *wrq,
193 char *extra);
195 int iwctl_siwgenie(struct net_device *dev,
196 struct iw_request_info *info,
197 struct iw_point *wrq,
198 char *extra);
200 int iwctl_giwgenie(struct net_device *dev,
201 struct iw_request_info *info,
202 struct iw_point *wrq,
203 char *extra);
205 int iwctl_siwencodeext(struct net_device *dev,
206 struct iw_request_info *info,
207 struct iw_point *wrq,
208 char *extra);
210 int iwctl_giwencodeext(struct net_device *dev,
211 struct iw_request_info *info,
212 struct iw_point *wrq,
213 char *extra);
215 int iwctl_siwmlme(struct net_device *dev,
216 struct iw_request_info * info,
217 struct iw_point *wrq,
218 char *extra);
219 #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
220 //End Add -- //2008-0409-07, <Add> by Einsn Liu
223 extern const struct iw_handler_def iwctl_handler_def;
224 extern const struct iw_priv_args iwctl_private_args;
226 #endif // __IWCTL_H__