PageRenderTime 29ms CodeModel.GetById 18ms app.highlight 9ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/staging/vt6656/iwctl.h

https://bitbucket.org/slukk/jb-tsm-kernel-4.2
C Header | 221 lines | 145 code | 45 blank | 31 comment | 0 complexity | 4eb53029bc9e3107847b9ccf6acc0ed2 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
  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/*---------------------  Export Definitions -------------------------*/
 35
 36/*---------------------  Export Classes  ----------------------------*/
 37
 38/*---------------------  Export Variables  --------------------------*/
 39
 40/*---------------------  Export Functions  --------------------------*/
 41
 42struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
 43
 44int iwctl_siwap(struct net_device *dev,
 45             struct iw_request_info *info,
 46			 struct sockaddr *wrq,
 47             char *extra);
 48
 49int iwctl_giwrange(struct net_device *dev,
 50             struct iw_request_info *info,
 51             struct iw_point *wrq,
 52             char *extra);
 53
 54
 55int iwctl_giwmode(struct net_device *dev,
 56             struct iw_request_info *info,
 57             __u32 *wmode,
 58             char *extra);
 59
 60int iwctl_siwmode(struct net_device *dev,
 61             struct iw_request_info *info,
 62             __u32 *wmode,
 63             char *extra);
 64
 65int iwctl_giwfreq(struct net_device *dev,
 66             struct iw_request_info *info,
 67             struct iw_freq *wrq,
 68             char *extra);
 69
 70int iwctl_siwfreq(struct net_device *dev,
 71             struct iw_request_info *info,
 72             struct iw_freq *wrq,
 73             char *extra);
 74
 75int iwctl_giwname(struct net_device *dev,
 76			 struct iw_request_info *info,
 77			 char *wrq,
 78			 char *extra);
 79
 80int iwctl_giwnwid(struct net_device *dev,
 81             struct iw_request_info *info,
 82			 struct iw_param *wrq,
 83                   char *extra) ;
 84
 85int iwctl_giwsens(struct net_device *dev,
 86			 struct iw_request_info *info,
 87			 struct iw_param *wrq,
 88			 char *extra);
 89
 90int iwctl_giwap(struct net_device *dev,
 91             struct iw_request_info *info,
 92			 struct sockaddr *wrq,
 93             char *extra);
 94
 95int iwctl_giwaplist(struct net_device *dev,
 96             struct iw_request_info *info,
 97             struct iw_point *wrq,
 98             char *extra);
 99
100int iwctl_siwessid(struct net_device *dev,
101             struct iw_request_info *info,
102             struct iw_point *wrq,
103             char *extra);
104
105int iwctl_giwessid(struct net_device *dev,
106             struct iw_request_info *info,
107             struct iw_point *wrq,
108             char *extra);
109
110int iwctl_siwrate(struct net_device *dev,
111             struct iw_request_info *info,
112			 struct iw_param *wrq,
113             char *extra);
114
115int iwctl_giwrate(struct net_device *dev,
116             struct iw_request_info *info,
117             struct iw_param *wrq,
118             char *extra);
119
120int iwctl_siwrts(struct net_device *dev,
121             struct iw_request_info *info,
122			 struct iw_param *wrq,
123             char *extra);
124
125
126int iwctl_giwrts(struct net_device *dev,
127             struct iw_request_info *info,
128			 struct iw_param *wrq,
129             char *extra);
130
131int iwctl_siwfrag(struct net_device *dev,
132             struct iw_request_info *info,
133			 struct iw_param *wrq,
134             char *extra);
135
136int iwctl_giwfrag(struct net_device *dev,
137             struct iw_request_info *info,
138			 struct iw_param *wrq,
139             char *extra);
140
141int iwctl_siwretry(struct net_device *dev,
142             struct iw_request_info *info,
143			 struct iw_param *wrq,
144             char *extra);
145
146int iwctl_giwretry(struct net_device *dev,
147             struct iw_request_info *info,
148			 struct iw_param *wrq,
149             char *extra);
150
151int iwctl_siwencode(struct net_device *dev,
152             struct iw_request_info *info,
153             struct iw_point *wrq,
154             char *extra);
155
156int iwctl_giwencode(struct net_device *dev,
157             struct iw_request_info *info,
158             struct iw_point *wrq,
159             char *extra);
160
161int iwctl_siwpower(struct net_device *dev,
162             struct iw_request_info *info,
163			 struct iw_param *wrq,
164             char *extra);
165
166int iwctl_giwpower(struct net_device *dev,
167             struct iw_request_info *info,
168			 struct iw_param *wrq,
169             char *extra);
170
171int iwctl_giwscan(struct net_device *dev,
172             struct iw_request_info *info,
173			 struct iw_point *wrq,
174             char *extra);
175
176int iwctl_siwscan(struct net_device *dev,
177             struct iw_request_info *info,
178			 struct iw_param *wrq,
179             char *extra);
180
181#ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
182int iwctl_siwauth(struct net_device *dev,
183			  struct iw_request_info *info,
184			  struct iw_param *wrq,
185			  char *extra);
186
187int iwctl_giwauth(struct net_device *dev,
188			  struct iw_request_info *info,
189			  struct iw_param *wrq,
190			  char *extra);
191
192int iwctl_siwgenie(struct net_device *dev,
193			  struct iw_request_info *info,
194			  struct iw_point *wrq,
195			  char *extra);
196
197int iwctl_giwgenie(struct net_device *dev,
198			  struct iw_request_info *info,
199			  struct iw_point *wrq,
200			  char *extra);
201
202int iwctl_siwencodeext(struct net_device *dev,
203             struct iw_request_info *info,
204             struct iw_point *wrq,
205             char *extra);
206
207int iwctl_giwencodeext(struct net_device *dev,
208             struct iw_request_info *info,
209             struct iw_point *wrq,
210             char *extra);
211
212int iwctl_siwmlme(struct net_device *dev,
213			struct iw_request_info * info,
214			struct iw_point *wrq,
215			char *extra);
216#endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
217
218extern const struct iw_handler_def	iwctl_handler_def;
219extern const struct iw_priv_args	iwctl_private_args;
220
221#endif /* __IWCTL_H__ */