31 #ifndef __80211MGR_H__
32 #define __80211MGR_H__
39 #define WLAN_MIN_ARRAY 1
42 #define WLAN_EID_SSID 0
43 #define WLAN_EID_SUPP_RATES 1
44 #define WLAN_EID_FH_PARMS 2
45 #define WLAN_EID_DS_PARMS 3
46 #define WLAN_EID_CF_PARMS 4
47 #define WLAN_EID_TIM 5
48 #define WLAN_EID_IBSS_PARMS 6
49 #define WLAN_EID_COUNTRY 7
50 #define WLAN_EID_CHALLENGE 16
51 #define WLAN_EID_PWR_CONSTRAINT 32
52 #define WLAN_EID_PWR_CAPABILITY 33
53 #define WLAN_EID_TPC_REQ 34
54 #define WLAN_EID_TPC_REP 35
55 #define WLAN_EID_SUPP_CH 36
56 #define WLAN_EID_CH_SWITCH 37
57 #define WLAN_EID_MEASURE_REQ 38
58 #define WLAN_EID_MEASURE_REP 39
59 #define WLAN_EID_QUIET 40
60 #define WLAN_EID_IBSS_DFS 41
61 #define WLAN_EID_ERP 42
63 #define WLAN_EID_RSN 48
64 #define WLAN_EID_EXTSUPP_RATES 50
66 #define WLAN_EID_RSN_WPA 221
69 #define WLAN_EID_CCX 133
70 #define WLAN_EID_CCX_IP 149
71 #define WLAN_EID_CCX_Ver 221
74 #define WLAN_EID_ERP_NONERP_PRESENT 0x01
75 #define WLAN_EID_ERP_USE_PROTECTION 0x02
76 #define WLAN_EID_ERP_BARKER_MODE 0x04
79 #define WLAN_MGMT_REASON_RSVD 0
80 #define WLAN_MGMT_REASON_UNSPEC 1
81 #define WLAN_MGMT_REASON_PRIOR_AUTH_INVALID 2
82 #define WLAN_MGMT_REASON_DEAUTH_LEAVING 3
83 #define WLAN_MGMT_REASON_DISASSOC_INACTIVE 4
84 #define WLAN_MGMT_REASON_DISASSOC_AP_BUSY 5
85 #define WLAN_MGMT_REASON_CLASS2_NONAUTH 6
86 #define WLAN_MGMT_REASON_CLASS3_NONASSOC 7
87 #define WLAN_MGMT_REASON_DISASSOC_STA_HASLEFT 8
88 #define WLAN_MGMT_REASON_CANT_ASSOC_NONAUTH 9
89 #define WLAN_MGMT_REASON_DISASSOC_PWR_CAP_UNACCEPT 10
90 #define WLAN_MGMT_REASON_DISASSOC_SUPP_CH_UNACCEPT 11
91 #define WLAN_MGMT_REASON_INVALID_IE 13
92 #define WLAN_MGMT_REASON_MIC_FAILURE 14
93 #define WLAN_MGMT_REASON_4WAY_HANDSHAKE_TIMEOUT 15
94 #define WLAN_MGMT_REASON_GRPKEY_UPDATE_TIMEOUT 16
95 #define WLAN_MGMT_REASON_4WAY_INFO_DIFFERENT 17
96 #define WLAN_MGMT_REASON_MULTCAST_CIPHER_INVALID 18
97 #define WLAN_MGMT_REASON_UNCAST_CIPHER_INVALID 19
98 #define WLAN_MGMT_REASON_AKMP_INVALID 20
99 #define WLAN_MGMT_REASON_RSNE_UNSUPPORTED 21
100 #define WLAN_MGMT_REASON_RSNE_CAP_INVALID 22
101 #define WLAN_MGMT_REASON_80211X_AUTH_FAILED 23
104 #define WLAN_MGMT_STATUS_SUCCESS 0
105 #define WLAN_MGMT_STATUS_UNSPEC_FAILURE 1
106 #define WLAN_MGMT_STATUS_CAPS_UNSUPPORTED 10
107 #define WLAN_MGMT_STATUS_REASSOC_NO_ASSOC 11
108 #define WLAN_MGMT_STATUS_ASSOC_DENIED_UNSPEC 12
109 #define WLAN_MGMT_STATUS_UNSUPPORTED_AUTHALG 13
110 #define WLAN_MGMT_STATUS_RX_AUTH_NOSEQ 14
111 #define WLAN_MGMT_STATUS_CHALLENGE_FAIL 15
112 #define WLAN_MGMT_STATUS_AUTH_TIMEOUT 16
113 #define WLAN_MGMT_STATUS_ASSOC_DENIED_BUSY 17
114 #define WLAN_MGMT_STATUS_ASSOC_DENIED_RATES 18
115 #define WLAN_MGMT_STATUS_ASSOC_DENIED_SHORTPREAMBLE 19
116 #define WLAN_MGMT_STATUS_ASSOC_DENIED_PBCC 20
117 #define WLAN_MGMT_STATUS_ASSOC_DENIED_AGILITY 21
121 #define WLAN_MGMT_STATUS_ASSOC_REJECT_BCS_SPECTRUM_MNG 22
122 #define WLAN_MGMT_STATUS_ASSOC_REJECT_BCS_PWR_CAP 23
123 #define WLAN_MGMT_STATUS_ASSOC_REJECT_BCS_SUPP_CH 24
127 #define WLAN_MGMT_STATUS_SHORTSLOTTIME_UNSUPPORTED 25
128 #define WLAN_MGMT_STATUS_DSSSOFDM_UNSUPPORTED 26
132 #define WLAN_MGMT_STATUS_INVALID_IE 40
133 #define WLAN_MGMT_STATUS_GROUP_CIPHER_INVALID 41
134 #define WLAN_MGMT_STATUS_PAIRWISE_CIPHER_INVALID 42
135 #define WLAN_MGMT_STATUS_AKMP_INVALID 43
136 #define WLAN_MGMT_STATUS_UNSUPPORT_RSN_IE_VER 44
137 #define WLAN_MGMT_STATUS_INVALID_RSN_IE_CAP 45
138 #define WLAN_MGMT_STATUS_CIPHER_REJECT 46
143 #define WLAN_AUTH_ALG_OPENSYSTEM 0
144 #define WLAN_AUTH_ALG_SHAREDKEY 1
152 #define WLAN_BEACON_OFF_TS 0
153 #define WLAN_BEACON_OFF_BCN_INT 8
154 #define WLAN_BEACON_OFF_CAPINFO 10
155 #define WLAN_BEACON_OFF_SSID 12
157 #define WLAN_DISASSOC_OFF_REASON 0
159 #define WLAN_ASSOCREQ_OFF_CAP_INFO 0
160 #define WLAN_ASSOCREQ_OFF_LISTEN_INT 2
161 #define WLAN_ASSOCREQ_OFF_SSID 4
163 #define WLAN_ASSOCRESP_OFF_CAP_INFO 0
164 #define WLAN_ASSOCRESP_OFF_STATUS 2
165 #define WLAN_ASSOCRESP_OFF_AID 4
166 #define WLAN_ASSOCRESP_OFF_SUPP_RATES 6
168 #define WLAN_REASSOCREQ_OFF_CAP_INFO 0
169 #define WLAN_REASSOCREQ_OFF_LISTEN_INT 2
170 #define WLAN_REASSOCREQ_OFF_CURR_AP 4
171 #define WLAN_REASSOCREQ_OFF_SSID 10
173 #define WLAN_REASSOCRESP_OFF_CAP_INFO 0
174 #define WLAN_REASSOCRESP_OFF_STATUS 2
175 #define WLAN_REASSOCRESP_OFF_AID 4
176 #define WLAN_REASSOCRESP_OFF_SUPP_RATES 6
178 #define WLAN_PROBEREQ_OFF_SSID 0
180 #define WLAN_PROBERESP_OFF_TS 0
181 #define WLAN_PROBERESP_OFF_BCN_INT 8
182 #define WLAN_PROBERESP_OFF_CAP_INFO 10
183 #define WLAN_PROBERESP_OFF_SSID 12
185 #define WLAN_AUTHEN_OFF_AUTH_ALG 0
186 #define WLAN_AUTHEN_OFF_AUTH_SEQ 2
187 #define WLAN_AUTHEN_OFF_STATUS 4
188 #define WLAN_AUTHEN_OFF_CHALLENGE 6
190 #define WLAN_DEAUTHEN_OFF_REASON 0
196 #define WLAN_11i_CSS_USE_GROUP 0
197 #define WLAN_11i_CSS_WEP40 1
198 #define WLAN_11i_CSS_TKIP 2
199 #define WLAN_11i_CSS_CCMP 4
200 #define WLAN_11i_CSS_WEP104 5
201 #define WLAN_11i_CSS_UNKNOWN 255
206 #define WLAN_11i_AKMSS_802_1X 1
207 #define WLAN_11i_AKMSS_PSK 2
208 #define WLAN_11i_AKMSS_UNKNOWN 255
211 #define MEASURE_TYPE_BASIC 0
212 #define MEASURE_TYPE_CCA 1
213 #define MEASURE_TYPE_RPI 2
216 #define MEASURE_MODE_ENABLE 0x02
217 #define MEASURE_MODE_REQ 0x04
218 #define MEASURE_MODE_REP 0x08
221 #define MEASURE_MODE_LATE 0x01
222 #define MEASURE_MODE_INCAPABLE 0x02
223 #define MEASURE_MODE_REFUSED 0x04
740 PWLAN_FR_BEACON pFrame
745 PWLAN_FR_BEACON pFrame
750 PWLAN_FR_IBSSATIM pFrame
755 PWLAN_FR_IBSSATIM pFrame
760 PWLAN_FR_DISASSOC pFrame
765 PWLAN_FR_DISASSOC pFrame
770 PWLAN_FR_ASSOCREQ pFrame
775 PWLAN_FR_ASSOCREQ pFrame
780 PWLAN_FR_ASSOCRESP pFrame
785 PWLAN_FR_ASSOCRESP pFrame
790 PWLAN_FR_REASSOCREQ pFrame
795 PWLAN_FR_REASSOCREQ pFrame
800 PWLAN_FR_PROBEREQ pFrame
805 PWLAN_FR_PROBEREQ pFrame
810 PWLAN_FR_PROBERESP pFrame
815 PWLAN_FR_PROBERESP pFrame
820 PWLAN_FR_AUTHEN pFrame
825 PWLAN_FR_AUTHEN pFrame
830 PWLAN_FR_DEAUTHEN pFrame
835 PWLAN_FR_DEAUTHEN pFrame
840 PWLAN_FR_REASSOCRESP pFrame
845 PWLAN_FR_REASSOCRESP pFrame
848 #endif// __80211MGR_H__