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