xenbus_client.c: correct exit path for xenbus_map_ring_valloc_hvm
[linux/fpc-iii.git] / drivers / staging / vt6655 / wpa2.h
blob2d0bd2e515f301d5c7f7a600284b8cbc1512fda4
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 "ttype.h"
35 #include "80211mgr.h"
36 #include "80211hdr.h"
37 #include "bssdb.h"
39 /*--------------------- Export Definitions -------------------------*/
40 #define MAX_PMKID_CACHE 16
42 typedef struct tagsPMKIDInfo {
43 unsigned char abyBSSID[6];
44 unsigned char abyPMKID[16];
45 } PMKIDInfo, *PPMKIDInfo;
47 typedef struct tagSPMKIDCache {
48 unsigned long BSSIDInfoCount;
49 PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
50 } SPMKIDCache, *PSPMKIDCache;
52 /*--------------------- Export Classes ----------------------------*/
54 /*--------------------- Export Variables --------------------------*/
56 /*--------------------- Export Types ------------------------------*/
58 /*--------------------- Export Functions --------------------------*/
60 void
61 WPA2_ClearRSN(
62 PKnownBSS pBSSNode
65 void
66 WPA2vParseRSN(
67 PKnownBSS pBSSNode,
68 PWLAN_IE_RSN pRSN
71 unsigned int
72 WPA2uSetIEs(
73 void *pMgmtHandle,
74 PWLAN_IE_RSN pRSNIEs
77 #endif // __WPA2_H__