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