GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / vt6655 / wpactl.h
blob66f3a63f357b19d405e936c457d32e507ccd0c89
1 /*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
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.
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.
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.
19 * File: wpactl.h
21 * Purpose:
23 * Author: Lyndon Chen
25 * Date: March 1, 2005
29 #ifndef __WPACTL_H__
30 #define __WPACTL_H__
32 #include "device.h"
33 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
34 #include "iowpa.h"
35 #endif
37 /*--------------------- Export Definitions -------------------------*/
40 //WPA related
42 typedef enum { WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP } wpa_alg;
43 typedef enum { CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP, CIPHER_CCMP,
44 CIPHER_WEP104 } wpa_cipher;
45 typedef enum { KEY_MGMT_802_1X, KEY_MGMT_CCKM,KEY_MGMT_PSK, KEY_MGMT_NONE,
46 KEY_MGMT_802_1X_NO_WPA, KEY_MGMT_WPA_NONE } wpa_key_mgmt;
48 #define AUTH_ALG_OPEN_SYSTEM 0x01
49 #define AUTH_ALG_SHARED_KEY 0x02
50 #define AUTH_ALG_LEAP 0x04
52 #define GENERIC_INFO_ELEM 0xdd
53 #define RSN_INFO_ELEM 0x30
57 typedef unsigned long long NDIS_802_11_KEY_RSC;
59 /*--------------------- Export Classes ----------------------------*/
61 /*--------------------- Export Variables --------------------------*/
63 /*--------------------- Export Functions --------------------------*/
65 int wpa_set_wpadev(PSDevice pDevice, int val);
66 int wpa_ioctl(PSDevice pDevice, struct iw_point *p);
67 int wpa_set_keys(PSDevice pDevice, void *ctx, bool fcpfkernel);
69 #endif // __WPACL_H__