1 /******************************************************************************
4 Lantiq Deutschland GmbH
6 For licensing information, see the file 'LICENSE' in the root folder of
9 ******************************************************************************/
10 /****************************************************************************
11 ****************************************************************************
13 ** COMPONENT: ENET SW - RSN 802.11i
15 ** MODULE: $File: //bwp/enet/demo153_sw/develop/src/shared/mhi_rsn_caps.h $
17 ** DESCRIPTION: RsnCaps definition. The RSN Capabilities class
20 ** AUTHOR: Julian Hall
22 ** THIS VERSION: $Revision: #1 $
23 ** CHANGED ON: $Date: 2003/10/27 $
26 ****************************************************************************
32 ****************************************************************************
33 ****************************************************************************/
35 #ifndef __MHI_RSN_CAPS_H
36 #define __MHI_RSN_CAPS_H
41 /***************************************************************************/
42 /*** Public Defines ***/
43 /***************************************************************************/
45 /* RSN capabilities bit map definitions */
47 /* No RSN capabilities */
48 #define RSN_CAPS_NONE (0x00000000)
50 /* Group Cipher Suites */
51 #define RSN_CAPS_GROUP_CIPHER_SUITE_MASK (0x0000003F)
52 #define RSN_CAPS_GROUP_CIPHER_SUITE_NONE (0x00000001)
53 #define RSN_CAPS_GROUP_CIPHER_SUITE_WEP40 (0x00000002)
54 #define RSN_CAPS_GROUP_CIPHER_SUITE_TKIP (0x00000004)
55 #define RSN_CAPS_GROUP_CIPHER_SUITE_WRAP (0x00000008)
56 #define RSN_CAPS_GROUP_CIPHER_SUITE_CCMP (0x00000010)
57 #define RSN_CAPS_GROUP_CIPHER_SUITE_WEP104 (0x00000020)
59 /* Pairwise Cipher Suites */
60 #define RSN_CAPS_PAIRWISE_CIPHER_SUITE_MASK (0x00000FC0)
61 #define RSN_CAPS_PAIRWISE_CIPHER_SUITE_NONE (0x00000040)
62 #define RSN_CAPS_PAIRWISE_CIPHER_SUITE_WEP40 (0x00000080)
63 #define RSN_CAPS_PAIRWISE_CIPHER_SUITE_TKIP (0x00000100)
64 #define RSN_CAPS_PAIRWISE_CIPHER_SUITE_WRAP (0x00000200)
65 #define RSN_CAPS_PAIRWISE_CIPHER_SUITE_CCMP (0x00000400)
66 #define RSN_CAPS_PAIRWISE_CIPHER_SUITE_WEP104 (0x00000800)
68 /* Combined group and pairwise cipher suite mask */
69 #define RSN_CAPS_CIPHER_SUITE_MASK \
70 (RSN_CAPS_GROUP_CIPHER_SUITE_MASK | RSN_CAPS_PAIRWISE_CIPHER_SUITE_MASK)
72 /* Authenticated Key Management Suites */
73 #define RSN_CAPS_AUTH_SUITE_MASK (0x00003000)
74 #define RSN_CAPS_AUTH_SUITE_IEEE802_1X (0x00001000)
75 #define RSN_CAPS_AUTH_SUITE_PRESHARED_KEY (0x00002000)
77 /* General capabilities */
78 #define RSN_CAPS_GENERAL_CAPS_MASK (0x0000C000)
79 #define RSN_CAPS_DEFAULT_GENERAL_CAPS (0x00000000)
80 #define RSN_CAPS_PRE_AUTH_SUPPORTED (0x00004000)
81 #define RSN_CAPS_USE_DEFAULT_PAIRWISE_KEY (0x00008000)
83 /* Info Element type */
84 #define RSN_CAPS_IE_TYPE_MASK (0x00030000)
85 #define RSN_CAPS_IE_TYPE_IEEE (0x00010000)
86 #define RSN_CAPS_IE_TYPE_WECA (0x00020000)
89 /***************************************************************************/
90 /*** Public Typedefs ***/
91 /***************************************************************************/
93 typedef struct _RSN_CAPS
96 } __MTLK_PACKED RSN_CAPS
;
101 #endif // __MHI_RSN_CAPS__H