• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef __IWCTL_H__
30 #define __IWCTL_H__
31 
32 #include "device.h"
33 
34 struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
35 
36 int iwctl_siwap(struct net_device *dev, struct iw_request_info *info,
37 		union iwreq_data *wrqu, char *extra);
38 
39 int iwctl_giwrange(struct net_device *dev, struct iw_request_info *info,
40 		union iwreq_data *wrqu, char *extra);
41 
42 int iwctl_giwmode(struct net_device *dev, struct iw_request_info *info,
43 		union iwreq_data *wrqu, char *extra);
44 
45 int iwctl_siwmode(struct net_device *dev, struct iw_request_info *info,
46 		union iwreq_data *wrqu, char *extra);
47 
48 int iwctl_giwfreq(struct net_device *dev, struct iw_request_info *info,
49 		union iwreq_data *wrqu, char *extra);
50 
51 int iwctl_siwfreq(struct net_device *dev, struct iw_request_info *info,
52 		union iwreq_data *wrqu, char *extra);
53 
54 int iwctl_giwname(struct net_device *dev, struct iw_request_info *info,
55 		union iwreq_data *wrqu, char *extra);
56 
57 int iwctl_giwsens(struct net_device *dev, struct iw_request_info *info,
58 		union iwreq_data *wrqu, char *extra);
59 
60 int iwctl_giwap(struct net_device *dev, struct iw_request_info *info,
61 		union iwreq_data *wrqu, char *extra);
62 
63 int iwctl_giwaplist(struct net_device *dev, struct iw_request_info *info,
64 		union iwreq_data *wrqu, char *extra);
65 
66 int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
67 		union iwreq_data *wrqu, char *extra);
68 
69 int iwctl_giwessid(struct net_device *dev, struct iw_request_info *info,
70 		union iwreq_data *wrqu, char *extra);
71 
72 int iwctl_siwrate(struct net_device *dev, struct iw_request_info *info,
73 		union iwreq_data *wrqu, char *extra);
74 
75 int iwctl_giwrate(struct net_device *dev, struct iw_request_info *info,
76 		union iwreq_data *wrqu, char *extra);
77 
78 int iwctl_siwrts(struct net_device *dev, struct iw_request_info *info,
79 		union iwreq_data *wrqu, char *extra);
80 
81 int iwctl_giwrts(struct net_device *dev, struct iw_request_info *info,
82 		union iwreq_data *wrqu, char *extra);
83 
84 int iwctl_siwfrag(struct net_device *dev, struct iw_request_info *info,
85 		union iwreq_data *wrqu, char *extra);
86 
87 int iwctl_giwfrag(struct net_device *dev, struct iw_request_info *info,
88 		union iwreq_data *wrqu, char *extra);
89 
90 int iwctl_siwretry(struct net_device *dev, struct iw_request_info *info,
91 		union iwreq_data *wrqu, char *extra);
92 
93 int iwctl_giwretry(struct net_device *dev, struct iw_request_info *info,
94 		union iwreq_data *wrqu, char *extra);
95 
96 int iwctl_siwencode(struct net_device *dev, struct iw_request_info *info,
97 		union iwreq_data *wrqu, char *extra);
98 
99 int iwctl_giwencode(struct net_device *dev, struct iw_request_info *info,
100 		union iwreq_data *wrqu, char *extra);
101 
102 int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info,
103 		union iwreq_data *wrqu, char *extra);
104 
105 int iwctl_giwpower(struct net_device *dev, struct iw_request_info *info,
106 		union iwreq_data *wrqu, char *extra);
107 
108 int iwctl_giwscan(struct net_device *dev, struct iw_request_info *info,
109 		union iwreq_data *wrqu, char *extra);
110 
111 int iwctl_siwscan(struct net_device *dev, struct iw_request_info *info,
112 		union iwreq_data *wrqu, char *extra);
113 
114 int iwctl_siwauth(struct net_device *dev, struct iw_request_info *info,
115 		union iwreq_data *wrqu, char *extra);
116 
117 int iwctl_giwauth(struct net_device *dev, struct iw_request_info *info,
118 		union iwreq_data *wrqu, char *extra);
119 
120 int iwctl_siwgenie(struct net_device *dev, struct iw_request_info *info,
121 		union iwreq_data *wrqu, char *extra);
122 
123 int iwctl_giwgenie(struct net_device *dev, struct iw_request_info *info,
124 		union iwreq_data *wrqu, char *extra);
125 
126 int iwctl_siwencodeext(struct net_device *dev, struct iw_request_info *info,
127 		union iwreq_data *wrqu, char *extra);
128 
129 int iwctl_giwencodeext(struct net_device *dev, struct iw_request_info *info,
130 		union iwreq_data *wrqu, char *extra);
131 
132 int iwctl_siwmlme(struct net_device *dev, struct iw_request_info *info,
133 		union iwreq_data *wrqu, char *extra);
134 
135 extern const struct iw_handler_def iwctl_handler_def;
136 extern const struct iw_priv_args iwctl_priv_args;
137 
138 #endif /* __IWCTL_H__ */
139