Merge branch 'pm-cpufreq'
[deliverable/linux.git] / drivers / staging / vt6656 / wpa2.h
CommitLineData
92b96797
FB
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
92b96797 34#include "80211mgr.h"
92b96797 35#include "80211hdr.h"
92b96797 36#include "bssdb.h"
92b96797 37
92b96797
FB
38#define MAX_PMKID_CACHE 16
39
40typedef struct tagsPMKIDInfo {
b902fbfe
AM
41 u8 abyBSSID[6];
42 u8 abyPMKID[16];
92b96797
FB
43} PMKIDInfo, *PPMKIDInfo;
44
45typedef struct tagSPMKIDCache {
70e22779
MP
46 u32 BSSIDInfoCount;
47 PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
92b96797
FB
48} SPMKIDCache, *PSPMKIDCache;
49
d9d1ccb5
AM
50void WPA2_ClearRSN(PKnownBSS pBSSNode);
51void WPA2vParseRSN(PKnownBSS pBSSNode, PWLAN_IE_RSN pRSN);
92b96797 52
e7b07d1d 53#endif /* __WPA2_H__ */
This page took 0.381706 seconds and 5 git commands to generate.