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