Staging: vt6656: add TODO
[linux-2.6/mini2440.git] / drivers / staging / vt6656 / wpa.h
blob8000a37c6fc336f4ebcb461e3f095ec12f6d021f
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__
35 #if !defined(__TTYPE_H__)
36 #include "ttype.h"
37 #endif
38 #if !defined(__80211HDR_H__)
39 #include "80211hdr.h"
40 #endif
43 /*--------------------- Export Definitions -------------------------*/
45 #define WPA_NONE 0
46 #define WPA_WEP40 1
47 #define WPA_TKIP 2
48 #define WPA_AESWRAP 3
49 #define WPA_AESCCMP 4
50 #define WPA_WEP104 5
51 #define WPA_AUTH_IEEE802_1X 1
52 #define WPA_AUTH_PSK 2
54 #define WPA_GROUPFLAG 0x02
55 #define WPA_REPLAYBITSSHIFT 2
56 #define WPA_REPLAYBITS 0x03
58 /*--------------------- Export Classes ----------------------------*/
60 /*--------------------- Export Variables --------------------------*/
62 /*--------------------- Export Types ------------------------------*/
65 /*--------------------- Export Functions --------------------------*/
66 #ifdef __cplusplus
67 extern "C" { /* Assume C declarations for C++ */
68 #endif /* __cplusplus */
70 VOID
71 WPA_ClearRSN(
72 IN PKnownBSS pBSSList
75 VOID
76 WPA_ParseRSN(
77 IN PKnownBSS pBSSList,
78 IN PWLAN_IE_RSN_EXT pRSN
81 BOOL
82 WPA_SearchRSN(
83 BYTE byCmd,
84 BYTE byEncrypt,
85 IN PKnownBSS pBSSList
88 BOOL
89 WPAb_Is_RSN(
90 IN PWLAN_IE_RSN_EXT pRSN
93 #ifdef __cplusplus
94 } /* End of extern "C" { */
95 #endif /* __cplusplus */
98 #endif // __WPA_H__