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 -------------------------*/
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
, struct iw_request_info
*info
,
45 struct sockaddr
*wrq
, char *extra
);
47 void iwctl_giwrange(struct net_device
*dev
, struct iw_request_info
*info
,
48 struct iw_point
*wrq
, char *extra
);
50 void iwctl_giwmode(struct net_device
*dev
, struct iw_request_info
*info
,
51 __u32
*wmode
, char *extra
);
53 int iwctl_siwmode(struct net_device
*dev
, struct iw_request_info
*info
,
54 __u32
*wmode
, char *extra
);
56 int iwctl_giwfreq(struct net_device
*dev
, struct iw_request_info
*info
,
57 struct iw_freq
*wrq
, char *extra
);
59 int iwctl_siwfreq(struct net_device
*dev
, struct iw_request_info
*info
,
60 struct iw_freq
*wrq
, char *extra
);
62 int iwctl_giwname(struct net_device
*dev
, struct iw_request_info
*info
,
63 char *wrq
, char *extra
);
65 int iwctl_giwsens(struct net_device
*dev
, struct iw_request_info
*info
,
66 struct iw_param
*wrq
, char *extra
);
68 int iwctl_giwap(struct net_device
*dev
, struct iw_request_info
*info
,
69 struct sockaddr
*wrq
, char *extra
);
71 int iwctl_giwaplist(struct net_device
*dev
, struct iw_request_info
*info
,
72 struct iw_point
*wrq
, char *extra
);
74 int iwctl_siwessid(struct net_device
*dev
, struct iw_request_info
*info
,
75 struct iw_point
*wrq
, char *extra
);
77 void iwctl_giwessid(struct net_device
*dev
, struct iw_request_info
*info
,
78 struct iw_point
*wrq
, char *extra
);
80 int iwctl_siwrate(struct net_device
*dev
, struct iw_request_info
*info
,
81 struct iw_param
*wrq
, char *extra
);
83 void iwctl_giwrate(struct net_device
*dev
, struct iw_request_info
*info
,
84 struct iw_param
*wrq
, char *extra
);
86 int iwctl_siwrts(struct net_device
*dev
, struct iw_param
*wrq
);
88 int iwctl_giwrts(struct net_device
*dev
, struct iw_request_info
*info
,
89 struct iw_param
*wrq
, char *extra
);
91 int iwctl_siwfrag(struct net_device
*dev
, struct iw_request_info
*info
,
92 struct iw_param
*wrq
, char *extra
);
94 int iwctl_giwfrag(struct net_device
*dev
, struct iw_request_info
*info
,
95 struct iw_param
*wrq
, char *extra
);
97 int iwctl_siwretry(struct net_device
*dev
, struct iw_request_info
*info
,
98 struct iw_param
*wrq
, char *extra
);
100 int iwctl_giwretry(struct net_device
*dev
, struct iw_request_info
*info
,
101 struct iw_param
*wrq
, char *extra
);
103 int iwctl_siwencode(struct net_device
*dev
, struct iw_request_info
*info
,
104 struct iw_point
*wrq
, char *extra
);
106 int iwctl_giwencode(struct net_device
*dev
, struct iw_request_info
*info
,
107 struct iw_point
*wrq
, char *extra
);
109 int iwctl_siwpower(struct net_device
*dev
, struct iw_request_info
*info
,
110 struct iw_param
*wrq
, char *extra
);
112 int iwctl_giwpower(struct net_device
*dev
, struct iw_request_info
*info
,
113 struct iw_param
*wrq
, char *extra
);
115 int iwctl_giwscan(struct net_device
*dev
, struct iw_request_info
*info
,
116 struct iw_point
*wrq
, char *extra
);
118 int iwctl_siwscan(struct net_device
*dev
, struct iw_request_info
*info
,
119 struct iw_param
*wrq
, char *extra
);
121 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
122 int iwctl_siwauth(struct net_device
*dev
, struct iw_request_info
*info
,
123 struct iw_param
*wrq
, char *extra
);
125 int iwctl_giwauth(struct net_device
*dev
, struct iw_request_info
*info
,
126 struct iw_param
*wrq
, char *extra
);
128 int iwctl_siwgenie(struct net_device
*dev
, struct iw_request_info
*info
,
129 struct iw_point
*wrq
, char *extra
);
131 int iwctl_giwgenie(struct net_device
*dev
, struct iw_request_info
*info
,
132 struct iw_point
*wrq
, char *extra
);
134 int iwctl_siwencodeext(struct net_device
*dev
, struct iw_request_info
*info
,
135 struct iw_point
*wrq
, char *extra
);
137 int iwctl_giwencodeext(struct net_device
*dev
, struct iw_request_info
*info
,
138 struct iw_point
*wrq
, char *extra
);
140 int iwctl_siwmlme(struct net_device
*dev
, struct iw_request_info
*info
,
141 struct iw_point
*wrq
, char *extra
);
142 #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
144 extern const struct iw_handler_def iwctl_handler_def
;
145 extern const struct iw_priv_args iwctl_private_args
;
147 #endif /* __IWCTL_H__ */