mm/filemap_xip.c: fix race condition in xip_file_fault()
[linux-2.6.git] / drivers / staging / vt6656 / iwctl.h
blob10a240e650124b2e728fc31e932b871a2610a9e6
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 -------------------------*/
36 /*--------------------- Export Classes ----------------------------*/
38 /*--------------------- Export Variables --------------------------*/
40 /*--------------------- Export Functions --------------------------*/
42 struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
44 int iwctl_siwap(struct net_device *dev,
45 struct iw_request_info *info,
46 struct sockaddr *wrq,
47 char *extra);
49 int iwctl_giwrange(struct net_device *dev,
50 struct iw_request_info *info,
51 struct iw_point *wrq,
52 char *extra);
55 int iwctl_giwmode(struct net_device *dev,
56 struct iw_request_info *info,
57 __u32 *wmode,
58 char *extra);
60 int iwctl_siwmode(struct net_device *dev,
61 struct iw_request_info *info,
62 __u32 *wmode,
63 char *extra);
65 int iwctl_giwfreq(struct net_device *dev,
66 struct iw_request_info *info,
67 struct iw_freq *wrq,
68 char *extra);
70 int iwctl_siwfreq(struct net_device *dev,
71 struct iw_request_info *info,
72 struct iw_freq *wrq,
73 char *extra);
75 int iwctl_giwname(struct net_device *dev,
76 struct iw_request_info *info,
77 char *wrq,
78 char *extra);
80 int iwctl_giwsens(struct net_device *dev,
81 struct iw_request_info *info,
82 struct iw_param *wrq,
83 char *extra);
85 int iwctl_giwap(struct net_device *dev,
86 struct iw_request_info *info,
87 struct sockaddr *wrq,
88 char *extra);
90 int iwctl_giwaplist(struct net_device *dev,
91 struct iw_request_info *info,
92 struct iw_point *wrq,
93 char *extra);
95 int iwctl_siwessid(struct net_device *dev,
96 struct iw_request_info *info,
97 struct iw_point *wrq,
98 char *extra);
100 int iwctl_giwessid(struct net_device *dev,
101 struct iw_request_info *info,
102 struct iw_point *wrq,
103 char *extra);
105 int iwctl_siwrate(struct net_device *dev,
106 struct iw_request_info *info,
107 struct iw_param *wrq,
108 char *extra);
110 int iwctl_giwrate(struct net_device *dev,
111 struct iw_request_info *info,
112 struct iw_param *wrq,
113 char *extra);
115 int iwctl_siwrts(struct net_device *dev,
116 struct iw_request_info *info,
117 struct iw_param *wrq,
118 char *extra);
121 int iwctl_giwrts(struct net_device *dev,
122 struct iw_request_info *info,
123 struct iw_param *wrq,
124 char *extra);
126 int iwctl_siwfrag(struct net_device *dev,
127 struct iw_request_info *info,
128 struct iw_param *wrq,
129 char *extra);
131 int iwctl_giwfrag(struct net_device *dev,
132 struct iw_request_info *info,
133 struct iw_param *wrq,
134 char *extra);
136 int iwctl_siwretry(struct net_device *dev,
137 struct iw_request_info *info,
138 struct iw_param *wrq,
139 char *extra);
141 int iwctl_giwretry(struct net_device *dev,
142 struct iw_request_info *info,
143 struct iw_param *wrq,
144 char *extra);
146 int iwctl_siwencode(struct net_device *dev,
147 struct iw_request_info *info,
148 struct iw_point *wrq,
149 char *extra);
151 int iwctl_giwencode(struct net_device *dev,
152 struct iw_request_info *info,
153 struct iw_point *wrq,
154 char *extra);
156 int iwctl_siwpower(struct net_device *dev,
157 struct iw_request_info *info,
158 struct iw_param *wrq,
159 char *extra);
161 int iwctl_giwpower(struct net_device *dev,
162 struct iw_request_info *info,
163 struct iw_param *wrq,
164 char *extra);
166 int iwctl_giwscan(struct net_device *dev,
167 struct iw_request_info *info,
168 struct iw_point *wrq,
169 char *extra);
171 int iwctl_siwscan(struct net_device *dev,
172 struct iw_request_info *info,
173 struct iw_param *wrq,
174 char *extra);
176 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
177 int iwctl_siwauth(struct net_device *dev,
178 struct iw_request_info *info,
179 struct iw_param *wrq,
180 char *extra);
182 int iwctl_giwauth(struct net_device *dev,
183 struct iw_request_info *info,
184 struct iw_param *wrq,
185 char *extra);
187 int iwctl_siwgenie(struct net_device *dev,
188 struct iw_request_info *info,
189 struct iw_point *wrq,
190 char *extra);
192 int iwctl_giwgenie(struct net_device *dev,
193 struct iw_request_info *info,
194 struct iw_point *wrq,
195 char *extra);
197 int iwctl_siwencodeext(struct net_device *dev,
198 struct iw_request_info *info,
199 struct iw_point *wrq,
200 char *extra);
202 int iwctl_giwencodeext(struct net_device *dev,
203 struct iw_request_info *info,
204 struct iw_point *wrq,
205 char *extra);
207 int iwctl_siwmlme(struct net_device *dev,
208 struct iw_request_info * info,
209 struct iw_point *wrq,
210 char *extra);
211 #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
213 extern const struct iw_handler_def iwctl_handler_def;
214 extern const struct iw_priv_args iwctl_private_args;
216 #endif /* __IWCTL_H__ */