]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/staging/vt6655/wpa2.h
Staging: vt6655: remove OUT definition
[net-next-2.6.git] / drivers / staging / vt6655 / wpa2.h
CommitLineData
5449c685
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
5449c685 34#include "ttype.h"
5449c685 35#include "80211mgr.h"
5449c685 36#include "80211hdr.h"
5449c685 37#include "bssdb.h"
5449c685
FB
38
39/*--------------------- Export Definitions -------------------------*/
612822f5 40#define MAX_PMKID_CACHE 16
5449c685
FB
41
42typedef struct tagsPMKIDInfo {
43 BYTE abyBSSID[6];
44 BYTE abyPMKID[16];
45} PMKIDInfo, *PPMKIDInfo;
46
47typedef struct tagSPMKIDCache {
48 ULONG BSSIDInfoCount;
49 PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
50} SPMKIDCache, *PSPMKIDCache;
51
52
53/*--------------------- Export Classes ----------------------------*/
54
55/*--------------------- Export Variables --------------------------*/
56
57/*--------------------- Export Types ------------------------------*/
58
59/*--------------------- Export Functions --------------------------*/
5449c685 60
6b35b7b3 61void
5449c685 62WPA2_ClearRSN (
3a215e0f 63 PKnownBSS pBSSNode
5449c685
FB
64 );
65
6b35b7b3 66void
5449c685 67WPA2vParseRSN (
3a215e0f
CC
68 PKnownBSS pBSSNode,
69 PWLAN_IE_RSN pRSN
5449c685
FB
70 );
71
72UINT
73WPA2uSetIEs(
3a215e0f 74 void *pMgmtHandle,
3cdec554 75 PWLAN_IE_RSN pRSNIEs
5449c685
FB
76 );
77
5449c685 78#endif // __WPA2_H__