2 ** $Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/include/mgmt/mib.h#1 $
6 \brief This file contains the IEEE 802.11 family related MIB definition
7 for MediaTek 802.11 Wireless LAN Adapters.
16 * [WCXRP00000171] [MT6620 Wi-Fi][Driver] Add message check code same behavior as mt5921
17 * add the message check code from mt5921.
21 * .support the Wi-Fi RSN
25 * [WPD00003833] [MT6620 and MT5931] Driver migration - move to new repository.
28 * [WPD00003833][MT6620 and MT5931] Driver migration
29 * add aa_fsm.h, ais_fsm.h, bss.h, mib.h and scan.h.
31 * 02 04 2010 kevin.huang
32 * [BORA00000603][WIFISYS] [New Feature] AAA Module Support
33 * Add AAA Module Support, Revise Net Type to Net Type Index for array lookup
35 * Nov 23 2009 mtk01461
36 * [BORA00000018] Integrate WIFI part into BORA for the 1st time
43 /*******************************************************************************
44 * C O M P I L E R F L A G S
45 ********************************************************************************
48 /*******************************************************************************
49 * E X T E R N A L R E F E R E N C E S
50 ********************************************************************************
53 /*******************************************************************************
55 ********************************************************************************
58 /*******************************************************************************
60 ********************************************************************************
62 /* Entry in SMT AuthenticationAlgorithms Table: dot11AuthenticationAlgorithmsEntry */
63 typedef struct _DOT11_AUTHENTICATION_ALGORITHMS_ENTRY {
64 BOOLEAN dot11AuthenticationAlgorithmsEnable; /* dot11AuthenticationAlgorithmsEntry 3 */
65 } DOT11_AUTHENTICATION_ALGORITHMS_ENTRY, *P_DOT11_AUTHENTICATION_ALGORITHMS_ENTRY;
67 /* Entry in SMT dot11RSNAConfigPairwiseCiphersTalbe Table: dot11RSNAConfigPairwiseCiphersEntry */
68 typedef struct _DOT11_RSNA_CONFIG_PAIRWISE_CIPHERS_ENTRY
70 UINT_32 dot11RSNAConfigPairwiseCipher; /* dot11RSNAConfigPairwiseCiphersEntry 2 */
71 BOOLEAN dot11RSNAConfigPairwiseCipherEnabled; /* dot11RSNAConfigPairwiseCiphersEntry 3 */
72 } DOT11_RSNA_CONFIG_PAIRWISE_CIPHERS_ENTRY, *P_DOT11_RSNA_CONFIG_PAIRWISE_CIPHERS_ENTRY;
74 /* Entry in SMT dot11RSNAConfigAuthenticationSuitesTalbe Table: dot11RSNAConfigAuthenticationSuitesEntry */
75 typedef struct _DOT11_RSNA_CONFIG_AUTHENTICATION_SUITES_ENTRY
77 UINT_32 dot11RSNAConfigAuthenticationSuite; /* dot11RSNAConfigAuthenticationSuitesEntry 2 */
78 BOOLEAN dot11RSNAConfigAuthenticationSuiteEnabled; /* dot11RSNAConfigAuthenticationSuitesEntry 3 */
79 } DOT11_RSNA_CONFIG_AUTHENTICATION_SUITES_ENTRY, *P_DOT11_RSNA_CONFIG_AUTHENTICATION_SUITES_ENTRY;
81 /* ----- IEEE 802.11 MIB Major sections ----- */
82 typedef struct _IEEE_802_11_MIB_T {
83 /* dot11PrivacyTable (dot11smt 5) */
84 UINT_8 dot11WEPDefaultKeyID; /* dot11PrivacyEntry 2 */
85 BOOLEAN dot11TranmitKeyAvailable;
86 UINT_32 dot11WEPICVErrorCount; /* dot11PrivacyEntry 5 */
87 UINT_32 dot11WEPExcludedCount; /* dot11PrivacyEntry 6 */
89 /* dot11RSNAConfigTable (dot11smt 8) */
90 UINT_32 dot11RSNAConfigGroupCipher; /* dot11RSNAConfigEntry 4 */
92 /* dot11RSNAConfigPairwiseCiphersTable (dot11smt 9) */
93 DOT11_RSNA_CONFIG_PAIRWISE_CIPHERS_ENTRY dot11RSNAConfigPairwiseCiphersTable[MAX_NUM_SUPPORTED_CIPHER_SUITES];
95 /* dot11RSNAConfigAuthenticationSuitesTable (dot11smt 10) */
96 DOT11_RSNA_CONFIG_AUTHENTICATION_SUITES_ENTRY dot11RSNAConfigAuthenticationSuitesTable[MAX_NUM_SUPPORTED_AKM_SUITES];
99 BOOLEAN fgWapiKeyInstalled;
100 PARAM_WPI_KEY_T rWapiPairwiseKey[2];
101 BOOLEAN fgPairwiseKeyUsed[2];
102 UINT_8 ucWpiActivedPWKey; /* Must be 0 or 1, by wapi spec */
103 PARAM_WPI_KEY_T rWapiGroupKey[2];
104 BOOLEAN fgGroupKeyUsed[2];
106 } IEEE_802_11_MIB_T, *P_IEEE_802_11_MIB_T;
108 /* ------------------ IEEE 802.11 non HT PHY characteristics ---------------- */
109 typedef const struct _NON_HT_PHY_ATTRIBUTE_T {
110 UINT_16 u2SupportedRateSet;
112 BOOLEAN fgIsShortPreambleOptionImplemented;
114 BOOLEAN fgIsShortSlotTimeOptionImplemented;
116 } NON_HT_PHY_ATTRIBUTE_T, *P_NON_HT_PHY_ATTRIBUTE_T;
118 typedef const struct _NON_HT_ADHOC_MODE_ATTRIBUTE_T {
120 ENUM_PHY_TYPE_INDEX_T ePhyTypeIndex;
122 UINT_16 u2BSSBasicRateSet;
124 } NON_HT_ADHOC_MODE_ATTRIBUTE_T, *P_NON_HT_ADHOC_MODE_ATTRIBUTE_T;
126 typedef NON_HT_ADHOC_MODE_ATTRIBUTE_T NON_HT_AP_MODE_ATTRIBUTE_T;
128 /*******************************************************************************
129 * P U B L I C D A T A
130 ********************************************************************************
132 extern NON_HT_PHY_ATTRIBUTE_T rNonHTPhyAttributes[];
133 extern NON_HT_ADHOC_MODE_ATTRIBUTE_T rNonHTAdHocModeAttributes[];
134 extern NON_HT_AP_MODE_ATTRIBUTE_T rNonHTApModeAttributes[];
136 /*******************************************************************************
137 * P R I V A T E D A T A
138 ********************************************************************************
141 /*******************************************************************************
143 ********************************************************************************
146 /*******************************************************************************
147 * F U N C T I O N D E C L A R A T I O N S
148 ********************************************************************************
151 /*******************************************************************************
153 ********************************************************************************