drm/i915: Choose real sdvo output according to result from detection
[linux-2.6] / drivers / staging / vt6655 / wpa2.h
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  *
20  * File: wpa2.h
21  *
22  * Purpose: Defines the macros, types, and functions for dealing
23  *          with WPA2 informations.
24  *
25  * Author: Yiching Chen
26  *
27  * Date: Oct. 4, 2004
28  *
29  */
30
31 #ifndef __WPA2_H__
32 #define __WPA2_H__
33
34
35 #if !defined(__TTYPE_H__)
36 #include "ttype.h"
37 #endif
38 #if !defined(__80211MGR_H__)
39 #include "80211mgr.h"
40 #endif
41 #if !defined(__80211HDR_H__)
42 #include "80211hdr.h"
43 #endif
44 #if !defined(__BSSDB_H__)
45 #include "bssdb.h"
46 #endif
47 #if !defined(__VNTWIFI_H__)
48 #include "vntwifi.h"
49 #endif
50
51
52
53 /*---------------------  Export Definitions -------------------------*/
54
55 typedef struct tagsPMKIDInfo {
56     BYTE    abyBSSID[6];
57     BYTE    abyPMKID[16];
58 } PMKIDInfo, *PPMKIDInfo;
59
60 typedef struct tagSPMKIDCache {
61     ULONG       BSSIDInfoCount;
62     PMKIDInfo   BSSIDInfo[MAX_PMKID_CACHE];
63 } SPMKIDCache, *PSPMKIDCache;
64
65
66 /*---------------------  Export Classes  ----------------------------*/
67
68 /*---------------------  Export Variables  --------------------------*/
69
70 /*---------------------  Export Types  ------------------------------*/
71
72 /*---------------------  Export Functions  --------------------------*/
73 #ifdef __cplusplus
74 extern "C" {                            /* Assume C declarations for C++ */
75 #endif /* __cplusplus */
76
77 VOID
78 WPA2_ClearRSN (
79     IN PKnownBSS        pBSSNode
80     );
81
82 VOID
83 WPA2vParseRSN (
84     IN PKnownBSS        pBSSNode,
85     IN PWLAN_IE_RSN     pRSN
86     );
87
88 UINT
89 WPA2uSetIEs(
90     IN PVOID pMgmtHandle,
91     OUT PWLAN_IE_RSN pRSNIEs
92     );
93
94
95 #ifdef __cplusplus
96 }                                       /* End of extern "C" { */
97 #endif /* __cplusplus */
98
99
100 #endif // __WPA2_H__