|
@@ -2208,162 +2208,6 @@ typedef struct sSmeCsaOffloadInd {
|
|
|
struct qdf_mac_addr bssid; /* BSSID */
|
|
|
} tSmeCsaOffloadInd, *tpSmeCsaOffloadInd;
|
|
|
|
|
|
-/* SME->PE: Enter WOWLAN parameters */
|
|
|
-typedef struct sSirSmeWowlEnterParams {
|
|
|
- uint8_t sessionId;
|
|
|
-
|
|
|
- /* Enables/disables magic packet filtering */
|
|
|
- uint8_t ucMagicPktEnable;
|
|
|
-
|
|
|
- /* Magic pattern */
|
|
|
- struct qdf_mac_addr magic_ptrn;
|
|
|
-
|
|
|
- /* Enables/disables packet pattern filtering */
|
|
|
- uint8_t ucPatternFilteringEnable;
|
|
|
-
|
|
|
-#ifdef WLAN_WAKEUP_EVENTS
|
|
|
- /*
|
|
|
- * This configuration directs the WoW packet filtering to look at EAP-ID
|
|
|
- * requests embedded in EAPOL frames and use this as a wake source.
|
|
|
- */
|
|
|
- uint8_t ucWoWEAPIDRequestEnable;
|
|
|
-
|
|
|
- /*
|
|
|
- * This configuration directs the WoW packet filtering to look for
|
|
|
- * EAPOL-4WAY requests and use this as a wake source.
|
|
|
- */
|
|
|
- uint8_t ucWoWEAPOL4WayEnable;
|
|
|
-
|
|
|
- /*
|
|
|
- * This configuration allows a host wakeup on an network scan
|
|
|
- * offload match.
|
|
|
- */
|
|
|
- uint8_t ucWowNetScanOffloadMatch;
|
|
|
-
|
|
|
- /* This configuration allows a host wakeup on any GTK rekeying error.
|
|
|
- */
|
|
|
- uint8_t ucWowGTKRekeyError;
|
|
|
-
|
|
|
- /* This configuration allows a host wakeup on BSS connection loss.
|
|
|
- */
|
|
|
- uint8_t ucWoWBSSConnLoss;
|
|
|
-#endif /* WLAN_WAKEUP_EVENTS */
|
|
|
-
|
|
|
- struct qdf_mac_addr bssid;
|
|
|
-} tSirSmeWowlEnterParams, *tpSirSmeWowlEnterParams;
|
|
|
-
|
|
|
-/* PE<->HAL: Enter WOWLAN parameters */
|
|
|
-typedef struct sSirHalWowlEnterParams {
|
|
|
- uint8_t sessionId;
|
|
|
-
|
|
|
- /* Enables/disables magic packet filtering */
|
|
|
- uint8_t ucMagicPktEnable;
|
|
|
-
|
|
|
- /* Magic pattern */
|
|
|
- struct qdf_mac_addr magic_ptrn;
|
|
|
-
|
|
|
- /* Enables/disables packet pattern filtering in firmware.
|
|
|
- Enabling this flag enables broadcast pattern matching
|
|
|
- in Firmware. If unicast pattern matching is also desired,
|
|
|
- ucUcastPatternFilteringEnable flag must be set tot true
|
|
|
- as well
|
|
|
- */
|
|
|
- uint8_t ucPatternFilteringEnable;
|
|
|
-
|
|
|
- /* Enables/disables unicast packet pattern filtering.
|
|
|
- This flag specifies whether we want to do pattern match
|
|
|
- on unicast packets as well and not just broadcast packets.
|
|
|
- This flag has no effect if the ucPatternFilteringEnable
|
|
|
- (main controlling flag) is set to false
|
|
|
- */
|
|
|
- uint8_t ucUcastPatternFilteringEnable;
|
|
|
-
|
|
|
- /* This configuration is valid only when magicPktEnable=1.
|
|
|
- * It requests hardware to wake up when it receives the
|
|
|
- * Channel Switch Action Frame.
|
|
|
- */
|
|
|
- uint8_t ucWowChnlSwitchRcv;
|
|
|
-
|
|
|
- /* This configuration is valid only when magicPktEnable=1.
|
|
|
- * It requests hardware to wake up when it receives the
|
|
|
- * Deauthentication Frame.
|
|
|
- */
|
|
|
- uint8_t ucWowDeauthRcv;
|
|
|
-
|
|
|
- /* This configuration is valid only when magicPktEnable=1.
|
|
|
- * It requests hardware to wake up when it receives the
|
|
|
- * Disassociation Frame.
|
|
|
- */
|
|
|
- uint8_t ucWowDisassocRcv;
|
|
|
-
|
|
|
- /* This configuration is valid only when magicPktEnable=1.
|
|
|
- * It requests hardware to wake up when it has missed
|
|
|
- * consecutive beacons. This is a hardware register
|
|
|
- * configuration (NOT a firmware configuration).
|
|
|
- */
|
|
|
- uint8_t ucWowMaxMissedBeacons;
|
|
|
-
|
|
|
- /* This configuration is valid only when magicPktEnable=1.
|
|
|
- * This is a timeout value in units of microsec. It requests
|
|
|
- * hardware to unconditionally wake up after it has stayed
|
|
|
- * in WoWLAN mode for some time. Set 0 to disable this feature.
|
|
|
- */
|
|
|
- uint8_t ucWowMaxSleepUsec;
|
|
|
-
|
|
|
-#ifdef WLAN_WAKEUP_EVENTS
|
|
|
- /* This config directs the WoW pkt filtering to look for EAP-ID
|
|
|
- * requests embedded in EAPOL frames and use this as a wake source.
|
|
|
- */
|
|
|
- uint8_t ucWoWEAPIDRequestEnable;
|
|
|
-
|
|
|
- /* This config directs the WoW pkt filtering to look for EAPOL-4WAY
|
|
|
- * requests and use this as a wake source.
|
|
|
- */
|
|
|
- uint8_t ucWoWEAPOL4WayEnable;
|
|
|
-
|
|
|
- /* This config allows a host wakeup on an network scan offload match.
|
|
|
- */
|
|
|
- uint8_t ucWowNetScanOffloadMatch;
|
|
|
-
|
|
|
- /* This configuration allows a host wakeup on any GTK rekeying error.
|
|
|
- */
|
|
|
- uint8_t ucWowGTKRekeyError;
|
|
|
-
|
|
|
- /* This configuration allows a host wakeup on BSS connection loss.
|
|
|
- */
|
|
|
- uint8_t ucWoWBSSConnLoss;
|
|
|
-#endif /* WLAN_WAKEUP_EVENTS */
|
|
|
-
|
|
|
- /* Status code to be filled by HAL when it sends
|
|
|
- * SIR_HAL_WOWL_ENTER_RSP to PE.
|
|
|
- */
|
|
|
- QDF_STATUS status;
|
|
|
-
|
|
|
- /*BSSID to find the current session
|
|
|
- */
|
|
|
- uint8_t bssIdx;
|
|
|
-} tSirHalWowlEnterParams, *tpSirHalWowlEnterParams;
|
|
|
-
|
|
|
-/* SME->PE: Exit WOWLAN parameters */
|
|
|
-typedef struct sSirSmeWowlExitParams {
|
|
|
- uint8_t sessionId;
|
|
|
-
|
|
|
-} tSirSmeWowlExitParams, *tpSirSmeWowlExitParams;
|
|
|
-
|
|
|
-/* PE<->HAL: Exit WOWLAN parameters */
|
|
|
-typedef struct sSirHalWowlExitParams {
|
|
|
- uint8_t sessionId;
|
|
|
-
|
|
|
- /* Status code to be filled by HAL when it sends
|
|
|
- * SIR_HAL_WOWL_EXIT_RSP to PE.
|
|
|
- */
|
|
|
- QDF_STATUS status;
|
|
|
-
|
|
|
- /*BSSIDX to find the current session
|
|
|
- */
|
|
|
- uint8_t bssIdx;
|
|
|
-} tSirHalWowlExitParams, *tpSirHalWowlExitParams;
|
|
|
-
|
|
|
#define SIR_MAX_NAME_SIZE 64
|
|
|
#define SIR_MAX_TEXT_SIZE 32
|
|
|
|
|
@@ -3303,28 +3147,6 @@ struct sir_antenna_mode_resp {
|
|
|
enum set_antenna_mode_status status;
|
|
|
};
|
|
|
|
|
|
-#ifdef WLAN_WAKEUP_EVENTS
|
|
|
-/*---------------------------------------------------------------------------
|
|
|
- tSirWakeReasonInd
|
|
|
- ---------------------------------------------------------------------------*/
|
|
|
-typedef struct {
|
|
|
- uint16_t mesgType;
|
|
|
- uint16_t mesgLen;
|
|
|
- uint32_t ulReason; /* see tWakeReasonType */
|
|
|
- uint32_t ulReasonArg; /* argument specific to the reason type */
|
|
|
- /* length of optional data stored in this message, in case
|
|
|
- * HAL truncates the data (i.e. data packets) this length
|
|
|
- * will be less than the actual length
|
|
|
- */
|
|
|
- uint32_t ulStoredDataLen;
|
|
|
- uint32_t ulActualDataLen; /* actual length of data */
|
|
|
- /* variable length start of data (length == storedDataLen)
|
|
|
- * see specific wake type
|
|
|
- */
|
|
|
- uint8_t aDataStart[1];
|
|
|
-} tSirWakeReasonInd, *tpSirWakeReasonInd;
|
|
|
-#endif /* WLAN_WAKEUP_EVENTS */
|
|
|
-
|
|
|
/*---------------------------------------------------------------------------
|
|
|
sAniSetTmLevelReq
|
|
|
---------------------------------------------------------------------------*/
|