1 /*****************************************************************************
3 (c) Cambridge Silicon Radio Limited 2012
4 All rights reserved and confidential information of CSR
6 Refer to LICENSE.txt included with this source for details
9 *****************************************************************************/
11 /* Note: this is an auto-generated file. */
13 #ifndef CSR_WIFI_SME_PRIM_H__
14 #define CSR_WIFI_SME_PRIM_H__
16 #include <linux/types.h>
17 #include "csr_prim_defs.h"
18 #include "csr_sched.h"
19 #include "csr_wifi_common.h"
20 #include "csr_result.h"
21 #include "csr_wifi_fsm_event.h"
23 #define CSR_WIFI_SME_PRIM (0x0404)
25 typedef CsrPrim CsrWifiSmePrim;
28 /*******************************************************************************
31 CsrWifiSme80211NetworkType
34 Indicates the physical layer of the network
37 CSR_WIFI_SME_80211_NETWORK_TYPE_DS
38 - Direct-sequence spread spectrum
39 CSR_WIFI_SME_80211_NETWORK_TYPE_OFDM24
40 - Orthogonal Frequency Division Multiplexing at 2.4 GHz
41 CSR_WIFI_SME_80211_NETWORK_TYPE_OFDM5
42 - Orthogonal Frequency Division Multiplexing at 5 GHz
43 CSR_WIFI_SME_80211_NETWORK_TYPE_AUTO
46 *******************************************************************************/
47 typedef u8 CsrWifiSme80211NetworkType;
48 #define CSR_WIFI_SME_80211_NETWORK_TYPE_DS ((CsrWifiSme80211NetworkType) 0x00)
49 #define CSR_WIFI_SME_80211_NETWORK_TYPE_OFDM24 ((CsrWifiSme80211NetworkType) 0x01)
50 #define CSR_WIFI_SME_80211_NETWORK_TYPE_OFDM5 ((CsrWifiSme80211NetworkType) 0x02)
51 #define CSR_WIFI_SME_80211_NETWORK_TYPE_AUTO ((CsrWifiSme80211NetworkType) 0x03)
53 /*******************************************************************************
56 CsrWifiSme80211PrivacyMode
59 Bits to enable or disable the privacy mode
62 CSR_WIFI_SME_80211_PRIVACY_MODE_DISABLED
63 - Privacy mode is enabled: use of WEP for confidentiality is
65 CSR_WIFI_SME_80211_PRIVACY_MODE_ENABLED
66 - Privacy mode is disabled
68 *******************************************************************************/
69 typedef u8 CsrWifiSme80211PrivacyMode;
70 #define CSR_WIFI_SME_80211_PRIVACY_MODE_DISABLED ((CsrWifiSme80211PrivacyMode) 0x00)
71 #define CSR_WIFI_SME_80211_PRIVACY_MODE_ENABLED ((CsrWifiSme80211PrivacyMode) 0x01)
73 /*******************************************************************************
76 CsrWifiSme80211dTrustLevel
79 Level of trust for the information coming from the network
82 CSR_WIFI_SME_80211D_TRUST_LEVEL_STRICT
83 - Start with passive scanning and only accept country IE for
84 updating channel lists
85 CSR_WIFI_SME_80211D_TRUST_LEVEL_ADJUNCT
86 - As above plus accept adjunct technology location
88 CSR_WIFI_SME_80211D_TRUST_LEVEL_BSS
89 - As above accept plus receiving channel from infrastructure
91 CSR_WIFI_SME_80211D_TRUST_LEVEL_IBSS
92 - As above accept plus receiving channel from the ad hoc
94 CSR_WIFI_SME_80211D_TRUST_LEVEL_MIB
95 - Start with active scanning with list of active channels
96 from the MIB and accept as above
97 CSR_WIFI_SME_80211D_TRUST_LEVEL_DISABLED
98 - Start with active scanning with list of active channels
99 from the MIB and ignore any channel information from the
102 *******************************************************************************/
103 typedef u8 CsrWifiSme80211dTrustLevel;
104 #define CSR_WIFI_SME_80211D_TRUST_LEVEL_STRICT ((CsrWifiSme80211dTrustLevel) 0x01)
105 #define CSR_WIFI_SME_80211D_TRUST_LEVEL_ADJUNCT ((CsrWifiSme80211dTrustLevel) 0x02)
106 #define CSR_WIFI_SME_80211D_TRUST_LEVEL_BSS ((CsrWifiSme80211dTrustLevel) 0x03)
107 #define CSR_WIFI_SME_80211D_TRUST_LEVEL_IBSS ((CsrWifiSme80211dTrustLevel) 0x04)
108 #define CSR_WIFI_SME_80211D_TRUST_LEVEL_MIB ((CsrWifiSme80211dTrustLevel) 0x05)
109 #define CSR_WIFI_SME_80211D_TRUST_LEVEL_DISABLED ((CsrWifiSme80211dTrustLevel) 0x06)
111 /*******************************************************************************
120 CSR_WIFI_SME_AMP_ACTIVE - AMP ACTIVE.
121 CSR_WIFI_SME_AMP_INACTIVE - AMP INACTIVE
123 *******************************************************************************/
124 typedef u8 CsrWifiSmeAmpStatus;
125 #define CSR_WIFI_SME_AMP_ACTIVE ((CsrWifiSmeAmpStatus) 0x00)
126 #define CSR_WIFI_SME_AMP_INACTIVE ((CsrWifiSmeAmpStatus) 0x01)
128 /*******************************************************************************
134 Define bits for CsrWifiSmeAuthMode
137 CSR_WIFI_SME_AUTH_MODE_80211_OPEN
138 - Connects to an open system network (i.e. no authentication,
139 no encryption) or to a WEP enabled network.
140 CSR_WIFI_SME_AUTH_MODE_80211_SHARED
141 - Connect to a WEP enabled network.
142 CSR_WIFI_SME_AUTH_MODE_8021X_WPA
143 - Connects to a WPA Enterprise enabled network.
144 CSR_WIFI_SME_AUTH_MODE_8021X_WPAPSK
145 - Connects to a WPA with Pre-Shared Key enabled network.
146 CSR_WIFI_SME_AUTH_MODE_8021X_WPA2
147 - Connects to a WPA2 Enterprise enabled network.
148 CSR_WIFI_SME_AUTH_MODE_8021X_WPA2PSK
149 - Connects to a WPA2 with Pre-Shared Key enabled network.
150 CSR_WIFI_SME_AUTH_MODE_8021X_CCKM
151 - Connects to a CCKM enabled network.
152 CSR_WIFI_SME_AUTH_MODE_WAPI_WAI
153 - Connects to a WAPI Enterprise enabled network.
154 CSR_WIFI_SME_AUTH_MODE_WAPI_WAIPSK
155 - Connects to a WAPI with Pre-Shared Key enabled network.
156 CSR_WIFI_SME_AUTH_MODE_8021X_OTHER1X
159 *******************************************************************************/
160 typedef u16 CsrWifiSmeAuthMode;
161 #define CSR_WIFI_SME_AUTH_MODE_80211_OPEN ((CsrWifiSmeAuthMode) 0x0001)
162 #define CSR_WIFI_SME_AUTH_MODE_80211_SHARED ((CsrWifiSmeAuthMode) 0x0002)
163 #define CSR_WIFI_SME_AUTH_MODE_8021X_WPA ((CsrWifiSmeAuthMode) 0x0004)
164 #define CSR_WIFI_SME_AUTH_MODE_8021X_WPAPSK ((CsrWifiSmeAuthMode) 0x0008)
165 #define CSR_WIFI_SME_AUTH_MODE_8021X_WPA2 ((CsrWifiSmeAuthMode) 0x0010)
166 #define CSR_WIFI_SME_AUTH_MODE_8021X_WPA2PSK ((CsrWifiSmeAuthMode) 0x0020)
167 #define CSR_WIFI_SME_AUTH_MODE_8021X_CCKM ((CsrWifiSmeAuthMode) 0x0040)
168 #define CSR_WIFI_SME_AUTH_MODE_WAPI_WAI ((CsrWifiSmeAuthMode) 0x0080)
169 #define CSR_WIFI_SME_AUTH_MODE_WAPI_WAIPSK ((CsrWifiSmeAuthMode) 0x0100)
170 #define CSR_WIFI_SME_AUTH_MODE_8021X_OTHER1X ((CsrWifiSmeAuthMode) 0x0200)
172 /*******************************************************************************
175 CsrWifiSmeBasicUsability
178 Indicates the usability level of a channel
181 CSR_WIFI_SME_BASIC_USABILITY_UNUSABLE
182 - Not usable; connection not recommended
183 CSR_WIFI_SME_BASIC_USABILITY_POOR
184 - Poor quality; connect only if nothing better is available
185 CSR_WIFI_SME_BASIC_USABILITY_SATISFACTORY
186 - Quality is satisfactory
187 CSR_WIFI_SME_BASIC_USABILITY_NOT_CONNECTED
190 *******************************************************************************/
191 typedef u8 CsrWifiSmeBasicUsability;
192 #define CSR_WIFI_SME_BASIC_USABILITY_UNUSABLE ((CsrWifiSmeBasicUsability) 0x00)
193 #define CSR_WIFI_SME_BASIC_USABILITY_POOR ((CsrWifiSmeBasicUsability) 0x01)
194 #define CSR_WIFI_SME_BASIC_USABILITY_SATISFACTORY ((CsrWifiSmeBasicUsability) 0x02)
195 #define CSR_WIFI_SME_BASIC_USABILITY_NOT_CONNECTED ((CsrWifiSmeBasicUsability) 0x03)
197 /*******************************************************************************
203 Indicates the BSS type
206 CSR_WIFI_SME_BSS_TYPE_INFRASTRUCTURE
207 - Infrastructure BSS.
208 CSR_WIFI_SME_BSS_TYPE_ADHOC
209 - Ad hoc or Independent BSS.
210 CSR_WIFI_SME_BSS_TYPE_ANY_BSS
211 - Specifies any type of BSS
212 CSR_WIFI_SME_BSS_TYPE_P2P
215 *******************************************************************************/
216 typedef u8 CsrWifiSmeBssType;
217 #define CSR_WIFI_SME_BSS_TYPE_INFRASTRUCTURE ((CsrWifiSmeBssType) 0x00)
218 #define CSR_WIFI_SME_BSS_TYPE_ADHOC ((CsrWifiSmeBssType) 0x01)
219 #define CSR_WIFI_SME_BSS_TYPE_ANY_BSS ((CsrWifiSmeBssType) 0x02)
220 #define CSR_WIFI_SME_BSS_TYPE_P2P ((CsrWifiSmeBssType) 0x03)
222 /*******************************************************************************
228 Options for the coexistence signalling
232 CSR_WIFI_SME_COEX_SCHEME_DISABLED
233 - The coexistence signalling is disabled
234 CSR_WIFI_SME_COEX_SCHEME_CSR
235 - Basic CSR coexistence signalling
236 CSR_WIFI_SME_COEX_SCHEME_CSR_CHANNEL
237 - Full CSR coexistence signalling
238 CSR_WIFI_SME_COEX_SCHEME_PTA
239 - Packet Traffic Arbitrator coexistence signalling
241 *******************************************************************************/
242 typedef u8 CsrWifiSmeCoexScheme;
243 #define CSR_WIFI_SME_COEX_SCHEME_DISABLED ((CsrWifiSmeCoexScheme) 0x00)
244 #define CSR_WIFI_SME_COEX_SCHEME_CSR ((CsrWifiSmeCoexScheme) 0x01)
245 #define CSR_WIFI_SME_COEX_SCHEME_CSR_CHANNEL ((CsrWifiSmeCoexScheme) 0x02)
246 #define CSR_WIFI_SME_COEX_SCHEME_PTA ((CsrWifiSmeCoexScheme) 0x03)
248 /*******************************************************************************
251 CsrWifiSmeControlIndication
254 Indicates the reason why the Wi-Fi has been switched off.
255 The values of this type are used across the NME/SME/Router API's and they
256 must be kept consistent with the corresponding types in the .xml of the
260 CSR_WIFI_SME_CONTROL_INDICATION_ERROR
261 - An unrecoverable error (for example, an unrecoverable SDIO
263 The wireless manager application should reinitialise the
264 chip by calling CSR_WIFI_SME_WIFI_ON_REQ.
265 CSR_WIFI_SME_CONTROL_INDICATION_EXIT
266 - The chip became unavailable due to an external action, for
267 example, when a plug-in card is ejected or the driver is
269 CSR_WIFI_SME_CONTROL_INDICATION_USER_REQUESTED
270 - The Wi-Fi has been switched off as the wireless manager
271 application has sent CSR_WIFI_SME_WIFI_OFF_REQ
273 *******************************************************************************/
274 typedef u8 CsrWifiSmeControlIndication;
275 #define CSR_WIFI_SME_CONTROL_INDICATION_ERROR ((CsrWifiSmeControlIndication) 0x01)
276 #define CSR_WIFI_SME_CONTROL_INDICATION_EXIT ((CsrWifiSmeControlIndication) 0x02)
277 #define CSR_WIFI_SME_CONTROL_INDICATION_USER_REQUESTED ((CsrWifiSmeControlIndication) 0x03)
279 /*******************************************************************************
282 CsrWifiSmeCtsProtectionType
285 SME CTS Protection Types
288 CSR_WIFI_SME_CTS_PROTECTION_AUTOMATIC
289 - AP CTS Protection automatic based on non-ERP station in own
290 BSS or neighbouring BSS on the same channel based on OLBC.
291 This requires monitoring of beacons from other APs.
292 CSR_WIFI_SME_CTS_PROTECTION_FORCE_ENABLED
293 - AP CTS Protection Force enabled
294 CSR_WIFI_SME_CTS_PROTECTION_FORCE_DISABLED
295 - AP CTS Protection Force disabled.
296 CSR_WIFI_SME_CTS_PROTECTION_AUTOMATIC_NO_OLBC
297 - AP CTS Protection automatic without considering OLBC but
298 considering non-ERP station in the own BSS Valid only if AP
299 is configured to work in 802.11bg or 802.11g mode otherwise
300 this option specifies the same behaviour as AUTOMATIC
302 *******************************************************************************/
303 typedef u8 CsrWifiSmeCtsProtectionType;
304 #define CSR_WIFI_SME_CTS_PROTECTION_AUTOMATIC ((CsrWifiSmeCtsProtectionType) 0x00)
305 #define CSR_WIFI_SME_CTS_PROTECTION_FORCE_ENABLED ((CsrWifiSmeCtsProtectionType) 0x01)
306 #define CSR_WIFI_SME_CTS_PROTECTION_FORCE_DISABLED ((CsrWifiSmeCtsProtectionType) 0x02)
307 #define CSR_WIFI_SME_CTS_PROTECTION_AUTOMATIC_NO_OLBC ((CsrWifiSmeCtsProtectionType) 0x03)
309 /*******************************************************************************
312 CsrWifiSmeD3AutoScanMode
315 Autonomous scan status while in D3 suspended period
318 CSR_WIFI_SME_D3AUTO_SCAN_MODE_PSON
319 - Autonomous scan stays on
320 CSR_WIFI_SME_D3AUTO_SCAN_MODE_PSOFF
321 - Autonomous scan is switched off
322 CSR_WIFI_SME_D3AUTO_SCAN_MODE_PSAUTO
323 - Automatically select autoscanning behaviour.
324 CURRENTLY NOT SUPPORTED
326 *******************************************************************************/
327 typedef u8 CsrWifiSmeD3AutoScanMode;
328 #define CSR_WIFI_SME_D3AUTO_SCAN_MODE_PSON ((CsrWifiSmeD3AutoScanMode) 0x00)
329 #define CSR_WIFI_SME_D3AUTO_SCAN_MODE_PSOFF ((CsrWifiSmeD3AutoScanMode) 0x01)
330 #define CSR_WIFI_SME_D3AUTO_SCAN_MODE_PSAUTO ((CsrWifiSmeD3AutoScanMode) 0x02)
332 /*******************************************************************************
338 Defines bits for CsrWifiSmeEncryption
339 For a WEP enabled network, the caller must specify the correct
340 combination of flags in the encryptionModeMask.
343 CSR_WIFI_SME_ENCRYPTION_CIPHER_NONE
345 CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_WEP40
346 - Selects 40 byte key WEP for unicast communication
347 CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_WEP104
348 - Selects 104 byte key WEP for unicast communication
349 CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_TKIP
350 - Selects TKIP for unicast communication
351 CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_CCMP
352 - Selects CCMP for unicast communication
353 CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_SMS4
354 - Selects SMS4 for unicast communication
355 CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_WEP40
356 - Selects 40 byte key WEP for broadcast messages
357 CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_WEP104
358 - Selects 104 byte key WEP for broadcast messages
359 CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_TKIP
360 - Selects a TKIP for broadcast messages
361 CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_CCMP
362 - Selects CCMP for broadcast messages
363 CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_SMS4
364 - Selects SMS4 for broadcast messages
366 *******************************************************************************/
367 typedef u16 CsrWifiSmeEncryption;
368 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_NONE ((CsrWifiSmeEncryption) 0x0000)
369 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_WEP40 ((CsrWifiSmeEncryption) 0x0001)
370 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_WEP104 ((CsrWifiSmeEncryption) 0x0002)
371 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_TKIP ((CsrWifiSmeEncryption) 0x0004)
372 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_CCMP ((CsrWifiSmeEncryption) 0x0008)
373 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_PAIRWISE_SMS4 ((CsrWifiSmeEncryption) 0x0010)
374 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_WEP40 ((CsrWifiSmeEncryption) 0x0020)
375 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_WEP104 ((CsrWifiSmeEncryption) 0x0040)
376 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_TKIP ((CsrWifiSmeEncryption) 0x0080)
377 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_CCMP ((CsrWifiSmeEncryption) 0x0100)
378 #define CSR_WIFI_SME_ENCRYPTION_CIPHER_GROUP_SMS4 ((CsrWifiSmeEncryption) 0x0200)
380 /*******************************************************************************
383 CsrWifiSmeFirmwareDriverInterface
386 Type of communication between Host and Firmware
389 CSR_WIFI_SME_FIRMWARE_DRIVER_INTERFACE_UNIT_DATA_INTERFACE
390 - No preformated header. NOT SUPPORTED in the current release
391 CSR_WIFI_SME_FIRMWARE_DRIVER_INTERFACE_PACKET_INTERFACE
392 - Preformated IEEE 802.11 header for user plane
394 *******************************************************************************/
395 typedef u8 CsrWifiSmeFirmwareDriverInterface;
396 #define CSR_WIFI_SME_FIRMWARE_DRIVER_INTERFACE_UNIT_DATA_INTERFACE ((CsrWifiSmeFirmwareDriverInterface) 0x00)
397 #define CSR_WIFI_SME_FIRMWARE_DRIVER_INTERFACE_PACKET_INTERFACE ((CsrWifiSmeFirmwareDriverInterface) 0x01)
399 /*******************************************************************************
402 CsrWifiSmeHostPowerMode
405 Defines the power mode
408 CSR_WIFI_SME_HOST_POWER_MODE_ACTIVE
409 - Host device is running on external power.
410 CSR_WIFI_SME_HOST_POWER_MODE_POWER_SAVE
411 - Host device is running on (internal) battery power.
412 CSR_WIFI_SME_HOST_POWER_MODE_FULL_POWER_SAVE
415 *******************************************************************************/
416 typedef u8 CsrWifiSmeHostPowerMode;
417 #define CSR_WIFI_SME_HOST_POWER_MODE_ACTIVE ((CsrWifiSmeHostPowerMode) 0x00)
418 #define CSR_WIFI_SME_HOST_POWER_MODE_POWER_SAVE ((CsrWifiSmeHostPowerMode) 0x01)
419 #define CSR_WIFI_SME_HOST_POWER_MODE_FULL_POWER_SAVE ((CsrWifiSmeHostPowerMode) 0x02)
421 /*******************************************************************************
424 CsrWifiSmeIEEE80211Reason
427 As definined in the IEEE 802.11 standards
430 CSR_WIFI_SME_IEEE80211_REASON_SUCCESS
431 - See IEEE 802.11 Standard
432 CSR_WIFI_SME_IEEE80211_REASON_UNSPECIFIED_REASON
433 - See IEEE 802.11 Standard
434 CSR_WIFI_SME_IEEE80211_REASON_AUTHENTICATION_NOT_VALID
435 - See IEEE 802.11 Standard
436 CSR_WIFI_SME_IEEE80211_REASON_DEAUTHENTICATED_LEAVE_BSS
437 - See IEEE 802.11 Standard
438 CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_INACTIVITY
439 - See IEEE 802.11 Standard
440 CSR_WIFI_SME_IEEE80211_REASON_AP_OVERLOAD
441 - See IEEE 802.11 Standard
442 CSR_WIFI_SME_IEEE80211_REASON_CLASS_2FRAME_ERROR
443 - See IEEE 802.11 Standard
444 CSR_WIFI_SME_IEEE80211_REASON_CLASS_3FRAME_ERROR
445 - See IEEE 802.11 Standard
446 CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_LEAVE_BSS
447 - See IEEE 802.11 Standard
448 CSR_WIFI_SME_IEEE80211_REASON_ASSOCIATION_NOT_AUTHENTICATED
449 - See IEEE 802.11 Standard
450 CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_POWER_CAPABILITY
451 - See IEEE 802.11 Standard
452 CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_SUPPORTED_CHANNELS
453 - See IEEE 802.11 Standard
454 CSR_WIFI_SME_IEEE80211_REASON_INVALID_INFORMATION_ELEMENT
455 - See IEEE 802.11 Standard
456 CSR_WIFI_SME_IEEE80211_REASON_MICHAEL_MIC_FAILURE
457 - See IEEE 802.11 Standard
458 CSR_WIFI_SME_IEEE80211_REASON_FOURWAY_HANDSHAKE_TIMEOUT
459 - See IEEE 802.11 Standard
460 CSR_WIFI_SME_IEEE80211_REASON_GROUP_KEY_UPDATE_TIMEOUT
461 - See IEEE 802.11 Standard
462 CSR_WIFI_SME_IEEE80211_REASON_HANDSHAKE_ELEMENT_DIFFERENT
463 - See IEEE 802.11 Standard
464 CSR_WIFI_SME_IEEE80211_REASON_INVALID_GROUP_CIPHER
465 - See IEEE 802.11 Standard
466 CSR_WIFI_SME_IEEE80211_REASON_INVALID_PAIRWISE_CIPHER
467 - See IEEE 802.11 Standard
468 CSR_WIFI_SME_IEEE80211_REASON_INVALID_AKMP
469 - See IEEE 802.11 Standard
470 CSR_WIFI_SME_IEEE80211_REASON_UNSUPPORTED_RSN_IEVERSION
471 - See IEEE 802.11 Standard
472 CSR_WIFI_SME_IEEE80211_REASON_INVALID_RSN_IECAPABILITIES
473 - See IEEE 802.11 Standard
474 CSR_WIFI_SME_IEEE80211_REASON_DOT1X_AUTH_FAILED
475 - See IEEE 802.11 Standard
476 CSR_WIFI_SME_IEEE80211_REASON_CIPHER_REJECTED_BY_POLICY
477 - See IEEE 802.11 Standard
478 CSR_WIFI_SME_IEEE80211_REASON_SERVICE_CHANGE_PRECLUDES_TS
479 - See IEEE 802.11 Standard
480 CSR_WIFI_SME_IEEE80211_REASON_QOS_UNSPECIFIED_REASON
481 - See IEEE 802.11 Standard
482 CSR_WIFI_SME_IEEE80211_REASON_QOS_INSUFFICIENT_BANDWIDTH
483 - See IEEE 802.11 Standard
484 CSR_WIFI_SME_IEEE80211_REASON_QOS_EXCESSIVE_NOT_ACK
485 - See IEEE 802.11 Standard
486 CSR_WIFI_SME_IEEE80211_REASON_QOS_TXOPLIMIT_EXCEEDED
487 - See IEEE 802.11 Standard
488 CSR_WIFI_SME_IEEE80211_REASON_QSTA_LEAVING
489 - See IEEE 802.11 Standard
490 CSR_WIFI_SME_IEEE80211_REASON_END_TS
491 - See IEEE 802.11 Standard
492 CSR_WIFI_SME_IEEE80211_REASON_END_DLS
493 - See IEEE 802.11 Standard
494 CSR_WIFI_SME_IEEE80211_REASON_END_BA
495 - See IEEE 802.11 Standard
496 CSR_WIFI_SME_IEEE80211_REASON_UNKNOWN_TS
497 - See IEEE 802.11 Standard
498 CSR_WIFI_SME_IEEE80211_REASON_UNKNOWN_BA
499 - See IEEE 802.11 Standard
500 CSR_WIFI_SME_IEEE80211_REASON_UNKNOWN_DLS
501 - See IEEE 802.11 Standard
502 CSR_WIFI_SME_IEEE80211_REASON_TIMEOUT
503 - See IEEE 802.11 Standard
504 CSR_WIFI_SME_IEEE80211_REASON_STAKEY_MISMATCH
505 - See IEEE 802.11 Standard
506 CSR_WIFI_SME_IEEE80211_REASON_UNICAST_KEY_NEGOTIATION_TIMEOUT
507 - See IEEE 802.11 Standard
508 CSR_WIFI_SME_IEEE80211_REASON_MULTICAST_KEY_ANNOUNCEMENT_TIMEOUT
509 - See IEEE 802.11 Standard
510 CSR_WIFI_SME_IEEE80211_REASON_INCOMPATIBLE_UNICAST_KEY_NEGOTIATION_IE
511 - See IEEE 802.11 Standard
512 CSR_WIFI_SME_IEEE80211_REASON_INVALID_MULTICAST_CIPHER
513 - See IEEE 802.11 Standard
514 CSR_WIFI_SME_IEEE80211_REASON_INVALID_UNICAST_CIPHER
515 - See IEEE 802.11 Standard
516 CSR_WIFI_SME_IEEE80211_REASON_UNSUPPORTED_WAPI_IE_VERSION
517 - See IEEE 802.11 Standard
518 CSR_WIFI_SME_IEEE80211_REASON_INVALID_WAPI_CAPABILITY_IE
519 - See IEEE 802.11 Standard
520 CSR_WIFI_SME_IEEE80211_REASON_WAI_CERTIFICATE_AUTHENTICATION_FAILED
521 - See IEEE 802.11 Standard
523 *******************************************************************************/
524 typedef u16 CsrWifiSmeIEEE80211Reason;
525 #define CSR_WIFI_SME_IEEE80211_REASON_SUCCESS ((CsrWifiSmeIEEE80211Reason) 0x0000)
526 #define CSR_WIFI_SME_IEEE80211_REASON_UNSPECIFIED_REASON ((CsrWifiSmeIEEE80211Reason) 0x0001)
527 #define CSR_WIFI_SME_IEEE80211_REASON_AUTHENTICATION_NOT_VALID ((CsrWifiSmeIEEE80211Reason) 0x0002)
528 #define CSR_WIFI_SME_IEEE80211_REASON_DEAUTHENTICATED_LEAVE_BSS ((CsrWifiSmeIEEE80211Reason) 0x0003)
529 #define CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_INACTIVITY ((CsrWifiSmeIEEE80211Reason) 0x0004)
530 #define CSR_WIFI_SME_IEEE80211_REASON_AP_OVERLOAD ((CsrWifiSmeIEEE80211Reason) 0x0005)
531 #define CSR_WIFI_SME_IEEE80211_REASON_CLASS_2FRAME_ERROR ((CsrWifiSmeIEEE80211Reason) 0x0006)
532 #define CSR_WIFI_SME_IEEE80211_REASON_CLASS_3FRAME_ERROR ((CsrWifiSmeIEEE80211Reason) 0x0007)
533 #define CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_LEAVE_BSS ((CsrWifiSmeIEEE80211Reason) 0x0008)
534 #define CSR_WIFI_SME_IEEE80211_REASON_ASSOCIATION_NOT_AUTHENTICATED ((CsrWifiSmeIEEE80211Reason) 0x0009)
535 #define CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_POWER_CAPABILITY ((CsrWifiSmeIEEE80211Reason) 0x000a)
536 #define CSR_WIFI_SME_IEEE80211_REASON_DISASSOCIATED_SUPPORTED_CHANNELS ((CsrWifiSmeIEEE80211Reason) 0x000b)
537 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_INFORMATION_ELEMENT ((CsrWifiSmeIEEE80211Reason) 0x000d)
538 #define CSR_WIFI_SME_IEEE80211_REASON_MICHAEL_MIC_FAILURE ((CsrWifiSmeIEEE80211Reason) 0x000e)
539 #define CSR_WIFI_SME_IEEE80211_REASON_FOURWAY_HANDSHAKE_TIMEOUT ((CsrWifiSmeIEEE80211Reason) 0x000f)
540 #define CSR_WIFI_SME_IEEE80211_REASON_GROUP_KEY_UPDATE_TIMEOUT ((CsrWifiSmeIEEE80211Reason) 0x0010)
541 #define CSR_WIFI_SME_IEEE80211_REASON_HANDSHAKE_ELEMENT_DIFFERENT ((CsrWifiSmeIEEE80211Reason) 0x0011)
542 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_GROUP_CIPHER ((CsrWifiSmeIEEE80211Reason) 0x0012)
543 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_PAIRWISE_CIPHER ((CsrWifiSmeIEEE80211Reason) 0x0013)
544 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_AKMP ((CsrWifiSmeIEEE80211Reason) 0x0014)
545 #define CSR_WIFI_SME_IEEE80211_REASON_UNSUPPORTED_RSN_IEVERSION ((CsrWifiSmeIEEE80211Reason) 0x0015)
546 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_RSN_IECAPABILITIES ((CsrWifiSmeIEEE80211Reason) 0x0016)
547 #define CSR_WIFI_SME_IEEE80211_REASON_DOT1X_AUTH_FAILED ((CsrWifiSmeIEEE80211Reason) 0x0017)
548 #define CSR_WIFI_SME_IEEE80211_REASON_CIPHER_REJECTED_BY_POLICY ((CsrWifiSmeIEEE80211Reason) 0x0018)
549 #define CSR_WIFI_SME_IEEE80211_REASON_SERVICE_CHANGE_PRECLUDES_TS ((CsrWifiSmeIEEE80211Reason) 0x001F)
550 #define CSR_WIFI_SME_IEEE80211_REASON_QOS_UNSPECIFIED_REASON ((CsrWifiSmeIEEE80211Reason) 0x0020)
551 #define CSR_WIFI_SME_IEEE80211_REASON_QOS_INSUFFICIENT_BANDWIDTH ((CsrWifiSmeIEEE80211Reason) 0x0021)
552 #define CSR_WIFI_SME_IEEE80211_REASON_QOS_EXCESSIVE_NOT_ACK ((CsrWifiSmeIEEE80211Reason) 0x0022)
553 #define CSR_WIFI_SME_IEEE80211_REASON_QOS_TXOPLIMIT_EXCEEDED ((CsrWifiSmeIEEE80211Reason) 0x0023)
554 #define CSR_WIFI_SME_IEEE80211_REASON_QSTA_LEAVING ((CsrWifiSmeIEEE80211Reason) 0x0024)
555 #define CSR_WIFI_SME_IEEE80211_REASON_END_TS ((CsrWifiSmeIEEE80211Reason) 0x0025)
556 #define CSR_WIFI_SME_IEEE80211_REASON_END_DLS ((CsrWifiSmeIEEE80211Reason) 0x0025)
557 #define CSR_WIFI_SME_IEEE80211_REASON_END_BA ((CsrWifiSmeIEEE80211Reason) 0x0025)
558 #define CSR_WIFI_SME_IEEE80211_REASON_UNKNOWN_TS ((CsrWifiSmeIEEE80211Reason) 0x0026)
559 #define CSR_WIFI_SME_IEEE80211_REASON_UNKNOWN_BA ((CsrWifiSmeIEEE80211Reason) 0x0026)
560 #define CSR_WIFI_SME_IEEE80211_REASON_UNKNOWN_DLS ((CsrWifiSmeIEEE80211Reason) 0x0026)
561 #define CSR_WIFI_SME_IEEE80211_REASON_TIMEOUT ((CsrWifiSmeIEEE80211Reason) 0x0027)
562 #define CSR_WIFI_SME_IEEE80211_REASON_STAKEY_MISMATCH ((CsrWifiSmeIEEE80211Reason) 0x002d)
563 #define CSR_WIFI_SME_IEEE80211_REASON_UNICAST_KEY_NEGOTIATION_TIMEOUT ((CsrWifiSmeIEEE80211Reason) 0xf019)
564 #define CSR_WIFI_SME_IEEE80211_REASON_MULTICAST_KEY_ANNOUNCEMENT_TIMEOUT ((CsrWifiSmeIEEE80211Reason) 0xf01a)
565 #define CSR_WIFI_SME_IEEE80211_REASON_INCOMPATIBLE_UNICAST_KEY_NEGOTIATION_IE ((CsrWifiSmeIEEE80211Reason) 0xf01b)
566 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_MULTICAST_CIPHER ((CsrWifiSmeIEEE80211Reason) 0xf01c)
567 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_UNICAST_CIPHER ((CsrWifiSmeIEEE80211Reason) 0xf01d)
568 #define CSR_WIFI_SME_IEEE80211_REASON_UNSUPPORTED_WAPI_IE_VERSION ((CsrWifiSmeIEEE80211Reason) 0xf01e)
569 #define CSR_WIFI_SME_IEEE80211_REASON_INVALID_WAPI_CAPABILITY_IE ((CsrWifiSmeIEEE80211Reason) 0xf01f)
570 #define CSR_WIFI_SME_IEEE80211_REASON_WAI_CERTIFICATE_AUTHENTICATION_FAILED ((CsrWifiSmeIEEE80211Reason) 0xf020)
572 /*******************************************************************************
575 CsrWifiSmeIEEE80211Result
578 As definined in the IEEE 802.11 standards
581 CSR_WIFI_SME_IEEE80211_RESULT_SUCCESS
582 - See IEEE 802.11 Standard
583 CSR_WIFI_SME_IEEE80211_RESULT_UNSPECIFIED_FAILURE
584 - See IEEE 802.11 Standard
585 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_CAPABILITIES_MISMATCH
586 - See IEEE 802.11 Standard
587 CSR_WIFI_SME_IEEE80211_RESULT_REASSOCIATION_DENIED_NO_ASSOCIATION
588 - See IEEE 802.11 Standard
589 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_EXTERNAL_REASON
590 - See IEEE 802.11 Standard
591 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AUTHENTICATION_MISMATCH
592 - See IEEE 802.11 Standard
593 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_INVALID_AUTHENTICATION_SEQUENCE_NUMBER
594 - See IEEE 802.11 Standard
595 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_CHALLENGE_FAILURE
596 - See IEEE 802.11 Standard
597 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AUTHENTICATION_TIMEOUT
598 - See IEEE 802.11 Standard
599 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AP_OUT_OF_MEMORY
600 - See IEEE 802.11 Standard
601 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_BASIC_RATES_MISMATCH
602 - See IEEE 802.11 Standard
603 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SHORT_PREAMBLE_REQUIRED
604 - See IEEE 802.11 Standard
605 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_PBCC_MODULATION_REQUIRED
606 - See IEEE 802.11 Standard
607 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_CHANNEL_AGILITY_REQUIRED
608 - See IEEE 802.11 Standard
609 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SPECTRUM_MANAGEMENT_REQUIRED
610 - See IEEE 802.11 Standard
611 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_POWER_CAPABILITY_UNACCEPTABLE
612 - See IEEE 802.11 Standard
613 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SUPPORTED_CHANNELS_UNACCEPTABLE
614 - See IEEE 802.11 Standard
615 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SHORT_SLOT_REQUIRED
616 - See IEEE 802.11 Standard
617 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_DSSS_OFDMREQUIRED
618 - See IEEE 802.11 Standard
619 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_NO_HT_SUPPORT
620 - See IEEE 802.11 Standard
621 CSR_WIFI_SME_IEEE80211_RESULT_R0KH_UNREACHABLE
622 - See IEEE 802.11 Standard
623 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_PCO_TRANSITION_SUPPORT
624 - See IEEE 802.11 Standard
625 CSR_WIFI_SME_IEEE80211_RESULT_ASSOCIATION_REQUEST_REJECTED_TEMPORARILY
626 - See IEEE 802.11 Standard
627 CSR_WIFI_SME_IEEE80211_RESULT_ROBUST_MANAGEMENT_FRAME_POLICY_VIOLATION
628 - See IEEE 802.11 Standard
629 CSR_WIFI_SME_IEEE80211_RESULT_FAILURE
630 - See IEEE 802.11 Standard
631 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AP_BANDWIDTH_INSUFFICIENT
632 - See IEEE 802.11 Standard
633 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_POOR_OPERATING_CHANNEL
634 - See IEEE 802.11 Standard
635 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_QOS_REQUIRED
636 - See IEEE 802.11 Standard
637 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_REASON_UNSPECIFIED
638 - See IEEE 802.11 Standard
639 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED
640 - See IEEE 802.11 Standard
641 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_PARAMETERS
642 - See IEEE 802.11 Standard
643 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_WITH_SUGGESTED_TSPEC_CHANGES
644 - See IEEE 802.11 Standard
645 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_IE
646 - See IEEE 802.11 Standard
647 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_GROUP_CIPHER
648 - See IEEE 802.11 Standard
649 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_PAIRWISE_CIPHER
650 - See IEEE 802.11 Standard
651 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_AKMP
652 - See IEEE 802.11 Standard
653 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_UNSUPPORTED_RSN_VERSION
654 - See IEEE 802.11 Standard
655 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_RSN_CAPABILITY
656 - See IEEE 802.11 Standard
657 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_SECURITY_POLICY
658 - See IEEE 802.11 Standard
659 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_FOR_DELAY_PERIOD
660 - See IEEE 802.11 Standard
661 CSR_WIFI_SME_IEEE80211_RESULT_NOT_ALLOWED
662 - See IEEE 802.11 Standard
663 CSR_WIFI_SME_IEEE80211_RESULT_NOT_PRESENT
664 - See IEEE 802.11 Standard
665 CSR_WIFI_SME_IEEE80211_RESULT_NOT_QSTA
666 - See IEEE 802.11 Standard
667 CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_LISTEN_INTERVAL_TOO_LARGE
668 - See IEEE 802.11 Standard
669 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_FT_ACTION_FRAME_COUNT
670 - See IEEE 802.11 Standard
671 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_PMKID
672 - See IEEE 802.11 Standard
673 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_MDIE
674 - See IEEE 802.11 Standard
675 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_FTIE
676 - See IEEE 802.11 Standard
677 CSR_WIFI_SME_IEEE80211_RESULT_UNSPECIFIED_QOS_FAILURE
678 - See IEEE 802.11 Standard
679 CSR_WIFI_SME_IEEE80211_RESULT_WRONG_POLICY
680 - See IEEE 802.11 Standard
681 CSR_WIFI_SME_IEEE80211_RESULT_INSUFFICIENT_BANDWIDTH
682 - See IEEE 802.11 Standard
683 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_TSPEC_PARAMETERS
684 - See IEEE 802.11 Standard
685 CSR_WIFI_SME_IEEE80211_RESULT_TIMEOUT
686 - See IEEE 802.11 Standard
687 CSR_WIFI_SME_IEEE80211_RESULT_TOO_MANY_SIMULTANEOUS_REQUESTS
688 - See IEEE 802.11 Standard
689 CSR_WIFI_SME_IEEE80211_RESULT_BSS_ALREADY_STARTED_OR_JOINED
690 - See IEEE 802.11 Standard
691 CSR_WIFI_SME_IEEE80211_RESULT_NOT_SUPPORTED
692 - See IEEE 802.11 Standard
693 CSR_WIFI_SME_IEEE80211_RESULT_TRANSMISSION_FAILURE
694 - See IEEE 802.11 Standard
695 CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_NOT_AUTHENTICATED
696 - See IEEE 802.11 Standard
697 CSR_WIFI_SME_IEEE80211_RESULT_RESET_REQUIRED_BEFORE_START
698 - See IEEE 802.11 Standard
699 CSR_WIFI_SME_IEEE80211_RESULT_LM_INFO_UNAVAILABLE
700 - See IEEE 802.11 Standard
701 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_UNICAST_CIPHER
702 - See IEEE 802.11 Standard
703 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_MULTICAST_CIPHER
704 - See IEEE 802.11 Standard
705 CSR_WIFI_SME_IEEE80211_RESULT_UNSUPPORTED_WAPI_IE_VERSION
706 - See IEEE 802.11 Standard
707 CSR_WIFI_SME_IEEE80211_RESULT_INVALID_WAPI_CAPABILITY_IE
708 - See IEEE 802.11 Standard
710 *******************************************************************************/
711 typedef u16 CsrWifiSmeIEEE80211Result;
712 #define CSR_WIFI_SME_IEEE80211_RESULT_SUCCESS ((CsrWifiSmeIEEE80211Result) 0x0000)
713 #define CSR_WIFI_SME_IEEE80211_RESULT_UNSPECIFIED_FAILURE ((CsrWifiSmeIEEE80211Result) 0x0001)
714 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_CAPABILITIES_MISMATCH ((CsrWifiSmeIEEE80211Result) 0x000a)
715 #define CSR_WIFI_SME_IEEE80211_RESULT_REASSOCIATION_DENIED_NO_ASSOCIATION ((CsrWifiSmeIEEE80211Result) 0x000b)
716 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_EXTERNAL_REASON ((CsrWifiSmeIEEE80211Result) 0x000c)
717 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AUTHENTICATION_MISMATCH ((CsrWifiSmeIEEE80211Result) 0x000d)
718 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_INVALID_AUTHENTICATION_SEQUENCE_NUMBER ((CsrWifiSmeIEEE80211Result) 0x000e)
719 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_CHALLENGE_FAILURE ((CsrWifiSmeIEEE80211Result) 0x000f)
720 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AUTHENTICATION_TIMEOUT ((CsrWifiSmeIEEE80211Result) 0x0010)
721 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AP_OUT_OF_MEMORY ((CsrWifiSmeIEEE80211Result) 0x0011)
722 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_BASIC_RATES_MISMATCH ((CsrWifiSmeIEEE80211Result) 0x0012)
723 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SHORT_PREAMBLE_REQUIRED ((CsrWifiSmeIEEE80211Result) 0x0013)
724 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_PBCC_MODULATION_REQUIRED ((CsrWifiSmeIEEE80211Result) 0x0014)
725 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_CHANNEL_AGILITY_REQUIRED ((CsrWifiSmeIEEE80211Result) 0x0015)
726 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SPECTRUM_MANAGEMENT_REQUIRED ((CsrWifiSmeIEEE80211Result) 0x0016)
727 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_POWER_CAPABILITY_UNACCEPTABLE ((CsrWifiSmeIEEE80211Result) 0x0017)
728 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SUPPORTED_CHANNELS_UNACCEPTABLE ((CsrWifiSmeIEEE80211Result) 0x0018)
729 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_SHORT_SLOT_REQUIRED ((CsrWifiSmeIEEE80211Result) 0x0019)
730 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_DSSS_OFDMREQUIRED ((CsrWifiSmeIEEE80211Result) 0x001a)
731 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_NO_HT_SUPPORT ((CsrWifiSmeIEEE80211Result) 0x001b)
732 #define CSR_WIFI_SME_IEEE80211_RESULT_R0KH_UNREACHABLE ((CsrWifiSmeIEEE80211Result) 0x001c)
733 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_PCO_TRANSITION_SUPPORT ((CsrWifiSmeIEEE80211Result) 0x001d)
734 #define CSR_WIFI_SME_IEEE80211_RESULT_ASSOCIATION_REQUEST_REJECTED_TEMPORARILY ((CsrWifiSmeIEEE80211Result) 0x001e)
735 #define CSR_WIFI_SME_IEEE80211_RESULT_ROBUST_MANAGEMENT_FRAME_POLICY_VIOLATION ((CsrWifiSmeIEEE80211Result) 0x001f)
736 #define CSR_WIFI_SME_IEEE80211_RESULT_FAILURE ((CsrWifiSmeIEEE80211Result) 0x0020)
737 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_AP_BANDWIDTH_INSUFFICIENT ((CsrWifiSmeIEEE80211Result) 0x0021)
738 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_POOR_OPERATING_CHANNEL ((CsrWifiSmeIEEE80211Result) 0x0022)
739 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_QOS_REQUIRED ((CsrWifiSmeIEEE80211Result) 0x0023)
740 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_REASON_UNSPECIFIED ((CsrWifiSmeIEEE80211Result) 0x0025)
741 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED ((CsrWifiSmeIEEE80211Result) 0x0025)
742 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_PARAMETERS ((CsrWifiSmeIEEE80211Result) 0x0026)
743 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_WITH_SUGGESTED_TSPEC_CHANGES ((CsrWifiSmeIEEE80211Result) 0x0027)
744 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_IE ((CsrWifiSmeIEEE80211Result) 0x0028)
745 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_GROUP_CIPHER ((CsrWifiSmeIEEE80211Result) 0x0029)
746 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_PAIRWISE_CIPHER ((CsrWifiSmeIEEE80211Result) 0x002a)
747 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_AKMP ((CsrWifiSmeIEEE80211Result) 0x002b)
748 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_UNSUPPORTED_RSN_VERSION ((CsrWifiSmeIEEE80211Result) 0x002c)
749 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_INVALID_RSN_CAPABILITY ((CsrWifiSmeIEEE80211Result) 0x002d)
750 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_SECURITY_POLICY ((CsrWifiSmeIEEE80211Result) 0x002e)
751 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_FOR_DELAY_PERIOD ((CsrWifiSmeIEEE80211Result) 0x002f)
752 #define CSR_WIFI_SME_IEEE80211_RESULT_NOT_ALLOWED ((CsrWifiSmeIEEE80211Result) 0x0030)
753 #define CSR_WIFI_SME_IEEE80211_RESULT_NOT_PRESENT ((CsrWifiSmeIEEE80211Result) 0x0031)
754 #define CSR_WIFI_SME_IEEE80211_RESULT_NOT_QSTA ((CsrWifiSmeIEEE80211Result) 0x0032)
755 #define CSR_WIFI_SME_IEEE80211_RESULT_REJECTED_LISTEN_INTERVAL_TOO_LARGE ((CsrWifiSmeIEEE80211Result) 0x0033)
756 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_FT_ACTION_FRAME_COUNT ((CsrWifiSmeIEEE80211Result) 0x0034)
757 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_PMKID ((CsrWifiSmeIEEE80211Result) 0x0035)
758 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_MDIE ((CsrWifiSmeIEEE80211Result) 0x0036)
759 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_FTIE ((CsrWifiSmeIEEE80211Result) 0x0037)
760 #define CSR_WIFI_SME_IEEE80211_RESULT_UNSPECIFIED_QOS_FAILURE ((CsrWifiSmeIEEE80211Result) 0x00c8)
761 #define CSR_WIFI_SME_IEEE80211_RESULT_WRONG_POLICY ((CsrWifiSmeIEEE80211Result) 0x00c9)
762 #define CSR_WIFI_SME_IEEE80211_RESULT_INSUFFICIENT_BANDWIDTH ((CsrWifiSmeIEEE80211Result) 0x00ca)
763 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_TSPEC_PARAMETERS ((CsrWifiSmeIEEE80211Result) 0x00cb)
764 #define CSR_WIFI_SME_IEEE80211_RESULT_TIMEOUT ((CsrWifiSmeIEEE80211Result) 0x8000)
765 #define CSR_WIFI_SME_IEEE80211_RESULT_TOO_MANY_SIMULTANEOUS_REQUESTS ((CsrWifiSmeIEEE80211Result) 0x8001)
766 #define CSR_WIFI_SME_IEEE80211_RESULT_BSS_ALREADY_STARTED_OR_JOINED ((CsrWifiSmeIEEE80211Result) 0x8002)
767 #define CSR_WIFI_SME_IEEE80211_RESULT_NOT_SUPPORTED ((CsrWifiSmeIEEE80211Result) 0x8003)
768 #define CSR_WIFI_SME_IEEE80211_RESULT_TRANSMISSION_FAILURE ((CsrWifiSmeIEEE80211Result) 0x8004)
769 #define CSR_WIFI_SME_IEEE80211_RESULT_REFUSED_NOT_AUTHENTICATED ((CsrWifiSmeIEEE80211Result) 0x8005)
770 #define CSR_WIFI_SME_IEEE80211_RESULT_RESET_REQUIRED_BEFORE_START ((CsrWifiSmeIEEE80211Result) 0x8006)
771 #define CSR_WIFI_SME_IEEE80211_RESULT_LM_INFO_UNAVAILABLE ((CsrWifiSmeIEEE80211Result) 0x8007)
772 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_UNICAST_CIPHER ((CsrWifiSmeIEEE80211Result) 0xf02f)
773 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_MULTICAST_CIPHER ((CsrWifiSmeIEEE80211Result) 0xf030)
774 #define CSR_WIFI_SME_IEEE80211_RESULT_UNSUPPORTED_WAPI_IE_VERSION ((CsrWifiSmeIEEE80211Result) 0xf031)
775 #define CSR_WIFI_SME_IEEE80211_RESULT_INVALID_WAPI_CAPABILITY_IE ((CsrWifiSmeIEEE80211Result) 0xf032)
777 /*******************************************************************************
780 CsrWifiSmeIndications
783 Defines bits for CsrWifiSmeIndicationsMask
786 CSR_WIFI_SME_INDICATIONS_NONE
787 - Used to cancel the registrations for receiving indications
788 CSR_WIFI_SME_INDICATIONS_WIFIOFF
789 - Used to register for CSR_WIFI_SME_WIFI_OFF_IND events
790 CSR_WIFI_SME_INDICATIONS_SCANRESULT
791 - Used to register for CSR_WIFI_SME_SCAN_RESULT_IND events
792 CSR_WIFI_SME_INDICATIONS_CONNECTIONQUALITY
793 - Used to register for CSR_WIFI_SME_CONNECTION_QUALITY_IND
795 CSR_WIFI_SME_INDICATIONS_MEDIASTATUS
796 - Used to register for CSR_WIFI_SME_MEDIA_STATUS_IND events
797 CSR_WIFI_SME_INDICATIONS_MICFAILURE
798 - Used to register for CSR_WIFI_SME_MICFAILURE_IND events
799 CSR_WIFI_SME_INDICATIONS_PMKIDCANDIDATELIST
800 - Used to register for CSR_WIFI_SME_PMKIDCANDIDATE_LIST_IND
802 CSR_WIFI_SME_INDICATIONS_TSPEC
803 - Used to register for CSR_WIFI_SME_TSPEC_IND events
804 CSR_WIFI_SME_INDICATIONS_ROAMSTART
805 - Used to register for CSR_WIFI_SME_ROAM_START_IND events
806 CSR_WIFI_SME_INDICATIONS_ROAMCOMPLETE
807 - Used to register for CSR_WIFI_SME_ROAM_COMPLETE_IND events
808 CSR_WIFI_SME_INDICATIONS_ASSOCIATIONSTART
809 - Used to register for CSR_WIFI_SME_ASSOCIATION_START_IND
811 CSR_WIFI_SME_INDICATIONS_ASSOCIATIONCOMPLETE
812 - Used to register for CSR_WIFI_SME_ASSOCIATION_COMPLETE_IND
814 CSR_WIFI_SME_INDICATIONS_IBSSSTATION
815 - Used to register for CSR_WIFI_SME_IBSS_STATION_IND events
816 CSR_WIFI_SME_INDICATIONS_WIFION
817 - Used to register for CSR_WIFI_SME_WIFI_ON_IND events
818 CSR_WIFI_SME_INDICATIONS_ERROR
819 - Used to register for CSR_WIFI_SME_ERROR_IND events
820 CSR_WIFI_SME_INDICATIONS_INFO
821 - Used to register for CSR_WIFI_SME_INFO_IND events
822 CSR_WIFI_SME_INDICATIONS_COREDUMP
823 - Used to register for CSR_WIFI_SME_CORE_DUMP_IND events
824 CSR_WIFI_SME_INDICATIONS_ALL
825 - Used to register for all available indications
827 *******************************************************************************/
828 typedef u32 CsrWifiSmeIndications;
829 #define CSR_WIFI_SME_INDICATIONS_NONE ((CsrWifiSmeIndications) 0x00000000)
830 #define CSR_WIFI_SME_INDICATIONS_WIFIOFF ((CsrWifiSmeIndications) 0x00000001)
831 #define CSR_WIFI_SME_INDICATIONS_SCANRESULT ((CsrWifiSmeIndications) 0x00000002)
832 #define CSR_WIFI_SME_INDICATIONS_CONNECTIONQUALITY ((CsrWifiSmeIndications) 0x00000004)
833 #define CSR_WIFI_SME_INDICATIONS_MEDIASTATUS ((CsrWifiSmeIndications) 0x00000008)
834 #define CSR_WIFI_SME_INDICATIONS_MICFAILURE ((CsrWifiSmeIndications) 0x00000010)
835 #define CSR_WIFI_SME_INDICATIONS_PMKIDCANDIDATELIST ((CsrWifiSmeIndications) 0x00000020)
836 #define CSR_WIFI_SME_INDICATIONS_TSPEC ((CsrWifiSmeIndications) 0x00000040)
837 #define CSR_WIFI_SME_INDICATIONS_ROAMSTART ((CsrWifiSmeIndications) 0x00000080)
838 #define CSR_WIFI_SME_INDICATIONS_ROAMCOMPLETE ((CsrWifiSmeIndications) 0x00000100)
839 #define CSR_WIFI_SME_INDICATIONS_ASSOCIATIONSTART ((CsrWifiSmeIndications) 0x00000200)
840 #define CSR_WIFI_SME_INDICATIONS_ASSOCIATIONCOMPLETE ((CsrWifiSmeIndications) 0x00000400)
841 #define CSR_WIFI_SME_INDICATIONS_IBSSSTATION ((CsrWifiSmeIndications) 0x00000800)
842 #define CSR_WIFI_SME_INDICATIONS_WIFION ((CsrWifiSmeIndications) 0x00001000)
843 #define CSR_WIFI_SME_INDICATIONS_ERROR ((CsrWifiSmeIndications) 0x00002000)
844 #define CSR_WIFI_SME_INDICATIONS_INFO ((CsrWifiSmeIndications) 0x00004000)
845 #define CSR_WIFI_SME_INDICATIONS_COREDUMP ((CsrWifiSmeIndications) 0x00008000)
846 #define CSR_WIFI_SME_INDICATIONS_ALL ((CsrWifiSmeIndications) 0xFFFFFFFF)
848 /*******************************************************************************
854 Indicates the type of the key
857 CSR_WIFI_SME_KEY_TYPE_GROUP - Key for broadcast communication
858 CSR_WIFI_SME_KEY_TYPE_PAIRWISE - Key for unicast communication
859 CSR_WIFI_SME_KEY_TYPE_STAKEY - Key for direct link communication to
860 another station in infrastructure networks
861 CSR_WIFI_SME_KEY_TYPE_IGTK - Integrity Group Temporal Key
862 CSR_WIFI_SME_KEY_TYPE_CCKM - Key for Cisco Centralized Key Management
864 *******************************************************************************/
865 typedef u8 CsrWifiSmeKeyType;
866 #define CSR_WIFI_SME_KEY_TYPE_GROUP ((CsrWifiSmeKeyType) 0x00)
867 #define CSR_WIFI_SME_KEY_TYPE_PAIRWISE ((CsrWifiSmeKeyType) 0x01)
868 #define CSR_WIFI_SME_KEY_TYPE_STAKEY ((CsrWifiSmeKeyType) 0x02)
869 #define CSR_WIFI_SME_KEY_TYPE_IGTK ((CsrWifiSmeKeyType) 0x03)
870 #define CSR_WIFI_SME_KEY_TYPE_CCKM ((CsrWifiSmeKeyType) 0x04)
872 /*******************************************************************************
878 Identifies the type of action to be performed on a list of items
879 The values of this type are used across the NME/SME/Router API's and they
880 must be kept consistent with the corresponding types in the .xml of the
884 CSR_WIFI_SME_LIST_ACTION_GET - Retrieve the current list of items
885 CSR_WIFI_SME_LIST_ACTION_ADD - Add one or more items
886 CSR_WIFI_SME_LIST_ACTION_REMOVE - Remove one or more items
887 CSR_WIFI_SME_LIST_ACTION_FLUSH - Remove all items
889 *******************************************************************************/
890 typedef u8 CsrWifiSmeListAction;
891 #define CSR_WIFI_SME_LIST_ACTION_GET ((CsrWifiSmeListAction) 0x00)
892 #define CSR_WIFI_SME_LIST_ACTION_ADD ((CsrWifiSmeListAction) 0x01)
893 #define CSR_WIFI_SME_LIST_ACTION_REMOVE ((CsrWifiSmeListAction) 0x02)
894 #define CSR_WIFI_SME_LIST_ACTION_FLUSH ((CsrWifiSmeListAction) 0x03)
896 /*******************************************************************************
899 CsrWifiSmeMediaStatus
902 Indicates the connection status
903 The values of this type are used across the NME/SME/Router API's and they
904 must be kept consistent with the corresponding types in the .xml of the
908 CSR_WIFI_SME_MEDIA_STATUS_CONNECTED
909 - Value CSR_WIFI_SME_MEDIA_STATUS_CONNECTED can happen in two
911 * A network connection is established. Specifically, this is
912 when the MLME_ASSOCIATION completes or the first peer
913 relationship is established in an IBSS. In a WPA/WPA2
914 network, this indicates that the stack is ready to perform
915 the 4-way handshake or 802.1x authentication if CSR NME
916 security library is not used. If CSR NME security library
917 is used this indicates, completion of 4way handshake or
918 802.1x authentication
919 * The SME roams to another AP on the same ESS
920 During the AP operation, it indicates that the peer station
921 is connected to the AP and is ready for data transfer.
922 CSR_WIFI_SME_MEDIA_STATUS_DISCONNECTED
923 - Value CSR_WIFI_SME_MEDIA_STATUS_DISCONNECTED can happen in
925 * when the connection to a network is lost and there is no
926 alternative on the same ESS to roam to
927 * when a CSR_WIFI_SME_DISCONNECT_REQ request is issued
928 During AP or P2PGO operation, it indicates that the peer
929 station has disconnected from the AP
931 *******************************************************************************/
932 typedef u8 CsrWifiSmeMediaStatus;
933 #define CSR_WIFI_SME_MEDIA_STATUS_CONNECTED ((CsrWifiSmeMediaStatus) 0x00)
934 #define CSR_WIFI_SME_MEDIA_STATUS_DISCONNECTED ((CsrWifiSmeMediaStatus) 0x01)
936 /*******************************************************************************
939 CsrWifiSmeP2pCapability
942 Defines P2P Device Capabilities
945 CSR_WIFI_SME_P2P_SERVICE_DISCOVERY_CAPABILITY
946 - This field is set to 1 if the P2P Device supports Service
947 Discovery, and to 0 otherwise
948 CSR_WIFI_SME_P2P_CLIENT_DISCOVERABILITY_CAPABILITY
949 - This field is set to 1 when the P2P Device supports P2P
950 Client Discoverability, and to 0 otherwise.
951 CSR_WIFI_SME_P2P_CONCURRENT_OPERATION_CAPABILITY
952 - This field is set to 1 when the P2P Device supports
953 Concurrent Operation with WLAN, and to 0 otherwise.
954 CSR_WIFI_SME_P2P_MANAGED_DEVICE_CAPABILITY
955 - This field is set to 1 when the P2P interface of the P2P
956 Device is capable of being managed by the WLAN
957 (infrastructure network) based on P2P coexistence
958 parameters, and to 0 otherwise
959 CSR_WIFI_SME_P2P_INVITAION_CAPABILITY
960 - This field is set to 1 if the P2P Device is capable of
961 processing P2P Invitation Procedure signaling, and to 0
964 *******************************************************************************/
965 typedef u8 CsrWifiSmeP2pCapability;
966 #define CSR_WIFI_SME_P2P_SERVICE_DISCOVERY_CAPABILITY ((CsrWifiSmeP2pCapability) 0x01)
967 #define CSR_WIFI_SME_P2P_CLIENT_DISCOVERABILITY_CAPABILITY ((CsrWifiSmeP2pCapability) 0x02)
968 #define CSR_WIFI_SME_P2P_CONCURRENT_OPERATION_CAPABILITY ((CsrWifiSmeP2pCapability) 0x04)
969 #define CSR_WIFI_SME_P2P_MANAGED_DEVICE_CAPABILITY ((CsrWifiSmeP2pCapability) 0x08)
970 #define CSR_WIFI_SME_P2P_INVITAION_CAPABILITY ((CsrWifiSmeP2pCapability) 0x20)
972 /*******************************************************************************
975 CsrWifiSmeP2pGroupCapability
978 Define bits for P2P Group Capability
981 CSR_WIFI_P2P_GRP_CAP_GO
982 - Indicates if the local device has become a GO after GO
984 CSR_WIFI_P2P_GRP_CAP_PERSISTENT
986 CSR_WIFI_P2P_GRP_CAP_INTRABSS_DIST
987 - Intra-BSS data distribution support
988 CSR_WIFI_P2P_GRP_CAP_CROSS_CONN
989 - Support of cross connection
990 CSR_WIFI_P2P_GRP_CAP_PERSISTENT_RECONNECT
991 - Support of persistent reconnect
993 *******************************************************************************/
994 typedef u8 CsrWifiSmeP2pGroupCapability;
995 #define CSR_WIFI_P2P_GRP_CAP_GO ((CsrWifiSmeP2pGroupCapability) 0x01)
996 #define CSR_WIFI_P2P_GRP_CAP_PERSISTENT ((CsrWifiSmeP2pGroupCapability) 0x02)
997 #define CSR_WIFI_P2P_GRP_CAP_INTRABSS_DIST ((CsrWifiSmeP2pGroupCapability) 0x08)
998 #define CSR_WIFI_P2P_GRP_CAP_CROSS_CONN ((CsrWifiSmeP2pGroupCapability) 0x10)
999 #define CSR_WIFI_P2P_GRP_CAP_PERSISTENT_RECONNECT ((CsrWifiSmeP2pGroupCapability) 0x20)
1001 /*******************************************************************************
1004 CsrWifiSmeP2pNoaConfigMethod
1007 Notice of Absece Configuration
1010 CSR_WIFI_P2P_NOA_NONE - Do not use NOA
1011 CSR_WIFI_P2P_NOA_AUTONOMOUS - NOA based on the traffic analysis
1012 CSR_WIFI_P2P_NOA_USER_DEFINED - NOA as specified by the user
1014 *******************************************************************************/
1015 typedef u8 CsrWifiSmeP2pNoaConfigMethod;
1016 #define CSR_WIFI_P2P_NOA_NONE ((CsrWifiSmeP2pNoaConfigMethod) 0x00)
1017 #define CSR_WIFI_P2P_NOA_AUTONOMOUS ((CsrWifiSmeP2pNoaConfigMethod) 0x01)
1018 #define CSR_WIFI_P2P_NOA_USER_DEFINED ((CsrWifiSmeP2pNoaConfigMethod) 0x02)
1020 /*******************************************************************************
1026 Definition of roles for a P2P Device
1029 CSR_WIFI_SME_P2P_ROLE_NONE - A non-P2PDevice device
1030 CSR_WIFI_SME_P2P_ROLE_STANDALONE - A Standalone P2P device
1031 CSR_WIFI_SME_P2P_ROLE_GO - Role Assumed is that of a Group Owner
1033 CSR_WIFI_SME_P2P_ROLE_CLI - Role Assumed is that of a P2P Client
1036 *******************************************************************************/
1037 typedef u8 CsrWifiSmeP2pRole;
1038 #define CSR_WIFI_SME_P2P_ROLE_NONE ((CsrWifiSmeP2pRole) 0x00)
1039 #define CSR_WIFI_SME_P2P_ROLE_STANDALONE ((CsrWifiSmeP2pRole) 0x01)
1040 #define CSR_WIFI_SME_P2P_ROLE_GO ((CsrWifiSmeP2pRole) 0x02)
1041 #define CSR_WIFI_SME_P2P_ROLE_CLI ((CsrWifiSmeP2pRole) 0x03)
1043 /*******************************************************************************
1049 This data type enumerates the outcome of P2P procedure
1052 CSR_WIFI_SME_P2P_STATUS_SUCCESS
1054 CSR_WIFI_SME_P2P_STATUS_FAIL_INFO_UNAVAILABLE
1055 - Fail; information is currently unavailable
1056 CSR_WIFI_SME_P2P_STATUS_FAIL_INCOMPATIBLE_PARAM
1057 - Fail; incompatible parameters
1058 CSR_WIFI_SME_P2P_STATUS_FAIL_LIMIT_REACHED
1059 - Fail; limit reached
1060 CSR_WIFI_SME_P2P_STATUS_FAIL_INVALID_PARAM
1061 - Fail; invalid parameters
1062 CSR_WIFI_SME_P2P_STATUS_FAIL_ACCOMODATE
1063 - Fail; unable to accommodate request
1064 CSR_WIFI_SME_P2P_STATUS_FAIL_PREV_ERROR
1065 - Fail; previous protocol error, or disruptive behavior
1066 CSR_WIFI_SME_P2P_STATUS_FAIL_COMMON_CHANNELS
1067 - Fail; no common channels
1068 CSR_WIFI_SME_P2P_STATUS_FAIL_UNKNOWN_GROUP
1069 - Fail; unknown P2P Group
1070 CSR_WIFI_SME_P2P_STATUS_FAIL_GO_INTENT
1071 - Fail: both P2P Devices indicated an Intent of 15 in Group
1073 CSR_WIFI_SME_P2P_STATUS_FAIL_PROVISION_METHOD_INCOMPATIBLE
1074 - Fail; incompatible provisioning method
1075 CSR_WIFI_SME_P2P_STATUS_FAIL_REJECT
1076 - Fail: rejected by user
1077 CSR_WIFI_SME_P2P_STATUS_FAIL_RESERVED
1078 - Fail; Status Reserved
1080 *******************************************************************************/
1081 typedef u8 CsrWifiSmeP2pStatus;
1082 #define CSR_WIFI_SME_P2P_STATUS_SUCCESS ((CsrWifiSmeP2pStatus) 0x00)
1083 #define CSR_WIFI_SME_P2P_STATUS_FAIL_INFO_UNAVAILABLE ((CsrWifiSmeP2pStatus) 0x01)
1084 #define CSR_WIFI_SME_P2P_STATUS_FAIL_INCOMPATIBLE_PARAM ((CsrWifiSmeP2pStatus) 0x02)
1085 #define CSR_WIFI_SME_P2P_STATUS_FAIL_LIMIT_REACHED ((CsrWifiSmeP2pStatus) 0x03)
1086 #define CSR_WIFI_SME_P2P_STATUS_FAIL_INVALID_PARAM ((CsrWifiSmeP2pStatus) 0x04)
1087 #define CSR_WIFI_SME_P2P_STATUS_FAIL_ACCOMODATE ((CsrWifiSmeP2pStatus) 0x05)
1088 #define CSR_WIFI_SME_P2P_STATUS_FAIL_PREV_ERROR ((CsrWifiSmeP2pStatus) 0x06)
1089 #define CSR_WIFI_SME_P2P_STATUS_FAIL_COMMON_CHANNELS ((CsrWifiSmeP2pStatus) 0x07)
1090 #define CSR_WIFI_SME_P2P_STATUS_FAIL_UNKNOWN_GROUP ((CsrWifiSmeP2pStatus) 0x08)
1091 #define CSR_WIFI_SME_P2P_STATUS_FAIL_GO_INTENT ((CsrWifiSmeP2pStatus) 0x09)
1092 #define CSR_WIFI_SME_P2P_STATUS_FAIL_PROVISION_METHOD_INCOMPATIBLE ((CsrWifiSmeP2pStatus) 0x0A)
1093 #define CSR_WIFI_SME_P2P_STATUS_FAIL_REJECT ((CsrWifiSmeP2pStatus) 0x0B)
1094 #define CSR_WIFI_SME_P2P_STATUS_FAIL_RESERVED ((CsrWifiSmeP2pStatus) 0xFF)
1096 /*******************************************************************************
1099 CsrWifiSmePacketFilterMode
1102 Options for the filter mode parameter.
1103 The Values here match the HIP interface
1106 CSR_WIFI_SME_PACKET_FILTER_MODE_OPT_OUT
1107 - Broadcast packets are always reported to the host unless
1108 they match at least one of the specified TCLAS IEs.
1109 CSR_WIFI_SME_PACKET_FILTER_MODE_OPT_IN
1110 - Broadcast packets are reported to the host only if they
1111 match at least one of the specified TCLAS IEs.
1113 *******************************************************************************/
1114 typedef u8 CsrWifiSmePacketFilterMode;
1115 #define CSR_WIFI_SME_PACKET_FILTER_MODE_OPT_OUT ((CsrWifiSmePacketFilterMode) 0x00)
1116 #define CSR_WIFI_SME_PACKET_FILTER_MODE_OPT_IN ((CsrWifiSmePacketFilterMode) 0x03)
1118 /*******************************************************************************
1121 CsrWifiSmePowerSaveLevel
1124 Power Save Level options as defined in the IEEE 802.11 standards
1125 First 3 values are set to match the mlme PowerManagementMode
1128 CSR_WIFI_SME_POWER_SAVE_LEVEL_LOW - No power save: the driver will remain
1130 CSR_WIFI_SME_POWER_SAVE_LEVEL_HIGH - Enter power save after all packets in
1131 the queues are transmitted and received
1132 CSR_WIFI_SME_POWER_SAVE_LEVEL_MED - Enter power save after all packets in
1133 the queues are transmitted and received
1134 and a further configurable delay
1135 (default 1s) has elapsed
1136 CSR_WIFI_SME_POWER_SAVE_LEVEL_AUTO - The SME will decide when to enter power
1137 save mode according to the traffic
1140 *******************************************************************************/
1141 typedef u8 CsrWifiSmePowerSaveLevel;
1142 #define CSR_WIFI_SME_POWER_SAVE_LEVEL_LOW ((CsrWifiSmePowerSaveLevel) 0x00)
1143 #define CSR_WIFI_SME_POWER_SAVE_LEVEL_HIGH ((CsrWifiSmePowerSaveLevel) 0x01)
1144 #define CSR_WIFI_SME_POWER_SAVE_LEVEL_MED ((CsrWifiSmePowerSaveLevel) 0x02)
1145 #define CSR_WIFI_SME_POWER_SAVE_LEVEL_AUTO ((CsrWifiSmePowerSaveLevel) 0x03)
1147 /*******************************************************************************
1150 CsrWifiSmePreambleType
1156 CSR_WIFI_SME_USE_LONG_PREAMBLE - Use legacy (long) preamble
1157 CSR_WIFI_SME_USE_SHORT_PREAMBLE - Use short PPDU format
1159 *******************************************************************************/
1160 typedef u8 CsrWifiSmePreambleType;
1161 #define CSR_WIFI_SME_USE_LONG_PREAMBLE ((CsrWifiSmePreambleType) 0x00)
1162 #define CSR_WIFI_SME_USE_SHORT_PREAMBLE ((CsrWifiSmePreambleType) 0x01)
1164 /*******************************************************************************
1170 Indicates the frequency
1173 CSR_WIFI_SME_RADIO_IF_GHZ_2_4 - Indicates the 2.4 GHZ frequency
1174 CSR_WIFI_SME_RADIO_IF_GHZ_5_0 - Future use: currently not supported
1175 CSR_WIFI_SME_RADIO_IF_BOTH - Future use: currently not supported
1177 *******************************************************************************/
1178 typedef u8 CsrWifiSmeRadioIF;
1179 #define CSR_WIFI_SME_RADIO_IF_GHZ_2_4 ((CsrWifiSmeRadioIF) 0x01)
1180 #define CSR_WIFI_SME_RADIO_IF_GHZ_5_0 ((CsrWifiSmeRadioIF) 0x02)
1181 #define CSR_WIFI_SME_RADIO_IF_BOTH ((CsrWifiSmeRadioIF) 0x03)
1183 /*******************************************************************************
1186 CsrWifiSmeRegulatoryDomain
1189 Indicates the regulatory domain as defined in IEEE 802.11 standards
1192 CSR_WIFI_SME_REGULATORY_DOMAIN_OTHER
1193 - See IEEE 802.11 Standard
1194 CSR_WIFI_SME_REGULATORY_DOMAIN_FCC
1195 - See IEEE 802.11 Standard
1196 CSR_WIFI_SME_REGULATORY_DOMAIN_IC
1197 - See IEEE 802.11 Standard
1198 CSR_WIFI_SME_REGULATORY_DOMAIN_ETSI
1199 - See IEEE 802.11 Standard
1200 CSR_WIFI_SME_REGULATORY_DOMAIN_SPAIN
1201 - See IEEE 802.11 Standard
1202 CSR_WIFI_SME_REGULATORY_DOMAIN_FRANCE
1203 - See IEEE 802.11 Standard
1204 CSR_WIFI_SME_REGULATORY_DOMAIN_JAPAN
1205 - See IEEE 802.11 Standard
1206 CSR_WIFI_SME_REGULATORY_DOMAIN_JAPANBIS
1207 - See IEEE 802.11 Standard
1208 CSR_WIFI_SME_REGULATORY_DOMAIN_CHINA
1209 - See IEEE 802.11 Standard
1210 CSR_WIFI_SME_REGULATORY_DOMAIN_CHINABIS
1211 - See IEEE 802.11 Standard
1212 CSR_WIFI_SME_REGULATORY_DOMAIN_NONE
1213 - See IEEE 802.11 Standard
1215 *******************************************************************************/
1216 typedef u8 CsrWifiSmeRegulatoryDomain;
1217 #define CSR_WIFI_SME_REGULATORY_DOMAIN_OTHER ((CsrWifiSmeRegulatoryDomain) 0x00)
1218 #define CSR_WIFI_SME_REGULATORY_DOMAIN_FCC ((CsrWifiSmeRegulatoryDomain) 0x10)
1219 #define CSR_WIFI_SME_REGULATORY_DOMAIN_IC ((CsrWifiSmeRegulatoryDomain) 0x20)
1220 #define CSR_WIFI_SME_REGULATORY_DOMAIN_ETSI ((CsrWifiSmeRegulatoryDomain) 0x30)
1221 #define CSR_WIFI_SME_REGULATORY_DOMAIN_SPAIN ((CsrWifiSmeRegulatoryDomain) 0x31)
1222 #define CSR_WIFI_SME_REGULATORY_DOMAIN_FRANCE ((CsrWifiSmeRegulatoryDomain) 0x32)
1223 #define CSR_WIFI_SME_REGULATORY_DOMAIN_JAPAN ((CsrWifiSmeRegulatoryDomain) 0x40)
1224 #define CSR_WIFI_SME_REGULATORY_DOMAIN_JAPANBIS ((CsrWifiSmeRegulatoryDomain) 0x41)
1225 #define CSR_WIFI_SME_REGULATORY_DOMAIN_CHINA ((CsrWifiSmeRegulatoryDomain) 0x50)
1226 #define CSR_WIFI_SME_REGULATORY_DOMAIN_CHINABIS ((CsrWifiSmeRegulatoryDomain) 0x51)
1227 #define CSR_WIFI_SME_REGULATORY_DOMAIN_NONE ((CsrWifiSmeRegulatoryDomain) 0xFF)
1229 /*******************************************************************************
1232 CsrWifiSmeRoamReason
1235 Indicates the reason for roaming
1238 CSR_WIFI_SME_ROAM_REASON_BEACONLOST
1239 - The station cannot receive the beacon signal any more
1240 CSR_WIFI_SME_ROAM_REASON_DISASSOCIATED
1241 - The station has been disassociated
1242 CSR_WIFI_SME_ROAM_REASON_DEAUTHENTICATED
1243 - The station has been deauthenticated
1244 CSR_WIFI_SME_ROAM_REASON_BETTERAPFOUND
1245 - A better AP has been found
1247 *******************************************************************************/
1248 typedef u8 CsrWifiSmeRoamReason;
1249 #define CSR_WIFI_SME_ROAM_REASON_BEACONLOST ((CsrWifiSmeRoamReason) 0x00)
1250 #define CSR_WIFI_SME_ROAM_REASON_DISASSOCIATED ((CsrWifiSmeRoamReason) 0x01)
1251 #define CSR_WIFI_SME_ROAM_REASON_DEAUTHENTICATED ((CsrWifiSmeRoamReason) 0x02)
1252 #define CSR_WIFI_SME_ROAM_REASON_BETTERAPFOUND ((CsrWifiSmeRoamReason) 0x03)
1254 /*******************************************************************************
1260 Identifies the type of scan to be performed
1263 CSR_WIFI_SME_SCAN_TYPE_ALL - Scan actively or passively according to the
1264 regulatory domain restrictions
1265 CSR_WIFI_SME_SCAN_TYPE_ACTIVE - Scan actively only: send probes and listen
1267 CSR_WIFI_SME_SCAN_TYPE_PASSIVE - Scan passively only: listen for beacon
1270 *******************************************************************************/
1271 typedef u8 CsrWifiSmeScanType;
1272 #define CSR_WIFI_SME_SCAN_TYPE_ALL ((CsrWifiSmeScanType) 0x00)
1273 #define CSR_WIFI_SME_SCAN_TYPE_ACTIVE ((CsrWifiSmeScanType) 0x01)
1274 #define CSR_WIFI_SME_SCAN_TYPE_PASSIVE ((CsrWifiSmeScanType) 0x02)
1276 /*******************************************************************************
1279 CsrWifiSmeTrafficType
1282 Identifies the type of traffic going on on the connection.
1283 The values of this type are used across the NME/SME/Router API's and they
1284 must be kept consistent with the corresponding types in the .xml of the
1288 CSR_WIFI_SME_TRAFFIC_TYPE_OCCASIONAL
1289 - During the last 30 seconds there were fewer than 20 packets
1290 per seconds in each second in both directions
1291 CSR_WIFI_SME_TRAFFIC_TYPE_BURSTY
1292 - During the last 30 seconds there was at least one second
1293 during which more than 20 packets were received in either
1295 CSR_WIFI_SME_TRAFFIC_TYPE_PERIODIC
1296 - During the last 5 seconds there were at least 10 packets
1297 received each second and a defined period for the traffic
1299 CSR_WIFI_SME_TRAFFIC_TYPE_CONTINUOUS
1300 - During the last 5 seconds there were at least 20 packets
1301 received each second in either direction
1303 *******************************************************************************/
1304 typedef u8 CsrWifiSmeTrafficType;
1305 #define CSR_WIFI_SME_TRAFFIC_TYPE_OCCASIONAL ((CsrWifiSmeTrafficType) 0x00)
1306 #define CSR_WIFI_SME_TRAFFIC_TYPE_BURSTY ((CsrWifiSmeTrafficType) 0x01)
1307 #define CSR_WIFI_SME_TRAFFIC_TYPE_PERIODIC ((CsrWifiSmeTrafficType) 0x02)
1308 #define CSR_WIFI_SME_TRAFFIC_TYPE_CONTINUOUS ((CsrWifiSmeTrafficType) 0x03)
1310 /*******************************************************************************
1316 Defines bits for CsrWifiSmeTspecCtrlMask for additional CCX configuration.
1317 CURRENTLY NOT SUPPORTED.
1320 CSR_WIFI_SME_TSPEC_CTRL_STRICT
1321 - No automatic negotiation
1322 CSR_WIFI_SME_TSPEC_CTRL_CCX_SIGNALLING
1324 CSR_WIFI_SME_TSPEC_CTRL_CCX_VOICE
1325 - Voice traffic TSPEC
1327 *******************************************************************************/
1328 typedef u8 CsrWifiSmeTspecCtrl;
1329 #define CSR_WIFI_SME_TSPEC_CTRL_STRICT ((CsrWifiSmeTspecCtrl) 0x01)
1330 #define CSR_WIFI_SME_TSPEC_CTRL_CCX_SIGNALLING ((CsrWifiSmeTspecCtrl) 0x02)
1331 #define CSR_WIFI_SME_TSPEC_CTRL_CCX_VOICE ((CsrWifiSmeTspecCtrl) 0x04)
1333 /*******************************************************************************
1336 CsrWifiSmeTspecResultCode
1339 Defines the result of the TSPEC exchanges with the AP
1342 CSR_WIFI_SME_TSPEC_RESULT_SUCCESS
1343 - TSPEC command has been processed correctly
1344 CSR_WIFI_SME_TSPEC_RESULT_UNSPECIFIED_QOS_FAILURE
1345 - The Access Point reported a failure
1346 CSR_WIFI_SME_TSPEC_RESULT_FAILURE
1347 - Internal failure in the SME
1348 CSR_WIFI_SME_TSPEC_RESULT_INVALID_TSPEC_PARAMETERS
1349 - The TSPEC parameters are invalid
1350 CSR_WIFI_SME_TSPEC_RESULT_INVALID_TCLAS_PARAMETERS
1351 - The TCLASS parameters are invalid
1352 CSR_WIFI_SME_TSPEC_RESULT_INSUFFICIENT_BANDWIDTH
1353 - As specified by the WMM Spec
1354 CSR_WIFI_SME_TSPEC_RESULT_WRONG_POLICY
1355 - As specified by the WMM Spec
1356 CSR_WIFI_SME_TSPEC_RESULT_REJECTED_WITH_SUGGESTED_CHANGES
1357 - As specified by the WMM Spec
1358 CSR_WIFI_SME_TSPEC_RESULT_TIMEOUT
1359 - The TSPEC negotiation timed out
1360 CSR_WIFI_SME_TSPEC_RESULT_NOT_SUPPORTED
1361 - The Access Point does not support the TSPEC
1362 CSR_WIFI_SME_TSPEC_RESULT_IE_LENGTH_INCORRECT
1363 - The length of the TSPEC is not correct
1364 CSR_WIFI_SME_TSPEC_RESULT_INVALID_TRANSACTION_ID
1365 - The TSPEC transaction id is not in the list
1366 CSR_WIFI_SME_TSPEC_RESULT_INSTALLED
1367 - The TSPEC has been installed and it is now active.
1368 CSR_WIFI_SME_TSPEC_RESULT_TID_ALREADY_INSTALLED
1369 - The Traffic ID has already been installed
1370 CSR_WIFI_SME_TSPEC_RESULT_TSPEC_REMOTELY_DELETED
1371 - The AP has deleted the TSPEC
1373 *******************************************************************************/
1374 typedef u8 CsrWifiSmeTspecResultCode;
1375 #define CSR_WIFI_SME_TSPEC_RESULT_SUCCESS ((CsrWifiSmeTspecResultCode) 0x00)
1376 #define CSR_WIFI_SME_TSPEC_RESULT_UNSPECIFIED_QOS_FAILURE ((CsrWifiSmeTspecResultCode) 0x01)
1377 #define CSR_WIFI_SME_TSPEC_RESULT_FAILURE ((CsrWifiSmeTspecResultCode) 0x02)
1378 #define CSR_WIFI_SME_TSPEC_RESULT_INVALID_TSPEC_PARAMETERS ((CsrWifiSmeTspecResultCode) 0x05)
1379 #define CSR_WIFI_SME_TSPEC_RESULT_INVALID_TCLAS_PARAMETERS ((CsrWifiSmeTspecResultCode) 0x06)
1380 #define CSR_WIFI_SME_TSPEC_RESULT_INSUFFICIENT_BANDWIDTH ((CsrWifiSmeTspecResultCode) 0x07)
1381 #define CSR_WIFI_SME_TSPEC_RESULT_WRONG_POLICY ((CsrWifiSmeTspecResultCode) 0x08)
1382 #define CSR_WIFI_SME_TSPEC_RESULT_REJECTED_WITH_SUGGESTED_CHANGES ((CsrWifiSmeTspecResultCode) 0x09)
1383 #define CSR_WIFI_SME_TSPEC_RESULT_TIMEOUT ((CsrWifiSmeTspecResultCode) 0x0D)
1384 #define CSR_WIFI_SME_TSPEC_RESULT_NOT_SUPPORTED ((CsrWifiSmeTspecResultCode) 0x0E)
1385 #define CSR_WIFI_SME_TSPEC_RESULT_IE_LENGTH_INCORRECT ((CsrWifiSmeTspecResultCode) 0x10)
1386 #define CSR_WIFI_SME_TSPEC_RESULT_INVALID_TRANSACTION_ID ((CsrWifiSmeTspecResultCode) 0x11)
1387 #define CSR_WIFI_SME_TSPEC_RESULT_INSTALLED ((CsrWifiSmeTspecResultCode) 0x12)
1388 #define CSR_WIFI_SME_TSPEC_RESULT_TID_ALREADY_INSTALLED ((CsrWifiSmeTspecResultCode) 0x13)
1389 #define CSR_WIFI_SME_TSPEC_RESULT_TSPEC_REMOTELY_DELETED ((CsrWifiSmeTspecResultCode) 0x14)
1391 /*******************************************************************************
1394 CsrWifiSmeWepAuthMode
1397 Define bits for CsrWifiSmeWepAuthMode
1400 CSR_WIFI_SME_WEP_AUTH_MODE_OPEN - Open-WEP enabled network
1401 CSR_WIFI_SME_WEP_AUTH_MODE_SHARED - Shared-key WEP enabled network.
1403 *******************************************************************************/
1404 typedef u8 CsrWifiSmeWepAuthMode;
1405 #define CSR_WIFI_SME_WEP_AUTH_MODE_OPEN ((CsrWifiSmeWepAuthMode) 0x00)
1406 #define CSR_WIFI_SME_WEP_AUTH_MODE_SHARED ((CsrWifiSmeWepAuthMode) 0x01)
1408 /*******************************************************************************
1411 CsrWifiSmeWepCredentialType
1414 Definition of types of WEP Credentials
1417 CSR_WIFI_SME_CREDENTIAL_TYPE_WEP64
1419 CSR_WIFI_SME_CREDENTIAL_TYPE_WEP128
1420 - WEP 128 credential
1422 *******************************************************************************/
1423 typedef u8 CsrWifiSmeWepCredentialType;
1424 #define CSR_WIFI_SME_CREDENTIAL_TYPE_WEP64 ((CsrWifiSmeWepCredentialType) 0x00)
1425 #define CSR_WIFI_SME_CREDENTIAL_TYPE_WEP128 ((CsrWifiSmeWepCredentialType) 0x01)
1427 /*******************************************************************************
1433 Defines bits for CsrWifiSmeWmmModeMask: enable/disable WMM features.
1436 CSR_WIFI_SME_WMM_MODE_DISABLED - Disables the WMM features.
1437 CSR_WIFI_SME_WMM_MODE_AC_ENABLED - Enables support for WMM-AC.
1438 CSR_WIFI_SME_WMM_MODE_PS_ENABLED - Enables support for WMM Power Save.
1439 CSR_WIFI_SME_WMM_MODE_SA_ENABLED - Currently not supported
1440 CSR_WIFI_SME_WMM_MODE_ENABLED - Enables support for all currently
1441 available WMM features.
1443 *******************************************************************************/
1444 typedef u8 CsrWifiSmeWmmMode;
1445 #define CSR_WIFI_SME_WMM_MODE_DISABLED ((CsrWifiSmeWmmMode) 0x00)
1446 #define CSR_WIFI_SME_WMM_MODE_AC_ENABLED ((CsrWifiSmeWmmMode) 0x01)
1447 #define CSR_WIFI_SME_WMM_MODE_PS_ENABLED ((CsrWifiSmeWmmMode) 0x02)
1448 #define CSR_WIFI_SME_WMM_MODE_SA_ENABLED ((CsrWifiSmeWmmMode) 0x04)
1449 #define CSR_WIFI_SME_WMM_MODE_ENABLED ((CsrWifiSmeWmmMode) 0xFF)
1451 /*******************************************************************************
1454 CsrWifiSmeWmmQosInfo
1457 Defines bits for the QoS Info Octect as defined in the WMM specification.
1458 The first four values define one bit each that can be set or cleared.
1459 Each of the last four values define all the remaining 4 bits and only one
1460 of them at the time shall be used.
1461 For more information, see 'WMM (including WMM Power Save) Specification -
1462 Version 1.1' and 'UniFi Configuring WMM and WMM-PS, Application Note'.
1465 CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_ALL
1466 - WMM AP may deliver all buffered frames
1467 CSR_WIFI_SME_WMM_QOS_INFO_AC_VO
1468 - Enable UAPSD(both trigger and delivery) for Voice Access
1470 CSR_WIFI_SME_WMM_QOS_INFO_AC_VI
1471 - Enable UAPSD(both trigger and delivery) for Video Access
1473 CSR_WIFI_SME_WMM_QOS_INFO_AC_BK
1474 - Enable UAPSD(both trigger and delivery) for Background
1476 CSR_WIFI_SME_WMM_QOS_INFO_AC_BE
1477 - Enable UAPSD(both trigger and delivery) for Best Effort
1479 CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_TWO
1480 - WMM AP may deliver a maximum of 2 buffered frames (MSDUs
1482 CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_FOUR
1483 - WMM AP may deliver a maximum of 4 buffered frames (MSDUs
1485 CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_SIX
1486 - WMM AP may deliver a maximum of 6 buffered frames (MSDUs
1489 *******************************************************************************/
1490 typedef u8 CsrWifiSmeWmmQosInfo;
1491 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_ALL ((CsrWifiSmeWmmQosInfo) 0x00)
1492 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_VO ((CsrWifiSmeWmmQosInfo) 0x01)
1493 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_VI ((CsrWifiSmeWmmQosInfo) 0x02)
1494 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_BK ((CsrWifiSmeWmmQosInfo) 0x04)
1495 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_BE ((CsrWifiSmeWmmQosInfo) 0x08)
1496 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_TWO ((CsrWifiSmeWmmQosInfo) 0x20)
1497 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_FOUR ((CsrWifiSmeWmmQosInfo) 0x40)
1498 #define CSR_WIFI_SME_WMM_QOS_INFO_AC_MAX_SP_SIX ((CsrWifiSmeWmmQosInfo) 0x60)
1500 /*******************************************************************************
1503 CsrWifiSmeWpsConfigType
1506 WPS config methods supported/used by a device
1509 CSR_WIFI_WPS_CONFIG_LABEL
1511 CSR_WIFI_WPS_CONFIG_DISPLAY
1513 CSR_WIFI_WPS_CONFIG_EXT_NFC
1514 - External NFC : Not supported in this release
1515 CSR_WIFI_WPS_CONFIG_INT_NFC
1516 - Internal NFC : Not supported in this release
1517 CSR_WIFI_WPS_CONFIG_NFC_IFACE
1518 - NFC interface : Not supported in this release
1519 CSR_WIFI_WPS_CONFIG_PBC
1521 CSR_WIFI_WPS_CONFIG_KEYPAD
1523 CSR_WIFI_WPS_CONFIG_VIRTUAL_PBC
1524 - PBC through software user interface
1525 CSR_WIFI_WPS_CONFIG_PHYSICAL_PBC
1527 CSR_WIFI_WPS_CONFIG_VIRTUAL_DISPLAY
1528 - Virtual Display : via html config page etc
1529 CSR_WIFI_WPS_CONFIG_PHYSICAL_DISPLAY
1530 - Physical Display : Attached to the device
1532 *******************************************************************************/
1533 typedef u16 CsrWifiSmeWpsConfigType;
1534 #define CSR_WIFI_WPS_CONFIG_LABEL ((CsrWifiSmeWpsConfigType) 0x0004)
1535 #define CSR_WIFI_WPS_CONFIG_DISPLAY ((CsrWifiSmeWpsConfigType) 0x0008)
1536 #define CSR_WIFI_WPS_CONFIG_EXT_NFC ((CsrWifiSmeWpsConfigType) 0x0010)
1537 #define CSR_WIFI_WPS_CONFIG_INT_NFC ((CsrWifiSmeWpsConfigType) 0x0020)
1538 #define CSR_WIFI_WPS_CONFIG_NFC_IFACE ((CsrWifiSmeWpsConfigType) 0x0040)
1539 #define CSR_WIFI_WPS_CONFIG_PBC ((CsrWifiSmeWpsConfigType) 0x0080)
1540 #define CSR_WIFI_WPS_CONFIG_KEYPAD ((CsrWifiSmeWpsConfigType) 0x0100)
1541 #define CSR_WIFI_WPS_CONFIG_VIRTUAL_PBC ((CsrWifiSmeWpsConfigType) 0x0280)
1542 #define CSR_WIFI_WPS_CONFIG_PHYSICAL_PBC ((CsrWifiSmeWpsConfigType) 0x0480)
1543 #define CSR_WIFI_WPS_CONFIG_VIRTUAL_DISPLAY ((CsrWifiSmeWpsConfigType) 0x2008)
1544 #define CSR_WIFI_WPS_CONFIG_PHYSICAL_DISPLAY ((CsrWifiSmeWpsConfigType) 0x4008)
1546 /*******************************************************************************
1549 CsrWifiSmeWpsDeviceCategory
1552 Wps Primary Device Types
1555 CSR_WIFI_SME_WPS_CATEGORY_UNSPECIFIED
1557 CSR_WIFI_SME_WPS_CATEGORY_COMPUTER
1559 CSR_WIFI_SME_WPS_CATEGORY_INPUT_DEV
1561 CSR_WIFI_SME_WPS_CATEGORY_PRT_SCAN_FX_CP
1562 - Printer Scanner Fax Copier etc
1563 CSR_WIFI_SME_WPS_CATEGORY_CAMERA
1565 CSR_WIFI_SME_WPS_CATEGORY_STORAGE
1567 CSR_WIFI_SME_WPS_CATEGORY_NET_INFRA
1569 CSR_WIFI_SME_WPS_CATEGORY_DISPLAY
1571 CSR_WIFI_SME_WPS_CATEGORY_MULTIMEDIA
1573 CSR_WIFI_SME_WPS_CATEGORY_GAMING
1575 CSR_WIFI_SME_WPS_CATEGORY_TELEPHONE
1577 CSR_WIFI_SME_WPS_CATEGORY_AUDIO
1579 CSR_WIFI_SME_WPS_CATEOARY_OTHERS
1582 *******************************************************************************/
1583 typedef u8 CsrWifiSmeWpsDeviceCategory;
1584 #define CSR_WIFI_SME_WPS_CATEGORY_UNSPECIFIED ((CsrWifiSmeWpsDeviceCategory) 0x00)
1585 #define CSR_WIFI_SME_WPS_CATEGORY_COMPUTER ((CsrWifiSmeWpsDeviceCategory) 0x01)
1586 #define CSR_WIFI_SME_WPS_CATEGORY_INPUT_DEV ((CsrWifiSmeWpsDeviceCategory) 0x02)
1587 #define CSR_WIFI_SME_WPS_CATEGORY_PRT_SCAN_FX_CP ((CsrWifiSmeWpsDeviceCategory) 0x03)
1588 #define CSR_WIFI_SME_WPS_CATEGORY_CAMERA ((CsrWifiSmeWpsDeviceCategory) 0x04)
1589 #define CSR_WIFI_SME_WPS_CATEGORY_STORAGE ((CsrWifiSmeWpsDeviceCategory) 0x05)
1590 #define CSR_WIFI_SME_WPS_CATEGORY_NET_INFRA ((CsrWifiSmeWpsDeviceCategory) 0x06)
1591 #define CSR_WIFI_SME_WPS_CATEGORY_DISPLAY ((CsrWifiSmeWpsDeviceCategory) 0x07)
1592 #define CSR_WIFI_SME_WPS_CATEGORY_MULTIMEDIA ((CsrWifiSmeWpsDeviceCategory) 0x08)
1593 #define CSR_WIFI_SME_WPS_CATEGORY_GAMING ((CsrWifiSmeWpsDeviceCategory) 0x09)
1594 #define CSR_WIFI_SME_WPS_CATEGORY_TELEPHONE ((CsrWifiSmeWpsDeviceCategory) 0x0A)
1595 #define CSR_WIFI_SME_WPS_CATEGORY_AUDIO ((CsrWifiSmeWpsDeviceCategory) 0x0B)
1596 #define CSR_WIFI_SME_WPS_CATEOARY_OTHERS ((CsrWifiSmeWpsDeviceCategory) 0xFF)
1598 /*******************************************************************************
1601 CsrWifiSmeWpsDeviceSubCategory
1604 Wps Secondary Device Types
1607 CSR_WIFI_SME_WPS_SUB_CATEGORY_UNSPECIFIED
1609 CSR_WIFI_SME_WPS_STORAGE_SUB_CATEGORY_NAS
1610 - Network Associated Storage
1611 CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_PRNTR
1612 - Printer or print server
1613 CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_WM
1615 CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_TUNER
1616 - Audio tuner/receiver
1617 CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_DIG_STL
1618 - Digital still camera
1619 CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_AP
1621 CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_TV
1623 CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_DAR
1625 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_KEYBD
1627 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_PC
1629 CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_XBOX
1631 CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_SCNR
1633 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_SERVER
1635 CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_ROUTER
1637 CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_PVR
1639 CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_SPEAKER
1641 CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_FP_SM
1642 - Feature phone - Single mode
1643 CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_VIDEO
1645 CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_PIC_FRM
1647 CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_XBOX_360
1649 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_MOUSE
1651 CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_SWITCH
1653 CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_PMP
1654 - Portable music player
1655 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_JOYSTK
1657 CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_PLAY_STN
1659 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_MED_CENT
1661 CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_MCX
1663 CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_FP_DM
1664 - Feature phone - Dual mode
1665 CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_WEB
1667 CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_FAX
1669 CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_PROJECTOR
1671 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_TRKBL
1673 CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_ST_BOX
1675 CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_GATEWAY
1677 CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_SECURITY
1679 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_ULTRA_MOB_PC
1681 CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_CONSOLE
1682 - Game console/Game console adapter
1683 CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_CPR
1685 CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_HEADSET
1686 - Headset(headphones + microphone)
1687 CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_SP_SM
1688 - Smart phone - Single mode
1689 CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_MONITOR
1691 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_GAME_CTRL
1693 CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_ALL
1695 CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_MEDIA
1696 - Media Server/Media Adapter/Media Extender
1697 CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_SP_DM
1698 - Smart phone - Dual mode
1699 CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_PORT_DEV
1700 - Portable gaming device
1701 CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_HEADPHONE
1703 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_NOTEBOOK
1705 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_REMOTE
1707 CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_MIC
1709 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_DESKTOP
1711 CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_VP
1712 - Portable video player
1713 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_MID
1714 - Mobile internet device
1715 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_TOUCH_SCRN
1717 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_BIOMET_RDR
1719 CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_NETBOOK
1721 CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_BRCD_RDR
1724 *******************************************************************************/
1725 typedef u8 CsrWifiSmeWpsDeviceSubCategory;
1726 #define CSR_WIFI_SME_WPS_SUB_CATEGORY_UNSPECIFIED ((CsrWifiSmeWpsDeviceSubCategory) 0x00)
1727 #define CSR_WIFI_SME_WPS_STORAGE_SUB_CATEGORY_NAS ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1728 #define CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_PRNTR ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1729 #define CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_WM ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1730 #define CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_TUNER ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1731 #define CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_DIG_STL ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1732 #define CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_AP ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1733 #define CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_TV ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1734 #define CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_DAR ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1735 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_KEYBD ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1736 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_PC ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1737 #define CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_XBOX ((CsrWifiSmeWpsDeviceSubCategory) 0x01)
1738 #define CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_SCNR ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1739 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_SERVER ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1740 #define CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_ROUTER ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1741 #define CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_PVR ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1742 #define CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_SPEAKER ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1743 #define CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_FP_SM ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1744 #define CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_VIDEO ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1745 #define CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_PIC_FRM ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1746 #define CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_XBOX_360 ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1747 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_MOUSE ((CsrWifiSmeWpsDeviceSubCategory) 0x02)
1748 #define CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_SWITCH ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1749 #define CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_PMP ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1750 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_JOYSTK ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1751 #define CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_PLAY_STN ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1752 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_MED_CENT ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1753 #define CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_MCX ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1754 #define CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_FP_DM ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1755 #define CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_WEB ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1756 #define CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_FAX ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1757 #define CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_PROJECTOR ((CsrWifiSmeWpsDeviceSubCategory) 0x03)
1758 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_TRKBL ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1759 #define CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_ST_BOX ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1760 #define CSR_WIFI_SME_WPS_NET_INFRA_SUB_CATEGORY_GATEWAY ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1761 #define CSR_WIFI_SME_WPS_CAMERA_SUB_CATEGORY_SECURITY ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1762 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_ULTRA_MOB_PC ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1763 #define CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_CONSOLE ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1764 #define CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_CPR ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1765 #define CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_HEADSET ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1766 #define CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_SP_SM ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1767 #define CSR_WIFI_SME_WPS_DISPLAY_SUB_CATEGORY_MONITOR ((CsrWifiSmeWpsDeviceSubCategory) 0x04)
1768 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_GAME_CTRL ((CsrWifiSmeWpsDeviceSubCategory) 0x05)
1769 #define CSR_WIFI_SME_WPS_PSFC_SUB_CATEGORY_ALL ((CsrWifiSmeWpsDeviceSubCategory) 0x05)
1770 #define CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_MEDIA ((CsrWifiSmeWpsDeviceSubCategory) 0x05)
1771 #define CSR_WIFI_SME_WPS_TELEPHONE_SUB_CATEGORY_SP_DM ((CsrWifiSmeWpsDeviceSubCategory) 0x05)
1772 #define CSR_WIFI_SME_WPS_GAMING_SUB_CATEGORY_PORT_DEV ((CsrWifiSmeWpsDeviceSubCategory) 0x05)
1773 #define CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_HEADPHONE ((CsrWifiSmeWpsDeviceSubCategory) 0x05)
1774 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_NOTEBOOK ((CsrWifiSmeWpsDeviceSubCategory) 0x05)
1775 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_REMOTE ((CsrWifiSmeWpsDeviceSubCategory) 0x06)
1776 #define CSR_WIFI_SME_WPS_AUDIO_SUB_CATEGORY_MIC ((CsrWifiSmeWpsDeviceSubCategory) 0x06)
1777 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_DESKTOP ((CsrWifiSmeWpsDeviceSubCategory) 0x06)
1778 #define CSR_WIFI_SME_WPS_MM_SUB_CATEGORY_VP ((CsrWifiSmeWpsDeviceSubCategory) 0x06)
1779 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_MID ((CsrWifiSmeWpsDeviceSubCategory) 0x07)
1780 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_TOUCH_SCRN ((CsrWifiSmeWpsDeviceSubCategory) 0x07)
1781 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_BIOMET_RDR ((CsrWifiSmeWpsDeviceSubCategory) 0x08)
1782 #define CSR_WIFI_SME_WPS_COMPUTER_SUB_CATEGORY_NETBOOK ((CsrWifiSmeWpsDeviceSubCategory) 0x08)
1783 #define CSR_WIFI_SME_WPS_INPUT_DEV_SUB_CATEGORY_BRCD_RDR ((CsrWifiSmeWpsDeviceSubCategory) 0x09)
1785 /*******************************************************************************
1791 Device Password ID for the chosen config method
1794 CSR_WIFI_SME_WPS_DPID_PIN - PIN
1795 CSR_WIFI_SME_WPS_DPID_USER - User specified : Used only during P2P GO
1796 negotiation procedure
1797 CSR_WIFI_SME_WPS_DPID_MACHINE - Machine specified i: Not used in this
1799 CSR_WIFI_SME_WPS_DPID_REKEY - Rekey : Not used in this release
1800 CSR_WIFI_SME_WPS_DPID_PBC - PBC
1801 CSR_WIFI_SME_WPS_DPID_REGISTRAR - Registrar specified : Used only in P2P Go
1802 negotiation procedure
1804 *******************************************************************************/
1805 typedef u16 CsrWifiSmeWpsDpid;
1806 #define CSR_WIFI_SME_WPS_DPID_PIN ((CsrWifiSmeWpsDpid) 0x0000)
1807 #define CSR_WIFI_SME_WPS_DPID_USER ((CsrWifiSmeWpsDpid) 0x0001)
1808 #define CSR_WIFI_SME_WPS_DPID_MACHINE ((CsrWifiSmeWpsDpid) 0x0002)
1809 #define CSR_WIFI_SME_WPS_DPID_REKEY ((CsrWifiSmeWpsDpid) 0x0003)
1810 #define CSR_WIFI_SME_WPS_DPID_PBC ((CsrWifiSmeWpsDpid) 0x0004)
1811 #define CSR_WIFI_SME_WPS_DPID_REGISTRAR ((CsrWifiSmeWpsDpid) 0x0005)
1813 /*******************************************************************************
1816 CsrWifiSmeWpsRegistration
1821 CSR_WIFI_SME_WPS_REG_NOT_REQUIRED - No encryption set
1822 CSR_WIFI_SME_WPS_REG_REQUIRED - No encryption set
1823 CSR_WIFI_SME_WPS_REG_UNKNOWN - No encryption set
1825 *******************************************************************************/
1826 typedef u8 CsrWifiSmeWpsRegistration;
1827 #define CSR_WIFI_SME_WPS_REG_NOT_REQUIRED ((CsrWifiSmeWpsRegistration) 0x00)
1828 #define CSR_WIFI_SME_WPS_REG_REQUIRED ((CsrWifiSmeWpsRegistration) 0x01)
1829 #define CSR_WIFI_SME_WPS_REG_UNKNOWN ((CsrWifiSmeWpsRegistration) 0x02)
1832 /*******************************************************************************
1835 CsrWifiSmeAuthModeMask
1838 Mask type for use with the values defined by CsrWifiSmeAuthMode
1840 *******************************************************************************/
1841 typedef u16 CsrWifiSmeAuthModeMask;
1842 /*******************************************************************************
1845 CsrWifiSmeEncryptionMask
1848 Mask type for use with the values defined by CsrWifiSmeEncryption
1850 *******************************************************************************/
1851 typedef u16 CsrWifiSmeEncryptionMask;
1852 /*******************************************************************************
1855 CsrWifiSmeIndicationsMask
1858 Mask type for use with the values defined by CsrWifiSmeIndications
1860 *******************************************************************************/
1861 typedef u32 CsrWifiSmeIndicationsMask;
1862 /*******************************************************************************
1865 CsrWifiSmeP2pCapabilityMask
1868 Mask type for use with the values defined by CsrWifiSmeP2pCapability
1870 *******************************************************************************/
1871 typedef u8 CsrWifiSmeP2pCapabilityMask;
1872 /*******************************************************************************
1875 CsrWifiSmeP2pGroupCapabilityMask
1878 Mask type for use with the values defined by CsrWifiSmeP2pGroupCapability
1880 *******************************************************************************/
1881 typedef u8 CsrWifiSmeP2pGroupCapabilityMask;
1882 /*******************************************************************************
1885 CsrWifiSmeTspecCtrlMask
1888 Mask type for use with the values defined by CsrWifiSmeTspecCtrl
1890 *******************************************************************************/
1891 typedef u8 CsrWifiSmeTspecCtrlMask;
1892 /*******************************************************************************
1895 CsrWifiSmeWmmModeMask
1898 Mask type for use with the values defined by CsrWifiSmeWmmMode
1900 *******************************************************************************/
1901 typedef u8 CsrWifiSmeWmmModeMask;
1902 /*******************************************************************************
1905 CsrWifiSmeWmmQosInfoMask
1908 Mask type for use with the values defined by CsrWifiSmeWmmQosInfo
1910 *******************************************************************************/
1911 typedef u8 CsrWifiSmeWmmQosInfoMask;
1912 /*******************************************************************************
1915 CsrWifiSmeWpsConfigTypeMask
1918 Mask type for use with the values defined by CsrWifiSmeWpsConfigType
1920 *******************************************************************************/
1921 typedef u16 CsrWifiSmeWpsConfigTypeMask;
1924 /*******************************************************************************
1927 CsrWifiSmeAdHocConfig
1930 Defines values to use when starting an Ad-hoc (IBSS) network.
1933 atimWindowTu - ATIM window specified for IBSS
1934 beaconPeriodTu - Interval between beacon packets
1935 joinOnlyAttempts - Maximum number of attempts to join an ad-hoc network.
1936 The default value is 1.
1937 Set to 0 for infinite attempts.
1938 joinAttemptIntervalMs - Time between scans for joining the requested IBSS.
1940 *******************************************************************************/
1945 u16 joinOnlyAttempts;
1946 u16 joinAttemptIntervalMs;
1947 } CsrWifiSmeAdHocConfig;
1949 /*******************************************************************************
1952 CsrWifiSmeAvailabilityConfig
1958 availabilityDuration -
1961 *******************************************************************************/
1965 u16 availabilityDuration;
1966 u16 avalabilityPeriod;
1967 } CsrWifiSmeAvailabilityConfig;
1969 /*******************************************************************************
1975 This type is reserved for future use and should not be used.
1978 keepAliveTimeMs - NOT USED
1979 apRoamingEnabled - NOT USED
1980 measurementsMask - NOT USED
1981 ccxRadioMgtEnabled - NOT USED
1983 *******************************************************************************/
1987 u8 apRoamingEnabled;
1988 u8 measurementsMask;
1989 u8 ccxRadioMgtEnabled;
1990 } CsrWifiSmeCcxConfig;
1992 /*******************************************************************************
1995 CsrWifiSmeCoexConfig
1998 Parameters for the coexistence behaviour.
2001 coexEnableSchemeManagement - Enables the Coexistence Management Scheme
2002 coexPeriodicWakeHost - If TRUE the firmware wakes up the host
2003 periodically according to the traffic
2004 period and latency parameters; the host
2005 will then send the data to transmit only
2007 If FALSE, the firmware does not wake up the
2008 host and the host will send the data to
2009 transmit to the firmware whenever there is
2011 coexTrafficBurstyLatencyMs - Period of awakening for the firmware used
2012 when bursty traffic is detected
2013 coexTrafficContinuousLatencyMs - Period of awakening for the firmware used
2014 when continuous traffic is detected
2015 coexObexBlackoutDurationMs - Blackout Duration when a Obex Connection is
2017 coexObexBlackoutPeriodMs - Blackout Period when a Obex Connection is
2019 coexA2dpBrBlackoutDurationMs - Blackout Duration when a Basic Rate A2DP
2020 Connection streaming data
2021 coexA2dpBrBlackoutPeriodMs - Blackout Period when a Basic Rate A2DP
2022 Connection streaming data
2023 coexA2dpEdrBlackoutDurationMs - Blackout Duration when an Enhanced Data
2024 Rate A2DP Connection streaming data
2025 coexA2dpEdrBlackoutPeriodMs - Blackout Period when an Enhanced Data Rate
2026 A2DP Connection streaming data
2027 coexPagingBlackoutDurationMs - Blackout Duration when a BT page is active
2028 coexPagingBlackoutPeriodMs - Blackout Period when a BT page is active
2029 coexInquiryBlackoutDurationMs - Blackout Duration when a BT inquiry is
2031 coexInquiryBlackoutPeriodMs - Blackout Period when a BT inquiry is active
2033 *******************************************************************************/
2036 u8 coexEnableSchemeManagement;
2037 u8 coexPeriodicWakeHost;
2038 u16 coexTrafficBurstyLatencyMs;
2039 u16 coexTrafficContinuousLatencyMs;
2040 u16 coexObexBlackoutDurationMs;
2041 u16 coexObexBlackoutPeriodMs;
2042 u16 coexA2dpBrBlackoutDurationMs;
2043 u16 coexA2dpBrBlackoutPeriodMs;
2044 u16 coexA2dpEdrBlackoutDurationMs;
2045 u16 coexA2dpEdrBlackoutPeriodMs;
2046 u16 coexPagingBlackoutDurationMs;
2047 u16 coexPagingBlackoutPeriodMs;
2048 u16 coexInquiryBlackoutDurationMs;
2049 u16 coexInquiryBlackoutPeriodMs;
2050 } CsrWifiSmeCoexConfig;
2052 /*******************************************************************************
2055 CsrWifiSmeConnectionStats
2058 Indicates the statistics of the connection.
2059 The dot11 fields are defined in the Annex D of the IEEE 802.11 standard.
2063 - The bit rate currently in use for transmissions of unicast
2064 data frames; a data rate in units of 500kbit/s.
2065 On an infrastructure BSS, this is the data rate used in
2066 communicating with the associated access point; if there is
2067 none, an error is returned.
2068 On an IBSS, this is the data rate used for the last
2069 transmission of a unicast data frame to any station in the
2070 IBSS. If no such transmission has been made, an error is
2073 - As above for receiving data
2075 - See IEEE 802.11 Standard
2076 dot11MultipleRetryCount
2077 - See IEEE 802.11 Standard
2078 dot11AckFailureCount
2079 - See IEEE 802.11 Standard
2080 dot11FrameDuplicateCount
2081 - See IEEE 802.11 Standard
2083 - See IEEE 802.11 Standard
2084 dot11RtsSuccessCount
2085 - See IEEE 802.11 Standard
2086 dot11RtsFailureCount
2087 - See IEEE 802.11 Standard
2089 - See IEEE 802.11 Standard
2090 dot11TransmittedFragmentCount
2091 - See IEEE 802.11 Standard
2092 dot11TransmittedFrameCount
2093 - See IEEE 802.11 Standard
2094 dot11WepExcludedCount
2095 - See IEEE 802.11 Standard
2096 dot11WepIcvErrorCount
2097 - See IEEE 802.11 Standard
2098 dot11WepUndecryptableCount
2099 - See IEEE 802.11 Standard
2100 dot11MulticastReceivedFrameCount
2101 - See IEEE 802.11 Standard
2102 dot11MulticastTransmittedFrameCount
2103 - See IEEE 802.11 Standard
2104 dot11ReceivedFragmentCount
2105 - See IEEE 802.11 Standard
2106 dot11Rsna4WayHandshakeFailures
2107 - See IEEE 802.11 Standard
2108 dot11RsnaTkipCounterMeasuresInvoked
2109 - See IEEE 802.11 Standard
2110 dot11RsnaStatsTkipLocalMicFailures
2111 - See IEEE 802.11 Standard
2112 dot11RsnaStatsTkipReplays
2113 - See IEEE 802.11 Standard
2114 dot11RsnaStatsTkipIcvErrors
2115 - See IEEE 802.11 Standard
2116 dot11RsnaStatsCcmpReplays
2117 - See IEEE 802.11 Standard
2118 dot11RsnaStatsCcmpDecryptErrors
2119 - See IEEE 802.11 Standard
2121 *******************************************************************************/
2126 u32 dot11RetryCount;
2127 u32 dot11MultipleRetryCount;
2128 u32 dot11AckFailureCount;
2129 u32 dot11FrameDuplicateCount;
2130 u32 dot11FcsErrorCount;
2131 u32 dot11RtsSuccessCount;
2132 u32 dot11RtsFailureCount;
2133 u32 dot11FailedCount;
2134 u32 dot11TransmittedFragmentCount;
2135 u32 dot11TransmittedFrameCount;
2136 u32 dot11WepExcludedCount;
2137 u32 dot11WepIcvErrorCount;
2138 u32 dot11WepUndecryptableCount;
2139 u32 dot11MulticastReceivedFrameCount;
2140 u32 dot11MulticastTransmittedFrameCount;
2141 u32 dot11ReceivedFragmentCount;
2142 u32 dot11Rsna4WayHandshakeFailures;
2143 u32 dot11RsnaTkipCounterMeasuresInvoked;
2144 u32 dot11RsnaStatsTkipLocalMicFailures;
2145 u32 dot11RsnaStatsTkipReplays;
2146 u32 dot11RsnaStatsTkipIcvErrors;
2147 u32 dot11RsnaStatsCcmpReplays;
2148 u32 dot11RsnaStatsCcmpDecryptErrors;
2149 } CsrWifiSmeConnectionStats;
2151 /*******************************************************************************
2157 Holds a generic data block to be passed through the interface
2160 length - Length of the data block
2161 data - Points to the first byte of the data block
2163 *******************************************************************************/
2168 } CsrWifiSmeDataBlock;
2170 /*******************************************************************************
2176 Empty Structure to indicate that no parameters are available.
2179 empty - Only element of the empty structure (always set to 0).
2181 *******************************************************************************/
2187 /*******************************************************************************
2190 CsrWifiSmeLinkQuality
2193 Indicates the quality of the link
2196 unifiRssi - Indicates the received signal strength indication of the link in
2198 unifiSnr - Indicates the signal to noise ratio of the link in dB
2200 *******************************************************************************/
2205 } CsrWifiSmeLinkQuality;
2207 /*******************************************************************************
2213 Allows low level configuration in the chip.
2216 unifiFixMaxTxDataRate - This attribute is used in combination with
2217 unifiFixTxDataRate. If it is FALSE, then
2218 unifiFixTxDataRate specifies a specific data
2219 rate to use. If it is TRUE, unifiFixTxDataRate
2220 instead specifies a maximum data rate.
2221 unifiFixTxDataRate - Transmit rate for unicast data.
2222 See MIB description for more details
2223 dot11RtsThreshold - See IEEE 802.11 Standard
2224 dot11FragmentationThreshold - See IEEE 802.11 Standard
2225 dot11CurrentTxPowerLevel - See IEEE 802.11 Standard
2227 *******************************************************************************/
2230 u8 unifiFixMaxTxDataRate;
2231 u8 unifiFixTxDataRate;
2232 u16 dot11RtsThreshold;
2233 u16 dot11FragmentationThreshold;
2234 u16 dot11CurrentTxPowerLevel;
2235 } CsrWifiSmeMibConfig;
2237 /*******************************************************************************
2240 CsrWifiSmeP2pProfileIdentity
2243 Details to be filled in
2247 availabilityDuration -
2250 *******************************************************************************/
2254 u16 availabilityDuration;
2255 u16 avalabilityPeriod;
2256 } CsrWifiSmeP2pProfileIdentity;
2258 /*******************************************************************************
2264 Defines a PMKID association with BSS
2267 bssid - BSS identifier
2270 *******************************************************************************/
2273 CsrWifiMacAddress bssid;
2277 /*******************************************************************************
2280 CsrWifiSmePmkidCandidate
2283 Information for a PMKID candidate
2286 bssid - BSS identifier
2287 preAuthAllowed - Indicates whether preauthentication is allowed
2289 *******************************************************************************/
2292 CsrWifiMacAddress bssid;
2294 } CsrWifiSmePmkidCandidate;
2296 /*******************************************************************************
2303 Used in the Sync access API
2306 pmkidsCount - Number of PMKIDs in the list
2307 pmkids - Points to the first PMKID in the list
2309 *******************************************************************************/
2313 CsrWifiSmePmkid *pmkids;
2314 } CsrWifiSmePmkidList;
2316 /*******************************************************************************
2319 CsrWifiSmeRegulatoryDomainInfo
2322 Regulatory domain options.
2325 dot11MultiDomainCapabilityImplemented
2326 - TRUE is the multi domain capability is implemented
2327 dot11MultiDomainCapabilityEnabled
2328 - TRUE is the multi domain capability is enabled
2329 currentRegulatoryDomain
2330 - Current regulatory domain
2332 - Current country code as defined by the IEEE 802.11
2335 *******************************************************************************/
2338 u8 dot11MultiDomainCapabilityImplemented;
2339 u8 dot11MultiDomainCapabilityEnabled;
2340 CsrWifiSmeRegulatoryDomain currentRegulatoryDomain;
2341 u8 currentCountryCode[2];
2342 } CsrWifiSmeRegulatoryDomainInfo;
2344 /*******************************************************************************
2347 CsrWifiSmeRoamingBandData
2350 Thresholds to define one usability level category for the received signal
2353 rssiHighThreshold - Received Signal Strength Indication upper bound in dBm
2354 for the usability level
2355 rssiLowThreshold - Received Signal Strength Indication lower bound in dBm
2356 for the usability level
2357 snrHighThreshold - Signal to Noise Ratio upper bound in dB for the
2359 snrLowThreshold - Signal to Noise Ratio lower bound in dB for the
2362 *******************************************************************************/
2365 s16 rssiHighThreshold;
2366 s16 rssiLowThreshold;
2367 s16 snrHighThreshold;
2368 s16 snrLowThreshold;
2369 } CsrWifiSmeRoamingBandData;
2371 /*******************************************************************************
2374 CsrWifiSmeScanConfigData
2377 Configures the scanning behaviour of the driver and firmware
2380 intervalSeconds - All the channels will be scanned once in this time
2382 If connected, the channel scans are spread across
2384 If disconnected, all the channels will be scanned
2386 validitySeconds - How long the scan result are cached
2387 minActiveChannelTimeTu - Minimum time of listening on a channel being
2388 actively scanned before leaving if no probe
2389 responses or beacon frames have been received
2390 maxActiveChannelTimeTu - Maximum time of listening on a channel being
2392 minPassiveChannelTimeTu - Minimum time of listening on a channel being
2393 passive scanned before leaving if no beacon frames
2395 maxPassiveChannelTimeTu - Maximum time of listening on a channel being
2398 *******************************************************************************/
2401 u16 intervalSeconds;
2402 u16 validitySeconds;
2403 u16 minActiveChannelTimeTu;
2404 u16 maxActiveChannelTimeTu;
2405 u16 minPassiveChannelTimeTu;
2406 u16 maxPassiveChannelTimeTu;
2407 } CsrWifiSmeScanConfigData;
2409 /*******************************************************************************
2415 Time stamp representation
2420 *******************************************************************************/
2424 } CsrWifiSmeTsfTime;
2426 /*******************************************************************************
2432 Reports version information for the chip, the firmware and the driver and
2437 chipVersion - Chip version ID
2438 firmwareBuild - Firmware Rom build number
2439 firmwarePatch - Firmware Patch build number (if applicable)
2440 firmwareHip - Firmware HIP protocol version number
2441 routerBuild - Router build number
2442 routerHip - Router HIP protocol version number
2443 smeBuild - SME build number
2444 smeHip - SME HIP protocol version number
2446 *******************************************************************************/
2458 } CsrWifiSmeVersions;
2460 /*******************************************************************************
2463 CsrWifiSmeWmmAcParams
2466 Structure holding WMM AC params data.
2469 cwMin - Exponent for the calculation of CWmin. Range: 0
2471 cwMax - Exponent for the calculation of CWmax. Range: 0
2473 aifs - Arbitration Inter Frame Spacing in terms of
2474 number of timeslots. Range 2 to 15
2475 txopLimit - TXOP Limit in the units of 32 microseconds
2476 admissionControlMandatory - Indicates whether the admission control is
2477 mandatory or not. Current release does not
2478 support admission control , hence shall be set
2481 *******************************************************************************/
2488 u8 admissionControlMandatory;
2489 } CsrWifiSmeWmmAcParams;
2491 /*******************************************************************************
2494 CsrWifiSmeWpsDeviceType
2497 Structure holding AP WPS device type data.
2500 deviceDetails - category , sub category etc
2502 *******************************************************************************/
2505 u8 deviceDetails[8];
2506 } CsrWifiSmeWpsDeviceType;
2508 /*******************************************************************************
2511 CsrWifiSmeWpsDeviceTypeCommon
2519 *******************************************************************************/
2524 } CsrWifiSmeWpsDeviceTypeCommon;
2526 /*******************************************************************************
2538 *******************************************************************************/
2543 u16 devicePassworId;
2544 } CsrWifiSmeWpsInfo;
2546 /*******************************************************************************
2549 CsrWifiSmeCloakedSsidConfig
2552 List of cloaked SSIDs .
2555 cloakedSsidsCount - Number of cloaked SSID
2556 cloakedSsids - Points to the first byte of the first SSID provided
2558 *******************************************************************************/
2561 u8 cloakedSsidsCount;
2562 CsrWifiSsid *cloakedSsids;
2563 } CsrWifiSmeCloakedSsidConfig;
2565 /*******************************************************************************
2571 Information and state related to coexistence.
2574 hasTrafficData - TRUE if any Wi-Fi traffic is detected
2575 currentTrafficType - Current type of traffic
2576 currentPeriodMs - Period of the traffic as detected by the traffic
2578 If the traffic is not periodic, it is set to 0.
2579 currentPowerSave - Current power save level
2580 currentCoexPeriodMs - Period of awakening for the firmware used when
2581 periodic traffic is detected.
2582 If the traffic is not periodic, it is set to 0.
2583 currentCoexLatencyMs - Period of awakening for the firmware used when
2584 non-periodic traffic is detected
2585 hasBtDevice - TRUE if there is a Bluetooth device connected
2586 currentBlackoutDurationUs - Current blackout duration for protecting
2588 currentBlackoutPeriodUs - Current blackout period
2589 currentCoexScheme - Defines the scheme for the coexistence
2592 *******************************************************************************/
2596 CsrWifiSmeTrafficType currentTrafficType;
2597 u16 currentPeriodMs;
2598 CsrWifiSmePowerSaveLevel currentPowerSave;
2599 u16 currentCoexPeriodMs;
2600 u16 currentCoexLatencyMs;
2602 u32 currentBlackoutDurationUs;
2603 u32 currentBlackoutPeriodUs;
2604 CsrWifiSmeCoexScheme currentCoexScheme;
2605 } CsrWifiSmeCoexInfo;
2607 /*******************************************************************************
2610 CsrWifiSmeConnectionConfig
2613 Specifies the parameters that the SME should use in selecting a network.
2617 - Service Set identifier
2621 - Indicates the type of BSS
2623 - Indicates the radio interface
2625 - Specifies whether the privacy mode is enabled or disabled.
2627 - Sets the authentication options that the SME can use while
2628 associating to the AP
2629 Set mask with values from CsrWifiSmeAuthMode
2631 - Sets the encryption options that the SME can use while
2632 associating to the AP
2633 Set mask with values from CsrWifiSmeEncryption
2634 mlmeAssociateReqInformationElementsLength
2635 - Length in bytes of information elements to be sent in the
2636 Association Request.
2637 mlmeAssociateReqInformationElements
2638 - Points to the first byte of the information elements, if
2641 - This parameter allows the driver's WMM behaviour to be
2643 To enable support for WMM, use
2644 CSR_WIFI_SME_SME_CONFIG_SET_REQ with the
2645 CSR_WIFI_SME_WMM_MODE_AC_ENABLED bit set in wmmModeMask
2646 field in smeConfig parameter.
2647 Set mask with values from CsrWifiSmeWmmQosInfo
2649 - This parameter is relevant only if bssType is NOT set to
2650 CSR_WIFI_SME_BSS_TYPE_INFRASTRUCTURE:
2651 if TRUE the SME will only try to join an ad-hoc network if
2652 there is one already established;
2653 if FALSE the SME will try to join an ad-hoc network if
2654 there is one already established or it will try to
2657 - This parameter is relevant only if bssType is NOT set to
2658 CSR_WIFI_SME_BSS_TYPE_INFRASTRUCTURE:
2659 it indicates the channel to use joining an ad hoc network.
2660 Setting this to 0 causes the SME to select a channel from
2661 those permitted in the regulatory domain.
2663 *******************************************************************************/
2667 CsrWifiMacAddress bssid;
2668 CsrWifiSmeBssType bssType;
2669 CsrWifiSmeRadioIF ifIndex;
2670 CsrWifiSme80211PrivacyMode privacyMode;
2671 CsrWifiSmeAuthModeMask authModeMask;
2672 CsrWifiSmeEncryptionMask encryptionModeMask;
2673 u16 mlmeAssociateReqInformationElementsLength;
2674 u8 *mlmeAssociateReqInformationElements;
2675 CsrWifiSmeWmmQosInfoMask wmmQosInfo;
2678 } CsrWifiSmeConnectionConfig;
2680 /*******************************************************************************
2683 CsrWifiSmeConnectionInfo
2686 Parameters that the SME should use in selecting a network
2689 ssid - Service set identifier
2690 bssid - BSS identifier
2691 networkType80211 - Physical layer used for the connection
2692 channelNumber - Channel number
2693 channelFrequency - Channel frequency
2694 authMode - Authentication mode used for the connection
2695 pairwiseCipher - Encryption type for peer to peer communication
2696 groupCipher - Encryption type for broadcast and multicast
2698 ifIndex - Indicates the radio interface
2699 atimWindowTu - ATIM window specified for IBSS
2700 beaconPeriodTu - Interval between beacon packets
2701 reassociation - Indicates whether a reassociation occurred
2702 beaconFrameLength - Indicates the number of bytes of the beacon
2704 beaconFrame - Points at the first byte of the beacon frame
2705 associationReqFrameLength - Indicates the number of bytes of the
2706 association request frame
2707 associationReqFrame - Points at the first byte of the association
2709 associationRspFrameLength - Indicates the number of bytes of the
2710 association response frame
2711 associationRspFrame - Points at the first byte of the association
2713 assocScanInfoElementsLength - Indicates the number of bytes in the buffer
2714 pointed by assocScanInfoElements
2715 assocScanInfoElements - Pointer to the buffer containing the
2716 information elements of the probe response
2717 received after the probe requests sent before
2718 attempting to authenticate to the network
2719 assocReqCapabilities - Reports the content of the Capability
2720 information element as specified in the
2721 association request.
2722 assocReqListenIntervalTu - Listen Interval specified in the association
2724 assocReqApAddress - AP address to which the association requests
2726 assocReqInfoElementsLength - Indicates the number of bytes of the
2727 association request information elements
2728 assocReqInfoElements - Points at the first byte of the association
2729 request information elements
2730 assocRspResult - Result reported in the association response
2731 assocRspCapabilityInfo - Reports the content of the Capability
2732 information element as received in the
2733 association response.
2734 assocRspAssociationId - Reports the association ID received in the
2735 association response.
2736 assocRspInfoElementsLength - Indicates the number of bytes of the
2737 association response information elements
2738 assocRspInfoElements - Points at the first byte of the association
2739 response information elements
2741 *******************************************************************************/
2745 CsrWifiMacAddress bssid;
2746 CsrWifiSme80211NetworkType networkType80211;
2748 u16 channelFrequency;
2749 CsrWifiSmeAuthMode authMode;
2750 CsrWifiSmeEncryption pairwiseCipher;
2751 CsrWifiSmeEncryption groupCipher;
2752 CsrWifiSmeRadioIF ifIndex;
2756 u16 beaconFrameLength;
2758 u16 associationReqFrameLength;
2759 u8 *associationReqFrame;
2760 u16 associationRspFrameLength;
2761 u8 *associationRspFrame;
2762 u16 assocScanInfoElementsLength;
2763 u8 *assocScanInfoElements;
2764 u16 assocReqCapabilities;
2765 u16 assocReqListenIntervalTu;
2766 CsrWifiMacAddress assocReqApAddress;
2767 u16 assocReqInfoElementsLength;
2768 u8 *assocReqInfoElements;
2769 CsrWifiSmeIEEE80211Result assocRspResult;
2770 u16 assocRspCapabilityInfo;
2771 u16 assocRspAssociationId;
2772 u16 assocRspInfoElementsLength;
2773 u8 *assocRspInfoElements;
2774 } CsrWifiSmeConnectionInfo;
2776 /*******************************************************************************
2779 CsrWifiSmeDeviceConfig
2782 General configuration options in the SME
2785 trustLevel - Level of trust of the information coming from the
2787 countryCode - Country code as specified by IEEE 802.11 standard
2788 firmwareDriverInterface - Specifies the type of communication between Host
2790 enableStrictDraftN - If TRUE TKIP is disallowed when connecting to
2791 802.11n enabled access points
2793 *******************************************************************************/
2796 CsrWifiSme80211dTrustLevel trustLevel;
2798 CsrWifiSmeFirmwareDriverInterface firmwareDriverInterface;
2799 u8 enableStrictDraftN;
2800 } CsrWifiSmeDeviceConfig;
2802 /*******************************************************************************
2805 CsrWifiSmeDeviceInfo
2808 P2P Information for a P2P Device
2811 deviceAddress - Device Address of the P2P device
2812 configMethods - Supported WPS configuration methods.
2813 p2PDeviceCap - P2P device capabilities
2814 primDeviceType - Primary WPS device type
2815 secondaryDeviceTypeCount - Number of secondary device types
2816 secDeviceType - list of secondary WPS device types
2817 deviceName - Device name without up to 32 characters'\0'.
2818 deviceNameLength - Number of characters of the device name
2820 *******************************************************************************/
2823 CsrWifiMacAddress deviceAddress;
2824 CsrWifiSmeWpsConfigTypeMask configMethods;
2825 CsrWifiSmeP2pCapabilityMask p2PDeviceCap;
2826 CsrWifiSmeWpsDeviceType primDeviceType;
2827 u8 secondaryDeviceTypeCount;
2828 CsrWifiSmeWpsDeviceType *secDeviceType;
2830 u8 deviceNameLength;
2831 } CsrWifiSmeDeviceInfo;
2833 /*******************************************************************************
2836 CsrWifiSmeDeviceInfoCommon
2839 Structure holding device information.
2844 secondaryDeviceTypesCount -
2845 secondaryDeviceTypes -
2849 *******************************************************************************/
2852 CsrWifiMacAddress p2pDeviceAddress;
2853 CsrWifiSmeWpsDeviceTypeCommon primaryDeviceType;
2854 u8 secondaryDeviceTypesCount;
2855 u8 secondaryDeviceTypes[10];
2856 u8 deviceNameLength;
2858 } CsrWifiSmeDeviceInfoCommon;
2860 /*******************************************************************************
2863 CsrWifiSmeHostConfig
2866 Defines the host power state (for example, on mains power, on battery
2867 power etc) and the periodicity of the traffic data.
2870 powerMode - The wireless manager application should use the
2871 powerMode parameter to inform the SME of the host
2873 applicationDataPeriodMs - The applicationDataPeriodMs parameter allows a
2874 wireless manager application to inform the SME
2875 that an application is running that generates
2876 periodic network traffic and the period of the
2878 An example of such an application is a VoIP client.
2879 The wireless manager application should set
2880 applicationDataPeriodMs to the period in
2881 milliseconds between data packets or zero if no
2882 periodic application is running.
2883 Voip etc 0 = No Periodic Data
2885 *******************************************************************************/
2888 CsrWifiSmeHostPowerMode powerMode;
2889 u16 applicationDataPeriodMs;
2890 } CsrWifiSmeHostConfig;
2892 /*******************************************************************************
2898 Information for a key to be used for encryption
2901 keyType - Specifies whether the key is a pairwise or group key; it
2902 should be set to CSR_WIFI_SME_GROUP_KEY or
2903 CSR_WIFI_SME_PAIRWISE_KEY, as required.
2904 keyIndex - Specifies which WEP key (0-3) to set; it should be set to 0
2905 for a WPA/WPA2 pairwise key and non-zero for a WPA/WPA2
2907 wepTxKey - If wepTxKey is TRUE, and the key is a WEP key, the key will
2908 be selected for encrypting transmitted packets.
2909 To select a previously defined key as the transmit
2910 encryption key, set keyIndex to the required key, wepTxKey
2911 to TRUE and the keyLength to 0.
2912 keyRsc - Key Receive Sequence Counter
2913 authenticator - If TRUE the WMA will act as authenticator.
2914 CURRENTLY NOT SUPPORTED
2915 address - BSS identifier of the AP
2916 keyLength - Length of the key in bytes
2917 key - Points to the first byte of the key
2919 *******************************************************************************/
2922 CsrWifiSmeKeyType keyType;
2927 CsrWifiMacAddress address;
2932 /*******************************************************************************
2935 CsrWifiSmeP2pClientInfoType
2938 P2P Information for a P2P Client
2941 p2PClientInterfaceAddress - MAC address of the P2P Client
2942 clientDeviceInfo - Device Information
2944 *******************************************************************************/
2947 CsrWifiMacAddress p2PClientInterfaceAddress;
2948 CsrWifiSmeDeviceInfo clientDeviceInfo;
2949 } CsrWifiSmeP2pClientInfoType;
2951 /*******************************************************************************
2954 CsrWifiSmeP2pGroupInfo
2957 P2P Information for a P2P Group
2960 groupCapability - P2P group capabilities
2961 p2pDeviceAddress - Device Address of the GO
2962 p2pClientInfoCount - Number of P2P Clients that belong to the group.
2963 p2PClientInfo - Pointer to the list containing client information for
2964 each client in the group
2966 *******************************************************************************/
2969 CsrWifiSmeP2pGroupCapabilityMask groupCapability;
2970 CsrWifiMacAddress p2pDeviceAddress;
2971 u8 p2pClientInfoCount;
2972 CsrWifiSmeP2pClientInfoType *p2PClientInfo;
2973 } CsrWifiSmeP2pGroupInfo;
2975 /*******************************************************************************
2978 CsrWifiSmePowerConfig
2981 Configures the power-save behaviour of the driver and firmware.
2984 powerSaveLevel - Power Save Level option
2985 listenIntervalTu - Interval for waking to receive beacon frames
2986 rxDtims - If TRUE, wake for DTIM every beacon period, to
2987 allow the reception broadcast packets
2988 d3AutoScanMode - Defines whether the autonomous scanning will be
2989 turned off or will stay on during a D3 suspended
2991 clientTrafficWindow - Deprecated
2992 opportunisticPowerSave - Deprecated
2993 noticeOfAbsence - Deprecated
2995 *******************************************************************************/
2998 CsrWifiSmePowerSaveLevel powerSaveLevel;
2999 u16 listenIntervalTu;
3001 CsrWifiSmeD3AutoScanMode d3AutoScanMode;
3002 u8 clientTrafficWindow;
3003 u8 opportunisticPowerSave;
3005 } CsrWifiSmePowerConfig;
3007 /*******************************************************************************
3010 CsrWifiSmeRoamingConfig
3013 Configures the roaming behaviour of the driver and firmware
3016 roamingBands - Defines the thresholds to determine the usability
3017 level of the current connection.
3018 roamingBands is indexed by the first 3 entries of
3019 the CsrWifiSmeBasicUsability enum
3020 disableSmoothRoaming - Disable the RSSI/SNR triggers from the Firmware
3021 that the SME uses to detect the quality of the
3023 This implicitly disables disableRoamScans
3024 disableRoamScans - Disables the scanning for the roaming operation
3025 reconnectLimit - Maximum number of times SME may reconnect in the
3027 reconnectLimitIntervalMs - Interval for maximum number of times SME may
3028 reconnect to the same Access Point
3029 roamScanCfg - Scanning behaviour for the specifically aimed at
3030 improving roaming performance.
3031 roamScanCfg is indexed by the first 3 entries of
3032 the CsrWifiSmeBasicUsability enum
3034 *******************************************************************************/
3037 CsrWifiSmeRoamingBandData roamingBands[3];
3038 u8 disableSmoothRoaming;
3039 u8 disableRoamScans;
3041 u16 reconnectLimitIntervalMs;
3042 CsrWifiSmeScanConfigData roamScanCfg[3];
3043 } CsrWifiSmeRoamingConfig;
3045 /*******************************************************************************
3048 CsrWifiSmeScanConfig
3051 Parameters for the autonomous scanning behaviour of the system
3054 scanCfg - Scan configuration data.
3055 Indexed by the CsrWifiSmeBasicUsability enum
3056 disableAutonomousScans - Enables or disables the autonomous scan
3057 maxResults - Maximum number of results to be cached in the SME
3058 highRssiThreshold - High received signal strength indication threshold
3059 in dBm for an AP above which the system will
3060 report scan indications
3061 lowRssiThreshold - Low received signal strength indication threshold
3062 in dBm for an AP below which the system will
3063 report scan indications
3064 deltaRssiThreshold - Minimum difference for received signal strength
3065 indication in dBm for an AP which trigger a scan
3066 indication to be sent.
3067 highSnrThreshold - High Signal to Noise Ratio threshold in dB for an
3068 AP above which the system will report scan
3070 lowSnrThreshold - Low Signal to Noise Ratio threshold in dB for an
3071 AP below which the system will report scan
3073 deltaSnrThreshold - Minimum difference for Signal to Noise Ratio in dB
3074 for an AP which trigger a scan indication to be
3076 passiveChannelListCount - Number of channels to be scanned passively.
3077 passiveChannelList - Points to the first channel to be scanned
3080 *******************************************************************************/
3083 CsrWifiSmeScanConfigData scanCfg[4];
3084 u8 disableAutonomousScans;
3086 s8 highRssiThreshold;
3087 s8 lowRssiThreshold;
3088 s8 deltaRssiThreshold;
3089 s8 highSnrThreshold;
3091 s8 deltaSnrThreshold;
3092 u16 passiveChannelListCount;
3093 u8 *passiveChannelList;
3094 } CsrWifiSmeScanConfig;
3096 /*******************************************************************************
3099 CsrWifiSmeScanResult
3102 This structure defines the scan result for each BSS found
3105 ssid - Service set identifier
3106 bssid - BSS identifier
3107 rssi - Received signal strength indication in dBm
3108 snr - Signal to noise ratio in dB
3109 ifIndex - Indicates the radio interface
3110 beaconPeriodTu - Interval between beacon frames
3111 timeStamp - Timestamp in the BSS
3112 localTime - Timestamp in the Access Point
3113 channelFrequency - Channel frequency
3114 capabilityInformation - Capabilities of the BSS.
3115 channelNumber - Channel number
3116 usability - Indicates the usability level.
3117 bssType - Type of BSS.
3118 informationElementsLength - Number of bytes of the information elements
3119 received as part of the beacon or probe
3121 informationElements - Points to the first byte of the IEs received
3122 as part of the beacon or probe response.
3123 The format of the IEs is as specified in the
3124 IEEE 802.11 specification.
3125 p2pDeviceRole - Role of the P2P device.
3126 Relevant only if bssType is
3127 CSR_WIFI_SME_BSS_TYPE_P2P
3128 deviceInfo - Union containing P2P device info which
3129 depends on p2pDeviceRole parameter.
3130 deviceInforeservedCli -
3131 deviceInfogroupInfo -
3132 deviceInforeservedNone -
3133 deviceInfostandalonedevInfo -
3135 *******************************************************************************/
3139 CsrWifiMacAddress bssid;
3142 CsrWifiSmeRadioIF ifIndex;
3144 CsrWifiSmeTsfTime timeStamp;
3145 CsrWifiSmeTsfTime localTime;
3146 u16 channelFrequency;
3147 u16 capabilityInformation;
3149 CsrWifiSmeBasicUsability usability;
3150 CsrWifiSmeBssType bssType;
3151 u16 informationElementsLength;
3152 u8 *informationElements;
3153 CsrWifiSmeP2pRole p2pDeviceRole;
3155 CsrWifiSmeEmpty reservedCli;
3156 CsrWifiSmeP2pGroupInfo groupInfo;
3157 CsrWifiSmeEmpty reservedNone;
3158 CsrWifiSmeDeviceInfo standalonedevInfo;
3160 } CsrWifiSmeScanResult;
3162 /*******************************************************************************
3168 Station configuration options in the SME
3171 connectionQualityRssiChangeTrigger - Sets the difference of RSSI
3172 measurements which triggers reports
3174 connectionQualitySnrChangeTrigger - Sets the difference of SNR measurements
3175 which triggers reports from the
3177 wmmModeMask - Mask containing one or more values from
3179 ifIndex - Indicates the band of frequencies used
3180 allowUnicastUseGroupCipher - If TRUE, it allows to use groupwise
3181 keys if no pairwise key is specified
3182 enableOpportunisticKeyCaching - If TRUE, enables the Opportunistic Key
3185 *******************************************************************************/
3188 u8 connectionQualityRssiChangeTrigger;
3189 u8 connectionQualitySnrChangeTrigger;
3190 CsrWifiSmeWmmModeMask wmmModeMask;
3191 CsrWifiSmeRadioIF ifIndex;
3192 u8 allowUnicastUseGroupCipher;
3193 u8 enableOpportunisticKeyCaching;
3194 } CsrWifiSmeStaConfig;
3196 /*******************************************************************************
3199 CsrWifiSmeWep128Keys
3202 Structure holding WEP Authentication Type and WEP keys that can be used
3206 wepAuthType - Mask to select the WEP authentication type (Open or Shared)
3207 selectedWepKey - Index to one of the four keys below indicating the
3208 currently used WEP key. Mapping From SME/User -> firmware.
3209 Key 1 -> Index 0. Key 2 -> Index 1. key 3 -> Index 2. Key
3211 key1 - Value for key number 1.
3212 key2 - Value for key number 2.
3213 key3 - Value for key number 3.
3214 key4 - Value for key number 4.
3216 *******************************************************************************/
3219 CsrWifiSmeWepAuthMode wepAuthType;
3225 } CsrWifiSmeWep128Keys;
3227 /*******************************************************************************
3233 Structure holding WEP Authentication Type and WEP keys that can be used
3237 wepAuthType - Mask to select the WEP authentication type (Open or Shared)
3238 selectedWepKey - Index to one of the four keys below indicating the
3239 currently used WEP key. Mapping From SME/User -> firmware.
3240 Key 1 -> Index 0. Key 2 -> Index 1. key 3 -> Index 2. Key
3242 key1 - Value for key number 1.
3243 key2 - Value for key number 2.
3244 key3 - Value for key number 3.
3245 key4 - Value for key number 4.
3247 *******************************************************************************/
3250 CsrWifiSmeWepAuthMode wepAuthType;
3256 } CsrWifiSmeWep64Keys;
3258 /*******************************************************************************
3264 WEP authentication parameter structure
3267 wepKeyType - WEP key try (128 bit or 64 bit)
3268 wepCredentials - Union containing credentials which depends on
3269 wepKeyType parameter.
3270 wepCredentialswep128Key -
3271 wepCredentialswep64Key -
3273 *******************************************************************************/
3276 CsrWifiSmeWepCredentialType wepKeyType;
3278 CsrWifiSmeWep128Keys wep128Key;
3279 CsrWifiSmeWep64Keys wep64Key;
3281 } CsrWifiSmeWepAuth;
3283 /*******************************************************************************
3289 Structure holding AP WPS Config data.
3292 wpsVersion - wpsVersion should be 0x10 for WPS1.0h or 0x20 for
3295 deviceName - Device name upto 32 characters without '\0'.
3296 deviceNameLength - deviceNameLen.
3297 manufacturer - manufacturer: CSR
3298 manufacturerLength - manufacturerLen.
3299 modelName - modelName Unifi
3300 modelNameLength - modelNameLen.
3301 modelNumber - modelNumber
3302 modelNumberLength - modelNumberLen.
3303 serialNumber - serialNumber
3304 primDeviceType - Primary WPS device type
3305 secondaryDeviceTypeCount - Number of secondary device types
3306 secondaryDeviceType - list of secondary WPS device types
3307 configMethods - Supported WPS config methods
3309 osVersion - Os version on which the device is running
3311 *******************************************************************************/
3317 u8 deviceNameLength;
3318 u8 manufacturer[64];
3319 u8 manufacturerLength;
3323 u8 modelNumberLength;
3324 u8 serialNumber[32];
3325 CsrWifiSmeWpsDeviceType primDeviceType;
3326 u8 secondaryDeviceTypeCount;
3327 CsrWifiSmeWpsDeviceType *secondaryDeviceType;
3328 CsrWifiSmeWpsConfigTypeMask configMethods;
3331 } CsrWifiSmeWpsConfig;
3335 #define CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST (0x0000)
3337 #define CSR_WIFI_SME_ACTIVATE_REQ ((CsrWifiSmePrim) (0x0000 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3338 #define CSR_WIFI_SME_ADHOC_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0001 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3339 #define CSR_WIFI_SME_ADHOC_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0002 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3340 #define CSR_WIFI_SME_BLACKLIST_REQ ((CsrWifiSmePrim) (0x0003 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3341 #define CSR_WIFI_SME_CALIBRATION_DATA_GET_REQ ((CsrWifiSmePrim) (0x0004 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3342 #define CSR_WIFI_SME_CALIBRATION_DATA_SET_REQ ((CsrWifiSmePrim) (0x0005 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3343 #define CSR_WIFI_SME_CCX_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0006 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3344 #define CSR_WIFI_SME_CCX_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0007 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3345 #define CSR_WIFI_SME_COEX_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0008 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3346 #define CSR_WIFI_SME_COEX_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0009 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3347 #define CSR_WIFI_SME_COEX_INFO_GET_REQ ((CsrWifiSmePrim) (0x000A + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3348 #define CSR_WIFI_SME_CONNECT_REQ ((CsrWifiSmePrim) (0x000B + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3349 #define CSR_WIFI_SME_CONNECTION_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x000C + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3350 #define CSR_WIFI_SME_CONNECTION_INFO_GET_REQ ((CsrWifiSmePrim) (0x000D + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3351 #define CSR_WIFI_SME_CONNECTION_STATS_GET_REQ ((CsrWifiSmePrim) (0x000E + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3352 #define CSR_WIFI_SME_DEACTIVATE_REQ ((CsrWifiSmePrim) (0x000F + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3353 #define CSR_WIFI_SME_DISCONNECT_REQ ((CsrWifiSmePrim) (0x0010 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3354 #define CSR_WIFI_SME_EVENT_MASK_SET_REQ ((CsrWifiSmePrim) (0x0011 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3355 #define CSR_WIFI_SME_HOST_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0012 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3356 #define CSR_WIFI_SME_HOST_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0013 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3357 #define CSR_WIFI_SME_KEY_REQ ((CsrWifiSmePrim) (0x0014 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3358 #define CSR_WIFI_SME_LINK_QUALITY_GET_REQ ((CsrWifiSmePrim) (0x0015 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3359 #define CSR_WIFI_SME_MIB_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0016 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3360 #define CSR_WIFI_SME_MIB_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0017 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3361 #define CSR_WIFI_SME_MIB_GET_NEXT_REQ ((CsrWifiSmePrim) (0x0018 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3362 #define CSR_WIFI_SME_MIB_GET_REQ ((CsrWifiSmePrim) (0x0019 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3363 #define CSR_WIFI_SME_MIB_SET_REQ ((CsrWifiSmePrim) (0x001A + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3364 #define CSR_WIFI_SME_MULTICAST_ADDRESS_REQ ((CsrWifiSmePrim) (0x001B + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3365 #define CSR_WIFI_SME_PACKET_FILTER_SET_REQ ((CsrWifiSmePrim) (0x001C + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3366 #define CSR_WIFI_SME_PERMANENT_MAC_ADDRESS_GET_REQ ((CsrWifiSmePrim) (0x001D + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3367 #define CSR_WIFI_SME_PMKID_REQ ((CsrWifiSmePrim) (0x001E + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3368 #define CSR_WIFI_SME_POWER_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x001F + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3369 #define CSR_WIFI_SME_POWER_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0020 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3370 #define CSR_WIFI_SME_REGULATORY_DOMAIN_INFO_GET_REQ ((CsrWifiSmePrim) (0x0021 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3371 #define CSR_WIFI_SME_ROAMING_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0022 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3372 #define CSR_WIFI_SME_ROAMING_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0023 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3373 #define CSR_WIFI_SME_SCAN_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0024 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3374 #define CSR_WIFI_SME_SCAN_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0025 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3375 #define CSR_WIFI_SME_SCAN_FULL_REQ ((CsrWifiSmePrim) (0x0026 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3376 #define CSR_WIFI_SME_SCAN_RESULTS_FLUSH_REQ ((CsrWifiSmePrim) (0x0027 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3377 #define CSR_WIFI_SME_SCAN_RESULTS_GET_REQ ((CsrWifiSmePrim) (0x0028 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3378 #define CSR_WIFI_SME_SME_STA_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0029 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3379 #define CSR_WIFI_SME_SME_STA_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x002A + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3380 #define CSR_WIFI_SME_STATION_MAC_ADDRESS_GET_REQ ((CsrWifiSmePrim) (0x002B + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3381 #define CSR_WIFI_SME_TSPEC_REQ ((CsrWifiSmePrim) (0x002C + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3382 #define CSR_WIFI_SME_VERSIONS_GET_REQ ((CsrWifiSmePrim) (0x002D + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3383 #define CSR_WIFI_SME_WIFI_FLIGHTMODE_REQ ((CsrWifiSmePrim) (0x002E + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3384 #define CSR_WIFI_SME_WIFI_OFF_REQ ((CsrWifiSmePrim) (0x002F + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3385 #define CSR_WIFI_SME_WIFI_ON_REQ ((CsrWifiSmePrim) (0x0030 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3386 #define CSR_WIFI_SME_CLOAKED_SSIDS_SET_REQ ((CsrWifiSmePrim) (0x0031 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3387 #define CSR_WIFI_SME_CLOAKED_SSIDS_GET_REQ ((CsrWifiSmePrim) (0x0032 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3388 #define CSR_WIFI_SME_SME_COMMON_CONFIG_GET_REQ ((CsrWifiSmePrim) (0x0033 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3389 #define CSR_WIFI_SME_SME_COMMON_CONFIG_SET_REQ ((CsrWifiSmePrim) (0x0034 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3390 #define CSR_WIFI_SME_INTERFACE_CAPABILITY_GET_REQ ((CsrWifiSmePrim) (0x0035 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3391 #define CSR_WIFI_SME_WPS_CONFIGURATION_REQ ((CsrWifiSmePrim) (0x0036 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3392 #define CSR_WIFI_SME_SET_REQ ((CsrWifiSmePrim) (0x0037 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST))
3395 #define CSR_WIFI_SME_PRIM_DOWNSTREAM_HIGHEST (0x0037 + CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST)
3398 #define CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST (0x0000 + CSR_PRIM_UPSTREAM)
3400 #define CSR_WIFI_SME_ACTIVATE_CFM ((CsrWifiSmePrim)(0x0000 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3401 #define CSR_WIFI_SME_ADHOC_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x0001 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3402 #define CSR_WIFI_SME_ADHOC_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x0002 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3403 #define CSR_WIFI_SME_ASSOCIATION_COMPLETE_IND ((CsrWifiSmePrim)(0x0003 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3404 #define CSR_WIFI_SME_ASSOCIATION_START_IND ((CsrWifiSmePrim)(0x0004 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3405 #define CSR_WIFI_SME_BLACKLIST_CFM ((CsrWifiSmePrim)(0x0005 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3406 #define CSR_WIFI_SME_CALIBRATION_DATA_GET_CFM ((CsrWifiSmePrim)(0x0006 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3407 #define CSR_WIFI_SME_CALIBRATION_DATA_SET_CFM ((CsrWifiSmePrim)(0x0007 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3408 #define CSR_WIFI_SME_CCX_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x0008 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3409 #define CSR_WIFI_SME_CCX_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x0009 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3410 #define CSR_WIFI_SME_COEX_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x000A + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3411 #define CSR_WIFI_SME_COEX_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x000B + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3412 #define CSR_WIFI_SME_COEX_INFO_GET_CFM ((CsrWifiSmePrim)(0x000C + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3413 #define CSR_WIFI_SME_CONNECT_CFM ((CsrWifiSmePrim)(0x000D + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3414 #define CSR_WIFI_SME_CONNECTION_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x000E + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3415 #define CSR_WIFI_SME_CONNECTION_INFO_GET_CFM ((CsrWifiSmePrim)(0x000F + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3416 #define CSR_WIFI_SME_CONNECTION_QUALITY_IND ((CsrWifiSmePrim)(0x0010 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3417 #define CSR_WIFI_SME_CONNECTION_STATS_GET_CFM ((CsrWifiSmePrim)(0x0011 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3418 #define CSR_WIFI_SME_DEACTIVATE_CFM ((CsrWifiSmePrim)(0x0012 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3419 #define CSR_WIFI_SME_DISCONNECT_CFM ((CsrWifiSmePrim)(0x0013 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3420 #define CSR_WIFI_SME_EVENT_MASK_SET_CFM ((CsrWifiSmePrim)(0x0014 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3421 #define CSR_WIFI_SME_HOST_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x0015 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3422 #define CSR_WIFI_SME_HOST_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x0016 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3423 #define CSR_WIFI_SME_IBSS_STATION_IND ((CsrWifiSmePrim)(0x0017 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3424 #define CSR_WIFI_SME_KEY_CFM ((CsrWifiSmePrim)(0x0018 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3425 #define CSR_WIFI_SME_LINK_QUALITY_GET_CFM ((CsrWifiSmePrim)(0x0019 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3426 #define CSR_WIFI_SME_MEDIA_STATUS_IND ((CsrWifiSmePrim)(0x001A + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3427 #define CSR_WIFI_SME_MIB_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x001B + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3428 #define CSR_WIFI_SME_MIB_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x001C + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3429 #define CSR_WIFI_SME_MIB_GET_CFM ((CsrWifiSmePrim)(0x001D + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3430 #define CSR_WIFI_SME_MIB_GET_NEXT_CFM ((CsrWifiSmePrim)(0x001E + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3431 #define CSR_WIFI_SME_MIB_SET_CFM ((CsrWifiSmePrim)(0x001F + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3432 #define CSR_WIFI_SME_MIC_FAILURE_IND ((CsrWifiSmePrim)(0x0020 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3433 #define CSR_WIFI_SME_MULTICAST_ADDRESS_CFM ((CsrWifiSmePrim)(0x0021 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3434 #define CSR_WIFI_SME_PACKET_FILTER_SET_CFM ((CsrWifiSmePrim)(0x0022 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3435 #define CSR_WIFI_SME_PERMANENT_MAC_ADDRESS_GET_CFM ((CsrWifiSmePrim)(0x0023 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3436 #define CSR_WIFI_SME_PMKID_CANDIDATE_LIST_IND ((CsrWifiSmePrim)(0x0024 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3437 #define CSR_WIFI_SME_PMKID_CFM ((CsrWifiSmePrim)(0x0025 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3438 #define CSR_WIFI_SME_POWER_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x0026 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3439 #define CSR_WIFI_SME_POWER_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x0027 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3440 #define CSR_WIFI_SME_REGULATORY_DOMAIN_INFO_GET_CFM ((CsrWifiSmePrim)(0x0028 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3441 #define CSR_WIFI_SME_ROAM_COMPLETE_IND ((CsrWifiSmePrim)(0x0029 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3442 #define CSR_WIFI_SME_ROAM_START_IND ((CsrWifiSmePrim)(0x002A + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3443 #define CSR_WIFI_SME_ROAMING_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x002B + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3444 #define CSR_WIFI_SME_ROAMING_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x002C + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3445 #define CSR_WIFI_SME_SCAN_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x002D + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3446 #define CSR_WIFI_SME_SCAN_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x002E + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3447 #define CSR_WIFI_SME_SCAN_FULL_CFM ((CsrWifiSmePrim)(0x002F + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3448 #define CSR_WIFI_SME_SCAN_RESULT_IND ((CsrWifiSmePrim)(0x0030 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3449 #define CSR_WIFI_SME_SCAN_RESULTS_FLUSH_CFM ((CsrWifiSmePrim)(0x0031 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3450 #define CSR_WIFI_SME_SCAN_RESULTS_GET_CFM ((CsrWifiSmePrim)(0x0032 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3451 #define CSR_WIFI_SME_SME_STA_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x0033 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3452 #define CSR_WIFI_SME_SME_STA_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x0034 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3453 #define CSR_WIFI_SME_STATION_MAC_ADDRESS_GET_CFM ((CsrWifiSmePrim)(0x0035 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3454 #define CSR_WIFI_SME_TSPEC_IND ((CsrWifiSmePrim)(0x0036 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3455 #define CSR_WIFI_SME_TSPEC_CFM ((CsrWifiSmePrim)(0x0037 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3456 #define CSR_WIFI_SME_VERSIONS_GET_CFM ((CsrWifiSmePrim)(0x0038 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3457 #define CSR_WIFI_SME_WIFI_FLIGHTMODE_CFM ((CsrWifiSmePrim)(0x0039 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3458 #define CSR_WIFI_SME_WIFI_OFF_IND ((CsrWifiSmePrim)(0x003A + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3459 #define CSR_WIFI_SME_WIFI_OFF_CFM ((CsrWifiSmePrim)(0x003B + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3460 #define CSR_WIFI_SME_WIFI_ON_CFM ((CsrWifiSmePrim)(0x003C + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3461 #define CSR_WIFI_SME_CLOAKED_SSIDS_SET_CFM ((CsrWifiSmePrim)(0x003D + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3462 #define CSR_WIFI_SME_CLOAKED_SSIDS_GET_CFM ((CsrWifiSmePrim)(0x003E + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3463 #define CSR_WIFI_SME_WIFI_ON_IND ((CsrWifiSmePrim)(0x003F + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3464 #define CSR_WIFI_SME_SME_COMMON_CONFIG_GET_CFM ((CsrWifiSmePrim)(0x0040 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3465 #define CSR_WIFI_SME_SME_COMMON_CONFIG_SET_CFM ((CsrWifiSmePrim)(0x0041 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3466 #define CSR_WIFI_SME_INTERFACE_CAPABILITY_GET_CFM ((CsrWifiSmePrim)(0x0042 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3467 #define CSR_WIFI_SME_ERROR_IND ((CsrWifiSmePrim)(0x0043 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3468 #define CSR_WIFI_SME_INFO_IND ((CsrWifiSmePrim)(0x0044 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3469 #define CSR_WIFI_SME_CORE_DUMP_IND ((CsrWifiSmePrim)(0x0045 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3470 #define CSR_WIFI_SME_AMP_STATUS_CHANGE_IND ((CsrWifiSmePrim)(0x0046 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3471 #define CSR_WIFI_SME_WPS_CONFIGURATION_CFM ((CsrWifiSmePrim)(0x0047 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST))
3473 #define CSR_WIFI_SME_PRIM_UPSTREAM_HIGHEST (0x0047 + CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST)
3475 #define CSR_WIFI_SME_PRIM_DOWNSTREAM_COUNT (CSR_WIFI_SME_PRIM_DOWNSTREAM_HIGHEST + 1 - CSR_WIFI_SME_PRIM_DOWNSTREAM_LOWEST)
3476 #define CSR_WIFI_SME_PRIM_UPSTREAM_COUNT (CSR_WIFI_SME_PRIM_UPSTREAM_HIGHEST + 1 - CSR_WIFI_SME_PRIM_UPSTREAM_LOWEST)
3478 /*******************************************************************************
3481 CsrWifiSmeActivateReq
3484 The WMA sends this primitive to activate the SME.
3485 The WMA must activate the SME before it can send any other primitive.
3488 common - Common header for use with the CsrWifiFsm Module
3490 *******************************************************************************/
3493 CsrWifiFsmEvent common;
3494 } CsrWifiSmeActivateReq;
3496 /*******************************************************************************
3499 CsrWifiSmeAdhocConfigGetReq
3502 This primitive gets the value of the adHocConfig parameter.
3505 common - Common header for use with the CsrWifiFsm Module
3507 *******************************************************************************/
3510 CsrWifiFsmEvent common;
3511 } CsrWifiSmeAdhocConfigGetReq;
3513 /*******************************************************************************
3516 CsrWifiSmeAdhocConfigSetReq
3519 This primitive sets the value of the adHocConfig parameter.
3522 common - Common header for use with the CsrWifiFsm Module
3523 adHocConfig - Sets the values to use when starting an ad hoc network.
3525 *******************************************************************************/
3528 CsrWifiFsmEvent common;
3529 CsrWifiSmeAdHocConfig adHocConfig;
3530 } CsrWifiSmeAdhocConfigSetReq;
3532 /*******************************************************************************
3535 CsrWifiSmeBlacklistReq
3538 The wireless manager application should call this primitive to notify the
3539 driver of any networks that should not be connected to. The interface
3540 allows the wireless manager application to query, add, remove, and flush
3541 the BSSIDs that the driver may not connect or roam to.
3542 When this primitive adds to the black list the BSSID to which the SME is
3543 currently connected, the SME will try to roam, if applicable, to another
3544 BSSID in the same ESS; if the roaming procedure fails, the SME will
3548 common - Common header for use with the CsrWifiFsm Module
3549 interfaceTag - Interface Identifier; unique identifier of an interface
3550 action - The value of the CsrWifiSmeListAction parameter instructs
3551 the driver to modify or provide the list of blacklisted
3553 setAddressCount - Number of BSSIDs sent with this primitive
3554 setAddresses - Pointer to the list of BBSIDs sent with the primitive, set
3555 to NULL if none is sent.
3557 *******************************************************************************/
3560 CsrWifiFsmEvent common;
3562 CsrWifiSmeListAction action;
3564 CsrWifiMacAddress *setAddresses;
3565 } CsrWifiSmeBlacklistReq;
3567 /*******************************************************************************
3570 CsrWifiSmeCalibrationDataGetReq
3573 This primitive retrieves the Wi-Fi radio calibration data.
3576 common - Common header for use with the CsrWifiFsm Module
3578 *******************************************************************************/
3581 CsrWifiFsmEvent common;
3582 } CsrWifiSmeCalibrationDataGetReq;
3584 /*******************************************************************************
3587 CsrWifiSmeCalibrationDataSetReq
3590 This primitive sets the Wi-Fi radio calibration data.
3591 The usage of the primitive with proper calibration data will avoid
3592 time-consuming configuration after power-up.
3595 common - Common header for use with the CsrWifiFsm Module
3596 calibrationDataLength - Number of bytes in the buffer pointed by
3598 calibrationData - Pointer to a buffer of length calibrationDataLength
3599 containing the calibration data
3601 *******************************************************************************/
3604 CsrWifiFsmEvent common;
3605 u16 calibrationDataLength;
3606 u8 *calibrationData;
3607 } CsrWifiSmeCalibrationDataSetReq;
3609 /*******************************************************************************
3612 CsrWifiSmeCcxConfigGetReq
3615 This primitive gets the value of the CcxConfig parameter.
3616 CURRENTLY NOT SUPPORTED.
3619 common - Common header for use with the CsrWifiFsm Module
3620 interfaceTag - Interface Identifier; unique identifier of an interface
3622 *******************************************************************************/
3625 CsrWifiFsmEvent common;
3627 } CsrWifiSmeCcxConfigGetReq;
3629 /*******************************************************************************
3632 CsrWifiSmeCcxConfigSetReq
3635 This primitive sets the value of the CcxConfig parameter.
3636 CURRENTLY NOT SUPPORTED.
3639 common - Common header for use with the CsrWifiFsm Module
3640 interfaceTag - Interface Identifier; unique identifier of an interface
3641 ccxConfig - Currently not supported
3643 *******************************************************************************/
3646 CsrWifiFsmEvent common;
3648 CsrWifiSmeCcxConfig ccxConfig;
3649 } CsrWifiSmeCcxConfigSetReq;
3651 /*******************************************************************************
3654 CsrWifiSmeCoexConfigGetReq
3657 This primitive gets the value of the CoexConfig parameter.
3660 common - Common header for use with the CsrWifiFsm Module
3662 *******************************************************************************/
3665 CsrWifiFsmEvent common;
3666 } CsrWifiSmeCoexConfigGetReq;
3668 /*******************************************************************************
3671 CsrWifiSmeCoexConfigSetReq
3674 This primitive sets the value of the CoexConfig parameter.
3677 common - Common header for use with the CsrWifiFsm Module
3678 coexConfig - Configures the coexistence behaviour
3680 *******************************************************************************/
3683 CsrWifiFsmEvent common;
3684 CsrWifiSmeCoexConfig coexConfig;
3685 } CsrWifiSmeCoexConfigSetReq;
3687 /*******************************************************************************
3690 CsrWifiSmeCoexInfoGetReq
3693 This primitive gets the value of the CoexInfo parameter.
3696 common - Common header for use with the CsrWifiFsm Module
3698 *******************************************************************************/
3701 CsrWifiFsmEvent common;
3702 } CsrWifiSmeCoexInfoGetReq;
3704 /*******************************************************************************
3707 CsrWifiSmeConnectReq
3710 The wireless manager application calls this primitive to start the
3711 process of joining an 802.11 wireless network or to start an ad hoc
3713 The structure pointed by connectionConfig contains parameters describing
3714 the network to join or, in case of an ad hoc network, to host or join.
3715 The SME will select a network, perform the IEEE 802.11 Join, Authenticate
3716 and Associate exchanges.
3717 The SME selects the networks from the current scan list that match both
3718 the SSID and BSSID, however either or both of these may be the wildcard
3719 value. Using this rule, the following operations are possible:
3720 * To connect to a network by name, specify the SSID and set the BSSID to
3721 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. If there are two or more networks visible,
3722 the SME will select the one with the strongest signal.
3723 * To connect to a specific network, specify the BSSID. The SSID is
3724 optional, but if given it must match the SSID of the network. An empty
3725 SSID may be specified by setting the SSID length to zero. Please note
3726 that if the BSSID is specified (i.e. not equal to 0xFF 0xFF 0xFF 0xFF
3727 0xFF 0xFF), the SME will not attempt to roam if signal conditions become
3728 poor, even if there is an alternative AP with an SSID that matches the
3729 current network SSID.
3730 * To connect to any network matching the other parameters (i.e. security,
3731 etc), set the SSID length to zero and set the BSSID to 0xFF 0xFF 0xFF
3732 0xFF 0xFF 0xFF. In this case, the SME will order all available networks
3733 by their signal strengths and will iterate through this list until it
3734 successfully connects.
3735 NOTE: Specifying the BSSID will restrict the selection to one specific
3736 network. If SSID and BSSID are given, they must both match the network
3737 for it to be selected. To select a network based on the SSID only, the
3738 wireless manager application must set the BSSID to 0xFF 0xFF 0xFF 0xFF
3740 The SME will try to connect to each network that matches the provided
3741 parameters, one by one, until it succeeds or has tried unsuccessfully
3742 with all the matching networks.
3743 If there is no network that matches the parameters and the request allows
3744 to host an ad hoc network, the SME will advertise a new ad hoc network
3746 If the SME cannot connect, it will notify the failure in the confirm.
3749 common - Common header for use with the CsrWifiFsm Module
3750 interfaceTag - Interface Identifier; unique identifier of an interface
3751 connectionConfig - Describes the candidate network to join or to host.
3753 *******************************************************************************/
3756 CsrWifiFsmEvent common;
3758 CsrWifiSmeConnectionConfig connectionConfig;
3759 } CsrWifiSmeConnectReq;
3761 /*******************************************************************************
3764 CsrWifiSmeConnectionConfigGetReq
3767 This primitive gets the value of the ConnectionConfig parameter.
3770 common - Common header for use with the CsrWifiFsm Module
3771 interfaceTag - Interface Identifier; unique identifier of an interface
3773 *******************************************************************************/
3776 CsrWifiFsmEvent common;
3778 } CsrWifiSmeConnectionConfigGetReq;
3780 /*******************************************************************************
3783 CsrWifiSmeConnectionInfoGetReq
3786 This primitive gets the value of the ConnectionInfo parameter.
3789 common - Common header for use with the CsrWifiFsm Module
3790 interfaceTag - Interface Identifier; unique identifier of an interface
3792 *******************************************************************************/
3795 CsrWifiFsmEvent common;
3797 } CsrWifiSmeConnectionInfoGetReq;
3799 /*******************************************************************************
3802 CsrWifiSmeConnectionStatsGetReq
3805 This primitive gets the value of the ConnectionStats parameter.
3808 common - Common header for use with the CsrWifiFsm Module
3809 interfaceTag - Interface Identifier; unique identifier of an interface
3811 *******************************************************************************/
3814 CsrWifiFsmEvent common;
3816 } CsrWifiSmeConnectionStatsGetReq;
3818 /*******************************************************************************
3821 CsrWifiSmeDeactivateReq
3824 The WMA sends this primitive to deactivate the SME.
3827 common - Common header for use with the CsrWifiFsm Module
3829 *******************************************************************************/
3832 CsrWifiFsmEvent common;
3833 } CsrWifiSmeDeactivateReq;
3835 /*******************************************************************************
3838 CsrWifiSmeDisconnectReq
3841 The wireless manager application may disconnect from the current network
3842 by calling this primitive
3845 common - Common header for use with the CsrWifiFsm Module
3846 interfaceTag - Interface Identifier; unique identifier of an interface
3848 *******************************************************************************/
3851 CsrWifiFsmEvent common;
3853 } CsrWifiSmeDisconnectReq;
3855 /*******************************************************************************
3858 CsrWifiSmeEventMaskSetReq
3861 The wireless manager application may register with the SME to receive
3862 notification of interesting events. Indications will be sent only if the
3863 wireless manager explicitly registers to be notified of that event.
3864 indMask is a bit mask of values defined in CsrWifiSmeIndicationsMask.
3867 common - Common header for use with the CsrWifiFsm Module
3868 indMask - Set mask with values from CsrWifiSmeIndications
3870 *******************************************************************************/
3873 CsrWifiFsmEvent common;
3874 CsrWifiSmeIndicationsMask indMask;
3875 } CsrWifiSmeEventMaskSetReq;
3877 /*******************************************************************************
3880 CsrWifiSmeHostConfigGetReq
3883 This primitive gets the value of the hostConfig parameter.
3886 common - Common header for use with the CsrWifiFsm Module
3887 interfaceTag - Interface Identifier; unique identifier of an interface
3889 *******************************************************************************/
3892 CsrWifiFsmEvent common;
3894 } CsrWifiSmeHostConfigGetReq;
3896 /*******************************************************************************
3899 CsrWifiSmeHostConfigSetReq
3902 This primitive sets the value of the hostConfig parameter.
3905 common - Common header for use with the CsrWifiFsm Module
3906 interfaceTag - Interface Identifier; unique identifier of an interface
3907 hostConfig - Communicates a change of host power state (for example, on
3908 mains power, on battery power etc) and of the periodicity of
3911 *******************************************************************************/
3914 CsrWifiFsmEvent common;
3916 CsrWifiSmeHostConfig hostConfig;
3917 } CsrWifiSmeHostConfigSetReq;
3919 /*******************************************************************************
3925 The wireless manager application calls this primitive to add or remove
3926 keys that the chip should use for encryption of data.
3927 The interface allows the wireless manager application to add and remove
3928 keys according to the specified action.
3931 common - Common header for use with the CsrWifiFsm Module
3932 interfaceTag - Interface Identifier; unique identifier of an interface
3933 action - The value of the CsrWifiSmeListAction parameter instructs the
3934 driver to modify or provide the list of keys.
3935 CSR_WIFI_SME_LIST_ACTION_GET is not supported here.
3936 key - Key to be added or removed
3938 *******************************************************************************/
3941 CsrWifiFsmEvent common;
3943 CsrWifiSmeListAction action;
3947 /*******************************************************************************
3950 CsrWifiSmeLinkQualityGetReq
3953 This primitive gets the value of the LinkQuality parameter.
3956 common - Common header for use with the CsrWifiFsm Module
3957 interfaceTag - Interface Identifier; unique identifier of an interface
3959 *******************************************************************************/
3962 CsrWifiFsmEvent common;
3964 } CsrWifiSmeLinkQualityGetReq;
3966 /*******************************************************************************
3969 CsrWifiSmeMibConfigGetReq
3972 This primitive gets the value of the MibConfig parameter.
3975 common - Common header for use with the CsrWifiFsm Module
3977 *******************************************************************************/
3980 CsrWifiFsmEvent common;
3981 } CsrWifiSmeMibConfigGetReq;
3983 /*******************************************************************************
3986 CsrWifiSmeMibConfigSetReq
3989 This primitive sets the value of the MibConfig parameter.
3992 common - Common header for use with the CsrWifiFsm Module
3993 mibConfig - Conveys the desired value of various IEEE 802.11 attributes as
3994 currently configured
3996 *******************************************************************************/
3999 CsrWifiFsmEvent common;
4000 CsrWifiSmeMibConfig mibConfig;
4001 } CsrWifiSmeMibConfigSetReq;
4003 /*******************************************************************************
4006 CsrWifiSmeMibGetNextReq
4009 To read a sequence of MIB parameters, for example a table, call this
4010 primitive to find the name of the next MIB variable
4013 common - Common header for use with the CsrWifiFsm Module
4014 mibAttributeLength - Length of mibAttribute
4015 mibAttribute - Points to a VarBind or VarBindList containing the
4016 name(s) of the MIB variable(s) to search from.
4018 *******************************************************************************/
4021 CsrWifiFsmEvent common;
4022 u16 mibAttributeLength;
4024 } CsrWifiSmeMibGetNextReq;
4026 /*******************************************************************************
4032 The wireless manager application calls this primitive to retrieve one or
4036 common - Common header for use with the CsrWifiFsm Module
4037 mibAttributeLength - Length of mibAttribute
4038 mibAttribute - Points to the VarBind or VarBindList containing the
4039 names of the MIB variables to be retrieved
4041 *******************************************************************************/
4044 CsrWifiFsmEvent common;
4045 u16 mibAttributeLength;
4047 } CsrWifiSmeMibGetReq;
4049 /*******************************************************************************
4055 The SME provides raw access to the MIB on the chip, which may be used by
4056 some configuration or diagnostic utilities, but is not normally needed by
4057 the wireless manager application.
4058 The MIB access functions use BER encoded names (OID) of the MIB
4059 parameters and BER encoded values, as described in the chip Host
4060 Interface Protocol Specification.
4061 The MIB parameters are described in 'Wi-Fi 5.0.0 Management Information
4062 Base Reference Guide'.
4063 The wireless manager application calls this primitive to set one or more
4067 common - Common header for use with the CsrWifiFsm Module
4068 mibAttributeLength - Length of mibAttribute
4069 mibAttribute - Points to the VarBind or VarBindList containing the
4070 names and values of the MIB variables to set
4072 *******************************************************************************/
4075 CsrWifiFsmEvent common;
4076 u16 mibAttributeLength;
4078 } CsrWifiSmeMibSetReq;
4080 /*******************************************************************************
4083 CsrWifiSmeMulticastAddressReq
4086 The wireless manager application calls this primitive to specify the
4087 multicast addresses which the chip should recognise. The interface allows
4088 the wireless manager application to query, add, remove and flush the
4089 multicast addresses for the network interface according to the specified
4093 common - Common header for use with the CsrWifiFsm Module
4094 interfaceTag - Interface Identifier; unique identifier of an interface
4095 action - The value of the CsrWifiSmeListAction parameter
4096 instructs the driver to modify or provide the list of
4098 setAddressesCount - Number of MAC addresses sent with the primitive
4099 setAddresses - Pointer to the list of MAC Addresses sent with the
4100 primitive, set to NULL if none is sent.
4102 *******************************************************************************/
4105 CsrWifiFsmEvent common;
4107 CsrWifiSmeListAction action;
4108 u8 setAddressesCount;
4109 CsrWifiMacAddress *setAddresses;
4110 } CsrWifiSmeMulticastAddressReq;
4112 /*******************************************************************************
4115 CsrWifiSmePacketFilterSetReq
4118 The wireless manager application should call this primitive to enable or
4119 disable filtering of broadcast packets: uninteresting broadcast packets
4120 will be dropped by the Wi-Fi chip, instead of passing them up to the
4122 This has the advantage of saving power in the host application processor
4123 as it removes the need to process unwanted packets.
4124 All broadcast packets are filtered according to the filter and the filter
4125 mode provided, except ARP packets, which are filtered using
4127 Filters are not cumulative: only the parameters specified in the most
4128 recent successful request are significant.
4129 For more information, see 'UniFi Firmware API Specification'.
4132 common - Common header for use with the CsrWifiFsm Module
4133 interfaceTag - Interface Identifier; unique identifier of an interface
4134 filterLength - Length of the filter in bytes.
4135 filterLength=0 disables the filter previously set
4136 filter - Points to the first byte of the filter provided, if any.
4137 This shall include zero or more instance of the
4138 information elements of one of these types
4139 * Traffic Classification (TCLAS) elements
4140 * WMM-SA TCLAS elements
4141 mode - Specifies whether the filter selects or excludes packets
4143 arpFilterAddress - IPv4 address to be used for filtering the ARP packets.
4144 * If the specified address is the IPv4 broadcast address
4145 (255.255.255.255), all ARP packets are reported to the
4147 * If the specified address is NOT the IPv4 broadcast
4148 address, only ARP packets with the specified address in
4149 the Source or Target Protocol Address fields are reported
4152 *******************************************************************************/
4155 CsrWifiFsmEvent common;
4159 CsrWifiSmePacketFilterMode mode;
4160 CsrWifiIp4Address arpFilterAddress;
4161 } CsrWifiSmePacketFilterSetReq;
4163 /*******************************************************************************
4166 CsrWifiSmePermanentMacAddressGetReq
4169 This primitive retrieves the MAC address stored in EEPROM
4172 common - Common header for use with the CsrWifiFsm Module
4174 *******************************************************************************/
4177 CsrWifiFsmEvent common;
4178 } CsrWifiSmePermanentMacAddressGetReq;
4180 /*******************************************************************************
4186 The wireless manager application calls this primitive to request an
4187 operation on the SME PMKID list.
4188 The action argument specifies the operation to perform.
4189 When the connection is complete, the wireless manager application may
4190 then send and receive EAPOL packets to complete WPA or WPA2
4191 authentication if appropriate.
4192 The wireless manager application can then pass the resulting encryption
4193 keys using this primitive.
4196 common - Common header for use with the CsrWifiFsm Module
4197 interfaceTag - Interface Identifier; unique identifier of an interface
4198 action - The value of the CsrWifiSmeListAction parameter instructs
4199 the driver to modify or provide the list of PMKIDs.
4200 setPmkidsCount - Number of PMKIDs sent with the primitive
4201 setPmkids - Pointer to the list of PMKIDs sent with the primitive, set
4202 to NULL if none is sent.
4204 *******************************************************************************/
4207 CsrWifiFsmEvent common;
4209 CsrWifiSmeListAction action;
4211 CsrWifiSmePmkid *setPmkids;
4212 } CsrWifiSmePmkidReq;
4214 /*******************************************************************************
4217 CsrWifiSmePowerConfigGetReq
4220 This primitive gets the value of the PowerConfig parameter.
4223 common - Common header for use with the CsrWifiFsm Module
4225 *******************************************************************************/
4228 CsrWifiFsmEvent common;
4229 } CsrWifiSmePowerConfigGetReq;
4231 /*******************************************************************************
4234 CsrWifiSmePowerConfigSetReq
4237 This primitive sets the value of the PowerConfig parameter.
4240 common - Common header for use with the CsrWifiFsm Module
4241 powerConfig - Power saving configuration
4243 *******************************************************************************/
4246 CsrWifiFsmEvent common;
4247 CsrWifiSmePowerConfig powerConfig;
4248 } CsrWifiSmePowerConfigSetReq;
4250 /*******************************************************************************
4253 CsrWifiSmeRegulatoryDomainInfoGetReq
4256 This primitive gets the value of the RegulatoryDomainInfo parameter.
4259 common - Common header for use with the CsrWifiFsm Module
4261 *******************************************************************************/
4264 CsrWifiFsmEvent common;
4265 } CsrWifiSmeRegulatoryDomainInfoGetReq;
4267 /*******************************************************************************
4270 CsrWifiSmeRoamingConfigGetReq
4273 This primitive gets the value of the RoamingConfig parameter.
4276 common - Common header for use with the CsrWifiFsm Module
4277 interfaceTag - Interface Identifier; unique identifier of an interface
4279 *******************************************************************************/
4282 CsrWifiFsmEvent common;
4284 } CsrWifiSmeRoamingConfigGetReq;
4286 /*******************************************************************************
4289 CsrWifiSmeRoamingConfigSetReq
4292 This primitive sets the value of the RoamingConfig parameter.
4295 common - Common header for use with the CsrWifiFsm Module
4296 interfaceTag - Interface Identifier; unique identifier of an interface
4297 roamingConfig - Desired roaming behaviour values
4299 *******************************************************************************/
4302 CsrWifiFsmEvent common;
4304 CsrWifiSmeRoamingConfig roamingConfig;
4305 } CsrWifiSmeRoamingConfigSetReq;
4307 /*******************************************************************************
4310 CsrWifiSmeScanConfigGetReq
4313 This primitive gets the value of the ScanConfig parameter.
4316 common - Common header for use with the CsrWifiFsm Module
4318 *******************************************************************************/
4321 CsrWifiFsmEvent common;
4322 } CsrWifiSmeScanConfigGetReq;
4324 /*******************************************************************************
4327 CsrWifiSmeScanConfigSetReq
4330 This primitive sets the value of the ScanConfig parameter.
4331 The SME normally configures the firmware to perform autonomous scanning
4332 without involving the host.
4333 The firmware passes beacon / probe response or indicates loss of beacon
4334 on certain changes of state, for example:
4335 * A new AP is seen for the first time
4336 * An AP is no longer visible
4337 * The signal strength of an AP changes by more than a certain amount, as
4338 configured by the thresholds in the scanConfig parameter
4339 In addition to the autonomous scan, the wireless manager application may
4340 request a scan at any time using CSR_WIFI_SME_SCAN_FULL_REQ.
4343 common - Common header for use with the CsrWifiFsm Module
4344 scanConfig - Reports the configuration for the autonomous scanning behaviour
4347 *******************************************************************************/
4350 CsrWifiFsmEvent common;
4351 CsrWifiSmeScanConfig scanConfig;
4352 } CsrWifiSmeScanConfigSetReq;
4354 /*******************************************************************************
4357 CsrWifiSmeScanFullReq
4360 The wireless manager application should call this primitive to request a
4362 Channels are scanned actively or passively according to the requirement
4363 set by regulatory domain.
4364 If the SME receives this primitive while a full scan is going on, the new
4365 request is buffered and it will be served after the current full scan is
4369 common - Common header for use with the CsrWifiFsm Module
4370 ssidCount - Number of SSIDs provided.
4371 If it is 0, the SME will attempt to detect any network
4372 ssid - Points to the first SSID provided, if any.
4373 bssid - BSS identifier.
4374 If it is equal to FF-FF-FF-FF-FF, the SME will listen for
4375 messages from any BSS.
4376 If it is different from FF-FF-FF-FF-FF and any SSID is
4377 provided, one SSID must match the network of the BSS.
4378 forceScan - Forces the scan even if the SME is in a state which would
4379 normally prevent it (e.g. autonomous scan is running).
4380 bssType - Type of BSS to scan for
4381 scanType - Type of scan to perform
4382 channelListCount - Number of channels provided.
4383 If it is 0, the SME will initiate a scan of all the
4384 supported channels that are permitted by the current
4386 channelList - Points to the first channel , or NULL if channelListCount
4388 probeIeLength - Length of the information element in bytes to be sent
4389 with the probe message.
4390 probeIe - Points to the first byte of the information element to be
4391 sent with the probe message.
4393 *******************************************************************************/
4396 CsrWifiFsmEvent common;
4399 CsrWifiMacAddress bssid;
4401 CsrWifiSmeBssType bssType;
4402 CsrWifiSmeScanType scanType;
4403 u16 channelListCount;
4407 } CsrWifiSmeScanFullReq;
4409 /*******************************************************************************
4412 CsrWifiSmeScanResultsFlushReq
4415 The Wireless Manager calls this primitive to ask the SME to delete all
4416 scan results from its cache, except for the scan result of any currently
4418 As scan results are received by the SME from the firmware, they are
4419 cached in the SME memory.
4420 Any time the Wireless Manager requests scan results, they are returned
4421 from the SME internal cache.
4422 For some applications it may be desirable to clear this cache prior to
4423 requesting that a scan be performed; this will ensure that the cache then
4424 only contains the networks detected in the most recent scan.
4427 common - Common header for use with the CsrWifiFsm Module
4429 *******************************************************************************/
4432 CsrWifiFsmEvent common;
4433 } CsrWifiSmeScanResultsFlushReq;
4435 /*******************************************************************************
4438 CsrWifiSmeScanResultsGetReq
4441 The wireless manager application calls this primitive to retrieve the
4442 current set of scan results, either after receiving a successful
4443 CSR_WIFI_SME_SCAN_FULL_CFM, or to get autonomous scan results.
4446 common - Common header for use with the CsrWifiFsm Module
4448 *******************************************************************************/
4451 CsrWifiFsmEvent common;
4452 } CsrWifiSmeScanResultsGetReq;
4454 /*******************************************************************************
4457 CsrWifiSmeSmeStaConfigGetReq
4460 This primitive gets the value of the SmeStaConfig parameter.
4463 common - Common header for use with the CsrWifiFsm Module
4464 interfaceTag - Interface Identifier; unique identifier of an interface
4466 *******************************************************************************/
4469 CsrWifiFsmEvent common;
4471 } CsrWifiSmeSmeStaConfigGetReq;
4473 /*******************************************************************************
4476 CsrWifiSmeSmeStaConfigSetReq
4479 This primitive sets the value of the SmeConfig parameter.
4482 common - Common header for use with the CsrWifiFsm Module
4483 interfaceTag - Interface Identifier; unique identifier of an interface
4484 smeConfig - SME Station Parameters to be set
4486 *******************************************************************************/
4489 CsrWifiFsmEvent common;
4491 CsrWifiSmeStaConfig smeConfig;
4492 } CsrWifiSmeSmeStaConfigSetReq;
4494 /*******************************************************************************
4497 CsrWifiSmeStationMacAddressGetReq
4500 This primitives is used to retrieve the current MAC address used by the
4504 common - Common header for use with the CsrWifiFsm Module
4506 *******************************************************************************/
4509 CsrWifiFsmEvent common;
4510 } CsrWifiSmeStationMacAddressGetReq;
4512 /*******************************************************************************
4518 The wireless manager application should call this primitive to use the
4520 The chip supports the use of TSPECs and TCLAS for the use of IEEE
4521 802.11/WMM Quality of Service features.
4522 The API allows the wireless manager application to supply a correctly
4523 formatted TSPEC and TCLAS pair to the driver.
4524 After performing basic validation, the driver negotiates the installation
4525 of the TSPEC with the AP as defined by the 802.11 specification.
4526 The driver retains all TSPEC and TCLAS pairs until they are specifically
4528 It is not compulsory for a TSPEC to have a TCLAS (NULL is used to
4529 indicate that no TCLAS is supplied), while a TCLASS always require a
4531 The format of the TSPEC element is specified in 'WMM (including WMM Power
4532 Save) Specification - Version 1.1' and 'ANSI/IEEE Std 802.11-REVmb/D3.0'.
4533 For more information, see 'UniFi Configuring WMM and WMM-PS'.
4536 common - Common header for use with the CsrWifiFsm Module
4537 interfaceTag - Interface Identifier; unique identifier of an interface
4538 action - Specifies the action to be carried out on the list of TSPECs.
4539 CSR_WIFI_SME_LIST_ACTION_FLUSH is not applicable here.
4540 transactionId - Unique Transaction ID for the TSPEC, as assigned by the
4542 strict - If it set to false, allows the SME to perform automatic
4544 ctrlMask - Additional TSPEC configuration for CCX.
4545 Set mask with values from CsrWifiSmeTspecCtrl.
4546 CURRENTLY NOT SUPPORTED
4547 tspecLength - Length of the TSPEC.
4548 tspec - Points to the first byte of the TSPEC
4549 tclasLength - Length of the TCLAS.
4550 If it is equal to 0, no TCLASS is provided for the TSPEC
4551 tclas - Points to the first byte of the TCLAS, if any.
4553 *******************************************************************************/
4556 CsrWifiFsmEvent common;
4558 CsrWifiSmeListAction action;
4561 CsrWifiSmeTspecCtrlMask ctrlMask;
4566 } CsrWifiSmeTspecReq;
4568 /*******************************************************************************
4571 CsrWifiSmeVersionsGetReq
4574 This primitive gets the value of the Versions parameter.
4577 common - Common header for use with the CsrWifiFsm Module
4579 *******************************************************************************/
4582 CsrWifiFsmEvent common;
4583 } CsrWifiSmeVersionsGetReq;
4585 /*******************************************************************************
4588 CsrWifiSmeWifiFlightmodeReq
4591 The wireless manager application may call this primitive on boot-up of
4592 the platform to ensure that the chip is placed in a mode that prevents
4593 any emission of RF energy.
4594 This primitive is an alternative to CSR_WIFI_SME_WIFI_ON_REQ.
4595 As in CSR_WIFI_SME_WIFI_ON_REQ, it causes the download of the patch file
4596 (if any) and the programming of the initial MIB settings (if supplied by
4597 the WMA), but it also ensures that the chip is left in its lowest
4598 possible power-mode with the radio subsystems disabled.
4599 This feature is useful on platforms where power cannot be removed from
4600 the chip (leaving the chip not initialised will cause it to consume more
4601 power so calling this function ensures that the chip is initialised into
4602 a low power mode but without entering a state where it could emit any RF
4604 NOTE: this primitive does not cause the Wi-Fi to change state: Wi-Fi
4605 stays conceptually off. Configuration primitives can be sent after
4606 CSR_WIFI_SME_WIFI_FLIGHTMODE_REQ and the configuration will be maintained.
4607 Requests that require the state of the Wi-Fi to be ON will return
4608 CSR_WIFI_SME_STATUS_WIFI_OFF in their confirms.
4611 common - Common header for use with the CsrWifiFsm Module
4612 address - Optionally specifies a station MAC address.
4613 In normal use, the manager should set the address to 0xFF
4614 0xFF 0xFF 0xFF 0xFF 0xFF, which will cause the chip to use
4615 the MAC address in the MIB.
4616 mibFilesCount - Number of provided data blocks with initial MIB values
4617 mibFiles - Points to the first data block with initial MIB values.
4618 These data blocks are typically the contents of the provided
4619 files ufmib.dat and localmib.dat, available from the host
4620 file system, if they exist.
4621 These files typically contain radio tuning and calibration
4623 More values can be created using the Host Tools.
4625 *******************************************************************************/
4628 CsrWifiFsmEvent common;
4629 CsrWifiMacAddress address;
4631 CsrWifiSmeDataBlock *mibFiles;
4632 } CsrWifiSmeWifiFlightmodeReq;
4634 /*******************************************************************************
4637 CsrWifiSmeWifiOffReq
4640 The wireless manager application calls this primitive to turn off the
4641 chip, thus saving power when Wi-Fi is not in use.
4644 common - Common header for use with the CsrWifiFsm Module
4646 *******************************************************************************/
4649 CsrWifiFsmEvent common;
4650 } CsrWifiSmeWifiOffReq;
4652 /*******************************************************************************
4658 The wireless manager application calls this primitive to turn on the
4660 If the Wi-Fi chip is currently off, the SME turns the Wi-Fi chip on,
4661 downloads the patch file (if any), and programs the initial MIB settings
4662 (if supplied by the WMA).
4663 The patch file is not provided with the SME API; its downloading is
4664 automatic and handled internally by the system.
4665 The MIB settings, when provided, override the default values that the
4666 firmware loads from EEPROM.
4667 If the Wi-Fi chip is already on, the SME takes no action and returns a
4668 successful status in the confirm.
4671 common - Common header for use with the CsrWifiFsm Module
4672 address - Optionally specifies a station MAC address.
4673 In normal use, the manager should set the address to 0xFF
4674 0xFF 0xFF 0xFF 0xFF 0xFF, which will cause the chip to use
4675 the MAC address in the MIB
4676 mibFilesCount - Number of provided data blocks with initial MIB values
4677 mibFiles - Points to the first data block with initial MIB values.
4678 These data blocks are typically the contents of the provided
4679 files ufmib.dat and localmib.dat, available from the host
4680 file system, if they exist.
4681 These files typically contain radio tuning and calibration
4683 More values can be created using the Host Tools.
4685 *******************************************************************************/
4688 CsrWifiFsmEvent common;
4689 CsrWifiMacAddress address;
4691 CsrWifiSmeDataBlock *mibFiles;
4692 } CsrWifiSmeWifiOnReq;
4694 /*******************************************************************************
4697 CsrWifiSmeCloakedSsidsSetReq
4700 This primitive sets the list of cloaked SSIDs for which the WMA possesses
4702 When the driver detects a cloaked AP, the SME will explicitly scan for it
4703 using the list of cloaked SSIDs provided it, and, if the scan succeeds,
4704 it will report the AP to the WMA either via CSR_WIFI_SME_SCAN_RESULT_IND
4705 (if registered) or via CSR_WIFI_SCAN_RESULT_GET_CFM.
4708 common - Common header for use with the CsrWifiFsm Module
4709 cloakedSsids - Sets the list of cloaked SSIDs
4711 *******************************************************************************/
4714 CsrWifiFsmEvent common;
4715 CsrWifiSmeCloakedSsidConfig cloakedSsids;
4716 } CsrWifiSmeCloakedSsidsSetReq;
4718 /*******************************************************************************
4721 CsrWifiSmeCloakedSsidsGetReq
4724 This primitive gets the value of the CloakedSsids parameter.
4727 common - Common header for use with the CsrWifiFsm Module
4729 *******************************************************************************/
4732 CsrWifiFsmEvent common;
4733 } CsrWifiSmeCloakedSsidsGetReq;
4735 /*******************************************************************************
4738 CsrWifiSmeSmeCommonConfigGetReq
4741 This primitive gets the value of the Sme common parameter.
4744 common - Common header for use with the CsrWifiFsm Module
4746 *******************************************************************************/
4749 CsrWifiFsmEvent common;
4750 } CsrWifiSmeSmeCommonConfigGetReq;
4752 /*******************************************************************************
4755 CsrWifiSmeSmeCommonConfigSetReq
4758 This primitive sets the value of the Sme common.
4761 common - Common header for use with the CsrWifiFsm Module
4762 deviceConfig - Configuration options in the SME
4764 *******************************************************************************/
4767 CsrWifiFsmEvent common;
4768 CsrWifiSmeDeviceConfig deviceConfig;
4769 } CsrWifiSmeSmeCommonConfigSetReq;
4771 /*******************************************************************************
4774 CsrWifiSmeInterfaceCapabilityGetReq
4777 The Wireless Manager calls this primitive to ask the SME for the
4778 capabilities of the supported interfaces
4781 common - Common header for use with the CsrWifiFsm Module
4783 *******************************************************************************/
4786 CsrWifiFsmEvent common;
4787 } CsrWifiSmeInterfaceCapabilityGetReq;
4789 /*******************************************************************************
4792 CsrWifiSmeWpsConfigurationReq
4795 This primitive passes the WPS information for the device to SME. This may
4796 be accepted only if no interface is active.
4799 common - Common header for use with the CsrWifiFsm Module
4800 wpsConfig - WPS config.
4802 *******************************************************************************/
4805 CsrWifiFsmEvent common;
4806 CsrWifiSmeWpsConfig wpsConfig;
4807 } CsrWifiSmeWpsConfigurationReq;
4809 /*******************************************************************************
4815 Used to pass custom data to the SME. Format is the same as 802.11 Info
4816 Elements => | Id | Length | Data
4817 1) Cmanr Test Mode "Id:0 Length:1 Data:0x00 = OFF 0x01 = ON" "0x00 0x01
4821 common - Common header for use with the CsrWifiFsm Module
4822 dataLength - Number of bytes in the buffer pointed to by 'data'
4823 data - Pointer to the buffer containing 'dataLength' bytes
4825 *******************************************************************************/
4828 CsrWifiFsmEvent common;
4833 /*******************************************************************************
4836 CsrWifiSmeActivateCfm
4839 The SME sends this primitive when the activation is complete.
4842 common - Common header for use with the CsrWifiFsm Module
4843 status - Reports the result of the request
4845 *******************************************************************************/
4848 CsrWifiFsmEvent common;
4850 } CsrWifiSmeActivateCfm;
4852 /*******************************************************************************
4855 CsrWifiSmeAdhocConfigGetCfm
4858 This primitive reports the result of the request.
4861 common - Common header for use with the CsrWifiFsm Module
4862 status - Reports the result of the request
4863 adHocConfig - Contains the values used when starting an Ad-hoc (IBSS)
4866 *******************************************************************************/
4869 CsrWifiFsmEvent common;
4871 CsrWifiSmeAdHocConfig adHocConfig;
4872 } CsrWifiSmeAdhocConfigGetCfm;
4874 /*******************************************************************************
4877 CsrWifiSmeAdhocConfigSetCfm
4880 This primitive reports the result of the request.
4883 common - Common header for use with the CsrWifiFsm Module
4884 status - Reports the result of the request
4886 *******************************************************************************/
4889 CsrWifiFsmEvent common;
4891 } CsrWifiSmeAdhocConfigSetCfm;
4893 /*******************************************************************************
4896 CsrWifiSmeAssociationCompleteInd
4899 The SME will send this primitive to all the tasks that have registered to
4900 receive it whenever it completes an attempt to associate with an AP. If
4901 the association was successful, status will be set to
4902 CSR_WIFI_SME_STATUS_SUCCESS, otherwise status and deauthReason shall be
4903 set to appropriate error codes.
4906 common - Common header for use with the CsrWifiFsm Module
4907 interfaceTag - Interface Identifier; unique identifier of an interface
4908 status - Reports the result of the association procedure
4909 connectionInfo - This parameter is relevant only if result is
4910 CSR_WIFI_SME_STATUS_SUCCESS:
4911 it points to the connection information for the new network
4912 deauthReason - This parameter is relevant only if result is not
4913 CSR_WIFI_SME_STATUS_SUCCESS:
4914 if the AP deauthorised the station, it gives the reason of
4917 *******************************************************************************/
4920 CsrWifiFsmEvent common;
4923 CsrWifiSmeConnectionInfo connectionInfo;
4924 CsrWifiSmeIEEE80211Reason deauthReason;
4925 } CsrWifiSmeAssociationCompleteInd;
4927 /*******************************************************************************
4930 CsrWifiSmeAssociationStartInd
4933 The SME will send this primitive to all the tasks that have registered to
4934 receive it whenever it begins an attempt to associate with an AP.
4937 common - Common header for use with the CsrWifiFsm Module
4938 interfaceTag - Interface Identifier; unique identifier of an interface
4939 address - BSSID of the associating network
4940 ssid - Service Set identifier of the associating network
4942 *******************************************************************************/
4945 CsrWifiFsmEvent common;
4947 CsrWifiMacAddress address;
4949 } CsrWifiSmeAssociationStartInd;
4951 /*******************************************************************************
4954 CsrWifiSmeBlacklistCfm
4957 The SME will call this primitive when the action on the blacklist has
4958 completed. For a GET action, this primitive also reports the list of
4959 BBSIDs in the blacklist.
4962 common - Common header for use with the CsrWifiFsm Module
4963 interfaceTag - Interface Identifier; unique identifier of an interface
4964 status - Reports the result of the request
4965 action - Action in the request
4966 getAddressCount - This parameter is only relevant if action is
4967 CSR_WIFI_SME_LIST_ACTION_GET:
4968 number of BSSIDs sent with this primitive
4969 getAddresses - Pointer to the list of BBSIDs sent with the primitive, set
4970 to NULL if none is sent.
4972 *******************************************************************************/
4975 CsrWifiFsmEvent common;
4978 CsrWifiSmeListAction action;
4980 CsrWifiMacAddress *getAddresses;
4981 } CsrWifiSmeBlacklistCfm;
4983 /*******************************************************************************
4986 CsrWifiSmeCalibrationDataGetCfm
4989 This primitive reports the result of the request.
4992 common - Common header for use with the CsrWifiFsm Module
4993 status - Reports the result of the request
4994 calibrationDataLength - Number of bytes in the buffer pointed by
4996 calibrationData - Pointer to a buffer of length calibrationDataLength
4997 containing the calibration data
4999 *******************************************************************************/
5002 CsrWifiFsmEvent common;
5004 u16 calibrationDataLength;
5005 u8 *calibrationData;
5006 } CsrWifiSmeCalibrationDataGetCfm;
5008 /*******************************************************************************
5011 CsrWifiSmeCalibrationDataSetCfm
5014 This primitive reports the result of the request.
5017 common - Common header for use with the CsrWifiFsm Module
5018 status - Reports the result of the request
5020 *******************************************************************************/
5023 CsrWifiFsmEvent common;
5025 } CsrWifiSmeCalibrationDataSetCfm;
5027 /*******************************************************************************
5030 CsrWifiSmeCcxConfigGetCfm
5033 This primitive reports the result of the request.
5036 common - Common header for use with the CsrWifiFsm Module
5037 interfaceTag - Interface Identifier; unique identifier of an interface
5038 status - Reports the result of the request
5039 ccxConfig - Currently not supported
5041 *******************************************************************************/
5044 CsrWifiFsmEvent common;
5047 CsrWifiSmeCcxConfig ccxConfig;
5048 } CsrWifiSmeCcxConfigGetCfm;
5050 /*******************************************************************************
5053 CsrWifiSmeCcxConfigSetCfm
5056 This primitive reports the result of the request.
5059 common - Common header for use with the CsrWifiFsm Module
5060 interfaceTag - Interface Identifier; unique identifier of an interface
5061 status - Reports the result of the request
5063 *******************************************************************************/
5066 CsrWifiFsmEvent common;
5069 } CsrWifiSmeCcxConfigSetCfm;
5071 /*******************************************************************************
5074 CsrWifiSmeCoexConfigGetCfm
5077 This primitive reports the result of the request.
5080 common - Common header for use with the CsrWifiFsm Module
5081 status - Reports the result of the request
5082 coexConfig - Reports the parameters used to configure the coexistence
5085 *******************************************************************************/
5088 CsrWifiFsmEvent common;
5090 CsrWifiSmeCoexConfig coexConfig;
5091 } CsrWifiSmeCoexConfigGetCfm;
5093 /*******************************************************************************
5096 CsrWifiSmeCoexConfigSetCfm
5099 This primitive reports the result of the request.
5102 common - Common header for use with the CsrWifiFsm Module
5103 status - Reports the result of the request
5105 *******************************************************************************/
5108 CsrWifiFsmEvent common;
5110 } CsrWifiSmeCoexConfigSetCfm;
5112 /*******************************************************************************
5115 CsrWifiSmeCoexInfoGetCfm
5118 This primitive reports the result of the request.
5121 common - Common header for use with the CsrWifiFsm Module
5122 status - Reports the result of the request
5123 coexInfo - Reports information and state related to coexistence.
5125 *******************************************************************************/
5128 CsrWifiFsmEvent common;
5130 CsrWifiSmeCoexInfo coexInfo;
5131 } CsrWifiSmeCoexInfoGetCfm;
5133 /*******************************************************************************
5136 CsrWifiSmeConnectCfm
5139 The SME calls this primitive when the connection exchange is complete or
5140 all connection attempts fail.
5143 common - Common header for use with the CsrWifiFsm Module
5144 interfaceTag - Interface Identifier; unique identifier of an interface
5145 status - Reports the result of the request.
5146 CSR_WIFI_SME_STATUS_NOT_FOUND: all attempts by the SME to
5147 locate the requested AP failed
5149 *******************************************************************************/
5152 CsrWifiFsmEvent common;
5155 } CsrWifiSmeConnectCfm;
5157 /*******************************************************************************
5160 CsrWifiSmeConnectionConfigGetCfm
5163 This primitive reports the result of the request.
5166 common - Common header for use with the CsrWifiFsm Module
5167 interfaceTag - Interface Identifier; unique identifier of an interface
5168 status - Reports the result of the request
5169 connectionConfig - Parameters used by the SME for selecting a network
5171 *******************************************************************************/
5174 CsrWifiFsmEvent common;
5177 CsrWifiSmeConnectionConfig connectionConfig;
5178 } CsrWifiSmeConnectionConfigGetCfm;
5180 /*******************************************************************************
5183 CsrWifiSmeConnectionInfoGetCfm
5186 This primitive reports the result of the request.
5189 common - Common header for use with the CsrWifiFsm Module
5190 interfaceTag - Interface Identifier; unique identifier of an interface
5191 status - Reports the result of the request
5192 connectionInfo - Information about the current connection
5194 *******************************************************************************/
5197 CsrWifiFsmEvent common;
5200 CsrWifiSmeConnectionInfo connectionInfo;
5201 } CsrWifiSmeConnectionInfoGetCfm;
5203 /*******************************************************************************
5206 CsrWifiSmeConnectionQualityInd
5209 The SME sends this primitive to all the tasks that have registered to
5210 receive it whenever the value of the current connection quality
5211 parameters change by more than a certain configurable amount.
5212 The wireless manager application may configure the trigger thresholds for
5213 this indication using the field in smeConfig parameter of
5214 CSR_WIFI_SME_SME_CONFIG_SET_REQ.
5215 Connection quality messages can be suppressed by setting both thresholds
5219 common - Common header for use with the CsrWifiFsm Module
5220 interfaceTag - Interface Identifier; unique identifier of an interface
5221 linkQuality - Indicates the quality of the link
5223 *******************************************************************************/
5226 CsrWifiFsmEvent common;
5228 CsrWifiSmeLinkQuality linkQuality;
5229 } CsrWifiSmeConnectionQualityInd;
5231 /*******************************************************************************
5234 CsrWifiSmeConnectionStatsGetCfm
5237 This primitive reports the result of the request.
5240 common - Common header for use with the CsrWifiFsm Module
5241 interfaceTag - Interface Identifier; unique identifier of an interface
5242 status - Reports the result of the request
5243 connectionStats - Statistics for current connection.
5245 *******************************************************************************/
5248 CsrWifiFsmEvent common;
5251 CsrWifiSmeConnectionStats connectionStats;
5252 } CsrWifiSmeConnectionStatsGetCfm;
5254 /*******************************************************************************
5257 CsrWifiSmeDeactivateCfm
5260 The SME sends this primitive when the deactivation is complete.
5261 The WMA cannot send any more primitives until it actives the SME again
5262 sending another CSR_WIFI_SME_ACTIVATE_REQ.
5265 common - Common header for use with the CsrWifiFsm Module
5266 status - Reports the result of the request
5268 *******************************************************************************/
5271 CsrWifiFsmEvent common;
5273 } CsrWifiSmeDeactivateCfm;
5275 /*******************************************************************************
5278 CsrWifiSmeDisconnectCfm
5281 On reception of CSR_WIFI_SME_DISCONNECT_REQ the SME will perform a
5282 disconnect operation, sending a CsrWifiSmeMediaStatusInd with
5283 CSR_WIFI_SME_MEDIA_STATUS_DISCONNECTED and then call this primitive when
5284 disconnection is complete.
5287 common - Common header for use with the CsrWifiFsm Module
5288 interfaceTag - Interface Identifier; unique identifier of an interface
5289 status - Reports the result of the request
5291 *******************************************************************************/
5294 CsrWifiFsmEvent common;
5297 } CsrWifiSmeDisconnectCfm;
5299 /*******************************************************************************
5302 CsrWifiSmeEventMaskSetCfm
5305 The SME calls the primitive to report the result of the request
5309 common - Common header for use with the CsrWifiFsm Module
5310 status - Reports the result of the request
5312 *******************************************************************************/
5315 CsrWifiFsmEvent common;
5317 } CsrWifiSmeEventMaskSetCfm;
5319 /*******************************************************************************
5322 CsrWifiSmeHostConfigGetCfm
5325 This primitive reports the result of the request.
5328 common - Common header for use with the CsrWifiFsm Module
5329 interfaceTag - Interface Identifier; unique identifier of an interface
5330 status - Reports the result of the request
5331 hostConfig - Current host power state.
5333 *******************************************************************************/
5336 CsrWifiFsmEvent common;
5339 CsrWifiSmeHostConfig hostConfig;
5340 } CsrWifiSmeHostConfigGetCfm;
5342 /*******************************************************************************
5345 CsrWifiSmeHostConfigSetCfm
5348 This primitive reports the result of the request.
5351 common - Common header for use with the CsrWifiFsm Module
5352 interfaceTag - Interface Identifier; unique identifier of an interface
5353 status - Reports the result of the request
5355 *******************************************************************************/
5358 CsrWifiFsmEvent common;
5361 } CsrWifiSmeHostConfigSetCfm;
5363 /*******************************************************************************
5366 CsrWifiSmeIbssStationInd
5369 The SME will send this primitive to indicate that a station has joined or
5370 left the ad-hoc network.
5373 common - Common header for use with the CsrWifiFsm Module
5374 address - MAC address of the station that has joined or left
5375 isconnected - TRUE if the station joined, FALSE if the station left
5377 *******************************************************************************/
5380 CsrWifiFsmEvent common;
5381 CsrWifiMacAddress address;
5383 } CsrWifiSmeIbssStationInd;
5385 /*******************************************************************************
5391 The SME calls the primitive to report the result of the request
5395 common - Common header for use with the CsrWifiFsm Module
5396 interfaceTag - Interface Identifier; unique identifier of an interface
5397 status - Reports the result of the request
5398 action - Action in the request
5399 keyType - Type of the key added/deleted
5400 peerMacAddress - Peer MAC Address of the key added/deleted
5402 *******************************************************************************/
5405 CsrWifiFsmEvent common;
5408 CsrWifiSmeListAction action;
5409 CsrWifiSmeKeyType keyType;
5410 CsrWifiMacAddress peerMacAddress;
5413 /*******************************************************************************
5416 CsrWifiSmeLinkQualityGetCfm
5419 This primitive reports the result of the request.
5422 common - Common header for use with the CsrWifiFsm Module
5423 interfaceTag - Interface Identifier; unique identifier of an interface
5424 status - Reports the result of the request
5425 linkQuality - Indicates the quality of the link
5427 *******************************************************************************/
5430 CsrWifiFsmEvent common;
5433 CsrWifiSmeLinkQuality linkQuality;
5434 } CsrWifiSmeLinkQualityGetCfm;
5436 /*******************************************************************************
5439 CsrWifiSmeMediaStatusInd
5442 The SME sends this primitive to all the tasks that have registered to
5443 receive it when a network connection is established, lost or has moved to
5447 common - Common header for use with the CsrWifiFsm Module
5448 interfaceTag - Interface Identifier; unique identifier of an interface
5449 mediaStatus - Indicates the media status
5450 connectionInfo - This parameter is relevant only if the mediaStatus is
5451 CSR_WIFI_SME_MEDIA_STATUS_CONNECTED:
5452 it points to the connection information for the new network
5453 disassocReason - This parameter is relevant only if the mediaStatus is
5454 CSR_WIFI_SME_MEDIA_STATUS_DISCONNECTED:
5455 if a disassociation has occurred it gives the reason of the
5457 deauthReason - This parameter is relevant only if the mediaStatus is
5458 CSR_WIFI_SME_MEDIA_STATUS_DISCONNECTED:
5459 if a deauthentication has occurred it gives the reason of
5460 the deauthentication
5462 *******************************************************************************/
5465 CsrWifiFsmEvent common;
5467 CsrWifiSmeMediaStatus mediaStatus;
5468 CsrWifiSmeConnectionInfo connectionInfo;
5469 CsrWifiSmeIEEE80211Reason disassocReason;
5470 CsrWifiSmeIEEE80211Reason deauthReason;
5471 } CsrWifiSmeMediaStatusInd;
5473 /*******************************************************************************
5476 CsrWifiSmeMibConfigGetCfm
5479 This primitive reports the result of the request.
5482 common - Common header for use with the CsrWifiFsm Module
5483 status - Reports the result of the request
5484 mibConfig - Reports various IEEE 802.11 attributes as currently configured
5486 *******************************************************************************/
5489 CsrWifiFsmEvent common;
5491 CsrWifiSmeMibConfig mibConfig;
5492 } CsrWifiSmeMibConfigGetCfm;
5494 /*******************************************************************************
5497 CsrWifiSmeMibConfigSetCfm
5500 This primitive reports the result of the request.
5503 common - Common header for use with the CsrWifiFsm Module
5504 status - Reports the result of the request
5506 *******************************************************************************/
5509 CsrWifiFsmEvent common;
5511 } CsrWifiSmeMibConfigSetCfm;
5513 /*******************************************************************************
5519 The SME calls this primitive to return the requested MIB variable values.
5522 common - Common header for use with the CsrWifiFsm Module
5523 status - Reports the result of the request
5524 mibAttributeLength - Length of mibAttribute
5525 mibAttribute - Points to the VarBind or VarBindList containing the
5526 names and values of the MIB variables requested
5528 *******************************************************************************/
5531 CsrWifiFsmEvent common;
5533 u16 mibAttributeLength;
5535 } CsrWifiSmeMibGetCfm;
5537 /*******************************************************************************
5540 CsrWifiSmeMibGetNextCfm
5543 The SME calls this primitive to return the requested MIB name(s).
5544 The wireless manager application can then read the value of the MIB
5545 variable using CSR_WIFI_SME_MIB_GET_REQ, using the names provided.
5548 common - Common header for use with the CsrWifiFsm Module
5549 status - Reports the result of the request
5550 mibAttributeLength - Length of mibAttribute
5551 mibAttribute - Points to a VarBind or VarBindList containing the
5552 name(s) of the MIB variable(s) lexicographically
5553 following the name(s) given in the request
5555 *******************************************************************************/
5558 CsrWifiFsmEvent common;
5560 u16 mibAttributeLength;
5562 } CsrWifiSmeMibGetNextCfm;
5564 /*******************************************************************************
5570 The SME calls the primitive to report the result of the set primitive.
5573 common - Common header for use with the CsrWifiFsm Module
5574 status - Reports the result of the request
5576 *******************************************************************************/
5579 CsrWifiFsmEvent common;
5581 } CsrWifiSmeMibSetCfm;
5583 /*******************************************************************************
5586 CsrWifiSmeMicFailureInd
5589 The SME sends this primitive to all the tasks that have registered to
5590 receive it whenever the chip firmware reports a MIC failure.
5593 common - Common header for use with the CsrWifiFsm Module
5594 interfaceTag - Interface Identifier; unique identifier of an interface
5595 secondFailure - TRUE if this indication is for a second failure in 60
5597 count - The number of MIC failure events since the connection was
5599 address - MAC address of the transmitter that caused the MIC failure
5600 keyType - Type of key for which the failure occurred
5602 *******************************************************************************/
5605 CsrWifiFsmEvent common;
5609 CsrWifiMacAddress address;
5610 CsrWifiSmeKeyType keyType;
5611 } CsrWifiSmeMicFailureInd;
5613 /*******************************************************************************
5616 CsrWifiSmeMulticastAddressCfm
5619 The SME will call this primitive when the operation is complete. For a
5620 GET action, this primitive reports the current list of MAC addresses.
5623 common - Common header for use with the CsrWifiFsm Module
5624 interfaceTag - Interface Identifier; unique identifier of an interface
5625 status - Reports the result of the request
5626 action - Action in the request
5627 getAddressesCount - This parameter is only relevant if action is
5628 CSR_WIFI_SME_LIST_ACTION_GET:
5629 number of MAC addresses sent with the primitive
5630 getAddresses - Pointer to the list of MAC Addresses sent with the
5631 primitive, set to NULL if none is sent.
5633 *******************************************************************************/
5636 CsrWifiFsmEvent common;
5639 CsrWifiSmeListAction action;
5640 u8 getAddressesCount;
5641 CsrWifiMacAddress *getAddresses;
5642 } CsrWifiSmeMulticastAddressCfm;
5644 /*******************************************************************************
5647 CsrWifiSmePacketFilterSetCfm
5650 The SME calls the primitive to report the result of the set primitive.
5653 common - Common header for use with the CsrWifiFsm Module
5654 interfaceTag - Interface Identifier; unique identifier of an interface
5655 status - Reports the result of the request
5657 *******************************************************************************/
5660 CsrWifiFsmEvent common;
5663 } CsrWifiSmePacketFilterSetCfm;
5665 /*******************************************************************************
5668 CsrWifiSmePermanentMacAddressGetCfm
5671 This primitive reports the result of the request.
5674 common - Common header for use with the CsrWifiFsm Module
5675 status - Reports the result of the request
5676 permanentMacAddress - MAC address stored in the EEPROM
5678 *******************************************************************************/
5681 CsrWifiFsmEvent common;
5683 CsrWifiMacAddress permanentMacAddress;
5684 } CsrWifiSmePermanentMacAddressGetCfm;
5686 /*******************************************************************************
5689 CsrWifiSmePmkidCandidateListInd
5692 The SME will send this primitive to all the tasks that have registered to
5693 receive it when a new network supporting preauthentication and/or PMK
5697 common - Common header for use with the CsrWifiFsm Module
5698 interfaceTag - Interface Identifier; unique identifier of an
5700 pmkidCandidatesCount - Number of PMKID candidates provided
5701 pmkidCandidates - Points to the first PMKID candidate
5703 *******************************************************************************/
5706 CsrWifiFsmEvent common;
5708 u8 pmkidCandidatesCount;
5709 CsrWifiSmePmkidCandidate *pmkidCandidates;
5710 } CsrWifiSmePmkidCandidateListInd;
5712 /*******************************************************************************
5718 The SME will call this primitive when the operation is complete. For a
5719 GET action, this primitive reports the current list of PMKIDs
5722 common - Common header for use with the CsrWifiFsm Module
5723 interfaceTag - Interface Identifier; unique identifier of an interface
5724 status - Reports the result of the request
5725 action - Action in the request
5726 getPmkidsCount - This parameter is only relevant if action is
5727 CSR_WIFI_SME_LIST_ACTION_GET:
5728 number of PMKIDs sent with the primitive
5729 getPmkids - Pointer to the list of PMKIDs sent with the primitive, set
5730 to NULL if none is sent.
5732 *******************************************************************************/
5735 CsrWifiFsmEvent common;
5738 CsrWifiSmeListAction action;
5740 CsrWifiSmePmkid *getPmkids;
5741 } CsrWifiSmePmkidCfm;
5743 /*******************************************************************************
5746 CsrWifiSmePowerConfigGetCfm
5749 This primitive reports the result of the request.
5752 common - Common header for use with the CsrWifiFsm Module
5753 status - Reports the result of the request
5754 powerConfig - Returns the current parameters for the power configuration of
5757 *******************************************************************************/
5760 CsrWifiFsmEvent common;
5762 CsrWifiSmePowerConfig powerConfig;
5763 } CsrWifiSmePowerConfigGetCfm;
5765 /*******************************************************************************
5768 CsrWifiSmePowerConfigSetCfm
5771 This primitive reports the result of the request.
5774 common - Common header for use with the CsrWifiFsm Module
5775 status - Reports the result of the request
5777 *******************************************************************************/
5780 CsrWifiFsmEvent common;
5782 } CsrWifiSmePowerConfigSetCfm;
5784 /*******************************************************************************
5787 CsrWifiSmeRegulatoryDomainInfoGetCfm
5790 This primitive reports the result of the request.
5793 common - Common header for use with the CsrWifiFsm Module
5794 status - Reports the result of the request
5795 regDomInfo - Reports information and state related to regulatory domain
5798 *******************************************************************************/
5801 CsrWifiFsmEvent common;
5803 CsrWifiSmeRegulatoryDomainInfo regDomInfo;
5804 } CsrWifiSmeRegulatoryDomainInfoGetCfm;
5806 /*******************************************************************************
5809 CsrWifiSmeRoamCompleteInd
5812 The SME will send this primitive to all the tasks that have registered to
5813 receive it whenever it completes an attempt to roam to an AP. If the roam
5814 attempt was successful, status will be set to CSR_WIFI_SME_SUCCESS,
5815 otherwise it shall be set to the appropriate error code.
5818 common - Common header for use with the CsrWifiFsm Module
5819 interfaceTag - Interface Identifier; unique identifier of an interface
5820 status - Reports the result of the roaming procedure
5822 *******************************************************************************/
5825 CsrWifiFsmEvent common;
5828 } CsrWifiSmeRoamCompleteInd;
5830 /*******************************************************************************
5833 CsrWifiSmeRoamStartInd
5836 The SME will send this primitive to all the tasks that have registered to
5837 receive it whenever it begins an attempt to roam to an AP.
5838 If the wireless manager application connect request specified the SSID
5839 and the BSSID was set to the broadcast address (0xFF 0xFF 0xFF 0xFF 0xFF
5840 0xFF), the SME monitors the signal quality and maintains a list of
5841 candidates to roam to. When the signal quality of the current connection
5842 falls below a threshold, and there is a candidate with better quality,
5843 the SME will attempt to the candidate AP.
5844 If the roaming procedure succeeds, the SME will also issue a Media
5845 Connect indication to inform the wireless manager application of the
5847 NOTE: to prevent the SME from initiating roaming the WMA must specify the
5848 BSSID in the connection request; this forces the SME to connect only to
5850 The wireless manager application can obtain statistics for roaming
5851 purposes using CSR_WIFI_SME_CONNECTION_QUALITY_IND and
5852 CSR_WIFI_SME_CONNECTION_STATS_GET_REQ.
5853 When the wireless manager application wishes to roam to another AP, it
5854 must issue a connection request specifying the BSSID of the desired AP.
5857 common - Common header for use with the CsrWifiFsm Module
5858 interfaceTag - Interface Identifier; unique identifier of an interface
5859 roamReason - Indicates the reason for starting the roaming procedure
5860 reason80211 - Indicates the reason for deauthentication or disassociation
5862 *******************************************************************************/
5865 CsrWifiFsmEvent common;
5867 CsrWifiSmeRoamReason roamReason;
5868 CsrWifiSmeIEEE80211Reason reason80211;
5869 } CsrWifiSmeRoamStartInd;
5871 /*******************************************************************************
5874 CsrWifiSmeRoamingConfigGetCfm
5877 This primitive reports the result of the request.
5880 common - Common header for use with the CsrWifiFsm Module
5881 interfaceTag - Interface Identifier; unique identifier of an interface
5882 status - Reports the result of the request
5883 roamingConfig - Reports the roaming behaviour of the driver and firmware
5885 *******************************************************************************/
5888 CsrWifiFsmEvent common;
5891 CsrWifiSmeRoamingConfig roamingConfig;
5892 } CsrWifiSmeRoamingConfigGetCfm;
5894 /*******************************************************************************
5897 CsrWifiSmeRoamingConfigSetCfm
5900 This primitive sets the value of the RoamingConfig parameter.
5903 common - Common header for use with the CsrWifiFsm Module
5904 interfaceTag - Interface Identifier; unique identifier of an interface
5905 status - Reports the result of the request
5907 *******************************************************************************/
5910 CsrWifiFsmEvent common;
5913 } CsrWifiSmeRoamingConfigSetCfm;
5915 /*******************************************************************************
5918 CsrWifiSmeScanConfigGetCfm
5921 This primitive reports the result of the request.
5924 common - Common header for use with the CsrWifiFsm Module
5925 status - Reports the result of the request
5926 scanConfig - Returns the current parameters for the autonomous scanning
5927 behaviour of the firmware
5929 *******************************************************************************/
5932 CsrWifiFsmEvent common;
5934 CsrWifiSmeScanConfig scanConfig;
5935 } CsrWifiSmeScanConfigGetCfm;
5937 /*******************************************************************************
5940 CsrWifiSmeScanConfigSetCfm
5943 This primitive reports the result of the request.
5946 common - Common header for use with the CsrWifiFsm Module
5947 status - Reports the result of the request
5949 *******************************************************************************/
5952 CsrWifiFsmEvent common;
5954 } CsrWifiSmeScanConfigSetCfm;
5956 /*******************************************************************************
5959 CsrWifiSmeScanFullCfm
5962 The SME calls this primitive when the results from the scan are
5966 common - Common header for use with the CsrWifiFsm Module
5967 status - Reports the result of the request
5969 *******************************************************************************/
5972 CsrWifiFsmEvent common;
5974 } CsrWifiSmeScanFullCfm;
5976 /*******************************************************************************
5979 CsrWifiSmeScanResultInd
5982 The SME sends this primitive to all the tasks that have registered to
5983 receive it whenever a scan indication is received from the firmware.
5986 common - Common header for use with the CsrWifiFsm Module
5987 result - Points to a buffer containing a scan result.
5989 *******************************************************************************/
5992 CsrWifiFsmEvent common;
5993 CsrWifiSmeScanResult result;
5994 } CsrWifiSmeScanResultInd;
5996 /*******************************************************************************
5999 CsrWifiSmeScanResultsFlushCfm
6002 The SME will call this primitive when the cache has been cleared.
6005 common - Common header for use with the CsrWifiFsm Module
6006 status - Reports the result of the request
6008 *******************************************************************************/
6011 CsrWifiFsmEvent common;
6013 } CsrWifiSmeScanResultsFlushCfm;
6015 /*******************************************************************************
6018 CsrWifiSmeScanResultsGetCfm
6021 The SME sends this primitive to provide the current set of scan results.
6024 common - Common header for use with the CsrWifiFsm Module
6025 status - Reports the result of the request
6026 scanResultsCount - Number of scan results
6027 scanResults - Points to a buffer containing an array of
6028 CsrWifiSmeScanResult structures.
6030 *******************************************************************************/
6033 CsrWifiFsmEvent common;
6035 u16 scanResultsCount;
6036 CsrWifiSmeScanResult *scanResults;
6037 } CsrWifiSmeScanResultsGetCfm;
6039 /*******************************************************************************
6042 CsrWifiSmeSmeStaConfigGetCfm
6045 This primitive reports the result of the request.
6048 common - Common header for use with the CsrWifiFsm Module
6049 interfaceTag - Interface Identifier; unique identifier of an interface
6050 status - Reports the result of the request
6051 smeConfig - Current SME Station Parameters
6053 *******************************************************************************/
6056 CsrWifiFsmEvent common;
6059 CsrWifiSmeStaConfig smeConfig;
6060 } CsrWifiSmeSmeStaConfigGetCfm;
6062 /*******************************************************************************
6065 CsrWifiSmeSmeStaConfigSetCfm
6068 This primitive reports the result of the request.
6071 common - Common header for use with the CsrWifiFsm Module
6072 interfaceTag - Interface Identifier; unique identifier of an interface
6073 status - Reports the result of the request
6075 *******************************************************************************/
6078 CsrWifiFsmEvent common;
6081 } CsrWifiSmeSmeStaConfigSetCfm;
6083 /*******************************************************************************
6086 CsrWifiSmeStationMacAddressGetCfm
6089 This primitive reports the result of the request.
6092 common - Common header for use with the CsrWifiFsm Module
6093 status - Reports the result of the request
6094 stationMacAddress - Current MAC address of the station.
6096 *******************************************************************************/
6099 CsrWifiFsmEvent common;
6101 CsrWifiMacAddress stationMacAddress[2];
6102 } CsrWifiSmeStationMacAddressGetCfm;
6104 /*******************************************************************************
6110 The SME will send this primitive to all the task that have registered to
6111 receive it when a status change in the TSPEC occurs.
6114 common - Common header for use with the CsrWifiFsm Module
6115 interfaceTag - Interface Identifier; unique identifier of an interface
6116 transactionId - Unique Transaction ID for the TSPEC, as assigned by the
6118 tspecResultCode - Specifies the TSPEC operation requested by the peer
6120 tspecLength - Length of the TSPEC.
6121 tspec - Points to the first byte of the TSPEC
6123 *******************************************************************************/
6126 CsrWifiFsmEvent common;
6129 CsrWifiSmeTspecResultCode tspecResultCode;
6132 } CsrWifiSmeTspecInd;
6134 /*******************************************************************************
6140 The SME calls the primitive to report the result of the TSpec primitive
6144 common - Common header for use with the CsrWifiFsm Module
6145 interfaceTag - Interface Identifier; unique identifier of an interface
6146 status - Reports the result of the request
6147 transactionId - Unique Transaction ID for the TSPEC, as assigned by the
6149 tspecResultCode - Specifies the result of the negotiated TSPEC operation
6150 tspecLength - Length of the TSPEC.
6151 tspec - Points to the first byte of the TSPEC
6153 *******************************************************************************/
6156 CsrWifiFsmEvent common;
6160 CsrWifiSmeTspecResultCode tspecResultCode;
6163 } CsrWifiSmeTspecCfm;
6165 /*******************************************************************************
6168 CsrWifiSmeVersionsGetCfm
6171 This primitive reports the result of the request.
6174 common - Common header for use with the CsrWifiFsm Module
6175 status - Reports the result of the request
6176 versions - Version IDs of the product
6178 *******************************************************************************/
6181 CsrWifiFsmEvent common;
6183 CsrWifiSmeVersions versions;
6184 } CsrWifiSmeVersionsGetCfm;
6186 /*******************************************************************************
6189 CsrWifiSmeWifiFlightmodeCfm
6192 The SME calls this primitive when the chip is initialised for low power
6193 mode and with the radio subsystem disabled. To leave flight mode, and
6194 enable Wi-Fi, the wireless manager application should call
6195 CSR_WIFI_SME_WIFI_ON_REQ.
6198 common - Common header for use with the CsrWifiFsm Module
6199 status - Reports the result of the request
6201 *******************************************************************************/
6204 CsrWifiFsmEvent common;
6206 } CsrWifiSmeWifiFlightmodeCfm;
6208 /*******************************************************************************
6211 CsrWifiSmeWifiOffInd
6214 The SME sends this primitive to all the tasks that have registered to
6215 receive it to report that the chip has been turned off.
6218 common - Common header for use with the CsrWifiFsm Module
6219 reason - Indicates the reason why the Wi-Fi has been switched off.
6221 *******************************************************************************/
6224 CsrWifiFsmEvent common;
6225 CsrWifiSmeControlIndication reason;
6226 } CsrWifiSmeWifiOffInd;
6228 /*******************************************************************************
6231 CsrWifiSmeWifiOffCfm
6234 After receiving CSR_WIFI_SME_WIFI_OFF_REQ, if the chip is connected to a
6235 network, the SME will perform a disconnect operation, will send a
6236 CSR_WIFI_SME_MEDIA_STATUS_IND with
6237 CSR_WIFI_SME_MEDIA_STATUS_DISCONNECTED, and then will call
6238 CSR_WIFI_SME_WIFI_OFF_CFM when the chip is off.
6241 common - Common header for use with the CsrWifiFsm Module
6242 status - Reports the result of the request
6244 *******************************************************************************/
6247 CsrWifiFsmEvent common;
6249 } CsrWifiSmeWifiOffCfm;
6251 /*******************************************************************************
6257 The SME sends this primitive to the task that has sent the request once
6258 the chip has been initialised and is available for use.
6261 common - Common header for use with the CsrWifiFsm Module
6262 status - Reports the result of the request
6264 *******************************************************************************/
6267 CsrWifiFsmEvent common;
6269 } CsrWifiSmeWifiOnCfm;
6271 /*******************************************************************************
6274 CsrWifiSmeCloakedSsidsSetCfm
6277 This primitive reports the result of the request.
6280 common - Common header for use with the CsrWifiFsm Module
6281 status - Reports the result of the request
6283 *******************************************************************************/
6286 CsrWifiFsmEvent common;
6288 } CsrWifiSmeCloakedSsidsSetCfm;
6290 /*******************************************************************************
6293 CsrWifiSmeCloakedSsidsGetCfm
6296 This primitive reports the result of the request.
6299 common - Common header for use with the CsrWifiFsm Module
6300 status - Reports the result of the request
6301 cloakedSsids - Reports list of cloaked SSIDs that are explicitly scanned for
6304 *******************************************************************************/
6307 CsrWifiFsmEvent common;
6309 CsrWifiSmeCloakedSsidConfig cloakedSsids;
6310 } CsrWifiSmeCloakedSsidsGetCfm;
6312 /*******************************************************************************
6318 The SME sends this primitive to all tasks that have registered to receive
6319 it once the chip becomes available and ready to use.
6322 common - Common header for use with the CsrWifiFsm Module
6323 address - Current MAC address
6325 *******************************************************************************/
6328 CsrWifiFsmEvent common;
6329 CsrWifiMacAddress address;
6330 } CsrWifiSmeWifiOnInd;
6332 /*******************************************************************************
6335 CsrWifiSmeSmeCommonConfigGetCfm
6338 This primitive reports the result of the request.
6341 common - Common header for use with the CsrWifiFsm Module
6342 status - Reports the result of the request
6343 deviceConfig - Configuration options in the SME
6345 *******************************************************************************/
6348 CsrWifiFsmEvent common;
6350 CsrWifiSmeDeviceConfig deviceConfig;
6351 } CsrWifiSmeSmeCommonConfigGetCfm;
6353 /*******************************************************************************
6356 CsrWifiSmeSmeCommonConfigSetCfm
6359 Reports the result of the request
6362 common - Common header for use with the CsrWifiFsm Module
6363 status - Reports the result of the request
6365 *******************************************************************************/
6368 CsrWifiFsmEvent common;
6370 } CsrWifiSmeSmeCommonConfigSetCfm;
6372 /*******************************************************************************
6375 CsrWifiSmeInterfaceCapabilityGetCfm
6378 This primitive reports the result of the request.
6381 common - Common header for use with the CsrWifiFsm Module
6382 status - Result of the request
6383 numInterfaces - Number of the interfaces supported
6384 capBitmap - Points to the list of capabilities bitmaps provided for each
6386 The bits represent the following capabilities:
6387 -bits 7 to 4-Reserved
6393 *******************************************************************************/
6396 CsrWifiFsmEvent common;
6400 } CsrWifiSmeInterfaceCapabilityGetCfm;
6402 /*******************************************************************************
6408 Important error message indicating a error of some importance
6411 common - Common header for use with the CsrWifiFsm Module
6412 errorMessage - Contains the error message.
6414 *******************************************************************************/
6417 CsrWifiFsmEvent common;
6419 } CsrWifiSmeErrorInd;
6421 /*******************************************************************************
6427 Message indicating a some info about current activity. Mostly of interest
6428 in testing but may be useful in the field.
6431 common - Common header for use with the CsrWifiFsm Module
6432 infoMessage - Contains the message.
6434 *******************************************************************************/
6437 CsrWifiFsmEvent common;
6439 } CsrWifiSmeInfoInd;
6441 /*******************************************************************************
6444 CsrWifiSmeCoreDumpInd
6447 The SME will send this primitive to all the tasks that have registered to
6448 receive Wi-Fi Chip core dump data.
6449 The core dump data may be fragmented and sent using more than one
6451 To indicate that all the data has been sent, the last indication contains
6452 a 'length' of 0 and 'data' of NULL.
6455 common - Common header for use with the CsrWifiFsm Module
6456 dataLength - Number of bytes in the buffer pointed to by 'data'
6457 data - Pointer to the buffer containing 'dataLength' bytes of core
6460 *******************************************************************************/
6463 CsrWifiFsmEvent common;
6466 } CsrWifiSmeCoreDumpInd;
6468 /*******************************************************************************
6471 CsrWifiSmeAmpStatusChangeInd
6474 Indication of change to AMP activity.
6477 common - Common header for use with the CsrWifiFsm Module
6478 interfaceTag - Interface on which the AMP activity changed.
6479 ampStatus - The new status of AMP activity.Range: {AMP_ACTIVE,
6482 *******************************************************************************/
6485 CsrWifiFsmEvent common;
6487 CsrWifiSmeAmpStatus ampStatus;
6488 } CsrWifiSmeAmpStatusChangeInd;
6490 /*******************************************************************************
6493 CsrWifiSmeWpsConfigurationCfm
6499 common - Common header for use with the CsrWifiFsm Module
6500 status - Status of the request.
6502 *******************************************************************************/
6505 CsrWifiFsmEvent common;
6507 } CsrWifiSmeWpsConfigurationCfm;
6509 #endif /* CSR_WIFI_SME_PRIM_H__ */