Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[deliverable/linux.git] / drivers / staging / vt6656 / wpa.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: wpa.h
21 *
22 * Purpose: Defines the macros, types, and functions for dealing
23 * with WPA informations.
24 *
25 * Author: Kyle Hsu
26 *
27 * Date: Jul 14, 2003
28 *
29 */
30
31#ifndef __WPA_H__
32#define __WPA_H__
33
92b96797 34#include "80211hdr.h"
92b96797 35
92b96797
FB
36#define WPA_NONE 0
37#define WPA_WEP40 1
38#define WPA_TKIP 2
39#define WPA_AESWRAP 3
40#define WPA_AESCCMP 4
41#define WPA_WEP104 5
42#define WPA_AUTH_IEEE802_1X 1
43#define WPA_AUTH_PSK 2
44
45#define WPA_GROUPFLAG 0x02
46#define WPA_REPLAYBITSSHIFT 2
47#define WPA_REPLAYBITS 0x03
48
8611a29a 49void
92b96797 50WPA_ClearRSN(
592ccfeb 51 PKnownBSS pBSSList
92b96797
FB
52 );
53
8611a29a 54void
92b96797 55WPA_ParseRSN(
592ccfeb
AM
56 PKnownBSS pBSSList,
57 PWLAN_IE_RSN_EXT pRSN
92b96797
FB
58 );
59
dfdcc425 60bool
92b96797 61WPA_SearchRSN(
b902fbfe
AM
62 u8 byCmd,
63 u8 byEncrypt,
592ccfeb 64 PKnownBSS pBSSList
92b96797
FB
65 );
66
dfdcc425 67bool
92b96797 68WPAb_Is_RSN(
592ccfeb 69 PWLAN_IE_RSN_EXT pRSN
92b96797
FB
70 );
71
e7b07d1d 72#endif /* __WPA_H__ */
This page took 0.382626 seconds and 5 git commands to generate.