Merge branch 'fix/pcm-hwptr' into for-linus
[linux/fpc-iii.git] / drivers / staging / vt6655 / wpa2.h
blobbda045b313b99111794d860607f1798642dad4e7
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: wpa2.h
22 * Purpose: Defines the macros, types, and functions for dealing
23 * with WPA2 informations.
25 * Author: Yiching Chen
27 * Date: Oct. 4, 2004
31 #ifndef __WPA2_H__
32 #define __WPA2_H__
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
53 /*--------------------- Export Definitions -------------------------*/
55 typedef struct tagsPMKIDInfo {
56 BYTE abyBSSID[6];
57 BYTE abyPMKID[16];
58 } PMKIDInfo, *PPMKIDInfo;
60 typedef struct tagSPMKIDCache {
61 ULONG BSSIDInfoCount;
62 PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
63 } SPMKIDCache, *PSPMKIDCache;
66 /*--------------------- Export Classes ----------------------------*/
68 /*--------------------- Export Variables --------------------------*/
70 /*--------------------- Export Types ------------------------------*/
72 /*--------------------- Export Functions --------------------------*/
73 #ifdef __cplusplus
74 extern "C" { /* Assume C declarations for C++ */
75 #endif /* __cplusplus */
77 VOID
78 WPA2_ClearRSN (
79 IN PKnownBSS pBSSNode
82 VOID
83 WPA2vParseRSN (
84 IN PKnownBSS pBSSNode,
85 IN PWLAN_IE_RSN pRSN
88 UINT
89 WPA2uSetIEs(
90 IN PVOID pMgmtHandle,
91 OUT PWLAN_IE_RSN pRSNIEs
95 #ifdef __cplusplus
96 } /* End of extern "C" { */
97 #endif /* __cplusplus */
100 #endif // __WPA2_H__