spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / drivers / staging / vt6655 / iwctl.h
blobd224f913a624046e88f00618918461a01e84178e
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_giwsens(struct net_device *dev,
83 struct iw_request_info *info,
84 struct iw_param *wrq,
85 char *extra);
87 int iwctl_giwap(struct net_device *dev,
88 struct iw_request_info *info,
89 struct sockaddr *wrq,
90 char *extra);
92 int iwctl_giwaplist(struct net_device *dev,
93 struct iw_request_info *info,
94 struct iw_point *wrq,
95 char *extra);
97 int iwctl_siwessid(struct net_device *dev,
98 struct iw_request_info *info,
99 struct iw_point *wrq,
100 char *extra);
102 int iwctl_giwessid(struct net_device *dev,
103 struct iw_request_info *info,
104 struct iw_point *wrq,
105 char *extra);
107 int iwctl_siwrate(struct net_device *dev,
108 struct iw_request_info *info,
109 struct iw_param *wrq,
110 char *extra);
112 int iwctl_giwrate(struct net_device *dev,
113 struct iw_request_info *info,
114 struct iw_param *wrq,
115 char *extra);
117 int iwctl_siwrts(struct net_device *dev,
118 struct iw_request_info *info,
119 struct iw_param *wrq,
120 char *extra);
123 int iwctl_giwrts(struct net_device *dev,
124 struct iw_request_info *info,
125 struct iw_param *wrq,
126 char *extra);
128 int iwctl_siwfrag(struct net_device *dev,
129 struct iw_request_info *info,
130 struct iw_param *wrq,
131 char *extra);
133 int iwctl_giwfrag(struct net_device *dev,
134 struct iw_request_info *info,
135 struct iw_param *wrq,
136 char *extra);
138 int iwctl_siwretry(struct net_device *dev,
139 struct iw_request_info *info,
140 struct iw_param *wrq,
141 char *extra);
143 int iwctl_giwretry(struct net_device *dev,
144 struct iw_request_info *info,
145 struct iw_param *wrq,
146 char *extra);
148 int iwctl_siwencode(struct net_device *dev,
149 struct iw_request_info *info,
150 struct iw_point *wrq,
151 char *extra);
153 int iwctl_giwencode(struct net_device *dev,
154 struct iw_request_info *info,
155 struct iw_point *wrq,
156 char *extra);
158 int iwctl_siwpower(struct net_device *dev,
159 struct iw_request_info *info,
160 struct iw_param *wrq,
161 char *extra);
163 int iwctl_giwpower(struct net_device *dev,
164 struct iw_request_info *info,
165 struct iw_param *wrq,
166 char *extra);
168 int iwctl_giwscan(struct net_device *dev,
169 struct iw_request_info *info,
170 struct iw_point *wrq,
171 char *extra);
173 int iwctl_siwscan(struct net_device *dev,
174 struct iw_request_info *info,
175 struct iw_param *wrq,
176 char *extra);
178 //2008-0409-07, <Add> by Einsn Liu
179 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
180 int iwctl_siwauth(struct net_device *dev,
181 struct iw_request_info *info,
182 struct iw_param *wrq,
183 char *extra);
185 int iwctl_giwauth(struct net_device *dev,
186 struct iw_request_info *info,
187 struct iw_param *wrq,
188 char *extra);
190 int iwctl_siwgenie(struct net_device *dev,
191 struct iw_request_info *info,
192 struct iw_point *wrq,
193 char *extra);
195 int iwctl_giwgenie(struct net_device *dev,
196 struct iw_request_info *info,
197 struct iw_point *wrq,
198 char *extra);
200 int iwctl_siwencodeext(struct net_device *dev,
201 struct iw_request_info *info,
202 struct iw_point *wrq,
203 char *extra);
205 int iwctl_giwencodeext(struct net_device *dev,
206 struct iw_request_info *info,
207 struct iw_point *wrq,
208 char *extra);
210 int iwctl_siwmlme(struct net_device *dev,
211 struct iw_request_info * info,
212 struct iw_point *wrq,
213 char *extra);
214 #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
215 //End Add -- //2008-0409-07, <Add> by Einsn Liu
218 extern const struct iw_handler_def iwctl_handler_def;
219 extern const struct iw_priv_args iwctl_private_args;
221 #endif // __IWCTL_H__