Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6/btrfs-unstable.git] / drivers / staging / vt6656 / wpa2.h
blobdc505ce7a7e42dab082e4c3c55084a39e03e1647
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__
34 #include "80211mgr.h"
35 #include "80211hdr.h"
36 #include "bssdb.h"
38 #define MAX_PMKID_CACHE 16
40 typedef struct tagsPMKIDInfo {
41 u8 abyBSSID[6];
42 u8 abyPMKID[16];
43 } PMKIDInfo, *PPMKIDInfo;
45 typedef struct tagSPMKIDCache {
46 u32 BSSIDInfoCount;
47 PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
48 } SPMKIDCache, *PSPMKIDCache;
50 void WPA2_ClearRSN(PKnownBSS pBSSNode);
51 void WPA2vParseRSN(PKnownBSS pBSSNode, PWLAN_IE_RSN pRSN);
53 #endif /* __WPA2_H__ */