Commit | Line | Data |
---|---|---|
5449c685 FB |
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 | ||
30 | #ifndef __IWCTL_H__ | |
31 | #define __IWCTL_H__ | |
32 | ||
33 | #if !defined(__DEVICE_H__) | |
34 | #include "device.h" | |
35 | #endif | |
36 | ||
37 | ||
38 | /*--------------------- Export Definitions -------------------------*/ | |
39 | ||
40 | ||
41 | /*--------------------- Export Classes ----------------------------*/ | |
42 | ||
43 | /*--------------------- Export Variables --------------------------*/ | |
44 | ||
45 | /*--------------------- Export Functions --------------------------*/ | |
46 | ||
47 | ||
48 | #ifdef __cplusplus | |
49 | extern "C" { /* Assume C declarations for C++ */ | |
50 | #endif /* __cplusplus */ | |
51 | ||
52 | ||
5449c685 FB |
53 | #ifdef WIRELESS_EXT |
54 | ||
55 | struct iw_statistics *iwctl_get_wireless_stats (struct net_device *dev); | |
56 | ||
57 | ||
58 | int iwctl_siwap(struct net_device *dev, | |
59 | struct iw_request_info *info, | |
60 | struct sockaddr *wrq, | |
61 | char *extra); | |
62 | ||
63 | int iwctl_giwrange(struct net_device *dev, | |
64 | struct iw_request_info *info, | |
65 | struct iw_point *wrq, | |
66 | char *extra); | |
67 | ||
68 | ||
69 | int iwctl_giwmode(struct net_device *dev, | |
70 | struct iw_request_info *info, | |
71 | __u32 *wmode, | |
72 | char *extra); | |
73 | ||
74 | int iwctl_siwmode(struct net_device *dev, | |
75 | struct iw_request_info *info, | |
76 | __u32 *wmode, | |
77 | char *extra); | |
78 | ||
79 | int iwctl_giwfreq(struct net_device *dev, | |
80 | struct iw_request_info *info, | |
81 | struct iw_freq *wrq, | |
82 | char *extra); | |
83 | ||
84 | int iwctl_siwfreq(struct net_device *dev, | |
85 | struct iw_request_info *info, | |
86 | struct iw_freq *wrq, | |
87 | char *extra); | |
88 | ||
89 | int iwctl_giwname(struct net_device *dev, | |
90 | struct iw_request_info *info, | |
91 | char *wrq, | |
92 | char *extra); | |
93 | ||
94 | int iwctl_giwnwid(struct net_device *dev, | |
95 | struct iw_request_info *info, | |
96 | struct iw_param *wrq, | |
97 | char *extra) ; | |
98 | ||
99 | int iwctl_giwsens(struct net_device *dev, | |
100 | struct iw_request_info *info, | |
101 | struct iw_param *wrq, | |
102 | char *extra); | |
103 | ||
104 | int iwctl_giwap(struct net_device *dev, | |
105 | struct iw_request_info *info, | |
106 | struct sockaddr *wrq, | |
107 | char *extra); | |
108 | ||
109 | int iwctl_giwaplist(struct net_device *dev, | |
110 | struct iw_request_info *info, | |
111 | struct iw_point *wrq, | |
112 | char *extra); | |
113 | ||
114 | int iwctl_siwessid(struct net_device *dev, | |
115 | struct iw_request_info *info, | |
116 | struct iw_point *wrq, | |
117 | char *extra); | |
118 | ||
119 | int iwctl_giwessid(struct net_device *dev, | |
120 | struct iw_request_info *info, | |
121 | struct iw_point *wrq, | |
122 | char *extra); | |
123 | ||
124 | int iwctl_siwrate(struct net_device *dev, | |
125 | struct iw_request_info *info, | |
126 | struct iw_param *wrq, | |
127 | char *extra); | |
128 | ||
129 | int iwctl_giwrate(struct net_device *dev, | |
130 | struct iw_request_info *info, | |
131 | struct iw_param *wrq, | |
132 | char *extra); | |
133 | ||
134 | int iwctl_siwrts(struct net_device *dev, | |
135 | struct iw_request_info *info, | |
136 | struct iw_param *wrq, | |
137 | char *extra); | |
138 | ||
139 | ||
140 | int iwctl_giwrts(struct net_device *dev, | |
141 | struct iw_request_info *info, | |
142 | struct iw_param *wrq, | |
143 | char *extra); | |
144 | ||
145 | int iwctl_siwfrag(struct net_device *dev, | |
146 | struct iw_request_info *info, | |
147 | struct iw_param *wrq, | |
148 | char *extra); | |
149 | ||
150 | int iwctl_giwfrag(struct net_device *dev, | |
151 | struct iw_request_info *info, | |
152 | struct iw_param *wrq, | |
153 | char *extra); | |
154 | ||
155 | int iwctl_siwretry(struct net_device *dev, | |
156 | struct iw_request_info *info, | |
157 | struct iw_param *wrq, | |
158 | char *extra); | |
159 | ||
160 | int iwctl_giwretry(struct net_device *dev, | |
161 | struct iw_request_info *info, | |
162 | struct iw_param *wrq, | |
163 | char *extra); | |
164 | ||
165 | int iwctl_siwencode(struct net_device *dev, | |
166 | struct iw_request_info *info, | |
167 | struct iw_point *wrq, | |
168 | char *extra); | |
169 | ||
170 | int iwctl_giwencode(struct net_device *dev, | |
171 | struct iw_request_info *info, | |
172 | struct iw_point *wrq, | |
173 | char *extra); | |
174 | ||
175 | int iwctl_siwpower(struct net_device *dev, | |
176 | struct iw_request_info *info, | |
177 | struct iw_param *wrq, | |
178 | char *extra); | |
179 | ||
180 | int iwctl_giwpower(struct net_device *dev, | |
181 | struct iw_request_info *info, | |
182 | struct iw_param *wrq, | |
183 | char *extra); | |
184 | ||
185 | int iwctl_giwscan(struct net_device *dev, | |
186 | struct iw_request_info *info, | |
187 | struct iw_point *wrq, | |
188 | char *extra); | |
189 | ||
190 | int iwctl_siwscan(struct net_device *dev, | |
191 | struct iw_request_info *info, | |
192 | struct iw_param *wrq, | |
193 | char *extra); | |
194 | ||
195 | //2008-0409-07, <Add> by Einsn Liu | |
196 | #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT | |
197 | int iwctl_siwauth(struct net_device *dev, | |
198 | struct iw_request_info *info, | |
199 | struct iw_param *wrq, | |
200 | char *extra); | |
201 | ||
202 | int iwctl_giwauth(struct net_device *dev, | |
203 | struct iw_request_info *info, | |
204 | struct iw_param *wrq, | |
205 | char *extra); | |
206 | ||
207 | int iwctl_siwgenie(struct net_device *dev, | |
208 | struct iw_request_info *info, | |
209 | struct iw_point *wrq, | |
210 | char *extra); | |
211 | ||
212 | int iwctl_giwgenie(struct net_device *dev, | |
213 | struct iw_request_info *info, | |
214 | struct iw_point *wrq, | |
215 | char *extra); | |
216 | ||
217 | int iwctl_siwencodeext(struct net_device *dev, | |
218 | struct iw_request_info *info, | |
219 | struct iw_point *wrq, | |
220 | char *extra); | |
221 | ||
222 | int iwctl_giwencodeext(struct net_device *dev, | |
223 | struct iw_request_info *info, | |
224 | struct iw_point *wrq, | |
225 | char *extra); | |
226 | ||
227 | int iwctl_siwmlme(struct net_device *dev, | |
228 | struct iw_request_info * info, | |
229 | struct iw_point *wrq, | |
230 | char *extra); | |
231 | #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT | |
232 | ||
233 | ||
234 | #endif | |
235 | ||
5449c685 FB |
236 | extern const struct iw_handler_def iwctl_handler_def; |
237 | extern const struct iw_priv_args iwctl_private_args; | |
5449c685 FB |
238 | |
239 | #ifdef __cplusplus | |
240 | } /* End of extern "C" { */ | |
241 | #endif /* __cplusplus */ | |
242 | ||
243 | ||
244 | ||
245 | ||
246 | #endif // __IWCTL_H__ | |
247 | ||
248 | ||
249 |