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_AP_PRIM_H__
14 #define CSR_WIFI_SME_AP_PRIM_H__
16 #include "csr_prim_defs.h"
17 #include "csr_sched.h"
18 #include "csr_wifi_common.h"
19 #include "csr_result.h"
20 #include "csr_wifi_fsm_event.h"
21 #include "csr_wifi_sme_prim.h"
23 #ifndef CSR_WIFI_AP_ENABLE
24 #error CSR_WIFI_AP_ENABLE MUST be defined inorder to use csr_wifi_sme_ap_prim.h
27 #define CSR_WIFI_SME_AP_PRIM (0x0407)
29 typedef CsrPrim CsrWifiSmeApPrim;
32 /*******************************************************************************
35 CsrWifiSmeApAccessType
38 Allow or deny STAs based on MAC address
41 CSR_WIFI_AP_ACCESS_TYPE_NONE - None
42 CSR_WIFI_AP_ACCESS_TYPE_ALLOW - Allow only if MAC address is from the list
43 CSR_WIFI_AP_ACCESS_TYPE_DENY - Disallow if MAC address is from the list
45 *******************************************************************************/
46 typedef u8 CsrWifiSmeApAccessType;
47 #define CSR_WIFI_AP_ACCESS_TYPE_NONE ((CsrWifiSmeApAccessType) 0x00)
48 #define CSR_WIFI_AP_ACCESS_TYPE_ALLOW ((CsrWifiSmeApAccessType) 0x01)
49 #define CSR_WIFI_AP_ACCESS_TYPE_DENY ((CsrWifiSmeApAccessType) 0x02)
51 /*******************************************************************************
54 CsrWifiSmeApAuthSupport
57 Define bits for AP authentication support
60 CSR_WIFI_SME_RSN_AUTH_WPAPSK - RSN WPA-PSK Support
61 CSR_WIFI_SME_RSN_AUTH_WPA2PSK - RSN WPA2-PSK Support
62 CSR_WIFI_SME_AUTH_WAPIPSK - WAPI-PSK Support
64 *******************************************************************************/
65 typedef u8 CsrWifiSmeApAuthSupport;
66 #define CSR_WIFI_SME_RSN_AUTH_WPAPSK ((CsrWifiSmeApAuthSupport) 0x01)
67 #define CSR_WIFI_SME_RSN_AUTH_WPA2PSK ((CsrWifiSmeApAuthSupport) 0x02)
68 #define CSR_WIFI_SME_AUTH_WAPIPSK ((CsrWifiSmeApAuthSupport) 0x04)
70 /*******************************************************************************
76 Definition of the SME AP Authentication Options
79 CSR_WIFI_SME_AP_AUTH_TYPE_OPEN_SYSTEM
81 CSR_WIFI_SME_AP_AUTH_TYPE_PERSONAL
82 - Personal authentication using a passphrase or a pre-shared
84 CSR_WIFI_SME_AP_AUTH_TYPE_WEP
85 - WEP authentication. This can be either open or shared key
87 *******************************************************************************/
88 typedef u8 CsrWifiSmeApAuthType;
89 #define CSR_WIFI_SME_AP_AUTH_TYPE_OPEN_SYSTEM ((CsrWifiSmeApAuthType) 0x00)
90 #define CSR_WIFI_SME_AP_AUTH_TYPE_PERSONAL ((CsrWifiSmeApAuthType) 0x01)
91 #define CSR_WIFI_SME_AP_AUTH_TYPE_WEP ((CsrWifiSmeApAuthType) 0x02)
93 /*******************************************************************************
99 Definition of Direction
102 CSR_WIFI_AP_DIRECTION_RECEIPIENT - Receipient
103 CSR_WIFI_AP_DIRECTION_ORIGINATOR - Originator
105 *******************************************************************************/
106 typedef u8 CsrWifiSmeApDirection;
107 #define CSR_WIFI_AP_DIRECTION_RECEIPIENT ((CsrWifiSmeApDirection) 0x00)
108 #define CSR_WIFI_AP_DIRECTION_ORIGINATOR ((CsrWifiSmeApDirection) 0x01)
110 /*******************************************************************************
113 CsrWifiSmeApPhySupport
116 Define bits for CsrWifiSmeApPhySupportMask
119 CSR_WIFI_SME_AP_PHY_SUPPORT_A - 802.11a. It is not supported in the current
121 CSR_WIFI_SME_AP_PHY_SUPPORT_B - 802.11b
122 CSR_WIFI_SME_AP_PHY_SUPPORT_G - 802.11g
123 CSR_WIFI_SME_AP_PHY_SUPPORT_N - 802.11n
125 *******************************************************************************/
126 typedef u8 CsrWifiSmeApPhySupport;
127 #define CSR_WIFI_SME_AP_PHY_SUPPORT_A ((CsrWifiSmeApPhySupport) 0x01)
128 #define CSR_WIFI_SME_AP_PHY_SUPPORT_B ((CsrWifiSmeApPhySupport) 0x02)
129 #define CSR_WIFI_SME_AP_PHY_SUPPORT_G ((CsrWifiSmeApPhySupport) 0x04)
130 #define CSR_WIFI_SME_AP_PHY_SUPPORT_N ((CsrWifiSmeApPhySupport) 0x08)
132 /*******************************************************************************
138 Definition of AP types
141 CSR_WIFI_AP_TYPE_LEGACY - Legacy AP
142 CSR_WIFI_AP_TYPE_P2P - P2P Group Owner(GO)
144 *******************************************************************************/
145 typedef u8 CsrWifiSmeApType;
146 #define CSR_WIFI_AP_TYPE_LEGACY ((CsrWifiSmeApType) 0x00)
147 #define CSR_WIFI_AP_TYPE_P2P ((CsrWifiSmeApType) 0x01)
150 /*******************************************************************************
153 CsrWifiSmeApAuthSupportMask
156 See CsrWifiSmeApAuthSupport for bit definitions
158 *******************************************************************************/
159 typedef u8 CsrWifiSmeApAuthSupportMask;
160 /*******************************************************************************
163 CsrWifiSmeApPhySupportMask
166 Mask type for use with the values defined by CsrWifiSmeApPhySupport
168 *******************************************************************************/
169 typedef u8 CsrWifiSmeApPhySupportMask;
170 /*******************************************************************************
173 CsrWifiSmeApRsnCapabilities
176 Set to 0 for the current release
178 *******************************************************************************/
179 typedef u16 CsrWifiSmeApRsnCapabilities;
180 /*******************************************************************************
183 CsrWifiSmeApRsnCapabilitiesMask
186 Mask type for use with the values defined by CsrWifiSmeApRsnCapabilities
188 *******************************************************************************/
189 typedef u16 CsrWifiSmeApRsnCapabilitiesMask;
190 /*******************************************************************************
193 CsrWifiSmeApWapiCapabilities
196 Ignored by the stack as WAPI is not supported for AP operations in the
199 *******************************************************************************/
200 typedef u16 CsrWifiSmeApWapiCapabilities;
201 /*******************************************************************************
204 CsrWifiSmeApWapiCapabilitiesMask
207 Mask type for use with the values defined by CsrWifiSmeApWapiCapabilities
209 *******************************************************************************/
210 typedef u16 CsrWifiSmeApWapiCapabilitiesMask;
213 /*******************************************************************************
219 Structure holding HT parameters
222 greenfieldSupported - Indicates if the AP supports Htgreenfield operation
223 subject to the chip capability. If the chip does not
224 support Htgreenfield operation, this parameter will be
226 NOTE: if shortGi20MHz is set to TRUE and the chip
227 supports short GI operation for 20MHz this field will
228 be be ignored and the AP will not support Htgreenfield
230 NOTE: This field is ignored by the Wi-Fi stack for the
231 current release. It implies that AP does not support
232 greenfield operation.
233 shortGi20MHz - Indicates if the AP support short GI operation for
234 20MHz subject to the chip capability.If the chip does
235 not support short GI for 20MHz, this parameter is
237 rxStbc - Support for STBC for receive. 0 => No support for STBC
238 , 1=> Use STBC for Rx
239 rifsModeAllowed - RIFS Mode is allowed to protect overlapping non-HT BSS
240 htProtection - Deprecated
241 dualCtsProtection - Dual CTS Protection enabled
243 *******************************************************************************/
246 u8 greenfieldSupported;
251 u8 dualCtsProtection;
252 } CsrWifiSmeApHtParams;
254 /*******************************************************************************
257 CsrWifiSmeApP2pOperatingChanEntry
262 operatingClass - Channel operating class
263 operatingChannelCount - Number of channels in this entry
264 operatingChannel - List of channels
266 *******************************************************************************/
270 u8 operatingChannelCount;
271 u8 *operatingChannel;
272 } CsrWifiSmeApP2pOperatingChanEntry;
274 /*******************************************************************************
277 CsrWifiSmeApP2pOperatingChanList
280 This structure contains the lists of P2P operating channels
284 channelEntryListCount - Number of entries
285 channelEntryList - List of entries
287 *******************************************************************************/
291 u8 channelEntryListCount;
292 CsrWifiSmeApP2pOperatingChanEntry *channelEntryList;
293 } CsrWifiSmeApP2pOperatingChanList;
295 /*******************************************************************************
308 *******************************************************************************/
311 CsrWifiSmeApAuthSupportMask authSupport;
312 CsrWifiSmeEncryptionMask encryptionModeMask;
313 CsrWifiSmeApRsnCapabilitiesMask rsnCapabilities;
314 CsrWifiSmeApWapiCapabilitiesMask wapiCapabilities;
315 } CsrWifiSmeApAuthPers;
317 /*******************************************************************************
320 CsrWifiSmeApBaSession
325 peerMacAddress - Indicates MAC address of the peer station
326 tid - Specifies the TID of the MSDUs for which this Block Ack has
327 been set up. Range: 0-15
328 direction - Specifies if the AP is the originator or the recipient of
329 the data stream that uses the Block Ack.
331 *******************************************************************************/
334 CsrWifiMacAddress peerMacAddress;
336 CsrWifiSmeApDirection direction;
337 } CsrWifiSmeApBaSession;
339 /*******************************************************************************
342 CsrWifiSmeApMacConfig
345 Structure holding AP MAC configuration.
348 phySupportedBitmap - Indicates supported physical layers
349 beaconInterval - Beacon interval in terms of TUs
350 dtimPeriod - DTIM period in terms of number of beacon intervals
351 maxListenInterval - Maximum allowed listen interval as number of beacon
353 supportedRatesCount - Number of supported rates. Range : 0 to 20
354 supportedRates - List of supportedRates. A rate is specied in the
355 units of 500kbps. An entry for a basic rate shall
356 have the MSB set to 1.
357 preamble - Preamble to be advertised in beacons and probe
359 shortSlotTimeEnabled - TRUE indicates the AP shall use short slot time if
360 all the stations use short slot operation.
361 ctsProtectionType - CTS protection to be used
362 wmmEnabled - Indicate whether WMM is enabled or not. If set to
363 FALSE,the WMM parameters shall be ignored by the
365 wmmApParams - WMM parameters to be used for local firmware queue
366 configuration. Array index corresponds to the ACI.
367 wmmApBcParams - WMM parameters to be advertised in beacon/probe
368 response. Array index corresponds to the ACI
369 accessType - Specifies whether the MAC addresses from the list
370 should be allowed or denied
371 macAddressListCount - Number of MAC addresses
372 macAddressList - List of MAC addresses
373 apHtParams - AP HT parameters. The stack shall use these
374 parameters only if phySupportedBitmap indicates
375 support for IEEE 802.11n
377 *******************************************************************************/
380 CsrWifiSmeApPhySupportMask phySupportedBitmap;
383 u16 maxListenInterval;
384 u8 supportedRatesCount;
385 u8 supportedRates[20];
386 CsrWifiSmePreambleType preamble;
387 u8 shortSlotTimeEnabled;
388 CsrWifiSmeCtsProtectionType ctsProtectionType;
390 CsrWifiSmeWmmAcParams wmmApParams[4];
391 CsrWifiSmeWmmAcParams wmmApBcParams[4];
392 CsrWifiSmeApAccessType accessType;
393 u8 macAddressListCount;
394 CsrWifiMacAddress *macAddressList;
395 CsrWifiSmeApHtParams apHtParams;
396 } CsrWifiSmeApMacConfig;
398 /*******************************************************************************
401 CsrWifiSmeApP2pGoConfig
406 groupCapability - Indicates the P2P group capabilities
407 operatingChanList - List of operating channels in the order of
408 decreasing priority. It may contain channel
409 entry/entries not supported by the wifi stack.
410 These shall be filtered out by the wifi stack
411 opPsEnabled - Indicates whether opportunistic power save can
413 Note: This parameter is ignored by the WiFi
414 stack for the current release
415 ctWindow - Define Client Traffic window to be used in terms
416 of number of TUs. Range: 0 to 127.
417 Note: This parameter is ignored by the WiFi
418 stack for the current release.
419 noaConfigMethod - Notice of Absence configuration method.
420 Note: This parameter is ignored by the WiFi
421 stack for the current release.
422 allowNoaWithNonP2pDevices - Indicates if NOA should be allowed if non P2P
423 devices are connected. If allowed the non P2P
424 devices may suffer in throughput.
425 Note: This parameter is ignored by the WiFi
426 stack for the current release.
428 *******************************************************************************/
431 CsrWifiSmeP2pGroupCapabilityMask groupCapability;
432 CsrWifiSmeApP2pOperatingChanList operatingChanList;
435 CsrWifiSmeP2pNoaConfigMethod noaConfigMethod;
436 u8 allowNoaWithNonP2pDevices;
437 } CsrWifiSmeApP2pGoConfig;
439 /*******************************************************************************
442 CsrWifiSmeApCredentials
449 smeAuthTypeopenSystemEmpty -
451 smeAuthTypeauthPers -
453 *******************************************************************************/
456 CsrWifiSmeApAuthType authType;
458 CsrWifiSmeEmpty openSystemEmpty;
459 CsrWifiSmeWepAuth authwep;
460 CsrWifiSmeApAuthPers authPers;
462 } CsrWifiSmeApCredentials;
464 /*******************************************************************************
467 CsrWifiSmeApSecConfig
475 *******************************************************************************/
478 CsrWifiSmeApCredentials apCredentials;
480 } CsrWifiSmeApSecConfig;
484 #define CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST (0x0000)
486 #define CSR_WIFI_SME_AP_BEACONING_START_REQ ((CsrWifiSmeApPrim) (0x0000 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
487 #define CSR_WIFI_SME_AP_BEACONING_STOP_REQ ((CsrWifiSmeApPrim) (0x0001 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
488 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_STARTED_REQ ((CsrWifiSmeApPrim) (0x0002 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
489 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_FINISHED_REQ ((CsrWifiSmeApPrim) (0x0003 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
490 #define CSR_WIFI_SME_AP_WMM_PARAM_UPDATE_REQ ((CsrWifiSmeApPrim) (0x0004 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
491 #define CSR_WIFI_SME_AP_STA_DISCONNECT_REQ ((CsrWifiSmeApPrim) (0x0005 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
492 #define CSR_WIFI_SME_AP_WPS_CONFIGURATION_REQ ((CsrWifiSmeApPrim) (0x0006 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
493 #define CSR_WIFI_SME_AP_ACTIVE_BA_GET_REQ ((CsrWifiSmeApPrim) (0x0007 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
494 #define CSR_WIFI_SME_AP_BA_DELETE_REQ ((CsrWifiSmeApPrim) (0x0008 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
497 #define CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_HIGHEST (0x0008 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST)
500 #define CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST (0x0000 + CSR_PRIM_UPSTREAM)
502 #define CSR_WIFI_SME_AP_BEACONING_START_CFM ((CsrWifiSmeApPrim)(0x0000 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
503 #define CSR_WIFI_SME_AP_BEACONING_STOP_CFM ((CsrWifiSmeApPrim)(0x0001 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
504 #define CSR_WIFI_SME_AP_STA_NOTIFY_IND ((CsrWifiSmeApPrim)(0x0002 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
505 #define CSR_WIFI_SME_AP_STA_CONNECT_START_IND ((CsrWifiSmeApPrim)(0x0003 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
506 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_STARTED_CFM ((CsrWifiSmeApPrim)(0x0004 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
507 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_FINISHED_CFM ((CsrWifiSmeApPrim)(0x0005 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
508 #define CSR_WIFI_SME_AP_WMM_PARAM_UPDATE_CFM ((CsrWifiSmeApPrim)(0x0006 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
509 #define CSR_WIFI_SME_AP_STA_DISCONNECT_CFM ((CsrWifiSmeApPrim)(0x0007 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
510 #define CSR_WIFI_SME_AP_WPS_CONFIGURATION_CFM ((CsrWifiSmeApPrim)(0x0008 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
511 #define CSR_WIFI_SME_AP_ERROR_IND ((CsrWifiSmeApPrim)(0x0009 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
512 #define CSR_WIFI_SME_AP_ACTIVE_BA_GET_CFM ((CsrWifiSmeApPrim)(0x000A + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
513 #define CSR_WIFI_SME_AP_BA_DELETE_CFM ((CsrWifiSmeApPrim)(0x000B + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
515 #define CSR_WIFI_SME_AP_PRIM_UPSTREAM_HIGHEST (0x000B + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST)
517 #define CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_COUNT (CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_HIGHEST + 1 - CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST)
518 #define CSR_WIFI_SME_AP_PRIM_UPSTREAM_COUNT (CSR_WIFI_SME_AP_PRIM_UPSTREAM_HIGHEST + 1 - CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST)
520 /*******************************************************************************
523 CsrWifiSmeApBeaconingStartReq
526 This primitive requests the SME to start AP or GO functionality
529 common - Common header for use with the CsrWifiFsm Module
531 initialPresence - Set to 0, if Not in a group fomration phase, set to 1 ,
532 during group formation phase
533 apType - apType : Legacy AP or P2PGO
534 cloakSsid - cloakSsid flag.
536 ifIndex - Radio Interface
538 maxConnections - Maximum Stations + P2PClients allowed
539 apCredentials - AP security credeitals used to advertise in beacon /probe
541 smeApConfig - AP configuration
542 p2pGoParam - P2P specific GO parameters. Ignored if it is a leagacy AP
544 *******************************************************************************/
547 CsrWifiFsmEvent common;
550 CsrWifiSmeApType apType;
553 CsrWifiSmeRadioIF ifIndex;
556 CsrWifiSmeApSecConfig apCredentials;
557 CsrWifiSmeApMacConfig smeApConfig;
558 CsrWifiSmeApP2pGoConfig p2pGoParam;
559 } CsrWifiSmeApBeaconingStartReq;
561 /*******************************************************************************
564 CsrWifiSmeApBeaconingStopReq
567 This primitive requests the SME to STOP AP or P2PGO operation
570 common - Common header for use with the CsrWifiFsm Module
573 *******************************************************************************/
576 CsrWifiFsmEvent common;
578 } CsrWifiSmeApBeaconingStopReq;
580 /*******************************************************************************
583 CsrWifiSmeApWpsRegistrationStartedReq
586 This primitive tells SME that WPS registration procedure has started
589 common - Common header for use with the CsrWifiFsm Module
591 SelectedDevicePasswordId -
592 SelectedconfigMethod -
594 *******************************************************************************/
597 CsrWifiFsmEvent common;
599 CsrWifiSmeWpsDpid SelectedDevicePasswordId;
600 CsrWifiSmeWpsConfigType SelectedconfigMethod;
601 } CsrWifiSmeApWpsRegistrationStartedReq;
603 /*******************************************************************************
606 CsrWifiSmeApWpsRegistrationFinishedReq
609 This primitive tells SME that WPS registration procedure has finished
612 common - Common header for use with the CsrWifiFsm Module
615 *******************************************************************************/
618 CsrWifiFsmEvent common;
620 } CsrWifiSmeApWpsRegistrationFinishedReq;
622 /*******************************************************************************
625 CsrWifiSmeApWmmParamUpdateReq
628 Application uses this primitive to update the WMM parameters on the fly
631 common - Common header for use with the CsrWifiFsm Module
633 wmmApParams - WMM parameters to be used for local firmware queue
635 wmmApBcParams - WMM parameters to be advertised in beacon/probe response
637 *******************************************************************************/
640 CsrWifiFsmEvent common;
642 CsrWifiSmeWmmAcParams wmmApParams[4];
643 CsrWifiSmeWmmAcParams wmmApBcParams[4];
644 } CsrWifiSmeApWmmParamUpdateReq;
646 /*******************************************************************************
649 CsrWifiSmeApStaDisconnectReq
652 This primitive tells SME to deauth ot disassociate a particular station
656 common - Common header for use with the CsrWifiFsm Module
661 keepBlocking - If TRUE, the station is blocked. If FALSE and the station
662 is connected, disconnect the station. If FALSE and the
663 station is not connected, no action is taken.
665 *******************************************************************************/
668 CsrWifiFsmEvent common;
670 CsrWifiSmeIEEE80211Reason deauthReason;
671 CsrWifiSmeIEEE80211Reason disassocReason;
672 CsrWifiMacAddress peerMacaddress;
674 } CsrWifiSmeApStaDisconnectReq;
676 /*******************************************************************************
679 CsrWifiSmeApWpsConfigurationReq
682 This primitive passes the WPS information for the device to SME. This may
683 be accepted only if no interface is active.
686 common - Common header for use with the CsrWifiFsm Module
687 wpsConfig - WPS config.
689 *******************************************************************************/
692 CsrWifiFsmEvent common;
693 CsrWifiSmeWpsConfig wpsConfig;
694 } CsrWifiSmeApWpsConfigurationReq;
696 /*******************************************************************************
699 CsrWifiSmeApActiveBaGetReq
702 This primitive used to retrieve information related to the active block
706 common - Common header for use with the CsrWifiFsm Module
709 *******************************************************************************/
712 CsrWifiFsmEvent common;
714 } CsrWifiSmeApActiveBaGetReq;
716 /*******************************************************************************
719 CsrWifiSmeApBaDeleteReq
722 This primitive is used to delete an active block ack session
725 common - Common header for use with the CsrWifiFsm Module
728 baSession - BA session to be deleted
730 *******************************************************************************/
733 CsrWifiFsmEvent common;
735 CsrWifiSmeIEEE80211Reason reason;
736 CsrWifiSmeApBaSession baSession;
737 } CsrWifiSmeApBaDeleteReq;
739 /*******************************************************************************
742 CsrWifiSmeApBeaconingStartCfm
745 This primitive confirms the completion of the request along with the
749 common - Common header for use with the CsrWifiFsm Module
755 *******************************************************************************/
758 CsrWifiFsmEvent common;
763 } CsrWifiSmeApBeaconingStartCfm;
765 /*******************************************************************************
768 CsrWifiSmeApBeaconingStopCfm
771 This primitive confirms AP or P2PGO operation is terminated
774 common - Common header for use with the CsrWifiFsm Module
778 *******************************************************************************/
781 CsrWifiFsmEvent common;
784 } CsrWifiSmeApBeaconingStopCfm;
786 /*******************************************************************************
789 CsrWifiSmeApStaNotifyInd
792 This primitive indicates that a station has joined or a previously joined
793 station has left the BSS/group
796 common - Common header for use with the CsrWifiFsm Module
809 *******************************************************************************/
812 CsrWifiFsmEvent common;
814 CsrWifiSmeMediaStatus mediaStatus;
815 CsrWifiMacAddress peerMacAddress;
816 CsrWifiMacAddress peerDeviceAddress;
817 CsrWifiSmeIEEE80211Reason disassocReason;
818 CsrWifiSmeIEEE80211Reason deauthReason;
819 CsrWifiSmeWpsRegistration WpsRegistration;
824 } CsrWifiSmeApStaNotifyInd;
826 /*******************************************************************************
829 CsrWifiSmeApStaConnectStartInd
832 This primitive indicates that a stations request to join the group/BSS is
836 common - Common header for use with the CsrWifiFsm Module
840 *******************************************************************************/
843 CsrWifiFsmEvent common;
845 CsrWifiMacAddress peerMacAddress;
846 } CsrWifiSmeApStaConnectStartInd;
848 /*******************************************************************************
851 CsrWifiSmeApWpsRegistrationStartedCfm
854 A confirm for UNIFI_MGT_AP_WPS_REGISTRATION_STARTED.request
857 common - Common header for use with the CsrWifiFsm Module
861 *******************************************************************************/
864 CsrWifiFsmEvent common;
867 } CsrWifiSmeApWpsRegistrationStartedCfm;
869 /*******************************************************************************
872 CsrWifiSmeApWpsRegistrationFinishedCfm
875 A confirm for UNIFI_MGT_AP_WPS_REGISTRATION_FINISHED.request
878 common - Common header for use with the CsrWifiFsm Module
882 *******************************************************************************/
885 CsrWifiFsmEvent common;
888 } CsrWifiSmeApWpsRegistrationFinishedCfm;
890 /*******************************************************************************
893 CsrWifiSmeApWmmParamUpdateCfm
896 A confirm for CSR_WIFI_SME_AP_WMM_PARAM_UPDATE.request
899 common - Common header for use with the CsrWifiFsm Module
903 *******************************************************************************/
906 CsrWifiFsmEvent common;
909 } CsrWifiSmeApWmmParamUpdateCfm;
911 /*******************************************************************************
914 CsrWifiSmeApStaDisconnectCfm
917 This primitive confirms the station is disconnected
920 common - Common header for use with the CsrWifiFsm Module
925 *******************************************************************************/
928 CsrWifiFsmEvent common;
931 CsrWifiMacAddress peerMacaddress;
932 } CsrWifiSmeApStaDisconnectCfm;
934 /*******************************************************************************
937 CsrWifiSmeApWpsConfigurationCfm
943 common - Common header for use with the CsrWifiFsm Module
944 status - Status of the request.
946 *******************************************************************************/
949 CsrWifiFsmEvent common;
951 } CsrWifiSmeApWpsConfigurationCfm;
953 /*******************************************************************************
959 This primitve is sent by SME to indicate some error in AP operationi
960 after AP operations were started successfully and continuing the AP
961 operation may lead to undesired behaviour. It is the responsibility of
962 the upper layers to stop AP operation if needed
965 common - Common header for use with the CsrWifiFsm Module
966 interfaceTag - Range 0-1
968 status - Contains the error status
970 *******************************************************************************/
973 CsrWifiFsmEvent common;
975 CsrWifiSmeApType apType;
977 } CsrWifiSmeApErrorInd;
979 /*******************************************************************************
982 CsrWifiSmeApActiveBaGetCfm
985 This primitive carries the information related to the active ba sessions
988 common - Common header for use with the CsrWifiFsm Module
990 status - Reports the result of the request
991 activeBaCount - Number of active block ack session
992 activeBaSessions - Points to a buffer containing an array of
993 CsrWifiSmeApBaSession structures.
995 *******************************************************************************/
998 CsrWifiFsmEvent common;
1002 CsrWifiSmeApBaSession *activeBaSessions;
1003 } CsrWifiSmeApActiveBaGetCfm;
1005 /*******************************************************************************
1008 CsrWifiSmeApBaDeleteCfm
1011 This primitive confirms the BA is deleted
1014 common - Common header for use with the CsrWifiFsm Module
1016 status - Reports the result of the request
1017 baSession - deleted BA session
1019 *******************************************************************************/
1022 CsrWifiFsmEvent common;
1025 CsrWifiSmeApBaSession baSession;
1026 } CsrWifiSmeApBaDeleteCfm;
1029 #endif /* CSR_WIFI_SME_AP_PRIM_H__ */