Save sram context after changing MPU, DSP or core clocks
[linux-ginger.git] / drivers / staging / vt6655 / wpa.h
blob9d9ce01d0c6182cae1915dbe76fddda71aa1eca9
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.
20 * File: wpa.h
22 * Purpose: Defines the macros, types, and functions for dealing
23 * with WPA informations.
25 * Author: Kyle Hsu
27 * Date: Jul 14, 2003
31 #ifndef __WPA_H__
32 #define __WPA_H__
34 #include "ttype.h"
35 #include "80211hdr.h"
37 /*--------------------- Export Definitions -------------------------*/
39 #define WPA_NONE 0
40 #define WPA_WEP40 1
41 #define WPA_TKIP 2
42 #define WPA_AESWRAP 3
43 #define WPA_AESCCMP 4
44 #define WPA_WEP104 5
45 #define WPA_AUTH_IEEE802_1X 1
46 #define WPA_AUTH_PSK 2
48 #define WPA_GROUPFLAG 0x02
49 #define WPA_REPLAYBITSSHIFT 2
50 #define WPA_REPLAYBITS 0x03
52 /*--------------------- Export Classes ----------------------------*/
54 /*--------------------- Export Variables --------------------------*/
56 /*--------------------- Export Types ------------------------------*/
59 /*--------------------- Export Functions --------------------------*/
61 VOID
62 WPA_ClearRSN(
63 IN PKnownBSS pBSSList
66 VOID
67 WPA_ParseRSN(
68 IN PKnownBSS pBSSList,
69 IN PWLAN_IE_RSN_EXT pRSN
72 BOOL
73 WPA_SearchRSN(
74 BYTE byCmd,
75 BYTE byEncrypt,
76 IN PKnownBSS pBSSList
79 BOOL
80 WPAb_Is_RSN(
81 IN PWLAN_IE_RSN_EXT pRSN
84 #endif // __WPA_H__