2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
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.
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
,
51 int iwctl_giwrange(struct net_device
*dev
,
52 struct iw_request_info
*info
,
57 int iwctl_giwmode(struct net_device
*dev
,
58 struct iw_request_info
*info
,
62 int iwctl_siwmode(struct net_device
*dev
,
63 struct iw_request_info
*info
,
67 int iwctl_giwfreq(struct net_device
*dev
,
68 struct iw_request_info
*info
,
72 int iwctl_siwfreq(struct net_device
*dev
,
73 struct iw_request_info
*info
,
77 int iwctl_giwname(struct net_device
*dev
,
78 struct iw_request_info
*info
,
82 int iwctl_giwnwid(struct net_device
*dev
,
83 struct iw_request_info
*info
,
87 int iwctl_giwsens(struct net_device
*dev
,
88 struct iw_request_info
*info
,
92 int iwctl_giwap(struct net_device
*dev
,
93 struct iw_request_info
*info
,
97 int iwctl_giwaplist(struct net_device
*dev
,
98 struct iw_request_info
*info
,
102 int iwctl_siwessid(struct net_device
*dev
,
103 struct iw_request_info
*info
,
104 struct iw_point
*wrq
,
107 int iwctl_giwessid(struct net_device
*dev
,
108 struct iw_request_info
*info
,
109 struct iw_point
*wrq
,
112 int iwctl_siwrate(struct net_device
*dev
,
113 struct iw_request_info
*info
,
114 struct iw_param
*wrq
,
117 int iwctl_giwrate(struct net_device
*dev
,
118 struct iw_request_info
*info
,
119 struct iw_param
*wrq
,
122 int iwctl_siwrts(struct net_device
*dev
,
123 struct iw_request_info
*info
,
124 struct iw_param
*wrq
,
128 int iwctl_giwrts(struct net_device
*dev
,
129 struct iw_request_info
*info
,
130 struct iw_param
*wrq
,
133 int iwctl_siwfrag(struct net_device
*dev
,
134 struct iw_request_info
*info
,
135 struct iw_param
*wrq
,
138 int iwctl_giwfrag(struct net_device
*dev
,
139 struct iw_request_info
*info
,
140 struct iw_param
*wrq
,
143 int iwctl_siwretry(struct net_device
*dev
,
144 struct iw_request_info
*info
,
145 struct iw_param
*wrq
,
148 int iwctl_giwretry(struct net_device
*dev
,
149 struct iw_request_info
*info
,
150 struct iw_param
*wrq
,
153 int iwctl_siwencode(struct net_device
*dev
,
154 struct iw_request_info
*info
,
155 struct iw_point
*wrq
,
158 int iwctl_giwencode(struct net_device
*dev
,
159 struct iw_request_info
*info
,
160 struct iw_point
*wrq
,
163 int iwctl_siwpower(struct net_device
*dev
,
164 struct iw_request_info
*info
,
165 struct iw_param
*wrq
,
168 int iwctl_giwpower(struct net_device
*dev
,
169 struct iw_request_info
*info
,
170 struct iw_param
*wrq
,
173 int iwctl_giwscan(struct net_device
*dev
,
174 struct iw_request_info
*info
,
175 struct iw_point
*wrq
,
178 int iwctl_siwscan(struct net_device
*dev
,
179 struct iw_request_info
*info
,
180 struct iw_param
*wrq
,
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
,
190 int iwctl_giwauth(struct net_device
*dev
,
191 struct iw_request_info
*info
,
192 struct iw_param
*wrq
,
195 int iwctl_siwgenie(struct net_device
*dev
,
196 struct iw_request_info
*info
,
197 struct iw_point
*wrq
,
200 int iwctl_giwgenie(struct net_device
*dev
,
201 struct iw_request_info
*info
,
202 struct iw_point
*wrq
,
205 int iwctl_siwencodeext(struct net_device
*dev
,
206 struct iw_request_info
*info
,
207 struct iw_point
*wrq
,
210 int iwctl_giwencodeext(struct net_device
*dev
,
211 struct iw_request_info
*info
,
212 struct iw_point
*wrq
,
215 int iwctl_siwmlme(struct net_device
*dev
,
216 struct iw_request_info
* info
,
217 struct iw_point
*wrq
,
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__