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"
27 #ifndef CSR_WIFI_AP_ENABLE
28 #error CSR_WIFI_AP_ENABLE MUST be defined inorder to use csr_wifi_sme_ap_prim.h
31 #define CSR_WIFI_SME_AP_PRIM (0x0407)
33 typedef CsrPrim CsrWifiSmeApPrim;
36 /*******************************************************************************
39 CsrWifiSmeApAccessType
42 Allow or deny STAs based on MAC address
45 CSR_WIFI_AP_ACCESS_TYPE_NONE - None
46 CSR_WIFI_AP_ACCESS_TYPE_ALLOW - Allow only if MAC address is from the list
47 CSR_WIFI_AP_ACCESS_TYPE_DENY - Disallow if MAC address is from the list
49 *******************************************************************************/
50 typedef u8 CsrWifiSmeApAccessType;
51 #define CSR_WIFI_AP_ACCESS_TYPE_NONE ((CsrWifiSmeApAccessType) 0x00)
52 #define CSR_WIFI_AP_ACCESS_TYPE_ALLOW ((CsrWifiSmeApAccessType) 0x01)
53 #define CSR_WIFI_AP_ACCESS_TYPE_DENY ((CsrWifiSmeApAccessType) 0x02)
55 /*******************************************************************************
58 CsrWifiSmeApAuthSupport
61 Define bits for AP authentication support
64 CSR_WIFI_SME_RSN_AUTH_WPAPSK - RSN WPA-PSK Support
65 CSR_WIFI_SME_RSN_AUTH_WPA2PSK - RSN WPA2-PSK Support
66 CSR_WIFI_SME_AUTH_WAPIPSK - WAPI-PSK Support
68 *******************************************************************************/
69 typedef u8 CsrWifiSmeApAuthSupport;
70 #define CSR_WIFI_SME_RSN_AUTH_WPAPSK ((CsrWifiSmeApAuthSupport) 0x01)
71 #define CSR_WIFI_SME_RSN_AUTH_WPA2PSK ((CsrWifiSmeApAuthSupport) 0x02)
72 #define CSR_WIFI_SME_AUTH_WAPIPSK ((CsrWifiSmeApAuthSupport) 0x04)
74 /*******************************************************************************
80 Definition of the SME AP Authentication Options
83 CSR_WIFI_SME_AP_AUTH_TYPE_OPEN_SYSTEM
85 CSR_WIFI_SME_AP_AUTH_TYPE_PERSONAL
86 - Personal authentication using a passphrase or a pre-shared
88 CSR_WIFI_SME_AP_AUTH_TYPE_WEP
89 - WEP authentication. This can be either open or shared key
91 *******************************************************************************/
92 typedef u8 CsrWifiSmeApAuthType;
93 #define CSR_WIFI_SME_AP_AUTH_TYPE_OPEN_SYSTEM ((CsrWifiSmeApAuthType) 0x00)
94 #define CSR_WIFI_SME_AP_AUTH_TYPE_PERSONAL ((CsrWifiSmeApAuthType) 0x01)
95 #define CSR_WIFI_SME_AP_AUTH_TYPE_WEP ((CsrWifiSmeApAuthType) 0x02)
97 /*******************************************************************************
100 CsrWifiSmeApDirection
103 Definition of Direction
106 CSR_WIFI_AP_DIRECTION_RECEIPIENT - Receipient
107 CSR_WIFI_AP_DIRECTION_ORIGINATOR - Originator
109 *******************************************************************************/
110 typedef u8 CsrWifiSmeApDirection;
111 #define CSR_WIFI_AP_DIRECTION_RECEIPIENT ((CsrWifiSmeApDirection) 0x00)
112 #define CSR_WIFI_AP_DIRECTION_ORIGINATOR ((CsrWifiSmeApDirection) 0x01)
114 /*******************************************************************************
117 CsrWifiSmeApPhySupport
120 Define bits for CsrWifiSmeApPhySupportMask
123 CSR_WIFI_SME_AP_PHY_SUPPORT_A - 802.11a. It is not supported in the current
125 CSR_WIFI_SME_AP_PHY_SUPPORT_B - 802.11b
126 CSR_WIFI_SME_AP_PHY_SUPPORT_G - 802.11g
127 CSR_WIFI_SME_AP_PHY_SUPPORT_N - 802.11n
129 *******************************************************************************/
130 typedef u8 CsrWifiSmeApPhySupport;
131 #define CSR_WIFI_SME_AP_PHY_SUPPORT_A ((CsrWifiSmeApPhySupport) 0x01)
132 #define CSR_WIFI_SME_AP_PHY_SUPPORT_B ((CsrWifiSmeApPhySupport) 0x02)
133 #define CSR_WIFI_SME_AP_PHY_SUPPORT_G ((CsrWifiSmeApPhySupport) 0x04)
134 #define CSR_WIFI_SME_AP_PHY_SUPPORT_N ((CsrWifiSmeApPhySupport) 0x08)
136 /*******************************************************************************
142 Definition of AP types
145 CSR_WIFI_AP_TYPE_LEGACY - Legacy AP
146 CSR_WIFI_AP_TYPE_P2P - P2P Group Owner(GO)
148 *******************************************************************************/
149 typedef u8 CsrWifiSmeApType;
150 #define CSR_WIFI_AP_TYPE_LEGACY ((CsrWifiSmeApType) 0x00)
151 #define CSR_WIFI_AP_TYPE_P2P ((CsrWifiSmeApType) 0x01)
154 /*******************************************************************************
157 CsrWifiSmeApAuthSupportMask
160 See CsrWifiSmeApAuthSupport for bit definitions
162 *******************************************************************************/
163 typedef u8 CsrWifiSmeApAuthSupportMask;
164 /*******************************************************************************
167 CsrWifiSmeApPhySupportMask
170 Mask type for use with the values defined by CsrWifiSmeApPhySupport
172 *******************************************************************************/
173 typedef u8 CsrWifiSmeApPhySupportMask;
174 /*******************************************************************************
177 CsrWifiSmeApRsnCapabilities
180 Set to 0 for the current release
182 *******************************************************************************/
183 typedef u16 CsrWifiSmeApRsnCapabilities;
184 /*******************************************************************************
187 CsrWifiSmeApRsnCapabilitiesMask
190 Mask type for use with the values defined by CsrWifiSmeApRsnCapabilities
192 *******************************************************************************/
193 typedef u16 CsrWifiSmeApRsnCapabilitiesMask;
194 /*******************************************************************************
197 CsrWifiSmeApWapiCapabilities
200 Ignored by the stack as WAPI is not supported for AP operations in the
203 *******************************************************************************/
204 typedef u16 CsrWifiSmeApWapiCapabilities;
205 /*******************************************************************************
208 CsrWifiSmeApWapiCapabilitiesMask
211 Mask type for use with the values defined by CsrWifiSmeApWapiCapabilities
213 *******************************************************************************/
214 typedef u16 CsrWifiSmeApWapiCapabilitiesMask;
217 /*******************************************************************************
223 Structure holding HT parameters
226 greenfieldSupported - Indicates if the AP supports Htgreenfield operation
227 subject to the chip capability. If the chip does not
228 support Htgreenfield operation, this parameter will be
230 NOTE: if shortGi20MHz is set to TRUE and the chip
231 supports short GI operation for 20MHz this field will
232 be be ignored and the AP will not support Htgreenfield
234 NOTE: This field is ignored by the Wi-Fi stack for the
235 current release. It implies that AP does not support
236 greenfield operation.
237 shortGi20MHz - Indicates if the AP support short GI operation for
238 20MHz subject to the chip capability.If the chip does
239 not support short GI for 20MHz, this parameter is
241 rxStbc - Support for STBC for receive. 0 => No support for STBC
242 , 1=> Use STBC for Rx
243 rifsModeAllowed - RIFS Mode is allowed to protect overlapping non-HT BSS
244 htProtection - Deprecated
245 dualCtsProtection - Dual CTS Protection enabled
247 *******************************************************************************/
250 u8 greenfieldSupported;
255 u8 dualCtsProtection;
256 } CsrWifiSmeApHtParams;
258 /*******************************************************************************
261 CsrWifiSmeApP2pOperatingChanEntry
266 operatingClass - Channel operating class
267 operatingChannelCount - Number of channels in this entry
268 operatingChannel - List of channels
270 *******************************************************************************/
274 u8 operatingChannelCount;
275 u8 *operatingChannel;
276 } CsrWifiSmeApP2pOperatingChanEntry;
278 /*******************************************************************************
281 CsrWifiSmeApP2pOperatingChanList
284 This structure contains the lists of P2P operating channels
288 channelEntryListCount - Number of entries
289 channelEntryList - List of entries
291 *******************************************************************************/
295 u8 channelEntryListCount;
296 CsrWifiSmeApP2pOperatingChanEntry *channelEntryList;
297 } CsrWifiSmeApP2pOperatingChanList;
299 /*******************************************************************************
312 *******************************************************************************/
315 CsrWifiSmeApAuthSupportMask authSupport;
316 CsrWifiSmeEncryptionMask encryptionModeMask;
317 CsrWifiSmeApRsnCapabilitiesMask rsnCapabilities;
318 CsrWifiSmeApWapiCapabilitiesMask wapiCapabilities;
319 } CsrWifiSmeApAuthPers;
321 /*******************************************************************************
324 CsrWifiSmeApBaSession
329 peerMacAddress - Indicates MAC address of the peer station
330 tid - Specifies the TID of the MSDUs for which this Block Ack has
331 been set up. Range: 0-15
332 direction - Specifies if the AP is the originator or the recipient of
333 the data stream that uses the Block Ack.
335 *******************************************************************************/
338 CsrWifiMacAddress peerMacAddress;
340 CsrWifiSmeApDirection direction;
341 } CsrWifiSmeApBaSession;
343 /*******************************************************************************
346 CsrWifiSmeApMacConfig
349 Structure holding AP MAC configuration.
352 phySupportedBitmap - Indicates supported physical layers
353 beaconInterval - Beacon interval in terms of TUs
354 dtimPeriod - DTIM period in terms of number of beacon intervals
355 maxListenInterval - Maximum allowed listen interval as number of beacon
357 supportedRatesCount - Number of supported rates. Range : 0 to 20
358 supportedRates - List of supportedRates. A rate is specied in the
359 units of 500kbps. An entry for a basic rate shall
360 have the MSB set to 1.
361 preamble - Preamble to be advertised in beacons and probe
363 shortSlotTimeEnabled - TRUE indicates the AP shall use short slot time if
364 all the stations use short slot operation.
365 ctsProtectionType - CTS protection to be used
366 wmmEnabled - Indicate whether WMM is enabled or not. If set to
367 FALSE,the WMM parameters shall be ignored by the
369 wmmApParams - WMM parameters to be used for local firmware queue
370 configuration. Array index corresponds to the ACI.
371 wmmApBcParams - WMM parameters to be advertised in beacon/probe
372 response. Array index corresponds to the ACI
373 accessType - Specifies whether the MAC addresses from the list
374 should be allowed or denied
375 macAddressListCount - Number of MAC addresses
376 macAddressList - List of MAC addresses
377 apHtParams - AP HT parameters. The stack shall use these
378 parameters only if phySupportedBitmap indicates
379 support for IEEE 802.11n
381 *******************************************************************************/
384 CsrWifiSmeApPhySupportMask phySupportedBitmap;
387 u16 maxListenInterval;
388 u8 supportedRatesCount;
389 u8 supportedRates[20];
390 CsrWifiSmePreambleType preamble;
391 u8 shortSlotTimeEnabled;
392 CsrWifiSmeCtsProtectionType ctsProtectionType;
394 CsrWifiSmeWmmAcParams wmmApParams[4];
395 CsrWifiSmeWmmAcParams wmmApBcParams[4];
396 CsrWifiSmeApAccessType accessType;
397 u8 macAddressListCount;
398 CsrWifiMacAddress *macAddressList;
399 CsrWifiSmeApHtParams apHtParams;
400 } CsrWifiSmeApMacConfig;
402 /*******************************************************************************
405 CsrWifiSmeApP2pGoConfig
410 groupCapability - Indicates the P2P group capabilities
411 operatingChanList - List of operating channels in the order of
412 decreasing priority. It may contain channel
413 entry/entries not supported by the wifi stack.
414 These shall be filtered out by the wifi stack
415 opPsEnabled - Indicates whether opportunistic power save can
417 Note: This parameter is ignored by the WiFi
418 stack for the current release
419 ctWindow - Define Client Traffic window to be used in terms
420 of number of TUs. Range: 0 to 127.
421 Note: This parameter is ignored by the WiFi
422 stack for the current release.
423 noaConfigMethod - Notice of Absence configuration method.
424 Note: This parameter is ignored by the WiFi
425 stack for the current release.
426 allowNoaWithNonP2pDevices - Indicates if NOA should be allowed if non P2P
427 devices are connected. If allowed the non P2P
428 devices may suffer in throughput.
429 Note: This parameter is ignored by the WiFi
430 stack for the current release.
432 *******************************************************************************/
435 CsrWifiSmeP2pGroupCapabilityMask groupCapability;
436 CsrWifiSmeApP2pOperatingChanList operatingChanList;
439 CsrWifiSmeP2pNoaConfigMethod noaConfigMethod;
440 u8 allowNoaWithNonP2pDevices;
441 } CsrWifiSmeApP2pGoConfig;
443 /*******************************************************************************
446 CsrWifiSmeApCredentials
453 smeAuthTypeopenSystemEmpty -
455 smeAuthTypeauthPers -
457 *******************************************************************************/
460 CsrWifiSmeApAuthType authType;
462 CsrWifiSmeEmpty openSystemEmpty;
463 CsrWifiSmeWepAuth authwep;
464 CsrWifiSmeApAuthPers authPers;
466 } CsrWifiSmeApCredentials;
468 /*******************************************************************************
471 CsrWifiSmeApSecConfig
479 *******************************************************************************/
482 CsrWifiSmeApCredentials apCredentials;
484 } CsrWifiSmeApSecConfig;
488 #define CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST (0x0000)
490 #define CSR_WIFI_SME_AP_BEACONING_START_REQ ((CsrWifiSmeApPrim) (0x0000 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
491 #define CSR_WIFI_SME_AP_BEACONING_STOP_REQ ((CsrWifiSmeApPrim) (0x0001 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
492 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_STARTED_REQ ((CsrWifiSmeApPrim) (0x0002 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
493 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_FINISHED_REQ ((CsrWifiSmeApPrim) (0x0003 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
494 #define CSR_WIFI_SME_AP_WMM_PARAM_UPDATE_REQ ((CsrWifiSmeApPrim) (0x0004 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
495 #define CSR_WIFI_SME_AP_STA_DISCONNECT_REQ ((CsrWifiSmeApPrim) (0x0005 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
496 #define CSR_WIFI_SME_AP_WPS_CONFIGURATION_REQ ((CsrWifiSmeApPrim) (0x0006 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
497 #define CSR_WIFI_SME_AP_ACTIVE_BA_GET_REQ ((CsrWifiSmeApPrim) (0x0007 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
498 #define CSR_WIFI_SME_AP_BA_DELETE_REQ ((CsrWifiSmeApPrim) (0x0008 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST))
501 #define CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_HIGHEST (0x0008 + CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST)
504 #define CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST (0x0000 + CSR_PRIM_UPSTREAM)
506 #define CSR_WIFI_SME_AP_BEACONING_START_CFM ((CsrWifiSmeApPrim)(0x0000 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
507 #define CSR_WIFI_SME_AP_BEACONING_STOP_CFM ((CsrWifiSmeApPrim)(0x0001 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
508 #define CSR_WIFI_SME_AP_STA_NOTIFY_IND ((CsrWifiSmeApPrim)(0x0002 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
509 #define CSR_WIFI_SME_AP_STA_CONNECT_START_IND ((CsrWifiSmeApPrim)(0x0003 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
510 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_STARTED_CFM ((CsrWifiSmeApPrim)(0x0004 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
511 #define CSR_WIFI_SME_AP_WPS_REGISTRATION_FINISHED_CFM ((CsrWifiSmeApPrim)(0x0005 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
512 #define CSR_WIFI_SME_AP_WMM_PARAM_UPDATE_CFM ((CsrWifiSmeApPrim)(0x0006 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
513 #define CSR_WIFI_SME_AP_STA_DISCONNECT_CFM ((CsrWifiSmeApPrim)(0x0007 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
514 #define CSR_WIFI_SME_AP_WPS_CONFIGURATION_CFM ((CsrWifiSmeApPrim)(0x0008 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
515 #define CSR_WIFI_SME_AP_ERROR_IND ((CsrWifiSmeApPrim)(0x0009 + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
516 #define CSR_WIFI_SME_AP_ACTIVE_BA_GET_CFM ((CsrWifiSmeApPrim)(0x000A + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
517 #define CSR_WIFI_SME_AP_BA_DELETE_CFM ((CsrWifiSmeApPrim)(0x000B + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST))
519 #define CSR_WIFI_SME_AP_PRIM_UPSTREAM_HIGHEST (0x000B + CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST)
521 #define CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_COUNT (CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_HIGHEST + 1 - CSR_WIFI_SME_AP_PRIM_DOWNSTREAM_LOWEST)
522 #define CSR_WIFI_SME_AP_PRIM_UPSTREAM_COUNT (CSR_WIFI_SME_AP_PRIM_UPSTREAM_HIGHEST + 1 - CSR_WIFI_SME_AP_PRIM_UPSTREAM_LOWEST)
524 /*******************************************************************************
527 CsrWifiSmeApBeaconingStartReq
530 This primitive requests the SME to start AP or GO functionality
533 common - Common header for use with the CsrWifiFsm Module
535 initialPresence - Set to 0, if Not in a group fomration phase, set to 1 ,
536 during group formation phase
537 apType - apType : Legacy AP or P2PGO
538 cloakSsid - cloakSsid flag.
540 ifIndex - Radio Interface
542 maxConnections - Maximum Stations + P2PClients allowed
543 apCredentials - AP security credeitals used to advertise in beacon /probe
545 smeApConfig - AP configuration
546 p2pGoParam - P2P specific GO parameters. Ignored if it is a leagacy AP
548 *******************************************************************************/
551 CsrWifiFsmEvent common;
554 CsrWifiSmeApType apType;
557 CsrWifiSmeRadioIF ifIndex;
560 CsrWifiSmeApSecConfig apCredentials;
561 CsrWifiSmeApMacConfig smeApConfig;
562 CsrWifiSmeApP2pGoConfig p2pGoParam;
563 } CsrWifiSmeApBeaconingStartReq;
565 /*******************************************************************************
568 CsrWifiSmeApBeaconingStopReq
571 This primitive requests the SME to STOP AP or P2PGO operation
574 common - Common header for use with the CsrWifiFsm Module
577 *******************************************************************************/
580 CsrWifiFsmEvent common;
582 } CsrWifiSmeApBeaconingStopReq;
584 /*******************************************************************************
587 CsrWifiSmeApWpsRegistrationStartedReq
590 This primitive tells SME that WPS registration procedure has started
593 common - Common header for use with the CsrWifiFsm Module
595 SelectedDevicePasswordId -
596 SelectedconfigMethod -
598 *******************************************************************************/
601 CsrWifiFsmEvent common;
603 CsrWifiSmeWpsDpid SelectedDevicePasswordId;
604 CsrWifiSmeWpsConfigType SelectedconfigMethod;
605 } CsrWifiSmeApWpsRegistrationStartedReq;
607 /*******************************************************************************
610 CsrWifiSmeApWpsRegistrationFinishedReq
613 This primitive tells SME that WPS registration procedure has finished
616 common - Common header for use with the CsrWifiFsm Module
619 *******************************************************************************/
622 CsrWifiFsmEvent common;
624 } CsrWifiSmeApWpsRegistrationFinishedReq;
626 /*******************************************************************************
629 CsrWifiSmeApWmmParamUpdateReq
632 Application uses this primitive to update the WMM parameters on the fly
635 common - Common header for use with the CsrWifiFsm Module
637 wmmApParams - WMM parameters to be used for local firmware queue
639 wmmApBcParams - WMM parameters to be advertised in beacon/probe response
641 *******************************************************************************/
644 CsrWifiFsmEvent common;
646 CsrWifiSmeWmmAcParams wmmApParams[4];
647 CsrWifiSmeWmmAcParams wmmApBcParams[4];
648 } CsrWifiSmeApWmmParamUpdateReq;
650 /*******************************************************************************
653 CsrWifiSmeApStaDisconnectReq
656 This primitive tells SME to deauth ot disassociate a particular station
660 common - Common header for use with the CsrWifiFsm Module
665 keepBlocking - If TRUE, the station is blocked. If FALSE and the station
666 is connected, disconnect the station. If FALSE and the
667 station is not connected, no action is taken.
669 *******************************************************************************/
672 CsrWifiFsmEvent common;
674 CsrWifiSmeIEEE80211Reason deauthReason;
675 CsrWifiSmeIEEE80211Reason disassocReason;
676 CsrWifiMacAddress peerMacaddress;
678 } CsrWifiSmeApStaDisconnectReq;
680 /*******************************************************************************
683 CsrWifiSmeApWpsConfigurationReq
686 This primitive passes the WPS information for the device to SME. This may
687 be accepted only if no interface is active.
690 common - Common header for use with the CsrWifiFsm Module
691 wpsConfig - WPS config.
693 *******************************************************************************/
696 CsrWifiFsmEvent common;
697 CsrWifiSmeWpsConfig wpsConfig;
698 } CsrWifiSmeApWpsConfigurationReq;
700 /*******************************************************************************
703 CsrWifiSmeApActiveBaGetReq
706 This primitive used to retrieve information related to the active block
710 common - Common header for use with the CsrWifiFsm Module
713 *******************************************************************************/
716 CsrWifiFsmEvent common;
718 } CsrWifiSmeApActiveBaGetReq;
720 /*******************************************************************************
723 CsrWifiSmeApBaDeleteReq
726 This primitive is used to delete an active block ack session
729 common - Common header for use with the CsrWifiFsm Module
732 baSession - BA session to be deleted
734 *******************************************************************************/
737 CsrWifiFsmEvent common;
739 CsrWifiSmeIEEE80211Reason reason;
740 CsrWifiSmeApBaSession baSession;
741 } CsrWifiSmeApBaDeleteReq;
743 /*******************************************************************************
746 CsrWifiSmeApBeaconingStartCfm
749 This primitive confirms the completion of the request along with the
753 common - Common header for use with the CsrWifiFsm Module
759 *******************************************************************************/
762 CsrWifiFsmEvent common;
767 } CsrWifiSmeApBeaconingStartCfm;
769 /*******************************************************************************
772 CsrWifiSmeApBeaconingStopCfm
775 This primitive confirms AP or P2PGO operation is terminated
778 common - Common header for use with the CsrWifiFsm Module
782 *******************************************************************************/
785 CsrWifiFsmEvent common;
788 } CsrWifiSmeApBeaconingStopCfm;
790 /*******************************************************************************
793 CsrWifiSmeApStaNotifyInd
796 This primitive indicates that a station has joined or a previously joined
797 station has left the BSS/group
800 common - Common header for use with the CsrWifiFsm Module
813 *******************************************************************************/
816 CsrWifiFsmEvent common;
818 CsrWifiSmeMediaStatus mediaStatus;
819 CsrWifiMacAddress peerMacAddress;
820 CsrWifiMacAddress peerDeviceAddress;
821 CsrWifiSmeIEEE80211Reason disassocReason;
822 CsrWifiSmeIEEE80211Reason deauthReason;
823 CsrWifiSmeWpsRegistration WpsRegistration;
828 } CsrWifiSmeApStaNotifyInd;
830 /*******************************************************************************
833 CsrWifiSmeApStaConnectStartInd
836 This primitive indicates that a stations request to join the group/BSS is
840 common - Common header for use with the CsrWifiFsm Module
844 *******************************************************************************/
847 CsrWifiFsmEvent common;
849 CsrWifiMacAddress peerMacAddress;
850 } CsrWifiSmeApStaConnectStartInd;
852 /*******************************************************************************
855 CsrWifiSmeApWpsRegistrationStartedCfm
858 A confirm for UNIFI_MGT_AP_WPS_REGISTRATION_STARTED.request
861 common - Common header for use with the CsrWifiFsm Module
865 *******************************************************************************/
868 CsrWifiFsmEvent common;
871 } CsrWifiSmeApWpsRegistrationStartedCfm;
873 /*******************************************************************************
876 CsrWifiSmeApWpsRegistrationFinishedCfm
879 A confirm for UNIFI_MGT_AP_WPS_REGISTRATION_FINISHED.request
882 common - Common header for use with the CsrWifiFsm Module
886 *******************************************************************************/
889 CsrWifiFsmEvent common;
892 } CsrWifiSmeApWpsRegistrationFinishedCfm;
894 /*******************************************************************************
897 CsrWifiSmeApWmmParamUpdateCfm
900 A confirm for CSR_WIFI_SME_AP_WMM_PARAM_UPDATE.request
903 common - Common header for use with the CsrWifiFsm Module
907 *******************************************************************************/
910 CsrWifiFsmEvent common;
913 } CsrWifiSmeApWmmParamUpdateCfm;
915 /*******************************************************************************
918 CsrWifiSmeApStaDisconnectCfm
921 This primitive confirms the station is disconnected
924 common - Common header for use with the CsrWifiFsm Module
929 *******************************************************************************/
932 CsrWifiFsmEvent common;
935 CsrWifiMacAddress peerMacaddress;
936 } CsrWifiSmeApStaDisconnectCfm;
938 /*******************************************************************************
941 CsrWifiSmeApWpsConfigurationCfm
947 common - Common header for use with the CsrWifiFsm Module
948 status - Status of the request.
950 *******************************************************************************/
953 CsrWifiFsmEvent common;
955 } CsrWifiSmeApWpsConfigurationCfm;
957 /*******************************************************************************
963 This primitve is sent by SME to indicate some error in AP operationi
964 after AP operations were started successfully and continuing the AP
965 operation may lead to undesired behaviour. It is the responsibility of
966 the upper layers to stop AP operation if needed
969 common - Common header for use with the CsrWifiFsm Module
970 interfaceTag - Range 0-1
972 status - Contains the error status
974 *******************************************************************************/
977 CsrWifiFsmEvent common;
979 CsrWifiSmeApType apType;
981 } CsrWifiSmeApErrorInd;
983 /*******************************************************************************
986 CsrWifiSmeApActiveBaGetCfm
989 This primitive carries the information related to the active ba sessions
992 common - Common header for use with the CsrWifiFsm Module
994 status - Reports the result of the request
995 activeBaCount - Number of active block ack session
996 activeBaSessions - Points to a buffer containing an array of
997 CsrWifiSmeApBaSession structures.
999 *******************************************************************************/
1002 CsrWifiFsmEvent common;
1006 CsrWifiSmeApBaSession *activeBaSessions;
1007 } CsrWifiSmeApActiveBaGetCfm;
1009 /*******************************************************************************
1012 CsrWifiSmeApBaDeleteCfm
1015 This primitive confirms the BA is deleted
1018 common - Common header for use with the CsrWifiFsm Module
1020 status - Reports the result of the request
1021 baSession - deleted BA session
1023 *******************************************************************************/
1026 CsrWifiFsmEvent common;
1029 CsrWifiSmeApBaSession baSession;
1030 } CsrWifiSmeApBaDeleteCfm;
1037 #endif /* CSR_WIFI_SME_AP_PRIM_H__ */