diff options
| author | Jeff Johnson <jjohnson@qca.qualcomm.com> | 2014-02-18 16:01:14 -0800 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-02-26 02:56:11 -0800 |
| commit | 8d83d824203e43ddd83acae4e2335d8c74544e1f (patch) | |
| tree | f53e3467ebdc65ff5a7196a6d98563878d5011c9 | |
| parent | 4b0e3d79858800c77277dace28ebdbc20783b57a (diff) | |
qcacld: CORE/WDI/CP cleanfile
Run CORE/WDI/CP through kernel/scripts/cleanfile to remove whitespace
that is inconsistent with the Linux Kernel coding standard
Change-Id: Ib50e5c3a1806f71c5cfb0423b4d786916f10b48d
CRs-fixed: 619495
| -rw-r--r-- | CORE/WDI/CP/inc/qwlanfw_defs.h | 2 | ||||
| -rw-r--r-- | CORE/WDI/CP/inc/wlan_qct_wdi.h | 3738 | ||||
| -rw-r--r-- | CORE/WDI/CP/inc/wlan_qct_wdi_bd.h | 420 | ||||
| -rw-r--r-- | CORE/WDI/CP/inc/wlan_qct_wdi_cfg.h | 8 | ||||
| -rw-r--r-- | CORE/WDI/CP/inc/wlan_qct_wdi_dp.h | 135 | ||||
| -rw-r--r-- | CORE/WDI/CP/inc/wlan_qct_wdi_i.h | 2881 | ||||
| -rw-r--r-- | CORE/WDI/CP/inc/wlan_qct_wdi_sta.h | 209 | ||||
| -rw-r--r-- | CORE/WDI/CP/src/wlan_qct_wdi.c | 972 | ||||
| -rw-r--r-- | CORE/WDI/CP/src/wlan_qct_wdi_dp.c | 365 | ||||
| -rw-r--r-- | CORE/WDI/CP/src/wlan_qct_wdi_sta.c | 277 |
10 files changed, 4501 insertions, 4506 deletions
diff --git a/CORE/WDI/CP/inc/qwlanfw_defs.h b/CORE/WDI/CP/inc/qwlanfw_defs.h index c2c5ec04720f..1b1c7496145a 100644 --- a/CORE/WDI/CP/inc/qwlanfw_defs.h +++ b/CORE/WDI/CP/inc/qwlanfw_defs.h @@ -42,7 +42,7 @@ /*------------------------------------------------------------------------- Include Files -------------------------------------------------------------------------*/ -#include "wlan_qct_pal_type.h" +#include "wlan_qct_pal_type.h" /*---------------------------------------------------------------------------- * Preprocessor Definitions and Constants diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi.h b/CORE/WDI/CP/inc/wlan_qct_wdi.h index aea9529fff5a..20779df96981 100644 --- a/CORE/WDI/CP/inc/wlan_qct_wdi.h +++ b/CORE/WDI/CP/inc/wlan_qct_wdi.h @@ -32,12 +32,12 @@ /*=========================================================================== - W L A N D E V I C E A B S T R A C T I O N L A Y E R + W L A N D E V I C E A B S T R A C T I O N L A Y E R E X T E R N A L A P I - - + + DESCRIPTION - This file contains the external API exposed by the wlan transport layer + This file contains the external API exposed by the wlan transport layer module. ===========================================================================*/ @@ -72,18 +72,18 @@ when who what, where, why /*---------------------------------------------------------------------------- * Include Files * -------------------------------------------------------------------------*/ -#include "wlan_qct_pal_api.h" -#include "wlan_qct_pal_type.h" -#include "wlan_qct_pack_align.h" -#include "wlan_qct_wdi_cfg.h" +#include "wlan_qct_pal_api.h" +#include "wlan_qct_pal_type.h" +#include "wlan_qct_pack_align.h" +#include "wlan_qct_wdi_cfg.h" /*---------------------------------------------------------------------------- * Preprocessor Definitions and Constants * -------------------------------------------------------------------------*/ #ifdef __cplusplus extern "C" { -#endif - +#endif + /* MAC ADDRESS LENGTH - per spec*/ #define WDI_MAC_ADDR_LEN 6 @@ -91,13 +91,13 @@ when who what, where, why #define WDI_IPV4_ADDR_LEN 4 /* Max number of 11b rates -> 1,2,5.5,11 */ -#define WDI_NUM_11B_RATES 4 +#define WDI_NUM_11B_RATES 4 /* Max number of 11g rates -> 6,9,12,18,24,36,48,54*/ -#define WDI_NUM_11A_RATES 8 +#define WDI_NUM_11A_RATES 8 /* Max number of legacy rates -> 72, 96, 108*/ -#define WDI_NUM_POLARIS_RATES 3 +#define WDI_NUM_POLARIS_RATES 3 /* Max supported MCS set*/ #define WDI_MAC_MAX_SUPPORTED_MCS_SET 16 @@ -153,8 +153,8 @@ of NV fragment is nt possbile.The next multiple of 1Kb is 3K */ #define MAXNUM_PERIODIC_TX_PTRNS 6 /*============================================================================ - * GENERIC STRUCTURES - + * GENERIC STRUCTURES + ============================================================================*/ /*--------------------------------------------------------------------------- @@ -171,18 +171,18 @@ typedef struct /*--------------------------------------------------------------------------- WDI Device Capability ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /*If this flag is true it means that the device can support 802.3/ETH2 to 802.11 translation*/ - wpt_boolean bFrameXtlSupported; + wpt_boolean bFrameXtlSupported; /*Maximum number of BSSes supported by the Device */ wpt_uint8 ucMaxBSSSupported; /*Maximum number of stations supported by the Device */ wpt_uint8 ucMaxSTASupported; -}WDI_DeviceCapabilityType; +}WDI_DeviceCapabilityType; /*--------------------------------------------------------------------------- WDI Channel Offset @@ -208,7 +208,7 @@ typedef enum WDI_MacFrameCtl Frame control field format (2 bytes) ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 protVer :2; wpt_uint8 type :2; @@ -228,7 +228,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI Sequence control field ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 fragNum : 4; wpt_uint8 seqNumLo : 4; @@ -238,7 +238,7 @@ typedef struct /*--------------------------------------------------------------------------- Management header format ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { WDI_MacFrameCtl fc; wpt_uint8 durationLo; @@ -287,7 +287,7 @@ typedef enum * Type Declarations * -------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------- - WDI Status + WDI Status ---------------------------------------------------------------------------*/ typedef enum { @@ -313,21 +313,21 @@ typedef enum /*--------------------------------------------------------------------------- WDI_ReqStatusCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL to deliver to UMAC the result of posting a previous request for which the return status was PENDING. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from the Control Transport - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ReqStatusCb)(WDI_Status wdiStatus, @@ -355,10 +355,10 @@ typedef enum WDI_MIC_FAILURE_IND, /*Fatal Error Ind*/ - WDI_FATAL_ERROR_IND, + WDI_FATAL_ERROR_IND, /*Delete Station Ind*/ - WDI_DEL_STA_IND, + WDI_DEL_STA_IND, /*Indication from Coex*/ WDI_COEX_IND, @@ -439,7 +439,7 @@ typedef struct void* bufRxBd; /*Buffer Length*/ - wpt_uint16 usBufLen; + wpt_uint16 usBufLen; }WDI_UnkAddr2FrmRxIndType; /*--------------------------------------------------------------------------- @@ -454,13 +454,13 @@ typedef struct wpt_uint8 ucSTAIdx; /*BSSID of STA*/ - wpt_macAddr macBSSID; + wpt_macAddr macBSSID; /*MAC ADDR of STA*/ - wpt_macAddr macADDR2; - + wpt_macAddr macADDR2; + /* To unify the keepalive / unknown A2 / tim-based disa*/ - wpt_uint16 wptReasonCode; + wpt_uint16 wptReasonCode; }WDI_DeleteSTAIndType; @@ -471,7 +471,7 @@ typedef struct { /*current BSSID*/ wpt_macAddr bssId; - + /*Source mac address*/ wpt_macAddr macSrcAddr; @@ -520,7 +520,7 @@ typedef struct WDI_MacSSid ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 ucLength; wpt_uint8 sSSID[WDI_MAX_SSID_SIZE]; @@ -528,10 +528,10 @@ typedef struct #ifdef FEATURE_WLAN_SCAN_PNO /*--------------------------------------------------------------------------- - WDI_PrefNetworkFoundInd + WDI_PrefNetworkFoundInd ---------------------------------------------------------------------------*/ typedef struct -{ +{ /* Network that was found with the highest RSSI*/ WDI_MacSSid ssId; /* Indicates the RSSI */ @@ -587,10 +587,10 @@ typedef struct #ifdef WLAN_WAKEUP_EVENTS /*--------------------------------------------------------------------------- - WDI_WakeReasonIndType + WDI_WakeReasonIndType ---------------------------------------------------------------------------*/ typedef struct -{ +{ wpt_uint32 ulReason; /* see tWakeReasonType */ wpt_uint32 ulReasonArg; /* argument specific to the reason type */ wpt_uint32 ulStoredDataLen; /* length of optional data stored in this message, in case @@ -598,7 +598,7 @@ typedef struct will be less than the actual length */ wpt_uint32 ulActualDataLen; /* actual length of data */ wpt_uint8 aDataStart[1]; /* variable length start of data (length == storedDataLen) - see specific wake type */ + see specific wake type */ } WDI_WakeReasonIndType; #endif // WLAN_WAKEUP_EVENTS @@ -803,26 +803,26 @@ typedef struct typedef struct { /*Inidcation type*/ - WDI_LowLevelIndEnumType wdiIndicationType; + WDI_LowLevelIndEnumType wdiIndicationType; /*Indication data*/ union { /*RSSI Threshold Info for WDI_LOW_RSSI_IND*/ - WDI_LowRSSIThIndType wdiLowRSSIInfo; + WDI_LowRSSIThIndType wdiLowRSSIInfo; /*Addr2 Frame Info for WDI_UNKNOWN_ADDR2_FRAME_RX_IND*/ WDI_UnkAddr2FrmRxIndType wdiUnkAddr2FrmInfo; /*MIC Failure info for WDI_MIC_FAILURE_IND*/ - WDI_MicFailureIndType wdiMICFailureInfo; + WDI_MicFailureIndType wdiMICFailureInfo; /*Error code for WDI_FATAL_ERROR_IND*/ wpt_uint16 usErrorCode; /*Delete STA Indication*/ - WDI_DeleteSTAIndType wdiDeleteSTAIndType; - + WDI_DeleteSTAIndType wdiDeleteSTAIndType; + /*Coex Indication*/ WDI_CoexIndType wdiCoexInfo; @@ -866,20 +866,20 @@ typedef struct /*--------------------------------------------------------------------------- WDI_LowLevelIndCBType - DESCRIPTION - + DESCRIPTION + This callback is invoked by DAL to deliver to UMAC certain indications that has either received from the lower device or has generated itself. - - PARAMETERS + + PARAMETERS IN pwdiInd: information about the indication sent over - pUserData: user data provided by UMAC during registration - - - - RETURN VALUE + pUserData: user data provided by UMAC during registration + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_LowLevelIndCBType)(WDI_LowLevelIndType* pwdiInd, @@ -902,14 +902,14 @@ typedef struct { /*This is a TLV formatted buffer containing all config values that can be set through the DAL Interface - + The TLV is expected to be formatted like this: - - 0 7 15 31 .... + + 0 7 15 31 .... | CONFIG ID | CFG LEN | RESERVED | CFG BODY | - + Or from a C construct point of VU it would look like this: - + typedef struct WPT_PACK_POST { #ifdef WPT_BIG_ENDIAN @@ -921,32 +921,32 @@ typedef struct wpt_uint32 ucCfgLen:8; wpt_uint32 ucCfgId:8; #endif - + wpt_uint8 ucCfgBody[ucCfgLen]; - }WDI_ConfigType; - + }WDI_ConfigType; + Multiple such tuplets are to be placed in the config buffer. One for each required configuration item: - + | TLV 1 | TLV2 | .... - + The buffer is expected to be a flat area of memory that can be manipulated with standard memory routines. - + For more info please check paragraph 2.3.1 Config Structure from the HAL LLD. - + For a list of accepted configuration list and IDs please look up wlan_qct_dal_cfg.h - + */ - void* pConfigBuffer; + void* pConfigBuffer; /*Length of the config buffer above*/ wpt_uint16 usConfigBufferLen; /*Production or FTM driver*/ - WDI_DriverType wdiDriverType; + WDI_DriverType wdiDriverType; /*Should device enable frame translation */ wpt_uint8 bFrameTransEnabled; @@ -954,7 +954,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -962,7 +962,7 @@ typedef struct /*Indication callback given by UMAC to be called by the WLAN DAL when it wishes to send something back independent of a request*/ - WDI_LowLevelIndCBType wdiLowLevelIndCB; + WDI_LowLevelIndCBType wdiLowLevelIndCB; /*The user data passed in by UMAC, it will be sent back when the indication function pointer will be called */ @@ -1011,7 +1011,7 @@ typedef enum /*Device is being stopped because the RF needs to shut off (e.g.:Airplane mode)*/ - WDI_STOP_TYPE_RF_KILL + WDI_STOP_TYPE_RF_KILL }WDI_StopType; /*--------------------------------------------------------------------------- @@ -1026,7 +1026,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1052,7 +1052,7 @@ typedef enum /*--------------------------------------------------------------------------- WDI_ScanEntry ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 bssIdx[WDI_NUM_BSSID]; wpt_uint8 activeBSScnt; @@ -1086,7 +1086,7 @@ typedef struct /*Pointer to the MAC frame buffer. Used only if ucFrameLength is non-zero.*/ WDI_MacMgmtHdr wdiMACMgmtHdr; - /*Entry to hold number of active BSS to send NULL frames before + /*Entry to hold number of active BSS to send NULL frames before * initiating SCAN*/ WDI_ScanEntry wdiScanEntry; @@ -1096,7 +1096,7 @@ typedef struct /* Indicates the scan duration (in ms) */ wpt_uint16 scanDuration; -}WDI_InitScanReqInfoType; +}WDI_InitScanReqInfoType; /*--------------------------------------------------------------------------- WDI_InitScanReqParamsType @@ -1105,12 +1105,12 @@ typedef struct { /*The info associated with the request that needs to be sent over to the device*/ - WDI_InitScanReqInfoType wdiReqInfo; + WDI_InitScanReqInfoType wdiReqInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1128,7 +1128,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1162,7 +1162,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1174,9 +1174,9 @@ typedef struct ---------------------------------------------------------------------------*/ typedef enum { - WDI_PHY_SINGLE_CHANNEL_CENTERED = 0, - WDI_PHY_DOUBLE_CHANNEL_LOW_PRIMARY = 1, - WDI_PHY_DOUBLE_CHANNEL_CENTERED = 2, + WDI_PHY_SINGLE_CHANNEL_CENTERED = 0, + WDI_PHY_DOUBLE_CHANNEL_LOW_PRIMARY = 1, + WDI_PHY_DOUBLE_CHANNEL_CENTERED = 2, WDI_PHY_DOUBLE_CHANNEL_HIGH_PRIMARY = 3, #ifdef WLAN_FEATURE_11AC WDI_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_CENTERED = 4, //20/40MHZ offset LOW 40/80MHZ offset CENTERED @@ -1228,7 +1228,7 @@ typedef struct /*Entry to hold number of active BSS to send NULL frames after SCAN*/ WDI_ScanEntry wdiScanEntry; -}WDI_FinishScanReqInfoType; +}WDI_FinishScanReqInfoType; /*--------------------------------------------------------------------------- WDI_SwitchChReqInfoType @@ -1250,7 +1250,7 @@ typedef struct /*Self STA Mac address*/ wpt_macAddr macSelfStaMacAddr; #endif - /* VO Wifi comment: BSSID is needed to identify which session issued this request. As the + /* VO Wifi comment: BSSID is needed to identify which session issued this request. As the request has power constraints, this should be applied only to that session */ /* V IMP: Keep bssId field at the end of this msg. It is used to mantain backward compatbility * by way of ignoring if using new host/old FW or old host/new FW since it is at the end of this struct @@ -1265,12 +1265,12 @@ typedef struct typedef struct { /*Channel Info*/ - WDI_SwitchChReqInfoType wdiChInfo; + WDI_SwitchChReqInfoType wdiChInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1283,12 +1283,12 @@ typedef struct typedef struct { /*Info for the Finish Scan request that will be sent down to the device*/ - WDI_FinishScanReqInfoType wdiReqInfo; + WDI_FinishScanReqInfoType wdiReqInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1301,16 +1301,16 @@ typedef struct typedef struct { /*Indicates the BSSID to which STA is going to associate*/ - wpt_macAddr macBSSID; + wpt_macAddr macBSSID; /*Indicates the MAC Address of the current Self STA*/ - wpt_macAddr macSTASelf; - + wpt_macAddr macSTASelf; + /*Indicates the link State determining the entity Type e.g. BTAMP-STA, STA etc.*/ wpt_uint32 linkState; - + /*Indicates the channel to switch to.*/ - WDI_SwitchChReqInfoType wdiChannelInfo; + WDI_SwitchChReqInfoType wdiChannelInfo; }WDI_JoinReqInfoType; @@ -1320,12 +1320,12 @@ typedef struct typedef struct { /*Info for the Join request that will be sent down to the device*/ - WDI_JoinReqInfoType wdiReqInfo; + WDI_JoinReqInfoType wdiReqInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1335,12 +1335,12 @@ typedef struct /*--------------------------------------------------------------------------- WDI_BssType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_INFRASTRUCTURE_MODE, WDI_INFRA_AP_MODE, //Added for softAP support WDI_IBSS_MODE, - WDI_BTAMP_STA_MODE, + WDI_BTAMP_STA_MODE, WDI_BTAMP_AP_MODE, WDI_BSS_AUTO_MODE, }WDI_BssType; @@ -1348,7 +1348,7 @@ typedef enum /*--------------------------------------------------------------------------- WDI_NwType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_11A_NW_TYPE, WDI_11B_NW_TYPE, @@ -1359,7 +1359,7 @@ typedef enum /*--------------------------------------------------------------------------- WDI_ConfigAction ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_ADD_BSS, WDI_UPDATE_BSS @@ -1371,8 +1371,8 @@ typedef enum typedef enum { WDI_HT_OP_MODE_PURE, - WDI_HT_OP_MODE_OVERLAP_LEGACY, - WDI_HT_OP_MODE_NO_LEGACY_20MHZ_HT, + WDI_HT_OP_MODE_OVERLAP_LEGACY, + WDI_HT_OP_MODE_NO_LEGACY_20MHZ_HT, WDI_HT_OP_MODE_MIXED } WDI_HTOperatingMode; @@ -1381,7 +1381,7 @@ typedef enum /*--------------------------------------------------------------------------- WDI_STAEntryType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_STA_ENTRY_SELF, WDI_STA_ENTRY_PEER, @@ -1395,16 +1395,16 @@ typedef enum /*--------------------------------------------------------------------------- WDI_ConfigActionType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_ADD_STA, WDI_UPDATE_STA } WDI_ConfigActionType; -/*---------------------------------------------------------------------------- +/*---------------------------------------------------------------------------- Each station added has a rate mode which specifies the sta attributes ----------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_RESERVED_1 = 0, WDI_RESERVED_2, @@ -1418,7 +1418,7 @@ typedef enum /*--------------------------------------------------------------------------- WDI_SupportedRatesType ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* * For Self STA Entry: this represents Self Mode. @@ -1458,7 +1458,7 @@ typedef struct */ wpt_uint16 aRxHighestDataRate; - + #ifdef WLAN_FEATURE_11AC /*Indicates the Maximum MCS that can be received for each number of spacial streams */ @@ -1474,11 +1474,11 @@ typedef struct } WDI_SupportedRates; -/*-------------------------------------------------------------------------- - WDI_HTMIMOPowerSaveState +/*-------------------------------------------------------------------------- + WDI_HTMIMOPowerSaveState Spatial Multiplexing(SM) Power Save mode --------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_HT_MIMO_PS_STATIC = 0, // Static SM Power Save mode WDI_HT_MIMO_PS_DYNAMIC = 1, // Dynamic SM Power Save mode @@ -1554,7 +1554,7 @@ typedef struct /* The unicast encryption type in the association */ wpt_uint32 ucEncryptType; - /*HAL should update the existing STA entry, if this flag is set. UMAC + /*HAL should update the existing STA entry, if this flag is set. UMAC will set this flag in case of RE-ASSOC, where we want to reuse the old STA ID.*/ WDI_ConfigActionType wdiAction; @@ -1600,14 +1600,14 @@ typedef struct /*--------------------------------------------------------------------------- WDI_RateSet - + 12 Bytes long because this structure can be used to represent rate and extended rate set IEs - The parser assume this to be at least 12 + The parser assume this to be at least 12 ---------------------------------------------------------------------------*/ #define WDI_RATESET_EID_MAX 12 -typedef struct +typedef struct { wpt_uint8 ucNumRates; wpt_uint8 aRates[WDI_RATESET_EID_MAX]; @@ -1617,7 +1617,7 @@ typedef struct WDI_AciAifsnType access category record ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 rsvd : 1; wpt_uint8 aci : 2; @@ -1629,7 +1629,7 @@ typedef struct WDI_CWType contention window size ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 max : 4; wpt_uint8 min : 4; @@ -1638,7 +1638,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_EdcaParamRecord ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /*Access Category Record*/ WDI_AciAifsnType wdiACI; @@ -1657,19 +1657,19 @@ typedef struct { /*BSS Index*/ wpt_uint8 ucBSSIdx; - + /*?*/ wpt_boolean bHighPerformance; /*Best Effort*/ - WDI_EdcaParamRecord wdiACBE; - + WDI_EdcaParamRecord wdiACBE; + /*Background*/ - WDI_EdcaParamRecord wdiACBK; - + WDI_EdcaParamRecord wdiACBK; + /*Video*/ - WDI_EdcaParamRecord wdiACVI; - + WDI_EdcaParamRecord wdiACVI; + /*Voice*/ WDI_EdcaParamRecord acvo; // voice } WDI_EDCAParamsType; @@ -1684,10 +1684,10 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /*BSSID of the BSS*/ - wpt_macAddr macBSSID; + wpt_macAddr macBSSID; /*BSS Index*/ wpt_uint8 ucBSSIdx; @@ -1698,7 +1698,7 @@ typedef struct /*Broadcast DPU Signature*/ wpt_uint8 ucBcastSig; - /*MAC Address of STA*/ + /*MAC Address of STA*/ wpt_macAddr macSTA; /*BSS STA ID*/ @@ -1722,7 +1722,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1735,10 +1735,10 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /*BSSID of the BSS*/ - wpt_macAddr macBSSID; + wpt_macAddr macBSSID; wpt_uint8 ucBssIdx; @@ -1760,11 +1760,11 @@ typedef struct /* BSSID Index of BSS to which the station is associated */ wpt_uint8 ucBssIdx; - + /* DPU Index - PTK */ wpt_uint8 ucDpuIndex; - /* Bcast DPU Index - GTK */ + /* Bcast DPU Index - GTK */ wpt_uint8 ucBcastDpuIndex; /* Management DPU Index - IGTK - Why is it called bcastMgmtDpuIdx? */ @@ -1787,7 +1787,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /*Parameters related to the BSS*/ WDI_ConfigBSSRspParamsType bssParams; @@ -1808,7 +1808,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1821,7 +1821,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /*STA Index returned during DAL_PostAssocReq or DAL_ConfigStaReq*/ wpt_uint8 ucSTAIdx; @@ -1830,7 +1830,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_EncryptType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_ENCR_NONE, WDI_ENCR_WEP40, @@ -1869,13 +1869,13 @@ typedef struct /* Key ID */ wpt_uint8 keyId; /* 0 for multicast */ - wpt_uint8 unicast; + wpt_uint8 unicast; /* Key Direction */ WDI_KeyDirectionType keyDirection; /* Usage is unknown */ - wpt_uint8 keyRsc[WDI_MAX_KEY_RSC_LEN]; + wpt_uint8 keyRsc[WDI_MAX_KEY_RSC_LEN]; /* =1 for authenticator, =0 for supplicant */ - wpt_uint8 paeRole; + wpt_uint8 paeRole; wpt_uint16 keyLength; wpt_uint8 key[WDI_MAX_KEY_LENGTH]; @@ -1887,7 +1887,7 @@ typedef struct typedef struct { /*BSS Index of the BSS*/ - wpt_uint8 ucBssIdx; + wpt_uint8 ucBssIdx; /*Encryption Type used with peer*/ WDI_EncryptType wdiEncType; @@ -1896,12 +1896,12 @@ typedef struct wpt_uint8 ucNumKeys; /*Array of keys.*/ - WDI_KeysType aKeys[WDI_MAX_ENCR_KEYS]; + WDI_KeysType aKeys[WDI_MAX_ENCR_KEYS]; /*Control for Replay Count, 1= Single TID based replay count on Tx 0 = Per TID based replay count on TX */ - wpt_uint8 ucSingleTidRc; -}WDI_SetBSSKeyReqInfoType; + wpt_uint8 ucSingleTidRc; +}WDI_SetBSSKeyReqInfoType; /*--------------------------------------------------------------------------- WDI_SetBSSKeyReqParamsType @@ -1909,12 +1909,12 @@ typedef struct typedef struct { /*Key Info */ - WDI_SetBSSKeyReqInfoType wdiBSSKeyInfo; + WDI_SetBSSKeyReqInfoType wdiBSSKeyInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1924,7 +1924,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_WepType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_WEP_STATIC, WDI_WEP_DYNAMIC @@ -1937,7 +1937,7 @@ typedef enum typedef struct { /*BSS Index of the BSS*/ - wpt_uint8 ucBssIdx; + wpt_uint8 ucBssIdx; /*Encryption Type used with peer*/ WDI_EncryptType wdiEncType; @@ -1956,12 +1956,12 @@ typedef struct typedef struct { /*Key Info */ - WDI_RemoveBSSKeyReqInfoType wdiKeyInfo; + WDI_RemoveBSSKeyReqInfoType wdiKeyInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1974,7 +1974,7 @@ typedef struct typedef struct { /*STA Index*/ - wpt_uint8 ucSTAIdx; + wpt_uint8 ucSTAIdx; /*Encryption Type used with peer*/ WDI_EncryptType wdiEncType; @@ -1989,12 +1989,12 @@ typedef struct wpt_uint8 ucNumKeys; /*Array of keys.*/ - WDI_KeysType wdiKey[WDI_MAX_ENCR_KEYS]; + WDI_KeysType wdiKey[WDI_MAX_ENCR_KEYS]; /*Control for Replay Count, 1= Single TID based replay count on Tx 0 = Per TID based replay count on TX */ - wpt_uint8 ucSingleTidRc; -}WDI_SetSTAKeyReqInfoType; + wpt_uint8 ucSingleTidRc; +}WDI_SetSTAKeyReqInfoType; /*--------------------------------------------------------------------------- WDI_ConfigBSSReqInfoType @@ -2005,7 +2005,7 @@ typedef struct wpt_macAddr macBSSID; /*Self MAC Address*/ - wpt_macAddr macSelfAddr; + wpt_macAddr macSelfAddr; /*BSS Type*/ WDI_BssType wdiBSSType; @@ -2093,29 +2093,29 @@ typedef struct /* To Enable Disable FW Proxy Probe Resp */ wpt_uint8 bProxyProbeRespEn; - /* Boolean to indicate if EDCA params are valid. UMAC might not have valid - EDCA params or might not desire to apply EDCA params during config BSS. + /* Boolean to indicate if EDCA params are valid. UMAC might not have valid + EDCA params or might not desire to apply EDCA params during config BSS. 0 implies Not Valid ; Non-Zero implies valid*/ wpt_uint8 ucEDCAParamsValid; - /*EDCA Parameters for BK*/ - WDI_EdcaParamRecord wdiBKEDCAParams; + /*EDCA Parameters for BK*/ + WDI_EdcaParamRecord wdiBKEDCAParams; - /*EDCA Parameters for BE*/ - WDI_EdcaParamRecord wdiBEEDCAParams; + /*EDCA Parameters for BE*/ + WDI_EdcaParamRecord wdiBEEDCAParams; - /*EDCA Parameters for VI*/ - WDI_EdcaParamRecord wdiVIEDCAParams; + /*EDCA Parameters for VI*/ + WDI_EdcaParamRecord wdiVIEDCAParams; - /*EDCA Parameters for VO*/ - WDI_EdcaParamRecord wdiVOEDCAParams; + /*EDCA Parameters for VO*/ + WDI_EdcaParamRecord wdiVOEDCAParams; #ifdef WLAN_FEATURE_VOWIFI /*max power to be used after applying the power constraint, if any */ wpt_int8 cMaxTxPower; #endif - /* Persona for the BSS can be STA,AP,GO,CLIENT, same as Connection Mode */ + /* Persona for the BSS can be STA,AP,GO,CLIENT, same as Connection Mode */ wpt_uint8 ucPersona; /* Spectrum Mangement Indicator */ @@ -2139,7 +2139,7 @@ typedef struct typedef struct { /*Config STA arguments.*/ - WDI_ConfigStaReqInfoType wdiSTAParams; + WDI_ConfigStaReqInfoType wdiSTAParams; /*Config BSS Arguments*/ WDI_ConfigBSSReqInfoType wdiBSSParams; @@ -2147,7 +2147,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2160,12 +2160,12 @@ typedef struct typedef struct { /*Info for the Join request that will be sent down to the device*/ - WDI_ConfigBSSReqInfoType wdiReqInfo; + WDI_ConfigBSSReqInfoType wdiReqInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2183,7 +2183,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2196,7 +2196,7 @@ typedef struct typedef struct { /*STA Index*/ - wpt_uint8 ucSTAIdx; + wpt_uint8 ucSTAIdx; /*Encryption Type used with peer*/ WDI_EncryptType wdiEncType; @@ -2215,12 +2215,12 @@ typedef struct typedef struct { /*Key Info */ - WDI_RemoveSTAKeyReqInfoType wdiKeyInfo; + WDI_RemoveSTAKeyReqInfoType wdiKeyInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2234,7 +2234,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_TSInfoTfc ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint16 ackPolicy:2; wpt_uint16 userPrio:3; @@ -2249,7 +2249,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_TSInfoSch ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 rsvd : 7; wpt_uint8 schedule : 1; @@ -2258,7 +2258,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_TSInfoType ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { WDI_TSInfoTfc wdiTraffic; WDI_TSInfoSch wdiSchedule; @@ -2267,7 +2267,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_TspecIEType ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 ucType; wpt_uint8 ucLength; @@ -2295,7 +2295,7 @@ typedef struct typedef struct { /*STA Index*/ - wpt_uint8 ucSTAIdx; + wpt_uint8 ucSTAIdx; /*Identifier for TSpec*/ wpt_uint16 ucTspecIdx; @@ -2324,12 +2324,12 @@ typedef struct typedef struct { /*TSpec Info */ - WDI_AddTSReqInfoType wdiTsInfo; + WDI_AddTSReqInfoType wdiTsInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2342,7 +2342,7 @@ typedef struct typedef struct { /*STA Index*/ - wpt_uint8 ucSTAIdx; + wpt_uint8 ucSTAIdx; /*Identifier for TSpec*/ wpt_uint16 ucTspecIdx; @@ -2362,7 +2362,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2402,7 +2402,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2428,17 +2428,17 @@ typedef struct /*The number of buffers for this TID (baTID)*/ wpt_uint16 usBaBufferSize; - + /*BA timeout in TU's*/ wpt_uint16 usBaTimeout; - + /*b0..b3 - Fragment Number - Always set to 0 b4..b15 - Starting Sequence Number of first MSDU for which this BA is setup*/ wpt_uint16 usBaSSN; - + /*Originator/Recipient*/ wpt_uint8 ucBaDirection; - + }WDI_AddBASessionReqinfoType; @@ -2448,12 +2448,12 @@ typedef struct typedef struct { /*BA Session Info Type*/ - WDI_AddBASessionReqinfoType wdiBASessionInfoType; + WDI_AddBASessionReqinfoType wdiBASessionInfoType; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2466,26 +2466,26 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; - + WDI_Status wdiStatus; + /* Dialog token */ wpt_uint8 ucBaDialogToken; - + /* TID for which the BA session has been setup */ wpt_uint8 ucBaTID; - + /* BA Buffer Size allocated for the current BA session */ wpt_uint8 ucBaBufferSize; /* BA session ID */ wpt_uint16 usBaSessionID; - + /* Reordering Window buffer */ wpt_uint8 ucWinSize; - + /*Station Index to id the sta */ wpt_uint8 ucSTAIdx; - + /* Starting Sequence Number */ wpt_uint16 usBaSSN; @@ -2501,10 +2501,10 @@ typedef struct /* Session Id */ wpt_uint8 ucBaSessionID; - + /* Reorder Window Size */ wpt_uint8 ucWinSize; - + #ifdef FEATURE_ON_CHIP_REORDERING wpt_boolean bIsReorderingDoneOnChip; #endif @@ -2518,12 +2518,12 @@ typedef struct typedef struct { /*BA Info Type*/ - WDI_AddBAReqinfoType wdiBAInfoType; + WDI_AddBAReqinfoType wdiBAInfoType; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2537,7 +2537,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /* Dialog token */ wpt_uint8 ucBaDialogToken; @@ -2583,12 +2583,12 @@ typedef struct typedef struct { /*BA Trigger Info Type*/ - WDI_TriggerBAReqinfoType wdiTriggerBAInfoType; + WDI_TriggerBAReqinfoType wdiTriggerBAInfoType; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2625,7 +2625,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /*BSSID of the BSS*/ wpt_macAddr macBSSID; @@ -2650,7 +2650,7 @@ typedef struct /*Originator/Recipient*/ wpt_uint8 ucBaDirection; - + }WDI_DelBAReqinfoType; /*--------------------------------------------------------------------------- @@ -2659,12 +2659,12 @@ typedef struct typedef struct { /*BA Info */ - WDI_DelBAReqinfoType wdiBAInfo; + WDI_DelBAReqinfoType wdiBAInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2696,12 +2696,12 @@ typedef struct typedef struct { /*Info for the Join request that will be sent down to the device*/ - WDI_ConfigStaReqInfoType wdiReqInfo; + WDI_ConfigStaReqInfoType wdiReqInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2756,7 +2756,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2773,13 +2773,13 @@ typedef struct { wpt_macAddr macBSSID; /* Beacon data */ - wpt_uint8 beacon[WDI_BEACON_TEMPLATE_SIZE]; + wpt_uint8 beacon[WDI_BEACON_TEMPLATE_SIZE]; /* length of the template */ wpt_uint32 beaconLength; /* TIM IE offset from the beginning of the template.*/ - wpt_uint32 timIeOffset; + wpt_uint32 timIeOffset; /* P2P IE offset from the beginning of the template */ wpt_uint16 usP2PIeOffset; @@ -2796,7 +2796,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2806,7 +2806,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_LinkStateType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { WDI_LINK_IDLE_STATE = 0, WDI_LINK_PREASSOC_STATE = 1, @@ -2819,7 +2819,7 @@ typedef enum WDI_LINK_BTAMP_POSTASSOC_STATE = 6, WDI_LINK_BTAMP_AP_STATE = 7, WDI_LINK_BTAMP_STA_STATE = 8, - + // Reserved for HAL internal use WDI_LINK_LEARN_STATE = 9, WDI_LINK_SCAN_STATE = 10, @@ -2857,7 +2857,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2887,7 +2887,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -2904,7 +2904,7 @@ typedef struct /* length of the entire request, includes the pStatsBuf length too*/ wpt_uint16 usMsgLen; - + /*Result of the operation*/ WDI_Status wdiStatus; @@ -2914,7 +2914,7 @@ typedef struct /* categories of stats requested */ wpt_uint32 uStatsMask; - /* The Stats buffer starts here and can be an aggregate of more than one statistics + /* The Stats buffer starts here and can be an aggregate of more than one statistics * structure depending on statsMask.*/ }WDI_GetStatsRspParamsType; @@ -2988,7 +2988,7 @@ typedef struct /*Get TSM Stats Params Info*/ WDI_TSMStatsParamsInfoType wdiTsmStatsParamsInfo; - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -3023,14 +3023,14 @@ typedef struct { /*This is a TLV formatted buffer containing all config values that can be set through the DAL Interface - + The TLV is expected to be formatted like this: - - 0 7 15 31 .... + + 0 7 15 31 .... | CONFIG ID | CFG LEN | RESERVED | CFG BODY | - + Or from a C construct point of VU it would look like this: - + typedef struct WPT_PACK_POST { #ifdef WPT_BIG_ENDIAN @@ -3042,25 +3042,25 @@ typedef struct wpt_uint32 ucCfgLen:8; wpt_uint32 ucCfgId:8; #endif - + wpt_uint8 ucCfgBody[ucCfgLen]; - }WDI_ConfigType; - + }WDI_ConfigType; + Multiple such tuplets are to be placed in the config buffer. One for each required configuration item: - + | TLV 1 | TLV2 | .... - + The buffer is expected to be a flat area of memory that can be manipulated with standard memory routines. - + For more info please check paragraph 2.3.1 Config Structure from the HAL LLD. - + For a list of accepted configuration list and IDs please look up wlan_qct_dal_cfg.h */ - void* pConfigBuffer; + void* pConfigBuffer; /*Length of the config buffer above*/ wpt_uint32 uConfigBufferLen; @@ -3068,7 +3068,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -3110,7 +3110,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -3128,7 +3128,7 @@ typedef struct /* Blob size */ wpt_uint32 uBlobSize; - + }WDI_NvDownloadReqBlobInfo; /*--------------------------------------------------------------------------- @@ -3137,17 +3137,17 @@ typedef struct typedef struct { /*NV Blob Info*/ - WDI_NvDownloadReqBlobInfo wdiBlobInfo; + WDI_NvDownloadReqBlobInfo wdiBlobInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ void* pUserData; - + }WDI_NvDownloadReqParamsType; /*--------------------------------------------------------------------------- @@ -3156,7 +3156,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; }WDI_NvDownloadRspInfoType; @@ -3166,7 +3166,7 @@ typedef struct typedef struct { - /*BSSID is needed to identify which session issued this request. As the request has + /*BSSID is needed to identify which session issued this request. As the request has power constraints, this should be applied only to that session*/ wpt_macAddr macBSSId; @@ -3201,7 +3201,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -3273,10 +3273,10 @@ typedef struct { /* In response, power==tx power used for management frames*/ wpt_int8 ucPower; - + /*Result of the operation*/ WDI_Status wdiStatus; - + }WDI_SetMaxTxPowerRspMsg; /*--------------------------------------------------------------------------- @@ -3310,7 +3310,7 @@ typedef struct { wpt_uint8 ucOpp_ps; wpt_uint32 uCtWindow; - wpt_uint8 ucCount; + wpt_uint8 ucCount; wpt_uint32 uDuration; wpt_uint32 uInterval; wpt_uint32 uSingle_noa_duration; @@ -3328,7 +3328,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -3397,7 +3397,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -3411,7 +3411,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /*STA Idx allocated by HAL*/ wpt_uint8 ucSTASelfIdx; @@ -3444,14 +3444,14 @@ typedef struct typedef struct { /*Del Sta Self Info Type */ - WDI_DelSTASelfInfoType wdiDelStaSelfInfo; + WDI_DelSTASelfInfoType wdiDelStaSelfInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_DelSTASelfReqParamsType; /*--------------------------------------------------------------------------- @@ -3460,7 +3460,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; /*STA Index returned during DAL_PostAssocReq or DAL_ConfigStaReq*/ // wpt_uint8 ucSTAIdx; @@ -3470,7 +3470,7 @@ typedef struct WDI_UapsdInfoType UAPSD parameters passed per AC to WDA from UMAC ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { wpt_uint8 ucSTAIdx; // STA index wpt_uint8 ucAc; // Access Category @@ -3484,17 +3484,17 @@ typedef struct WDI_SetUapsdAcParamsReqParamsType UAPSD parameters passed per AC to WDI from WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Enter BMPS Info Type, same as tEnterBmpsParams */ - WDI_UapsdInfoType wdiUapsdInfo; +typedef struct +{ + /*Enter BMPS Info Type, same as tEnterBmpsParams */ + WDI_UapsdInfoType wdiUapsdInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_SetUapsdAcParamsReqParamsType; /*--------------------------------------------------------------------------- @@ -3524,17 +3524,17 @@ typedef struct WDI_EnterBmpsReqParamsType Enter BMPS parameters passed to WDI from WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Enter BMPS Info Type, same as tEnterBmpsParams */ - WDI_EnterBmpsReqinfoType wdiEnterBmpsInfo; +typedef struct +{ + /*Enter BMPS Info Type, same as tEnterBmpsParams */ + WDI_EnterBmpsReqinfoType wdiEnterBmpsInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_EnterBmpsReqParamsType; /*--------------------------------------------------------------------------- @@ -3564,17 +3564,17 @@ typedef struct WDI_ExitBmpsReqParamsType Exit BMPS parameters passed to WDI from WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Exit BMPS Info Type, same as tExitBmpsParams */ - WDI_ExitBmpsReqinfoType wdiExitBmpsInfo; +typedef struct +{ + /*Exit BMPS Info Type, same as tExitBmpsParams */ + WDI_ExitBmpsReqinfoType wdiExitBmpsInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_ExitBmpsReqParamsType; /*--------------------------------------------------------------------------- @@ -3624,17 +3624,17 @@ typedef struct WDI_EnterUapsdReqinfoType Enter UAPSD parameters passed to WDI from WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Enter UAPSD Info Type, same as tUapsdParams */ - WDI_EnterUapsdReqinfoType wdiEnterUapsdInfo; +typedef struct +{ + /*Enter UAPSD Info Type, same as tUapsdParams */ + WDI_EnterUapsdReqinfoType wdiEnterUapsdInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_EnterUapsdReqParamsType; /*--------------------------------------------------------------------------- @@ -3644,8 +3644,8 @@ typedef struct typedef struct { wpt_uint8 ucSTAIdx; - wpt_uint8 ucUapsdACMask; - wpt_uint32 uMaxSpLen; + wpt_uint8 ucUapsdACMask; + wpt_uint32 uMaxSpLen; }WDI_UpdateUapsdReqinfoType; /*--------------------------------------------------------------------------- @@ -3661,17 +3661,17 @@ typedef struct WDI_ExitUapsdReqParamsType Exit UAPSD parameters passed to WDI from WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Exit UAPSD Info Type, same as tUapsdParams */ - WDI_ExitUapsdReqinfoType wdiExitUapsdInfo; +typedef struct +{ + /*Exit UAPSD Info Type, same as tUapsdParams */ + WDI_ExitUapsdReqinfoType wdiExitUapsdInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_ExitUapsdReqParamsType; /*--------------------------------------------------------------------------- @@ -3691,24 +3691,24 @@ typedef struct WDI_UpdateUapsdReqParamsType Update UAPSD parameters passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Update UAPSD Info Type, same as tUpdateUapsdParams */ - WDI_UpdateUapsdReqinfoType wdiUpdateUapsdInfo; +typedef struct +{ + /*Update UAPSD Info Type, same as tUpdateUapsdParams */ + WDI_UpdateUapsdReqinfoType wdiUpdateUapsdInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_UpdateUapsdReqParamsType; /*--------------------------------------------------------------------------- WDI_ConfigureRxpFilterReqParamsType RXP filter parameters passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* Mode of Mcast and Bcast filters configured */ wpt_uint8 ucSetMcstBcstFilterSetting; @@ -3717,26 +3717,26 @@ typedef struct wpt_uint8 ucSetMcstBcstFilter; }WDI_RxpFilterReqParamsType; -typedef struct +typedef struct { /* Rxp Filter */ WDI_RxpFilterReqParamsType wdiRxpFilterParam; - + /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_ConfigureRxpFilterReqParamsType; /*--------------------------------------------------------------------------- WDI_BeaconFilterInfoType Beacon Filtering data structures passed to WDA form UMAC ---------------------------------------------------------------------------*/ -typedef struct -{ +typedef struct +{ wpt_uint16 usCapabilityInfo; wpt_uint16 usCapabilityMask; wpt_uint16 usBeaconInterval; @@ -3749,28 +3749,28 @@ typedef struct WDI_BeaconFilterReqParamsType Beacon Filtering parameters passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Beacon Filtering Info Type, same as tBeaconFilterMsg */ - WDI_BeaconFilterInfoType wdiBeaconFilterInfo; +typedef struct +{ + /*Beacon Filtering Info Type, same as tBeaconFilterMsg */ + WDI_BeaconFilterInfoType wdiBeaconFilterInfo; /*Beacon Filter(s) follow the "usIeNum" field, hence the array to ease the - copy of params from WDA to WDI */ + copy of params from WDA to WDI */ wpt_uint8 aFilters[WDI_BEACON_FILTER_LEN]; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_BeaconFilterReqParamsType; /*--------------------------------------------------------------------------- WDI_RemBeaconFilterInfoType Beacon Filtering data structures (to be reomoved) passed to WDA form UMAC ---------------------------------------------------------------------------*/ -typedef struct -{ +typedef struct +{ wpt_uint8 ucIeCount; wpt_uint8 ucRemIeId[1]; }WDI_RemBeaconFilterInfoType; @@ -3779,17 +3779,17 @@ typedef struct WDI_RemBeaconFilterReqParamsType Beacon Filtering parameters (to be reomoved)passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Beacon Filtering Info Type, same as tBeaconFilterMsg */ - WDI_RemBeaconFilterInfoType wdiBeaconFilterInfo; +typedef struct +{ + /*Beacon Filtering Info Type, same as tBeaconFilterMsg */ + WDI_RemBeaconFilterInfoType wdiBeaconFilterInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_RemBeaconFilterReqParamsType; /*--------------------------------------------------------------------------- @@ -3814,17 +3814,17 @@ typedef struct WDI_SetRSSIThresholdsReqParamsType RSSI thresholds parameters (to be reomoved)passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*RSSI thresholds Info Type, same as WDI_RSSIThresholds */ - WDI_RSSIThresholdsType wdiRSSIThresholdsInfo; +typedef struct +{ + /*RSSI thresholds Info Type, same as WDI_RSSIThresholds */ + WDI_RSSIThresholdsType wdiRSSIThresholdsInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_SetRSSIThresholdsReqParamsType; /*--------------------------------------------------------------------------- @@ -3863,20 +3863,20 @@ typedef struct WDI_HostOffloadReqParamsType host offload info passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Host offload Info Type, same as tHalHostOffloadReq */ - WDI_HostOffloadReqType wdiHostOffloadInfo; +typedef struct +{ + /*Host offload Info Type, same as tHalHostOffloadReq */ + WDI_HostOffloadReqType wdiHostOffloadInfo; #ifdef WLAN_NS_OFFLOAD WDI_NSOffloadParams wdiNsOffloadParams; #endif //WLAN_NS_OFFLOAD /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_HostOffloadReqParamsType; /*--------------------------------------------------------------------------- @@ -3897,17 +3897,17 @@ typedef struct WDI_KeepAliveReqParamsType Keep Alive passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /* Keep Alive Info Type, same as tHalKeepAliveReq */ - WDI_KeepAliveReqType wdiKeepAliveInfo; +typedef struct +{ + /* Keep Alive Info Type, same as tHalKeepAliveReq */ + WDI_KeepAliveReqType wdiKeepAliveInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_KeepAliveReqParamsType; /*--------------------------------------------------------------------------- @@ -3919,7 +3919,7 @@ typedef struct wpt_uint8 ucPatternId; // Pattern ID // Pattern byte offset from beginning of the 802.11 packet to start of the // wake-up pattern - wpt_uint8 ucPatternByteOffset; + wpt_uint8 ucPatternByteOffset; wpt_uint8 ucPatternSize; // Non-Zero Pattern size wpt_uint8 ucPattern[WDI_WOWL_BCAST_PATTERN_MAX_SIZE]; // Pattern wpt_uint8 ucPatternMaskSize; // Non-zero pattern mask size @@ -3933,25 +3933,25 @@ typedef struct WDI_WowlAddBcPtrnReqParamsType Wowl add ptrn info passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Wowl add ptrn Info Type, same as tpSirWowlAddBcastPtrn */ - WDI_WowlAddBcPtrnInfoType wdiWowlAddBcPtrnInfo; +typedef struct +{ + /*Wowl add ptrn Info Type, same as tpSirWowlAddBcastPtrn */ + WDI_WowlAddBcPtrnInfoType wdiWowlAddBcPtrnInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_WowlAddBcPtrnReqParamsType; /*--------------------------------------------------------------------------- WDI_WowlAddBcPtrnRspParamsType Wowl add ptrn info passed from WDI to WDA ---------------------------------------------------------------------------*/ -typedef struct -{ +typedef struct +{ /*Status of the response*/ WDI_Status wdiStatus; /*BssIDX of the session*/ @@ -3973,25 +3973,25 @@ typedef struct WDI_WowlDelBcPtrnReqParamsType Wowl add ptrn info passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Wowl delete ptrn Info Type, same as WDI_WowlDelBcastPtrn */ - WDI_WowlDelBcPtrnInfoType wdiWowlDelBcPtrnInfo; +typedef struct +{ + /*Wowl delete ptrn Info Type, same as WDI_WowlDelBcastPtrn */ + WDI_WowlDelBcPtrnInfoType wdiWowlDelBcPtrnInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_WowlDelBcPtrnReqParamsType; /*--------------------------------------------------------------------------- WDI_WowlDelBcPtrnRspParamsType Wowl Del ptrn info passed from WDI to WDA ---------------------------------------------------------------------------*/ -typedef struct -{ +typedef struct +{ /*Status of the response*/ WDI_Status wdiStatus; /*BssIDX of the session*/ @@ -4005,56 +4005,56 @@ typedef struct typedef struct { /* Enables/disables magic packet filtering */ - wpt_uint8 ucMagicPktEnable; + wpt_uint8 ucMagicPktEnable; /* Magic pattern */ wpt_macAddr magicPtrn; - /* 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 + /* 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 */ wpt_uint8 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 + /* 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 */ - wpt_uint8 ucUcastPatternFilteringEnable; + wpt_uint8 ucUcastPatternFilteringEnable; - /* This configuration is valid only when magicPktEnable=1. - * It requests hardware to wake up when it receives the + /* This configuration is valid only when magicPktEnable=1. + * It requests hardware to wake up when it receives the * Channel Switch Action Frame. */ wpt_uint8 ucWowChnlSwitchRcv; - /* This configuration is valid only when magicPktEnable=1. - * It requests hardware to wake up when it receives the - * Deauthentication Frame. + /* This configuration is valid only when magicPktEnable=1. + * It requests hardware to wake up when it receives the + * Deauthentication Frame. */ wpt_uint8 ucWowDeauthRcv; - /* This configuration is valid only when magicPktEnable=1. - * It requests hardware to wake up when it receives the - * Disassociation Frame. + /* This configuration is valid only when magicPktEnable=1. + * It requests hardware to wake up when it receives the + * Disassociation Frame. */ wpt_uint8 ucWowDisassocRcv; - /* This configuration is valid only when magicPktEnable=1. + /* 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). + * configuration (NOT a firmware configuration). */ wpt_uint8 ucWowMaxMissedBeacons; - /* This configuration is valid only when magicPktEnable=1. + /* 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. + * in WoWLAN mode for some time. Set 0 to disable this feature. */ wpt_uint8 ucWowMaxSleepUsec; @@ -4091,25 +4091,25 @@ typedef struct WDI_WowlEnterReqParamsType Wowl enter info passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Wowl delete ptrn Info Type, same as WDI_SmeWowlEnterParams */ - WDI_WowlEnterInfoType wdiWowlEnterInfo; +typedef struct +{ + /*Wowl delete ptrn Info Type, same as WDI_SmeWowlEnterParams */ + WDI_WowlEnterInfoType wdiWowlEnterInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_WowlEnterReqParamsType; /*--------------------------------------------------------------------------- WDI_WowlEnterRsqParamsType Wowl enter info passed from WDI to WDA ---------------------------------------------------------------------------*/ -typedef struct -{ +typedef struct +{ /*Status of the response message*/ WDI_Status status; @@ -4133,25 +4133,25 @@ typedef struct WDI_WowlExitReqParamsType Wowl exit info passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Wowl delete ptrn Info Type, same as WDI_SmeWowlEnterParams */ - WDI_WowlExitInfoType wdiWowlExitInfo; +typedef struct +{ + /*Wowl delete ptrn Info Type, same as WDI_SmeWowlEnterParams */ + WDI_WowlExitInfoType wdiWowlExitInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_WowlExitReqParamsType; /*--------------------------------------------------------------------------- WDI_WowlExitRspParamsType Wowl exit info passed from WDI to WDA ---------------------------------------------------------------------------*/ -typedef struct -{ +typedef struct +{ /*Status of the response message*/ WDI_Status status; @@ -4164,17 +4164,17 @@ typedef struct WDI_ConfigureAppsCpuWakeupStateReqParamsType Apps Cpu Wakeup State parameters passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /*Depicts the state of the Apps CPU */ +typedef struct +{ + /*Depicts the state of the Apps CPU */ wpt_boolean bIsAppsAwake; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_ConfigureAppsCpuWakeupStateReqParamsType; /*--------------------------------------------------------------------------- WDI_FlushAcReqinfoType @@ -4190,9 +4190,9 @@ typedef struct // Station Index. originates from HAL wpt_uint8 ucSTAId; - // TID for which the transmit queue is being flushed + // TID for which the transmit queue is being flushed wpt_uint8 ucTid; - + }WDI_FlushAcReqinfoType; /*--------------------------------------------------------------------------- @@ -4201,12 +4201,12 @@ typedef struct typedef struct { /*AC Info */ - WDI_FlushAcReqinfoType wdiFlushAcInfo; + WDI_FlushAcReqinfoType wdiFlushAcInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4229,12 +4229,12 @@ typedef struct typedef struct { /*BT AMP event Info */ - WDI_BtAmpEventinfoType wdiBtAmpEventInfo; + WDI_BtAmpEventinfoType wdiBtAmpEventInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4276,7 +4276,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4304,7 +4304,7 @@ typedef struct typedef struct { /*STA Index*/ - wpt_uint8 ucSTAIdx; + wpt_uint8 ucSTAIdx; /*Identifier for TSpec*/ wpt_uint8 ucTspecIdx; @@ -4333,12 +4333,12 @@ typedef struct typedef struct { /*TSpec Info */ - WDI_AggrAddTSReqInfoType wdiAggrTsInfo; + WDI_AggrAddTSReqInfoType wdiAggrTsInfo; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4361,7 +4361,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_WlanSuspendInfoType ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* Mode of Mcast and Bcast filters configured */ wpt_uint8 ucConfiguredMcstBcstFilterSetting; @@ -4377,7 +4377,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4410,11 +4410,11 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ - void* pUserData; + void* pUserData; }WDI_TrafficStatsIndType; #ifdef WLAN_FEATURE_11W @@ -4437,7 +4437,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_WlanResumeInfoType ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* Mode of Mcast and Bcast filters configured */ wpt_uint8 ucConfiguredMcstBcstFilterSetting; @@ -4453,7 +4453,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4469,7 +4469,7 @@ typedef struct typedef struct { wpt_uint32 ulFlags; /* optional flags */ - wpt_uint8 aKCK[16]; /* Key confirmation key */ + wpt_uint8 aKCK[16]; /* Key confirmation key */ wpt_uint8 aKEK[16]; /* key encryption key */ wpt_uint64 ullKeyReplayCounter; /* replay counter */ wpt_macAddr bssId; @@ -4482,7 +4482,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4507,7 +4507,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4531,7 +4531,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4558,7 +4558,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -4572,7 +4572,7 @@ typedef struct typedef struct { /*Status of the response*/ - WDI_Status wdiStatus; + WDI_Status wdiStatus; }WDI_SuspendResumeRspParamsType; #ifdef FEATURE_WLAN_LPHB @@ -4658,11 +4658,11 @@ typedef struct /*--------------------------------------------------------------------------- WDI_AuthType ---------------------------------------------------------------------------*/ -typedef enum +typedef enum { - WDI_AUTH_TYPE_ANY = 0, + WDI_AUTH_TYPE_ANY = 0, - WDI_AUTH_TYPE_NONE, + WDI_AUTH_TYPE_NONE, WDI_AUTH_TYPE_OPEN_SYSTEM, WDI_AUTH_TYPE_SHARED_KEY, @@ -4685,8 +4685,8 @@ typedef enum ---------------------------------------------------------------------------*/ typedef enum { - WDI_ED_ANY = 0, - WDI_ED_NONE, + WDI_ED_ANY = 0, + WDI_ED_NONE, WDI_ED_WEP40, WDI_ED_WEP104, WDI_ED_TKIP, @@ -4729,7 +4729,7 @@ typedef enum } WDI_PNOMode; /* SSID broadcast type */ -typedef enum +typedef enum { WDI_BCAST_UNKNOWN = 0, WDI_BCAST_NORMAL = 1, @@ -4741,16 +4741,16 @@ typedef enum /*--------------------------------------------------------------------------- WDI_NetworkType ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /*The SSID of the preferred network*/ WDI_MacSSid ssId; /*The authentication method of the preferred network*/ - WDI_AuthType wdiAuth; + WDI_AuthType wdiAuth; /*The encryption method of the preferred network*/ - WDI_EdType wdiEncryption; + WDI_EdType wdiEncryption; /*SSID broadcast type, normal, hidden or unknown*/ WDI_SSIDBcastType wdiBcastNetworkType; @@ -4763,20 +4763,20 @@ typedef struct /*rssi threshold that a network must meet to be considered, 0 - for any*/ wpt_uint8 rssiThreshold; -} WDI_NetworkType; +} WDI_NetworkType; /*--------------------------------------------------------------------------- WDI_ScanTimer ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /*The timer value*/ - wpt_uint32 uTimerValue; + wpt_uint32 uTimerValue; /*The amount of time we should be repeating the interval*/ - wpt_uint32 uTimerRepeat; -} WDI_ScanTimer; + wpt_uint32 uTimerRepeat; +} WDI_ScanTimer; /*--------------------------------------------------------------------------- WDI_ScanTimersType @@ -4784,16 +4784,16 @@ typedef struct typedef struct { /*The number of value pair intervals present in the array*/ - wpt_uint8 ucScanTimersCount; + wpt_uint8 ucScanTimersCount; /*The time-repeat value pairs*/ - WDI_ScanTimer aTimerValues[WDI_PNO_MAX_SCAN_TIMERS]; + WDI_ScanTimer aTimerValues[WDI_PNO_MAX_SCAN_TIMERS]; } WDI_ScanTimersType; /*--------------------------------------------------------------------------- WDI_PNOScanReqType ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /*Enable or disable PNO feature*/ wpt_uint8 bEnable; @@ -4802,20 +4802,20 @@ typedef struct WDI_PNOMode wdiModePNO; /*Network count*/ - wpt_uint8 ucNetworksCount; + wpt_uint8 ucNetworksCount; /*The networks to look for*/ WDI_NetworkType aNetworks[WDI_PNO_MAX_SUPP_NETWORKS]; /*Scan timer intervals*/ - WDI_ScanTimersType scanTimers; + WDI_ScanTimersType scanTimers; /*Probe template for 2.4GHz band*/ - wpt_uint16 us24GProbeSize; + wpt_uint16 us24GProbeSize; wpt_uint8 a24GProbeTemplate[WDI_PNO_MAX_PROBE_SIZE]; /*Probe template for 5GHz band*/ - wpt_uint16 us5GProbeSize; + wpt_uint16 us5GProbeSize; wpt_uint8 a5GProbeTemplate[WDI_PNO_MAX_PROBE_SIZE]; } WDI_PNOScanReqType; @@ -4823,17 +4823,17 @@ typedef struct WDI_PNOScanReqParamsType PNO info passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /* PNO Info Type, same as tPrefNetwListParams */ - WDI_PNOScanReqType wdiPNOScanInfo; +typedef struct +{ + /* PNO Info Type, same as tPrefNetwListParams */ + WDI_PNOScanReqType wdiPNOScanInfo; /* Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /* The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; } WDI_PNOScanReqParamsType; /*--------------------------------------------------------------------------- @@ -4993,7 +4993,7 @@ typedef struct /*--------------------------------------------------------------------------- WDI_UpdateScanParamsInfo ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* Ignore DTIM */ wpt_uint32 uIgnoreDTIM; @@ -5011,7 +5011,7 @@ typedef struct wpt_uint32 uEnableBET; /* Beacon Early Termination Interval */ - wpt_uint32 uBETInterval; + wpt_uint32 uBETInterval; /* MAX LI for modulated DTIM */ wpt_uint32 uMaxLIModulatedDTIM; @@ -5022,16 +5022,16 @@ typedef struct WDI_UpdateScanParamsInfoType UpdateScanParams info passed to WDI form WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /* Power params Info Type, same as tSetPowerParamsReq */ - WDI_SetPowerParamsInfo wdiSetPowerParamsInfo; +typedef struct +{ + /* Power params Info Type, same as tSetPowerParamsReq */ + WDI_SetPowerParamsInfo wdiSetPowerParamsInfo; /* Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /* The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ + function pointer will be called */ void* pUserData; }WDI_SetPowerParamsReqParamsType; @@ -5051,17 +5051,17 @@ typedef struct WDI_SetTxPerTrackingReqParamsType Tx PER Tracking parameters passed to WDI from WDA ---------------------------------------------------------------------------*/ -typedef struct -{ - /* Configurations for Tx PER Tracking */ +typedef struct +{ + /* Configurations for Tx PER Tracking */ WDI_TxPerTrackingParamType wdiTxPerTrackingParam; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message - over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + over the BUS */ + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above - function pointer will be called */ - void* pUserData; + function pointer will be called */ + void* pUserData; }WDI_SetTxPerTrackingReqParamsType; #ifdef WLAN_FEATURE_PACKET_FILTERING @@ -5073,8 +5073,8 @@ typedef struct #define WDI_MAC_ADDR_LEN 6 #define WDI_MAX_FILTER_TEST_DATA_LEN 8 #define WDI_MAX_NUM_MULTICAST_ADDRESS 240 -#define WDI_MAX_NUM_FILTERS 20 -#define WDI_MAX_NUM_TESTS_PER_FILTER 10 +#define WDI_MAX_NUM_FILTERS 20 +#define WDI_MAX_NUM_TESTS_PER_FILTER 10 // // Receive Filter Parameters @@ -5087,7 +5087,7 @@ typedef enum WDI_RCV_FILTER_TYPE_MAX_ENUM_SIZE }WDI_ReceivePacketFilterType; -typedef enum +typedef enum { WDI_FILTER_HDR_TYPE_INVALID, WDI_FILTER_HDR_TYPE_MAC, @@ -5098,7 +5098,7 @@ typedef enum WDI_FILTER_HDR_TYPE_MAX }WDI_RcvPktFltProtocolType; -typedef enum +typedef enum { WDI_FILTER_CMP_TYPE_INVALID, WDI_FILTER_CMP_TYPE_EQUAL, @@ -5113,19 +5113,19 @@ typedef struct WDI_RcvPktFltProtocolType protocolLayer; WDI_RcvPktFltCmpFlagType cmpFlag; /* Length of the data to compare */ - wpt_uint16 dataLength; -/* from start of the respective frame header */ - wpt_uint8 dataOffset; + wpt_uint16 dataLength; +/* from start of the respective frame header */ + wpt_uint8 dataOffset; wpt_uint8 reserved; /* Reserved field */ /* Data to compare */ - wpt_uint8 compareData[WDI_MAX_FILTER_TEST_DATA_LEN]; + wpt_uint8 compareData[WDI_MAX_FILTER_TEST_DATA_LEN]; /* Mask to be applied on the received packet data before compare */ - wpt_uint8 dataMask[WDI_MAX_FILTER_TEST_DATA_LEN]; + wpt_uint8 dataMask[WDI_MAX_FILTER_TEST_DATA_LEN]; }WDI_RcvPktFilterFieldParams; typedef struct { - wpt_uint8 filterId; + wpt_uint8 filterId; wpt_uint8 filterType; wpt_uint32 numFieldParams; wpt_uint32 coalesceTime; @@ -5135,26 +5135,26 @@ typedef struct }WDI_RcvPktFilterCfgType; -typedef struct +typedef struct { /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; - + WDI_ReqStatusCb wdiReqStatusCB; + /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ void* pUserData; - + // Variable length packet filter field params WDI_RcvPktFilterCfgType wdiPktFilterCfg; } WDI_SetRcvPktFilterReqParamsType; -typedef struct +typedef struct { /*Result of the operation*/ WDI_Status wdiStatus; - /* BSSIDX of the Set Receive Filter + /* BSSIDX of the Set Receive Filter */ wpt_uint8 bssIdx; } WDI_SetRcvPktFilterRspParamsType; @@ -5167,13 +5167,13 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; - + WDI_ReqStatusCb wdiReqStatusCB; + /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ void* pUserData; - /* BSSID of the Match count + /* BSSID of the Match count */ wpt_macAddr bssId; } WDI_RcvFltPktMatchCntReqParamsType; @@ -5189,7 +5189,7 @@ typedef struct /*Result of the operation*/ WDI_Status wdiStatus; - /* BSSIDX of the Match count response + /* BSSIDX of the Match count response */ wpt_uint8 bssIdx; @@ -5212,8 +5212,8 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; - + WDI_ReqStatusCb wdiReqStatusCB; + /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ void* pUserData; @@ -5223,7 +5223,7 @@ typedef struct { /*Result of the operation*/ WDI_Status wdiStatus; - /* BSSIDX of the Match count response + /* BSSIDX of the Match count response */ wpt_uint8 bssIdx; @@ -5232,7 +5232,7 @@ typedef struct // // Multicast Address List Parameters // -typedef struct +typedef struct { wpt_uint32 ulMulticastAddrCnt; wpt_macAddr multicastAddr[WDI_MAX_NUM_MULTICAST_ADDRESS]; @@ -5246,8 +5246,8 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; - + WDI_ReqStatusCb wdiReqStatusCB; + /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ void* pUserData; @@ -5257,7 +5257,7 @@ typedef struct { /*Result of the operation*/ WDI_Status wdiStatus; - /* BSSIDX of the Match count response + /* BSSIDX of the Match count response */ wpt_uint8 bssIdx; } WDI_RcvFltPktSetMcListRspParamsType; @@ -5286,17 +5286,17 @@ typedef struct typedef struct { /*NV Blob Info*/ - WDI_HALDumpCmdReqInfoType wdiHALDumpCmdInfoType; + WDI_HALDumpCmdReqInfoType wdiHALDumpCmdInfoType; /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ void* pUserData; - + }WDI_HALDumpCmdReqParamsType; @@ -5310,7 +5310,7 @@ typedef struct /* length of the buffer */ wpt_uint16 usBufferLen; - + /* Buffer */ wpt_uint8 *pBuffer; }WDI_HALDumpCmdRspParamsType; @@ -5412,20 +5412,20 @@ typedef struct /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Start response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiRspParams: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_StartRspCb)(WDI_StartRspParamsType* pwdiRspParams, @@ -5433,21 +5433,21 @@ typedef void (*WDI_StartRspCb)(WDI_StartRspParamsType* pwdiRspParams, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Stop response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_StopRspCb)(WDI_Status wdiStatus, @@ -5455,21 +5455,21 @@ typedef void (*WDI_StopRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received an Init Scan response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_InitScanRspCb)(WDI_Status wdiStatus, @@ -5478,21 +5478,21 @@ typedef void (*WDI_InitScanRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a StartScan response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiParams: response params received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_StartScanRspCb)(WDI_StartScanRspParamsType* wdiParams, @@ -5501,21 +5501,21 @@ typedef void (*WDI_StartScanRspCb)(WDI_StartScanRspParamsType* wdiParams, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a End Scan response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_EndScanRspCb)(WDI_Status wdiStatus, @@ -5524,21 +5524,21 @@ typedef void (*WDI_EndScanRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Finish Scan response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_FinishScanRspCb)(WDI_Status wdiStatus, @@ -5547,21 +5547,21 @@ typedef void (*WDI_FinishScanRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Join response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_JoinRspCb)(WDI_Status wdiStatus, @@ -5570,20 +5570,20 @@ typedef void (*WDI_JoinRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Config BSS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiConfigBSSRsp: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ConfigBSSRspCb)( @@ -5593,20 +5593,20 @@ typedef void (*WDI_ConfigBSSRspCb)( /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Del BSS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiDelBSSRsp: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_DelBSSRspCb)(WDI_DelBSSRspParamsType* pwdiDelBSSRsp, @@ -5615,20 +5615,20 @@ typedef void (*WDI_DelBSSRspCb)(WDI_DelBSSRspParamsType* pwdiDelBSSRsp, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Post Assoc response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiRspParams: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_PostAssocRspCb)( @@ -5638,20 +5638,20 @@ typedef void (*WDI_PostAssocRspCb)( /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Del STA response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiDelSTARsp: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_DelSTARspCb)(WDI_DelSTARspParamsType* pwdiDelSTARsp, @@ -5661,21 +5661,21 @@ typedef void (*WDI_DelSTARspCb)(WDI_DelSTARspParamsType* pwdiDelSTARsp, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Set BSS Key response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetBSSKeyRspCb)(WDI_Status wdiStatus, @@ -5683,21 +5683,21 @@ typedef void (*WDI_SetBSSKeyRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Remove BSS Key response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_RemoveBSSKeyRspCb)(WDI_Status wdiStatus, @@ -5705,67 +5705,67 @@ typedef void (*WDI_RemoveBSSKeyRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Set STA Key response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetSTAKeyRspCb)(WDI_Status wdiStatus, void* pUserData); - + /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Remove STA Key response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_RemoveSTAKeyRspCb)(WDI_Status wdiStatus, void* pUserData); -#ifdef FEATURE_WLAN_CCX +#ifdef FEATURE_WLAN_CCX /*--------------------------------------------------------------------------- WDI_TsmRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a TSM Stats response from the underlying device. - - PARAMETERS + + PARAMETERS IN pTSMStats: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_TsmRspCb)(WDI_TSMStatsRspParamsType *pTSMStats, @@ -5774,21 +5774,21 @@ typedef void (*WDI_TsmRspCb)(WDI_TSMStatsRspParamsType *pTSMStats, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Add TS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_AddTsRspCb)(WDI_Status wdiStatus, @@ -5796,21 +5796,21 @@ typedef void (*WDI_AddTsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Del TS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_DelTsRspCb)(WDI_Status wdiStatus, @@ -5818,21 +5818,21 @@ typedef void (*WDI_DelTsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received an Update EDCA Params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_UpdateEDCAParamsRspCb)(WDI_Status wdiStatus, @@ -5840,134 +5840,134 @@ typedef void (*WDI_UpdateEDCAParamsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Add BA response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_AddBASessionRspCb)( WDI_AddBASessionRspParamsType* wdiAddBASessionRsp, void* pUserData); - + /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Del BA response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_DelBARspCb)(WDI_Status wdiStatus, void* pUserData); - + /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Switch Ch response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiRspParams: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SwitchChRspCb)(WDI_SwitchCHRspParamsType* pwdiSwitchChRsp, void* pUserData); - + /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Config STA response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiRspParams: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ConfigSTARspCb)( WDI_ConfigSTARspParamsType* pwdiConfigSTARsp, void* pUserData); - + /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Set Link State response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiRspParams: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetLinkStateRspCb)( WDI_Status wdiStatus, void* pUserData); - + /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Get Stats response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiRspParams: response parameters received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_GetStatsRspCb)(WDI_GetStatsRspParamsType* pwdiGetStatsRsp, @@ -5996,23 +5996,23 @@ typedef void (*WDI_GetRoamRssiRspCb)(WDI_GetRoamRssiRspParamsType* pwdiGetRoamR void* pUserData); #endif - + /*--------------------------------------------------------------------------- WDI_StartRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Update Cfg response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_UpdateCfgRspCb)(WDI_Status wdiStatus, @@ -6020,20 +6020,20 @@ typedef void (*WDI_UpdateCfgRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_AddBARspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a ADD BA response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_AddBARspCb)(WDI_AddBARspinfoType* wdiAddBARsp, @@ -6041,20 +6041,20 @@ typedef void (*WDI_AddBARspCb)(WDI_AddBARspinfoType* wdiAddBARsp, /*--------------------------------------------------------------------------- WDI_TriggerBARspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a ADD BA response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_TriggerBARspCb)(WDI_TriggerBARspParamsType* wdiTriggerBARsp, @@ -6063,21 +6063,21 @@ typedef void (*WDI_TriggerBARspCb)(WDI_TriggerBARspParamsType* wdiTriggerBARs /*--------------------------------------------------------------------------- WDI_UpdateBeaconParamsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Update Beacon Params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_UpdateBeaconParamsRspCb)(WDI_Status wdiStatus, @@ -6085,21 +6085,21 @@ typedef void (*WDI_UpdateBeaconParamsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_SendBeaconParamsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Send Beacon Params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SendBeaconParamsRspCb)(WDI_Status wdiStatus, @@ -6107,21 +6107,21 @@ typedef void (*WDI_SendBeaconParamsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDA_SetMaxTxPowerRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a set max Tx Power response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDA_SetMaxTxPowerRspCb)(WDI_SetMaxTxPowerRspMsg *wdiSetMaxTxPowerRsp, @@ -6170,21 +6170,21 @@ typedef void (*WDA_SetTxPowerRspCb)(WDI_SetTxPowerRspMsg *wdiSetTxPowerRsp, /*--------------------------------------------------------------------------- WDI_UpdateProbeRspTemplateRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Probe RSP Template Update response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_UpdateProbeRspTemplateRspCb)(WDI_Status wdiStatus, @@ -6192,21 +6192,21 @@ typedef void (*WDI_UpdateProbeRspTemplateRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_SetP2PGONOAReqParamsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a P2P GO NOA Params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetP2PGONOAReqParamsRspCb)(WDI_Status wdiStatus, @@ -6237,21 +6237,21 @@ typedef void (*WDI_SetTDLSLinkEstablishReqParamsRspCb)(WDI_SetTdlsLinkEstablish /*--------------------------------------------------------------------------- WDI_SetPwrSaveCfgCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a set Power Save CFG response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetPwrSaveCfgCb)(WDI_Status wdiStatus, @@ -6259,21 +6259,21 @@ typedef void (*WDI_SetPwrSaveCfgCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_SetUapsdAcParamsCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a set UAPSD params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetUapsdAcParamsCb)(WDI_Status wdiStatus, @@ -6281,21 +6281,21 @@ typedef void (*WDI_SetUapsdAcParamsCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_EnterImpsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Enter IMPS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_EnterImpsRspCb)(WDI_Status wdiStatus, @@ -6303,21 +6303,21 @@ typedef void (*WDI_EnterImpsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_ExitImpsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Exit IMPS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ExitImpsRspCb)(WDI_Status wdiStatus, @@ -6325,21 +6325,21 @@ typedef void (*WDI_ExitImpsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_EnterBmpsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a enter BMPS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_EnterBmpsRspCb)(WDI_EnterBmpsRspParamsType *pwdiEnterBmpsRsp, @@ -6347,21 +6347,21 @@ typedef void (*WDI_EnterBmpsRspCb)(WDI_EnterBmpsRspParamsType *pwdiEnterBmpsRsp /*--------------------------------------------------------------------------- WDI_ExitBmpsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a exit BMPS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ExitBmpsRspCb)( WDI_ExitBmpsRspParamsType *pwdiExitBmpsRspParams, @@ -6369,21 +6369,21 @@ typedef void (*WDI_ExitBmpsRspCb)( WDI_ExitBmpsRspParamsType *pwdiExitBmpsRspP /*--------------------------------------------------------------------------- WDI_EnterUapsdRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a enter UAPSD response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_EnterUapsdRspCb)( WDI_EnterUapsdRspParamsType *pwdiEnterUapsdRspParam, @@ -6391,21 +6391,21 @@ typedef void (*WDI_EnterUapsdRspCb)( WDI_EnterUapsdRspParamsType *pwdiEnterUap /*--------------------------------------------------------------------------- WDI_ExitUapsdRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a exit UAPSD response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ExitUapsdRspCb)(WDI_ExitUapsdRspParamsType *pwidExitUapsdRsp, @@ -6413,21 +6413,21 @@ typedef void (*WDI_ExitUapsdRspCb)(WDI_ExitUapsdRspParamsType *pwidExitUapsdRsp /*--------------------------------------------------------------------------- WDI_UpdateUapsdParamsCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a update UAPSD params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_UpdateUapsdParamsCb)(WDI_Status wdiStatus, @@ -6435,21 +6435,21 @@ typedef void (*WDI_UpdateUapsdParamsCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_ConfigureRxpFilterCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a config RXP filter response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ConfigureRxpFilterCb)(WDI_Status wdiStatus, @@ -6457,21 +6457,21 @@ typedef void (*WDI_ConfigureRxpFilterCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_SetBeaconFilterCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a set beacon filter response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetBeaconFilterCb)(WDI_Status wdiStatus, @@ -6479,21 +6479,21 @@ typedef void (*WDI_SetBeaconFilterCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_RemBeaconFilterCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a remove beacon filter response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_RemBeaconFilterCb)(WDI_Status wdiStatus, @@ -6501,21 +6501,21 @@ typedef void (*WDI_RemBeaconFilterCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_SetRSSIThresholdsCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a set RSSI thresholds response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetRSSIThresholdsCb)(WDI_Status wdiStatus, @@ -6523,21 +6523,21 @@ typedef void (*WDI_SetRSSIThresholdsCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_HostOffloadCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a host offload response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_HostOffloadCb)(WDI_Status wdiStatus, @@ -6545,21 +6545,21 @@ typedef void (*WDI_HostOffloadCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_KeepAliveCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Keep Alive response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_KeepAliveCb)(WDI_Status wdiStatus, @@ -6567,21 +6567,21 @@ typedef void (*WDI_KeepAliveCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_WowlAddBcPtrnCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Wowl add Bcast ptrn response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_WowlAddBcPtrnCb)( WDI_WowlAddBcPtrnRspParamsType *pwdiWowlAddBcPtrnParams, @@ -6589,21 +6589,21 @@ typedef void (*WDI_WowlAddBcPtrnCb)( WDI_WowlAddBcPtrnRspParamsType *pwdiWowlA /*--------------------------------------------------------------------------- WDI_WowlDelBcPtrnCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Wowl delete Bcast ptrn response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_WowlDelBcPtrnCb)( WDI_WowlDelBcPtrnRspParamsType *pwdiWowlDelBcstPtrRsp, @@ -6611,21 +6611,21 @@ typedef void (*WDI_WowlDelBcPtrnCb)( WDI_WowlDelBcPtrnRspParamsType *pwdiWowlDe /*--------------------------------------------------------------------------- WDI_WowlEnterReqCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Wowl enter response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_WowlEnterReqCb)( WDI_WowlEnterRspParamsType *pwdiwowlEnterRsp, @@ -6633,21 +6633,21 @@ typedef void (*WDI_WowlEnterReqCb)( WDI_WowlEnterRspParamsType *pwdiwowlEnterRs /*--------------------------------------------------------------------------- WDI_WowlExitReqCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Wowl exit response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_WowlExitReqCb)( WDI_WowlExitRspParamsType *pwdiWowlExitRsp, @@ -6655,61 +6655,61 @@ typedef void (*WDI_WowlExitReqCb)( WDI_WowlExitRspParamsType *pwdiWowlExitRsp /*--------------------------------------------------------------------------- WDI_ConfigureAppsCpuWakeupStateCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a config Apps Cpu Wakeup State response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_ConfigureAppsCpuWakeupStateCb)(WDI_Status wdiStatus, void* pUserData); /*--------------------------------------------------------------------------- WDI_NvDownloadRspCb - + DESCRIPTION - + This callback is invoked by DAL when it has received a NV Download response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus:response status received from HAL - pUserData:user data - - RETURN VALUE + pUserData:user data + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_NvDownloadRspCb)(WDI_NvDownloadRspInfoType* wdiNvDownloadRsp, void* pUserData); /*--------------------------------------------------------------------------- WDI_FlushAcRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Flush AC response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_FlushAcRspCb)(WDI_Status wdiStatus, @@ -6717,21 +6717,21 @@ typedef void (*WDI_FlushAcRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_BtAmpEventRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Bt AMP event response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_BtAmpEventRspCb)(WDI_Status wdiStatus, @@ -6740,45 +6740,45 @@ typedef void (*WDI_BtAmpEventRspCb)(WDI_Status wdiStatus, #ifdef FEATURE_OEM_DATA_SUPPORT /*--------------------------------------------------------------------------- WDI_oemDataRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Start oem data response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data - - - - RETURN VALUE + pUserData: user data + + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ -typedef void (*WDI_oemDataRspCb)(WDI_oemDataRspParamsType* wdiOemDataRspParams, +typedef void (*WDI_oemDataRspCb)(WDI_oemDataRspParamsType* wdiOemDataRspParams, void* pUserData); #endif /*--------------------------------------------------------------------------- WDI_HostResumeEventRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Bt AMP event response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_HostResumeEventRspCb)( @@ -6789,21 +6789,21 @@ typedef void (*WDI_HostResumeEventRspCb)( #ifdef WLAN_FEATURE_VOWIFI_11R /*--------------------------------------------------------------------------- WDI_AggrAddTsRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Aggregated Add TS response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_AggrAddTsRspCb)(WDI_Status wdiStatus, @@ -6812,41 +6812,41 @@ typedef void (*WDI_AggrAddTsRspCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_FTMCommandRspCb - - DESCRIPTION - + + DESCRIPTION + FTM Command response CB - - PARAMETERS + + PARAMETERS IN ftmCMDRspdata: FTM response data from HAL - pUserData: user data - - - RETURN VALUE + pUserData: user data + + + RETURN VALUE NONE ---------------------------------------------------------------------------*/ typedef void (*WDI_FTMCommandRspCb)(void *ftmCMDRspdata, void *pUserData); /*--------------------------------------------------------------------------- - WDI_AddSTASelfParamsRspCb - - DESCRIPTION - + WDI_AddSTASelfParamsRspCb + + DESCRIPTION + This callback is invoked by DAL when it has received a Add Sta Self Params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiAddSelfSTARsp: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_AddSTASelfParamsRspCb)( @@ -6856,21 +6856,21 @@ typedef void (*WDI_AddSTASelfParamsRspCb)( /*--------------------------------------------------------------------------- WDI_DelSTASelfRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a host offload response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_DelSTASelfRspCb) @@ -6882,21 +6882,21 @@ void* pUserData #ifdef FEATURE_WLAN_SCAN_PNO /*--------------------------------------------------------------------------- WDI_PNOScanCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Set PNO response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_PNOScanCb)(WDI_Status wdiStatus, @@ -6904,21 +6904,21 @@ typedef void (*WDI_PNOScanCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_PNOScanCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Set PNO response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_RssiFilterCb)(WDI_Status wdiStatus, @@ -6926,21 +6926,21 @@ typedef void (*WDI_RssiFilterCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_UpdateScanParamsCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Update Scan Params response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_UpdateScanParamsCb)(WDI_Status wdiStatus, @@ -6973,90 +6973,90 @@ typedef void (*WDI_RoamOffloadScanCb)(WDI_Status wdiStatus, #endif /*--------------------------------------------------------------------------- WDI_SetTxPerTrackingRspCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Tx PER Tracking response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetTxPerTrackingRspCb)(WDI_Status wdiStatus, void* pUserData); - + #ifdef WLAN_FEATURE_PACKET_FILTERING /*--------------------------------------------------------------------------- WDI_8023MulticastListCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a 8023 Multicast List response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ -typedef void (*WDI_8023MulticastListCb)( +typedef void (*WDI_8023MulticastListCb)( WDI_RcvFltPktSetMcListRspParamsType *pwdiRcvFltPktSetMcListRspInfo, void* pUserData); /*--------------------------------------------------------------------------- WDI_ReceiveFilterSetFilterCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Receive Filter Set Filter response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + - - - RETURN VALUE + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ -typedef void (*WDI_ReceiveFilterSetFilterCb)( +typedef void (*WDI_ReceiveFilterSetFilterCb)( WDI_SetRcvPktFilterRspParamsType *pwdiSetRcvPktFilterRspInfo, void* pUserData); /*--------------------------------------------------------------------------- WDI_FilterMatchCountCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Do PC Filter Match Count response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_FilterMatchCountCb)( @@ -7065,46 +7065,46 @@ typedef void (*WDI_FilterMatchCountCb)( /*--------------------------------------------------------------------------- WDI_ReceiveFilterClearFilterCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Receive Filter Clear Filter response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ -typedef void (*WDI_ReceiveFilterClearFilterCb)( +typedef void (*WDI_ReceiveFilterClearFilterCb)( WDI_RcvFltPktClearRspParamsType *pwdiRcvFltPktClearRspParamsType, void* pUserData); #endif // WLAN_FEATURE_PACKET_FILTERING /*--------------------------------------------------------------------------- WDI_HALDumpCmdRspCb - - DESCRIPTION - - This callback is invoked by DAL when it has received a HAL DUMP Command + + DESCRIPTION + + This callback is invoked by DAL when it has received a HAL DUMP Command response from the HAL layer. - - PARAMETERS + + PARAMETERS IN wdiHalDumpCmdRsp: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_HALDumpCmdRspCb)(WDI_HALDumpCmdRspParamsType* wdiHalDumpCmdRsp, @@ -7112,21 +7112,21 @@ typedef void (*WDI_HALDumpCmdRspCb)(WDI_HALDumpCmdRspParamsType* wdiHalDumpCmdR /*--------------------------------------------------------------------------- WDI_SetPowerParamsCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Set Power Param response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetPowerParamsCb)(WDI_Status wdiStatus, @@ -7135,21 +7135,21 @@ typedef void (*WDI_SetPowerParamsCb)(WDI_Status wdiStatus, #ifdef WLAN_FEATURE_GTK_OFFLOAD /*--------------------------------------------------------------------------- WDI_GtkOffloadCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a GTK offload response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_GtkOffloadCb)( WDI_GtkOffloadRspParams *pwdiGtkOffloadRsparams, @@ -7157,21 +7157,21 @@ typedef void (*WDI_GtkOffloadCb)( WDI_GtkOffloadRspParams *pwdiGtkOffloadRspar /*--------------------------------------------------------------------------- WDI_GtkOffloadGetInfoCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a GTK offload information response from the underlying device. - - PARAMETERS + + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data + + - - - RETURN VALUE + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_GtkOffloadGetInfoCb)( WDI_GtkOffloadGetInfoRspParams *pwdiGtkOffloadGetInfoRsparams, @@ -7180,21 +7180,21 @@ typedef void (*WDI_GtkOffloadGetInfoCb)( WDI_GtkOffloadGetInfoRspParams *pwdiGt /*--------------------------------------------------------------------------- WDI_SetTmLevelCb - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by DAL when it has received a Set New TM Level done response from the underlying device. - PARAMETERS + PARAMETERS IN wdiStatus: response status received from HAL - pUserData: user data + pUserData: user data - - - RETURN VALUE + + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_SetTmLevelCb)(WDI_Status wdiStatus, @@ -7202,20 +7202,20 @@ typedef void (*WDI_SetTmLevelCb)(WDI_Status wdiStatus, /*--------------------------------------------------------------------------- WDI_featureCapsExchangeCb - - DESCRIPTION - - This callback is invoked by DAL when it has received a HAL Feature Capbility + + DESCRIPTION + + This callback is invoked by DAL when it has received a HAL Feature Capbility Exchange Response the HAL layer. This callback is put to mantain code similarity and is not being used right now. - - PARAMETERS + + PARAMETERS IN wdiFeatCapRspParams: response parameters received from HAL - pUserData: user data - - RETURN VALUE + pUserData: user data + + RETURN VALUE The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef void (*WDI_featureCapsExchangeCb)(void* wdiFeatCapRspParams, @@ -7261,19 +7261,19 @@ typedef void (*WDI_SetBatchScanCb)(void *pData, WDI_SetBatchScanRspType *pRsp); * Function Declarations and Documentation ==========================================================================*/ -/*======================================================================== - +/*======================================================================== + INITIALIZATION APIs - + ==========================================================================*/ /** @brief WDI_Init is used to initialize the DAL. - + DAL will allocate all the resources it needs. It will open PAL, it will also open both the data and the control transport which in their turn will open - DXE/SMD or any other drivers that they need. - + DXE/SMD or any other drivers that they need. + @param pOSContext: pointer to the OS context provided by the UMAC will be passed on to PAL on Open ppWDIGlobalCtx: output pointer of Global Context @@ -7281,9 +7281,9 @@ typedef void (*WDI_SetBatchScanCb)(void *pData, WDI_SetBatchScanRspType *pRsp); @return Result of the function call */ -WDI_Status +WDI_Status WDI_Init -( +( void* pOSContext, void** ppWDIGlobalCtx, WDI_DeviceCapabilityType* pWdiDevCapability, @@ -7300,23 +7300,23 @@ WDI_Init If the RIVA sub-system is not yet up and running DAL will queue the request for Open and will wait for the SMD notification before attempting to send down the - message to HAL. + message to HAL. WDI_Init must have been called. - @param wdiStartParams: the start parameters as specified by + @param wdiStartParams: the start parameters as specified by the Device Interface - + wdiStartRspCb: callback for passing back the response of the start operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_Start ( WDI_StartReqParamsType* pwdiStartParams, @@ -7333,24 +7333,24 @@ WDI_Start in started state. In state BUSY this request will be queued. - - Request will not be accepted in any other state. + + Request will not be accepted in any other state. WDI_Start must have been called. - @param wdiStopParams: the stop parameters as specified by + @param wdiStopParams: the stop parameters as specified by the Device Interface - + wdiStopRspCb: callback for passing back the response of the stop operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_Stop ( WDI_StopReqParamsType* pwdiStopParams, @@ -7359,20 +7359,20 @@ WDI_Stop ); /** - @brief WDI_Close will be called when the upper MAC no longer + @brief WDI_Close will be called when the upper MAC no longer needs to interract with DAL. DAL will free its control block. - - It is only accepted in state STOPPED. + + It is only accepted in state STOPPED. WDI_Stop must have been called. @param none - + @see WDI_Stop @return Result of the function call */ -WDI_Status +WDI_Status WDI_Close ( void @@ -7402,37 +7402,37 @@ WDI_Shutdown wpt_boolean closeTransport ); -/*======================================================================== - +/*======================================================================== + SCAN APIs - + ==========================================================================*/ /** - @brief WDI_InitScanReq will be called when the upper MAC wants + @brief WDI_InitScanReq will be called when the upper MAC wants the WLAN Device to get ready for a scan procedure. Upon the call of this API the WLAN DAL will pack and send a HAL Init Scan request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_Start must have been called. @param wdiInitScanParams: the init scan parameters as specified by the Device Interface - + wdiInitScanRspCb: callback for passing back the response of the init scan operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_InitScanReq ( WDI_InitScanReqParamsType* pwdiInitScanParams, @@ -7441,31 +7441,31 @@ WDI_InitScanReq ); /** - @brief WDI_StartScanReq will be called when the upper MAC + @brief WDI_StartScanReq will be called when the upper MAC wishes to change the Scan channel on the WLAN Device. Upon the call of this API the WLAN DAL will pack and send a HAL Start Scan request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_InitScanReq must have been called. - @param wdiStartScanParams: the start scan parameters as + @param wdiStartScanParams: the start scan parameters as specified by the Device Interface - + wdiStartScanRspCb: callback for passing back the response of the start scan operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_InitScanReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_StartScanReq ( WDI_StartScanReqParamsType* pwdiStartScanParams, @@ -7475,7 +7475,7 @@ WDI_StartScanReq /** - @brief WDI_EndScanReq will be called when the upper MAC is + @brief WDI_EndScanReq will be called when the upper MAC is wants to end scanning for a particular channel that it had set before by calling Scan Start on the WLAN Device. Upon the call of this API the WLAN DAL will pack and @@ -7483,23 +7483,23 @@ WDI_StartScanReq sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_StartScanReq must have been called. - @param wdiEndScanParams: the end scan parameters as specified + @param wdiEndScanParams: the end scan parameters as specified by the Device Interface - + wdiEndScanRspCb: callback for passing back the response of the end scan operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_StartScanReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_EndScanReq ( WDI_EndScanReqParamsType* pwdiEndScanParams, @@ -7509,31 +7509,31 @@ WDI_EndScanReq /** - @brief WDI_FinishScanReq will be called when the upper MAC has + @brief WDI_FinishScanReq will be called when the upper MAC has completed the scan process on the WLAN Device. Upon the call of this API the WLAN DAL will pack and send a HAL Finish Scan Request request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_InitScanReq must have been called. - @param wdiFinishScanParams: the finish scan parameters as + @param wdiFinishScanParams: the finish scan parameters as specified by the Device Interface - + wdiFinishScanRspCb: callback for passing back the response of the finish scan operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_InitScanReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_FinishScanReq ( WDI_FinishScanReqParamsType* pwdiFinishScanParams, @@ -7541,37 +7541,37 @@ WDI_FinishScanReq void* pUserData ); -/*======================================================================== - +/*======================================================================== + ASSOCIATION APIs - + ==========================================================================*/ /** - @brief WDI_JoinReq will be called when the upper MAC is ready + @brief WDI_JoinReq will be called when the upper MAC is ready to start an association procedure to a BSS. Upon the call of this API the WLAN DAL will pack and send a HAL Join request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_Start must have been called. - @param wdiJoinParams: the join parameters as specified by + @param wdiJoinParams: the join parameters as specified by the Device Interface - + wdiJoinRspCb: callback for passing back the response of the join operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_JoinReq ( WDI_JoinReqParamsType* pwdiJoinParams, @@ -7580,7 +7580,7 @@ WDI_JoinReq ); /** - @brief WDI_ConfigBSSReq will be called when the upper MAC + @brief WDI_ConfigBSSReq will be called when the upper MAC wishes to configure the newly acquired or in process of being acquired BSS to the HW . Upon the call of this API the WLAN DAL will pack and send a HAL Config BSS request @@ -7588,24 +7588,24 @@ WDI_JoinReq STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_JoinReq must have been called. - @param wdiConfigBSSParams: the config BSS parameters as + @param wdiConfigBSSParams: the config BSS parameters as specified by the Device Interface - + wdiConfigBSSRspCb: callback for passing back the response of the config BSS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_JoinReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_ConfigBSSReq ( WDI_ConfigBSSReqParamsType* pwdiConfigBSSParams, @@ -7614,30 +7614,30 @@ WDI_ConfigBSSReq ); /** - @brief WDI_DelBSSReq will be called when the upper MAC is + @brief WDI_DelBSSReq will be called when the upper MAC is dissasociating from the BSS and wishes to notify HW. Upon the call of this API the WLAN DAL will pack and send a HAL Del BSS request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_ConfigBSSReq or WDI_PostAssocReq must have been called. - @param wdiDelBSSParams: the del BSS parameters as specified by + @param wdiDelBSSParams: the del BSS parameters as specified by the Device Interface - + wdiDelBSSRspCb: callback for passing back the response of the del bss operation received from the device - + pUserData: user data will be passed back with the - callback - - @see WDI_ConfigBSSReq, WDI_PostAssocReq + callback + + @see WDI_ConfigBSSReq, WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_DelBSSReq ( WDI_DelBSSReqParamsType* pwdiDelBSSParams, @@ -7646,31 +7646,31 @@ WDI_DelBSSReq ); /** - @brief WDI_PostAssocReq will be called when the upper MAC has + @brief WDI_PostAssocReq will be called when the upper MAC has associated to a BSS and wishes to configure HW for associated state. Upon the call of this API the WLAN DAL will pack and send a HAL Post Assoc request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_JoinReq must have been called. @param wdiPostAssocReqParams: the assoc parameters as specified by the Device Interface - + wdiPostAssocRspCb: callback for passing back the response of the post assoc operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_JoinReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_PostAssocReq ( WDI_PostAssocReqParamsType* pwdiPostAssocReqParams, @@ -7679,7 +7679,7 @@ WDI_PostAssocReq ); /** - @brief WDI_DelSTAReq will be called when the upper MAC when an + @brief WDI_DelSTAReq will be called when the upper MAC when an association with another STA has ended and the station must be deleted from HW. Upon the call of this API the WLAN DAL will pack and send a HAL Del STA request @@ -7687,23 +7687,23 @@ WDI_PostAssocReq STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param wdiDelSTAParams: the Del STA parameters as specified by + @param wdiDelSTAParams: the Del STA parameters as specified by the Device Interface - + wdiDelSTARspCb: callback for passing back the response of the del STA operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_DelSTAReq ( WDI_DelSTAReqParamsType* pwdiDelSTAParams, @@ -7711,38 +7711,38 @@ WDI_DelSTAReq void* pUserData ); -/*======================================================================== - +/*======================================================================== + SECURITY APIs - + ==========================================================================*/ /** - @brief WDI_SetBSSKeyReq will be called when the upper MAC ito + @brief WDI_SetBSSKeyReq will be called when the upper MAC ito install a BSS encryption key on the HW. Upon the call of this API the WLAN DAL will pack and send a HAL Start request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param wdiSetBSSKeyParams: the BSS Key set parameters as + @param wdiSetBSSKeyParams: the BSS Key set parameters as specified by the Device Interface - + wdiSetBSSKeyRspCb: callback for passing back the response of the set BSS Key operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetBSSKeyReq ( WDI_SetBSSKeyReqParamsType* pwdiSetBSSKeyParams, @@ -7759,24 +7759,24 @@ WDI_SetBSSKeyReq in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_SetBSSKeyReq must have been called. - @param wdiRemoveBSSKeyParams: the remove BSS key parameters as + @param wdiRemoveBSSKeyParams: the remove BSS key parameters as specified by the Device Interface - + wdiRemoveBSSKeyRspCb: callback for passing back the response of the remove BSS key operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_SetBSSKeyReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_RemoveBSSKeyReq ( WDI_RemoveBSSKeyReqParamsType* pwdiRemoveBSSKeyParams, @@ -7786,31 +7786,31 @@ WDI_RemoveBSSKeyReq /** - @brief WDI_SetSTAKeyReq will be called when the upper MAC is + @brief WDI_SetSTAKeyReq will be called when the upper MAC is ready to install a STA(ast) encryption key in HW. Upon the call of this API the WLAN DAL will pack and send a HAL Set STA Key request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param wdiSetSTAKeyParams: the set STA key parameters as + @param wdiSetSTAKeyParams: the set STA key parameters as specified by the Device Interface - + wdiSetSTAKeyRspCb: callback for passing back the response of the set STA key operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetSTAKeyReq ( WDI_SetSTAKeyReqParamsType* pwdiSetSTAKeyParams, @@ -7820,31 +7820,31 @@ WDI_SetSTAKeyReq /** - @brief WDI_RemoveSTAKeyReq will be called when the upper MAC + @brief WDI_RemoveSTAKeyReq will be called when the upper MAC wants to unistall a previously set STA key in HW. Upon the call of this API the WLAN DAL will pack and send a HAL Remove STA Key request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_SetSTAKeyReq must have been called. - @param wdiRemoveSTAKeyParams: the remove STA key parameters as + @param wdiRemoveSTAKeyParams: the remove STA key parameters as specified by the Device Interface - + wdiRemoveSTAKeyRspCb: callback for passing back the response of the remove STA key operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_SetSTAKeyReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_RemoveSTAKeyReq ( WDI_RemoveSTAKeyReqParamsType* pwdiRemoveSTAKeyParams, @@ -7853,31 +7853,31 @@ WDI_RemoveSTAKeyReq ); /** - @brief WDI_SetSTABcastKeyReq will be called when the upper MAC + @brief WDI_SetSTABcastKeyReq will be called when the upper MAC wants to install a STA Bcast encryption key on the HW. Upon the call of this API the WLAN DAL will pack and send a HAL Start request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiSetSTABcastKeyParams: the BSS Key set parameters as + @param pwdiSetSTABcastKeyParams: the BSS Key set parameters as specified by the Device Interface - + wdiSetSTABcastKeyRspCb: callback for passing back the response of the set BSS Key operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetSTABcastKeyReq ( WDI_SetSTAKeyReqParamsType* pwdiSetSTABcastKeyParams, @@ -7887,32 +7887,32 @@ WDI_SetSTABcastKeyReq /** - @brief WDI_RemoveSTABcastKeyReq will be called when the upper + @brief WDI_RemoveSTABcastKeyReq will be called when the upper MAC to uninstall a STA Bcast key from HW. Upon the call of this API the WLAN DAL will pack and send a HAL Remove STA Bcast Key request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_SetSTABcastKeyReq must have been called. - @param pwdiRemoveSTABcastKeyParams: the remove BSS key + @param pwdiRemoveSTABcastKeyParams: the remove BSS key parameters as specified by the Device Interface - + wdiRemoveSTABcastKeyRspCb: callback for passing back the response of the remove STA Bcast key operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_SetSTABcastKeyReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_RemoveSTABcastKeyReq ( WDI_RemoveSTAKeyReqParamsType* pwdiRemoveSTABcastKeyParams, @@ -7947,32 +7947,32 @@ WDI_SetTxPowerReq ); /** - @brief WDI_SetMaxTxPowerReq will be called when the upper + @brief WDI_SetMaxTxPowerReq will be called when the upper MAC wants to set Max Tx Power to HW. Upon the call of this API the WLAN DAL will pack and send a HAL Remove STA Bcast Key request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_SetSTABcastKeyReq must have been called. - @param pwdiRemoveSTABcastKeyParams: the remove BSS key + @param pwdiRemoveSTABcastKeyParams: the remove BSS key parameters as specified by the Device Interface - + wdiRemoveSTABcastKeyRspCb: callback for passing back the response of the remove STA Bcast key operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_SetMaxTxPowerReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetMaxTxPowerReq ( WDI_SetMaxTxPowerParamsType* pwdiSetMaxTxPowerParams, @@ -8013,24 +8013,24 @@ WDI_SetMaxTxPowerPerBandReq #ifdef FEATURE_WLAN_CCX /** - @brief WDI_TSMStatsReq will be called by the upper MAC to fetch - Traffic Stream metrics. + @brief WDI_TSMStatsReq will be called by the upper MAC to fetch + Traffic Stream metrics. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. @param wdiAddTsReqParams: the add TS parameters as specified by the Device Interface - + wdiAddTsRspCb: callback for passing back the response of the add TS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_TSMStatsReq ( WDI_TSMStatsReqParamsType* pwdiTsmStatsReqParams, @@ -8041,10 +8041,10 @@ WDI_TSMStatsReq #endif -/*======================================================================== - +/*======================================================================== + QoS and BA APIs - + ==========================================================================*/ /** @@ -8057,23 +8057,23 @@ WDI_TSMStatsReq DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. @param wdiAddTsReqParams: the add TS parameters as specified by the Device Interface - + wdiAddTsRspCb: callback for passing back the response of the add TS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_AddTSReq ( WDI_AddTSReqParamsType* pwdiAddTsReqParams, @@ -8092,23 +8092,23 @@ WDI_AddTSReq in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_AddTSReq must have been called. @param wdiDelTsReqParams: the del TS parameters as specified by the Device Interface - + wdiDelTsRspCb: callback for passing back the response of the del TS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_AddTSReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_DelTSReq ( WDI_DelTSReqParamsType* pwdiDelTsReqParams, @@ -8119,7 +8119,7 @@ WDI_DelTSReq /** - @brief WDI_UpdateEDCAParams will be called when the upper MAC + @brief WDI_UpdateEDCAParams will be called when the upper MAC wishes to update the EDCA parameters used by HW for QoS data traffic. Upon the call of this API the WLAN DAL will pack and send a HAL Update EDCA Params request @@ -8127,23 +8127,23 @@ WDI_DelTSReq STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param wdiUpdateEDCAParams: the start parameters as specified + @param wdiUpdateEDCAParams: the start parameters as specified by the Device Interface - + wdiUpdateEDCAParamsRspCb: callback for passing back the response of the start operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_UpdateEDCAParams ( WDI_UpdateEDCAParamsType* pwdiUpdateEDCAParams, @@ -8162,23 +8162,23 @@ WDI_UpdateEDCAParams in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. @param wdiAddBAReqParams: the add BA parameters as specified by the Device Interface - + wdiAddBARspCb: callback for passing back the response of the add BA operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_AddBASessionReq ( WDI_AddBASessionReqParamsType* pwdiAddBASessionReqParams, @@ -8188,30 +8188,30 @@ WDI_AddBASessionReq /** - @brief WDI_DelBAReq will be called when the upper MAC wants to + @brief WDI_DelBAReq will be called when the upper MAC wants to inform HW that it has deleted a previously created BA session. Upon the call of this API the WLAN DAL will pack and send a HAL Del BA request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_AddBAReq must have been called. @param wdiDelBAReqParams: the del BA parameters as specified by the Device Interface - + wdiDelBARspCb: callback for passing back the response of the del BA operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_AddBAReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_DelBAReq ( WDI_DelBAReqParamsType* pwdiDelBAReqParams, @@ -8220,31 +8220,31 @@ WDI_DelBAReq ); /** - @brief WDI_UpdateBeaconParamsReq will be called when the upper MAC wants to + @brief WDI_UpdateBeaconParamsReq will be called when the upper MAC wants to inform HW that there is a change in the beacon parameters Upon the call of this API the WLAN DAL will pack and send a UpdateBeacon Params message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_UpdateBeaconParamsReq must have been called. @param WDI_UpdateBeaconParamsType: the Update Beacon parameters as specified by the Device Interface - + WDI_UpdateBeaconParamsRspCb: callback for passing back the response of the Update Beacon Params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_AddBAReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_UpdateBeaconParamsReq ( WDI_UpdateBeaconParamsType * pwdiUpdateBeaconParams, @@ -8254,31 +8254,31 @@ WDI_UpdateBeaconParamsReq /** - @brief WDI_SendBeaconParamsReq will be called when the upper MAC wants to + @brief WDI_SendBeaconParamsReq will be called when the upper MAC wants to update the beacon template to be transmitted as BT MAP STA/IBSS/Soft AP Upon the call of this API the WLAN DAL will pack and send the beacon Template message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_SendBeaconParamsReq must have been called. @param WDI_SendBeaconParamsType: the Update Beacon parameters as specified by the Device Interface - + WDI_SendBeaconParamsRspCb: callback for passing back the response of the Send Beacon Params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_AddBAReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SendBeaconParamsReq ( WDI_SendBeaconParamsType* pwdiSendBeaconParams, @@ -8288,7 +8288,7 @@ WDI_SendBeaconParamsReq /** - @brief WDI_UpdateProbeRspTemplateReq will be called when the + @brief WDI_UpdateProbeRspTemplateReq will be called when the upper MAC wants to update the probe response template to be transmitted as Soft AP Upon the call of this API the WLAN DAL will @@ -8296,24 +8296,24 @@ WDI_SendBeaconParamsReq lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. - @param pwdiUpdateProbeRspParams: the Update Beacon parameters as + @param pwdiUpdateProbeRspParams: the Update Beacon parameters as specified by the Device Interface - + wdiSendBeaconParamsRspCb: callback for passing back the response of the Send Beacon Params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_AddBAReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_UpdateProbeRspTemplateReq ( WDI_UpdateProbeRspTemplateParamsType* pwdiUpdateProbeRspParams, @@ -8322,26 +8322,26 @@ WDI_UpdateProbeRspTemplateReq ); /** - @brief WDI_SetP2PGONOAReq will be called when the + @brief WDI_SetP2PGONOAReq will be called when the upper MAC wants to send Notice of Absence Upon the call of this API the WLAN DAL will pack and send the probe rsp template message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. - @param pwdiUpdateProbeRspParams: the Update Beacon parameters as + @param pwdiUpdateProbeRspParams: the Update Beacon parameters as specified by the Device Interface - + wdiSendBeaconParamsRspCb: callback for passing back the response of the Send Beacon Params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_AddBAReq @return Result of the function call */ @@ -8385,38 +8385,38 @@ WDI_SetTDLSLinkEstablishReq void* pUserData ); -/*======================================================================== - +/*======================================================================== + Power Save APIs - + ==========================================================================*/ /** - @brief WDI_SetPwrSaveCfgReq will be called when the upper MAC + @brief WDI_SetPwrSaveCfgReq will be called when the upper MAC wants to set the power save related configurations of the WLAN Device. Upon the call of this API the WLAN DAL will pack and send a HAL Update CFG request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_Start must have been called. - @param pwdiPowerSaveCfg: the power save cfg parameters as + @param pwdiPowerSaveCfg: the power save cfg parameters as specified by the Device Interface - + wdiSetPwrSaveCfgCb: callback for passing back the response of the set power save cfg operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start - @return Result of the function call -*/ -WDI_Status + @return Result of the function call +*/ +WDI_Status WDI_SetPwrSaveCfgReq ( WDI_UpdateCfgReqParamsType* pwdiPowerSaveCfg, @@ -8425,27 +8425,27 @@ WDI_SetPwrSaveCfgReq ); /** - @brief WDI_EnterImpsReq will be called when the upper MAC to + @brief WDI_EnterImpsReq will be called when the upper MAC to request the device to get into IMPS power state. Upon the call of this API the WLAN DAL will send a HAL Enter IMPS request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. + - - @param wdiEnterImpsRspCb: callback for passing back the + @param wdiEnterImpsRspCb: callback for passing back the response of the Enter IMPS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_EnterImpsReq ( WDI_EnterImpsRspCb wdiEnterImpsRspCb, @@ -8453,27 +8453,27 @@ WDI_EnterImpsReq ); /** - @brief WDI_ExitImpsReq will be called when the upper MAC to + @brief WDI_ExitImpsReq will be called when the upper MAC to request the device to get out of IMPS power state. Upon the call of this API the WLAN DAL will send a HAL Exit IMPS request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. + - - @param wdiExitImpsRspCb: callback for passing back the response + @param wdiExitImpsRspCb: callback for passing back the response of the Exit IMPS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_ExitImpsReq ( WDI_ExitImpsRspCb wdiExitImpsRspCb, @@ -8481,31 +8481,31 @@ WDI_ExitImpsReq ); /** - @brief WDI_EnterBmpsReq will be called when the upper MAC to + @brief WDI_EnterBmpsReq will be called when the upper MAC to request the device to get into BMPS power state. Upon the call of this API the WLAN DAL will pack and send a HAL Enter BMPS request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiEnterBmpsReqParams: the Enter BMPS parameters as + @param pwdiEnterBmpsReqParams: the Enter BMPS parameters as specified by the Device Interface - + wdiEnterBmpsRspCb: callback for passing back the response of the Enter BMPS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_EnterBmpsReq ( WDI_EnterBmpsReqParamsType *pwdiEnterBmpsReqParams, @@ -8514,30 +8514,30 @@ WDI_EnterBmpsReq ); /** - @brief WDI_ExitBmpsReq will be called when the upper MAC to + @brief WDI_ExitBmpsReq will be called when the upper MAC to request the device to get out of BMPS power state. Upon the call of this API the WLAN DAL will pack and send a HAL Exit BMPS request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiExitBmpsReqParams: the Exit BMPS parameters as + @param pwdiExitBmpsReqParams: the Exit BMPS parameters as specified by the Device Interface - + wdiExitBmpsRspCb: callback for passing back the response of the Exit BMPS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_ExitBmpsReq ( WDI_ExitBmpsReqParamsType *pwdiExitBmpsReqParams, @@ -8546,32 +8546,32 @@ WDI_ExitBmpsReq ); /** - @brief WDI_EnterUapsdReq will be called when the upper MAC to + @brief WDI_EnterUapsdReq will be called when the upper MAC to request the device to get into UAPSD power state. Upon the call of this API the WLAN DAL will pack and send a HAL Enter UAPSD request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. WDI_SetUapsdAcParamsReq must have been called. - - @param pwdiEnterUapsdReqParams: the Enter UAPSD parameters as + + @param pwdiEnterUapsdReqParams: the Enter UAPSD parameters as specified by the Device Interface - + wdiEnterUapsdRspCb: callback for passing back the response of the Enter UAPSD operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq, WDI_SetUapsdAcParamsReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_EnterUapsdReq ( WDI_EnterUapsdReqParamsType *pwdiEnterUapsdReqParams, @@ -8580,28 +8580,28 @@ WDI_EnterUapsdReq ); /** - @brief WDI_ExitUapsdReq will be called when the upper MAC to + @brief WDI_ExitUapsdReq will be called when the upper MAC to request the device to get out of UAPSD power state. Upon the call of this API the WLAN DAL will send a HAL Exit UAPSD request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param wdiExitUapsdRspCb: callback for passing back the + @param wdiExitUapsdRspCb: callback for passing back the response of the Exit UAPSD operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_ExitUapsdReq ( WDI_ExitUapsdReqParamsType *pwdiExitUapsdReqParams, @@ -8610,7 +8610,7 @@ WDI_ExitUapsdReq ); /** - @brief WDI_UpdateUapsdParamsReq will be called when the upper + @brief WDI_UpdateUapsdParamsReq will be called when the upper MAC wants to set the UAPSD related configurations of an associated STA (while acting as an AP) to the WLAN Device. Upon the call of this API the WLAN DAL will pack @@ -8618,24 +8618,24 @@ WDI_ExitUapsdReq the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_ConfigBSSReq must have been called. - @param pwdiUpdateUapsdReqParams: the UAPSD parameters + @param pwdiUpdateUapsdReqParams: the UAPSD parameters as specified by the Device Interface - + wdiUpdateUapsdParamsCb: callback for passing back the response of the update UAPSD params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_ConfigBSSReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_UpdateUapsdParamsReq ( WDI_UpdateUapsdReqParamsType *pwdiUpdateUapsdReqParams, @@ -8644,7 +8644,7 @@ WDI_UpdateUapsdParamsReq ); /** - @brief WDI_SetUapsdAcParamsReq will be called when the upper + @brief WDI_SetUapsdAcParamsReq will be called when the upper MAC wants to set the UAPSD related configurations before requesting for enter UAPSD power state to the WLAN Device. Upon the call of this API the WLAN DAL will pack @@ -8652,24 +8652,24 @@ WDI_UpdateUapsdParamsReq the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. @param pwdiUapsdInfo: the UAPSD parameters as specified by the Device Interface - + wdiSetUapsdAcParamsCb: callback for passing back the response of the set UAPSD params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetUapsdAcParamsReq ( WDI_SetUapsdAcParamsReqParamsType* pwdiPowerSaveCfg, @@ -8678,30 +8678,30 @@ WDI_SetUapsdAcParamsReq ); /** - @brief WDI_ConfigureRxpFilterReq will be called when the upper + @brief WDI_ConfigureRxpFilterReq will be called when the upper MAC wants to set/reset the RXP filters for received pkts (MC, BC etc.). Upon the call of this API the WLAN DAL will pack and send a HAL configure RXP filter request message to the lower RIVA sub-system. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. - - @param pwdiConfigureRxpFilterReqParams: the RXP + + @param pwdiConfigureRxpFilterReqParams: the RXP filter as specified by the Device Interface - + wdiConfigureRxpFilterCb: callback for passing back the response of the configure RXP filter operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_ConfigureRxpFilterReq ( WDI_ConfigureRxpFilterReqParamsType *pwdiConfigureRxpFilterReqParams, @@ -8717,23 +8717,23 @@ WDI_ConfigureRxpFilterReq lower RIVA sub-system. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. + - - @param pwdiBeaconFilterReqParams: the beacon + @param pwdiBeaconFilterReqParams: the beacon filter as specified by the Device Interface - + wdiBeaconFilterCb: callback for passing back the response of the set beacon filter operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetBeaconFilterReq ( WDI_BeaconFilterReqParamsType *pwdiBeaconFilterReqParams, @@ -8749,23 +8749,23 @@ WDI_SetBeaconFilterReq message to the lower RIVA sub-system. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. - - @param pwdiBeaconFilterReqParams: the beacon + + @param pwdiBeaconFilterReqParams: the beacon filter as specified by the Device Interface - + wdiBeaconFilterCb: callback for passing back the response of the remove beacon filter operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_RemBeaconFilterReq ( WDI_RemBeaconFilterReqParamsType *pwdiBeaconFilterReqParams, @@ -8774,7 +8774,7 @@ WDI_RemBeaconFilterReq ); /** - @brief WDI_SetRSSIThresholdsReq will be called when the upper + @brief WDI_SetRSSIThresholdsReq will be called when the upper MAC wants to set the RSSI thresholds related configurations while in power save. Upon the call of this API the WLAN DAL will pack and send a HAL Set RSSI @@ -8782,24 +8782,24 @@ WDI_RemBeaconFilterReq sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. @param pwdiUapsdInfo: the UAPSD parameters as specified by the Device Interface - + wdiSetUapsdAcParamsCb: callback for passing back the response of the set UAPSD params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetRSSIThresholdsReq ( WDI_SetRSSIThresholdsReqParamsType* pwdiRSSIThresholdsParams, @@ -8808,7 +8808,7 @@ WDI_SetRSSIThresholdsReq ); /** - @brief WDI_HostOffloadReq will be called when the upper MAC + @brief WDI_HostOffloadReq will be called when the upper MAC wants to set the filter to minimize unnecessary host wakeup due to broadcast traffic while in power save. Upon the call of this API the WLAN DAL will pack and @@ -8816,24 +8816,24 @@ WDI_SetRSSIThresholdsReq lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiHostOffloadParams: the host offload as specified + @param pwdiHostOffloadParams: the host offload as specified by the Device Interface - + wdiHostOffloadCb: callback for passing back the response of the host offload operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_HostOffloadReq ( WDI_HostOffloadReqParamsType* pwdiHostOffloadParams, @@ -8842,32 +8842,32 @@ WDI_HostOffloadReq ); /** - @brief WDI_KeepAliveReq will be called when the upper MAC - wants to set the filter to send NULL or unsolicited ARP responses + @brief WDI_KeepAliveReq will be called when the upper MAC + wants to set the filter to send NULL or unsolicited ARP responses and minimize unnecessary host wakeups due to while in power save. Upon the call of this API the WLAN DAL will pack and send a HAL Keep Alive request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiKeepAliveParams: the Keep Alive as specified + @param pwdiKeepAliveParams: the Keep Alive as specified by the Device Interface - + wdiKeepAliveCb: callback for passing back the response of the Keep Alive operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_KeepAliveReq ( WDI_KeepAliveReqParamsType* pwdiKeepAliveParams, @@ -8876,7 +8876,7 @@ WDI_KeepAliveReq ); /** - @brief WDI_WowlAddBcPtrnReq will be called when the upper MAC + @brief WDI_WowlAddBcPtrnReq will be called when the upper MAC wants to set the Wowl Bcast ptrn to minimize unnecessary host wakeup due to broadcast traffic while in power save. Upon the call of this API the WLAN DAL will pack @@ -8884,24 +8884,24 @@ WDI_KeepAliveReq lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiWowlAddBcPtrnParams: the Wowl bcast ptrn as + @param pwdiWowlAddBcPtrnParams: the Wowl bcast ptrn as specified by the Device Interface - + wdiWowlAddBcPtrnCb: callback for passing back the response of the add Wowl bcast ptrn operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_WowlAddBcPtrnReq ( WDI_WowlAddBcPtrnReqParamsType* pwdiWowlAddBcPtrnParams, @@ -8910,31 +8910,31 @@ WDI_WowlAddBcPtrnReq ); /** - @brief WDI_WowlDelBcPtrnReq will be called when the upper MAC + @brief WDI_WowlDelBcPtrnReq will be called when the upper MAC wants to clear the Wowl Bcast ptrn. Upon the call of this API the WLAN DAL will pack and send a HAL delete Wowl Bcast ptrn request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_WowlAddBcPtrnReq must have been called. - @param pwdiWowlDelBcPtrnParams: the Wowl bcast ptrn as + @param pwdiWowlDelBcPtrnParams: the Wowl bcast ptrn as specified by the Device Interface - + wdiWowlDelBcPtrnCb: callback for passing back the response of the del Wowl bcast ptrn operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_WowlAddBcPtrnReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_WowlDelBcPtrnReq ( WDI_WowlDelBcPtrnReqParamsType* pwdiWowlDelBcPtrnParams, @@ -8943,7 +8943,7 @@ WDI_WowlDelBcPtrnReq ); /** - @brief WDI_WowlEnterReq will be called when the upper MAC + @brief WDI_WowlEnterReq will be called when the upper MAC wants to enter the Wowl state to minimize unnecessary host wakeup while in power save. Upon the call of this API the WLAN DAL will pack and send a HAL Wowl enter @@ -8951,24 +8951,24 @@ WDI_WowlDelBcPtrnReq in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiWowlEnterReqParams: the Wowl enter info as + @param pwdiWowlEnterReqParams: the Wowl enter info as specified by the Device Interface - + wdiWowlEnterReqCb: callback for passing back the response of the enter Wowl operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_WowlEnterReq ( WDI_WowlEnterReqParamsType* pwdiWowlEnterParams, @@ -8977,30 +8977,30 @@ WDI_WowlEnterReq ); /** - @brief WDI_WowlExitReq will be called when the upper MAC + @brief WDI_WowlExitReq will be called when the upper MAC wants to exit the Wowl state. Upon the call of this API the WLAN DAL will pack and send a HAL Wowl exit request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_WowlEnterReq must have been called. - @param pwdiWowlExitReqParams: the Wowl exit info as + @param pwdiWowlExitReqParams: the Wowl exit info as specified by the Device Interface - + wdiWowlExitReqCb: callback for passing back the response of the exit Wowl operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_WowlEnterReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_WowlExitReq ( WDI_WowlExitReqParamsType* pwdiWowlExitParams, @@ -9009,7 +9009,7 @@ WDI_WowlExitReq ); /** - @brief WDI_ConfigureAppsCpuWakeupStateReq will be called when + @brief WDI_ConfigureAppsCpuWakeupStateReq will be called when the upper MAC wants to dynamically adjusts the listen interval based on the WLAN/MSM activity. Upon the call of this API the WLAN DAL will pack and send a HAL @@ -9017,23 +9017,23 @@ WDI_WowlExitReq lower RIVA sub-system. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. - - @param pwdiConfigureAppsCpuWakeupStateReqParams: the + + @param pwdiConfigureAppsCpuWakeupStateReqParams: the Apps Cpu Wakeup State as specified by the Device Interface - + wdiConfigureAppsCpuWakeupStateCb: callback for passing back the response of the configure Apps Cpu Wakeup State operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_ConfigureAppsCpuWakeupStateReq ( WDI_ConfigureAppsCpuWakeupStateReqParamsType *pwdiConfigureAppsCpuWakeupStateReqParams, @@ -9041,28 +9041,28 @@ WDI_ConfigureAppsCpuWakeupStateReq void* pUserData ); /** - @brief WDI_FlushAcReq will be called when the upper MAC wants + @brief WDI_FlushAcReq will be called when the upper MAC wants to to perform a flush operation on a given AC. Upon the call of this API the WLAN DAL will pack and send a HAL Flush AC request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. + - - @param pwdiFlushAcReqParams: the Flush AC parameters as + @param pwdiFlushAcReqParams: the Flush AC parameters as specified by the Device Interface - + wdiFlushAcRspCb: callback for passing back the response of the Flush AC operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_FlushAcReq ( WDI_FlushAcReqParamsType* pwdiFlushAcReqParams, @@ -9071,7 +9071,7 @@ WDI_FlushAcReq ); /** - @brief WDI_BtAmpEventReq will be called when the upper MAC + @brief WDI_BtAmpEventReq will be called when the upper MAC wants to notify the lower mac on a BT AMP event. This is to inform BTC-SLM that some BT AMP event occurred. Upon the call of this API the WLAN DAL will pack and send a @@ -9079,22 +9079,22 @@ WDI_FlushAcReq sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. + - - @param wdiBtAmpEventReqParams: the BT AMP event parameters as + @param wdiBtAmpEventReqParams: the BT AMP event parameters as specified by the Device Interface - + wdiBtAmpEventRspCb: callback for passing back the response of the BT AMP event operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_BtAmpEventReq ( WDI_BtAmpEventParamsType* pwdiBtAmpEventReqParams, @@ -9104,29 +9104,29 @@ WDI_BtAmpEventReq #ifdef FEATURE_OEM_DATA_SUPPORT /** - @brief WDI_Start oem data Req will be called when the upper MAC + @brief WDI_Start oem data Req will be called when the upper MAC wants to notify the lower mac on a oem data Req event.Upon the call of this API the WLAN DAL will pack and send a HAL OEM Data Req event request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. - - @param pWdiOemDataReqParams: the oem data req parameters as + + @param pWdiOemDataReqParams: the oem data req parameters as specified by the Device Interface - + wdiStartOemDataRspCb: callback for passing back the response of the Oem Data Req received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_StartOemDataReq ( WDI_oemDataReqParamsType* pWdiOemDataReqParams, @@ -9135,36 +9135,36 @@ WDI_StartOemDataReq ); #endif -/*======================================================================== - +/*======================================================================== + CONTROL APIs - + ==========================================================================*/ /** - @brief WDI_SwitchChReq will be called when the upper MAC wants + @brief WDI_SwitchChReq will be called when the upper MAC wants the WLAN HW to change the current channel of operation. Upon the call of this API the WLAN DAL will pack and send a HAL Start request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_Start must have been called. - @param wdiSwitchChReqParams: the switch ch parameters as + @param wdiSwitchChReqParams: the switch ch parameters as specified by the Device Interface - + wdiSwitchChRspCb: callback for passing back the response of the switch ch operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_SwitchChReq ( WDI_SwitchChReqParamsType* pwdiSwitchChReqParams, @@ -9175,31 +9175,31 @@ WDI_SwitchChReq /** - @brief WDI_ConfigSTAReq will be called when the upper MAC + @brief WDI_ConfigSTAReq will be called when the upper MAC wishes to add or update a STA in HW. Upon the call of this API the WLAN DAL will pack and send a HAL Start message request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_Start must have been called. - @param wdiConfigSTAReqParams: the config STA parameters as + @param wdiConfigSTAReqParams: the config STA parameters as specified by the Device Interface - + wdiConfigSTARspCb: callback for passing back the response of the config STA operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_ConfigSTAReq ( WDI_ConfigSTAReqParamsType* pwdiConfigSTAReqParams, @@ -9208,31 +9208,31 @@ WDI_ConfigSTAReq ); /** - @brief WDI_SetLinkStateReq will be called when the upper MAC + @brief WDI_SetLinkStateReq will be called when the upper MAC wants to change the state of an ongoing link. Upon the call of this API the WLAN DAL will pack and send a HAL Start message request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_JoinReq must have been called. - @param wdiSetLinkStateReqParams: the set link state parameters + @param wdiSetLinkStateReqParams: the set link state parameters as specified by the Device Interface - + wdiSetLinkStateRspCb: callback for passing back the response of the set link state operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_JoinStartReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetLinkStateReq ( WDI_SetLinkReqParamsType* pwdiSetLinkStateReqParams, @@ -9242,30 +9242,30 @@ WDI_SetLinkStateReq /** - @brief WDI_GetStatsReq will be called when the upper MAC wants + @brief WDI_GetStatsReq will be called when the upper MAC wants to get statistics (MIB counters) from the device. Upon the call of this API the WLAN DAL will pack and send a HAL Start request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_Start must have been called. - @param wdiGetStatsReqParams: the stats parameters to get as + @param wdiGetStatsReqParams: the stats parameters to get as specified by the Device Interface - + wdiGetStatsRspCb: callback for passing back the response of the get stats operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_GetStatsReq ( WDI_GetStatsReqParamsType* pwdiGetStatsReqParams, @@ -9308,31 +9308,31 @@ WDI_GetRoamRssiReq #endif /** - @brief WDI_UpdateCfgReq will be called when the upper MAC when + @brief WDI_UpdateCfgReq will be called when the upper MAC when it wishes to change the configuration of the WLAN Device. Upon the call of this API the WLAN DAL will pack and send a HAL Update CFG request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_Start must have been called. - @param wdiUpdateCfgReqParams: the update cfg parameters as + @param wdiUpdateCfgReqParams: the update cfg parameters as specified by the Device Interface - + wdiUpdateCfgsRspCb: callback for passing back the response of the update cfg operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_Start @return Result of the function call */ -WDI_Status +WDI_Status WDI_UpdateCfgReq ( WDI_UpdateCfgReqParamsType* pwdiUpdateCfgReqParams, @@ -9346,17 +9346,17 @@ WDI_UpdateCfgReq @param wdiNvDownloadReqParams: the NV Download parameters as specified by the Device Interface - + wdiNvDownloadRspCb: callback for passing back the response of the NV Download operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_NvDownloadReq ( WDI_NvDownloadReqParamsType* pwdiNvDownloadReqParams, @@ -9372,23 +9372,23 @@ WDI_NvDownloadReq in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. @param wdiAddBAReqParams: the add BA parameters as specified by the Device Interface - + wdiAddBARspCb: callback for passing back the response of the add BA operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_AddBAReq ( WDI_AddBAReqParamsType* pwdiAddBAReqParams, @@ -9405,23 +9405,23 @@ WDI_AddBAReq in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. @param wdiAddBAReqParams: the add BA parameters as specified by the Device Interface - + wdiAddBARspCb: callback for passing back the response of the add BA operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_TriggerBAReq ( WDI_TriggerBAReqParamsType* pwdiTriggerBAReqParams, @@ -9431,13 +9431,13 @@ WDI_TriggerBAReq /** - @brief WDI_IsHwFrameTxTranslationCapable checks to see if HW + @brief WDI_IsHwFrameTxTranslationCapable checks to see if HW frame xtl is enabled for a particular STA. WDI_PostAssocReq must have been called. - @param uSTAIdx: STA index - + @param uSTAIdx: STA index + @see WDI_PostAssocReq @return Result of the function call */ @@ -9457,23 +9457,23 @@ wpt_boolean WDI_IsHwFrameTxTranslationCapable DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. @param wdiAggrAddTsReqParams: the add TS parameters as specified by the Device Interface - + wdiAggrAddTsRspCb: callback for passing back the response of the add TS operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_AggrAddTSReq ( WDI_AggrAddTSReqParamsType* pwdiAddTsReqParams, @@ -9482,12 +9482,12 @@ WDI_AggrAddTSReq ); #endif /* WLAN_FEATURE_VOWIFI_11R */ /** - @brief WDI_STATableInit - Initializes the STA tables. + @brief WDI_STATableInit - Initializes the STA tables. Allocates the necesary memory. - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ @@ -9498,10 +9498,10 @@ WDI_Status WDI_StubRunTest ); /** - @brief WDI_FTMCommandReq - + @brief WDI_FTMCommandReq - Route FTMRequest Command to HAL - - @param ftmCommandReq: FTM request command body + + @param ftmCommandReq: FTM request command body @param ftmCommandRspCb: Response CB @param pUserData: User data will be included with CB @@ -9515,25 +9515,25 @@ WDI_Status WDI_FTMCommandReq ); /** - @brief WDI_HostResumeReq will be called + @brief WDI_HostResumeReq will be called In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. @param pwdiResumeReqParams: as specified by the Device Interface - + wdiResumeReqRspCb: callback for passing back the response of the Resume Req received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_HostResumeReq ( WDI_ResumeParamsType* pwdiResumeReqParams, @@ -9543,9 +9543,9 @@ WDI_HostResumeReq /** @brief WDI_GetAvailableResCount - Function to get the available resource - for data and managemnt frames. - - @param pContext: pointer to the WDI context + for data and managemnt frames. + + @param pContext: pointer to the WDI context @param wdiResPool: type of resource pool requesting @see @return Result of the function call @@ -9586,18 +9586,18 @@ WDI_AddSTASelfReq @brief WDI_DelSTASelfReq will be called . @param WDI_DelSTASelfReqParamsType - + WDI_DelSTASelfRspCb: callback for passing back the response of the del sta self operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_DelSTASelfReq ( WDI_DelSTASelfReqParamsType* pwdiDelStaSelfParams, @@ -9606,18 +9606,18 @@ WDI_DelSTASelfReq ); /** - @brief WDI_HostSuspendInd - + @brief WDI_HostSuspendInd + Suspend Indication from the upper layer will be sent down to HAL - + @param WDI_SuspendParamsType - - @see - + + @see + @return Status of the request */ -WDI_Status +WDI_Status WDI_HostSuspendInd ( WDI_SuspendParamsType* pwdiSuspendIndParams @@ -9693,20 +9693,20 @@ WDI_DelPeriodicTxPtrnInd /** @brief WDI_SetPreferredNetworkList - @param pwdiPNOScanReqParams: the Set PNO as specified + @param pwdiPNOScanReqParams: the Set PNO as specified by the Device Interface - + wdiPNOScanCb: callback for passing back the response of the Set PNO operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetPreferredNetworkReq ( WDI_PNOScanReqParamsType* pwdiPNOScanReqParams, @@ -9717,20 +9717,20 @@ WDI_SetPreferredNetworkReq /** @brief WDI_SetRssiFilterReq - @param pwdiRssiFilterReqParams: the Set RSSI Filter as + @param pwdiRssiFilterReqParams: the Set RSSI Filter as specified by the Device Interface - + wdiRssiFilterCb: callback for passing back the response of the Set RSSI Filter operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetRssiFilterReq ( WDI_SetRssiFilterReqParamsType* pwdiRssiFilterReqParams, @@ -9741,20 +9741,20 @@ WDI_SetRssiFilterReq /** @brief WDI_UpdateScanParams - @param pwdiUpdateScanParamsInfoType: the Update Scan Params as specified + @param pwdiUpdateScanParamsInfoType: the Update Scan Params as specified by the Device Interface - + wdiUpdateScanParamsCb: callback for passing back the response of the Set PNO operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_UpdateScanParamsReq ( WDI_UpdateScanParamsInfoType* pwdiUpdateScanParamsInfoType, @@ -9789,28 +9789,28 @@ WDI_RoamScanOffloadReq #endif /** - @brief WDI_SetTxPerTrackingReq will be called when the upper MAC - wants to set the Tx Per Tracking configurations. + @brief WDI_SetTxPerTrackingReq will be called when the upper MAC + wants to set the Tx Per Tracking configurations. Upon the call of this API the WLAN DAL will pack and send a HAL Set Tx Per Tracking request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. - @param wdiSetTxPerTrackingConf: the Set Tx PER Tracking configurations as + @param wdiSetTxPerTrackingConf: the Set Tx PER Tracking configurations as specified by the Device Interface - + wdiSetTxPerTrackingCb: callback for passing back the response of the set Tx PER Tracking configurations operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetTxPerTrackingReq ( WDI_SetTxPerTrackingReqParamsType* pwdiSetTxPerTrackingReqParams, @@ -9820,16 +9820,16 @@ WDI_SetTxPerTrackingReq /** @brief WDI_SetTmLevelReq - If HW Thermal condition changed, driver should react based on new + If HW Thermal condition changed, driver should react based on new HW thermal condition. @param pwdiSetTmLevelReq: New thermal condition information - + pwdiSetTmLevelRspCb: callback - + usrData: user data will be passed back with the - callback - + callback + @return Result of the function call */ WDI_Status @@ -9837,27 +9837,27 @@ WDI_SetTmLevelReq ( WDI_SetTmLevelReqType *pwdiSetTmLevelReq, WDI_SetTmLevelCb pwdiSetTmLevelRspCb, - void *usrData + void *usrData ); #ifdef WLAN_FEATURE_PACKET_FILTERING /** @brief WDI_8023MulticastListReq - @param pwdiRcvFltPktSetMcListReqInfo: the Set 8023 Multicast + @param pwdiRcvFltPktSetMcListReqInfo: the Set 8023 Multicast List as specified by the Device Interface - + wdi8023MulticastListCallback: callback for passing back the response of the Set 8023 Multicast List operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_8023MulticastListReq ( WDI_RcvFltPktSetMcListReqParamsType* pwdiRcvFltPktSetMcListReqInfo, @@ -9868,20 +9868,20 @@ WDI_8023MulticastListReq /** @brief WDI_ReceiveFilterSetFilterReq - @param pwdiSetRcvPktFilterReqInfo: the Set Receive Filter as + @param pwdiSetRcvPktFilterReqInfo: the Set Receive Filter as specified by the Device Interface - + wdiReceiveFilterSetFilterReqCallback: callback for passing back the response of the Set Receive Filter operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_ReceiveFilterSetFilterReq ( WDI_SetRcvPktFilterReqParamsType* pwdiSetRcvPktFilterReqInfo, @@ -9892,20 +9892,20 @@ WDI_ReceiveFilterSetFilterReq /** @brief WDI_PCFilterMatchCountReq - @param pwdiRcvFltPktMatchCntReqInfo: get D0 PC Filter Match + @param pwdiRcvFltPktMatchCntReqInfo: get D0 PC Filter Match Count - + wdiPCFilterMatchCountCallback: callback for passing back the response of the D0 PC Filter Match Count operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_FilterMatchCountReq ( WDI_RcvFltPktMatchCntReqParamsType* pwdiRcvFltPktMatchCntReqInfo, @@ -9916,20 +9916,20 @@ WDI_FilterMatchCountReq /** @brief WDI_ReceiveFilterClearFilterReq - @param pwdiRcvFltPktClearReqInfo: the Clear Filter as + @param pwdiRcvFltPktClearReqInfo: the Clear Filter as specified by the Device Interface - + wdiReceiveFilterClearFilterCallback: callback for passing back the response of the Clear Filter operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_ReceiveFilterClearFilterReq ( WDI_RcvFltPktClearReqParamsType* pwdiRcvFltPktClearReqInfo, @@ -9941,12 +9941,12 @@ WDI_ReceiveFilterClearFilterReq /** @brief WDI_HALDumpCmdReq Post HAL DUMP Command Event - - @param halDumpCmdReqParams: Hal Dump Command Body + + @param halDumpCmdReqParams: Hal Dump Command Body @param halDumpCmdRspCb: callback for passing back the - response + response @param pUserData: Client Data - + @see @return Result of the function call */ @@ -9960,19 +9960,19 @@ WDI_Status WDI_HALDumpCmdReq( /** @brief WDI_SetPowerParamsReq - @param pwdiPowerParamsReqParams: the Set Power Params as + @param pwdiPowerParamsReqParams: the Set Power Params as specified by the Device Interface - + wdiPowerParamsCb: callback for passing back the response of the Set Power Params operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @return Result of the function call */ -WDI_Status +WDI_Status WDI_SetPowerParamsReq ( WDI_SetPowerParamsReqParamsType* pwdiPowerParamsReqParams, @@ -10036,30 +10036,30 @@ WDI_RateUpdateInd #ifdef WLAN_FEATURE_GTK_OFFLOAD /** - @brief WDI_GTKOffloadReq will be called when the upper MAC + @brief WDI_GTKOffloadReq will be called when the upper MAC wants to set GTK Rekey Counter while in power save. Upon the call of this API the WLAN DAL will pack and send a HAL GTK offload request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiGtkOffloadParams: the GTK offload as specified + @param pwdiGtkOffloadParams: the GTK offload as specified by the Device Interface - + wdiGtkOffloadCb: callback for passing back the response of the GTK offload operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_GTKOffloadReq ( WDI_GtkOffloadReqMsg* pwdiGtkOffloadReqMsg, @@ -10068,32 +10068,32 @@ WDI_GTKOffloadReq ); /** - @brief WDI_GTKOffloadGetInfoReq will be called when the upper + @brief WDI_GTKOffloadGetInfoReq will be called when the upper MAC wants to get GTK Rekey Counter while in power save. Upon the call of this API the WLAN DAL will pack and send a HAL GTK offload request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiGtkOffloadGetInfoReqMsg: the GTK Offload + @param pwdiGtkOffloadGetInfoReqMsg: the GTK Offload Information Message as specified by the Device Interface - + wdiGtkOffloadGetInfoCb: callback for passing back the response of the GTK offload operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_GTKOffloadGetInfoReq ( WDI_GtkOffloadGetInfoReqMsg* pwdiGtkOffloadGetInfoReqMsg, @@ -10105,18 +10105,18 @@ WDI_GTKOffloadGetInfoReq /** @brief WDI_featureCapsExchangeReq Post feature capability bitmap exchange event. - Host will send its own capability to FW in this req and + Host will send its own capability to FW in this req and expect FW to send its capability back as a bitmap in Response - - @param - + + @param + wdiFeatCapsExcRspCb: callback called on getting the response. It is kept to mantain similarity between WDI reqs and if needed, can be used in future. Currently, It is set to NULL - + pUserData: user data will be passed back with the - callback - + callback + @see @return Result of the function call */ @@ -10129,7 +10129,7 @@ WDI_featureCapsExchangeReq /** @brief Disable Active mode offload in Host - + @param void @see @return void @@ -10145,13 +10145,13 @@ WDI_disableCapablityFeature(wpt_uint8 feature_index); variable storing host capability bitmap to find this. This can be used by other moduels to decide certain things like call different APIs based on whether a particular feature is supported. - - @param - + + @param + feat_enum_value: enum value for the feature as in placeHolderInCapBitmap in wlan_hal_msg.h. @see - @return + @return 0 - if the feature is NOT supported in host any non-zero value - if the feature is SUPPORTED in host. */ @@ -10164,14 +10164,14 @@ wpt_uint8 WDI_getHostWlanFeatCaps(wpt_uint8 feat_enum_value); variable storing host capability bitmap to find this. This can be used by other moduels to decide certain things like call different APIs based on whether a particular feature is supported. - - @param - - feat_enum_value: enum value for the feature as in placeHolderInCapBitmap + + @param + + feat_enum_value: enum value for the feature as in placeHolderInCapBitmap in wlan_hal_msg.h. @see - @return + @return 0 - if the feature is NOT supported in FW any non-zero value - if the feature is SUPPORTED in FW. */ @@ -10185,10 +10185,10 @@ wpt_uint8 WDI_getFwWlanFeatCaps(wpt_uint8 feat_enum_value); #endif /** - @brief WDI_GetWcnssCompiledApiVersion - Function to get wcnss compiled - api version - - @param WDI_WlanVersionType: Wlan version structure + @brief WDI_GetWcnssCompiledApiVersion - Function to get wcnss compiled + api version + + @param WDI_WlanVersionType: Wlan version structure @see @return none */ @@ -10203,7 +10203,7 @@ WDI_Status WDI_UpdateVHTOpModeReq ( WDI_UpdateVHTOpMode *pData, - WDI_UpdateVHTOpModeCb wdiUpdateVHTOpModeCb, + WDI_UpdateVHTOpModeCb wdiUpdateVHTOpModeCb, void* pUserData ); diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi_bd.h b/CORE/WDI/CP/inc/wlan_qct_wdi_bd.h index f8a717617df8..400e3a1a31d1 100644 --- a/CORE/WDI/CP/inc/wlan_qct_wdi_bd.h +++ b/CORE/WDI/CP/inc/wlan_qct_wdi_bd.h @@ -30,13 +30,13 @@ /*=========================================================================== - W L A N D E V I C E A B S T R A C T I O N L A Y E R + W L A N D E V I C E A B S T R A C T I O N L A Y E R I N T E R N A L A P I F O R T H E - B D H E A D E R D E F I N I T I O N - - + B D H E A D E R D E F I N I T I O N + + DESCRIPTION - This file contains the internal BD definition exposed by the DAL Control + This file contains the internal BD definition exposed by the DAL Control Path Core module to be used by the DAL Data Path Core. ===========================================================================*/ @@ -62,37 +62,37 @@ when who what, where, why #include "wlan_qct_pal_type.h" -/*========================================================================= - BD STRUCTURE Defines +/*========================================================================= + BD STRUCTURE Defines =========================================================================*/ -/*--------------------------------------------------------------------------- - WDI_RxBdType - The format of the RX BD +/*--------------------------------------------------------------------------- + WDI_RxBdType - The format of the RX BD ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* 0x00 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** (Only used by the DPU) This routing flag indicates the WQ number to which the DPU will push the frame after it finished processing it. */ wpt_uint32 dpuRF:8; - + /** This is DPU sig inserted by RXP. Signature on RA's DPU descriptor */ wpt_uint32 dpuSignature:3; - + /** When set Sta is authenticated. SW needs to set bit addr2_auth_extract_enable in rxp_config2 register. Then RXP will use bit 3 in DPU sig to say whether STA is authenticated or not. In this case only lower 2bits of DPU Sig is valid */ wpt_uint32 stAuF:1; - + /** When set address2 is not valid */ wpt_uint32 A2HF:1; - + /** When set it indicates TPE has sent the Beacon frame */ wpt_uint32 bsf:1; - + /** This bit filled by rxp when set indicates if the current tsf is smaller than received tsf */ wpt_uint32 rtsf:1; @@ -126,9 +126,9 @@ typedef struct This bit is only used in Libra rsvd for Virgo1.0/Virgo2.0 Filled by ADU when it is set LLC is removed from packet */ wpt_uint32 llcr:1; - + wpt_uint32 umaByPass:1; - + /** This bit is only available in Virgo2.0/libra it is reserved in Virgo1.0 Robust Management frame. This bit indicates to DPU that the packet is a robust management frame which requires decryption(this bit is only valid for @@ -136,36 +136,36 @@ typedef struct 1 - Needs decryption 0 - No decryption required */ wpt_uint32 rmf:1; - - /** + + /** This bit is only in Virgo2.0/libra it is reserved in Virgo 1.0 This 1-bit field indicates to DPU Unicast/BC/MC packet 0 - Unicast packet 1 - Broadcast/Multicast packet This bit is only valid when RMF bit is 1 */ wpt_uint32 ub:1; - + /** This is the KEY ID extracted from WEP packets and is used for determine the RX Key Index to use in the DPU Descriptror. This field is 2bits for virgo 1.0 And 3 bits in virgo2.0 and Libra In virgo2.0/libra it is 3bits for the BC/MC packets */ wpt_uint32 rxKeyId:3; - - /** (Only used by the DPU) + + /** (Only used by the DPU) No encryption/decryption 0: No action 1: DPU will not encrypt/decrypt the frame, and discard any encryption related settings in the PDU descriptor. */ wpt_uint32 dpuNE:1; - - /** + + /** This is only available in libra/virgo2.0 it is reserved for virgo1.0 This bit is filled by RXP and modified by ADU This bit indicates to ADU/UMA module that the packet requires 802.11n to 802.3 frame translation. Once ADU/UMA is done with translation they overwrite it with 1'b0/1'b1 depending on how the translation resulted - When used by ADU + When used by ADU 0 - No frame translation required 1 - Frame Translation required When used by SW @@ -173,14 +173,14 @@ typedef struct 1 - Frame translation done ; hence MPDU header offset will point to a 802.3 header */ wpt_uint32 ft:1; - + /** (Only used by the DPU) - BD Type + BD Type 00: 'Generic BD', as indicted above - 01: De-fragmentation format + 01: De-fragmentation format 10-11: Reserved for future use. */ wpt_uint32 bdt:2; - + #else wpt_uint32 bdt:2; wpt_uint32 ft:1; @@ -211,84 +211,84 @@ typedef struct wpt_uint32 dpuSignature:3; wpt_uint32 dpuRF:8; #endif - + /* 0x04 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** This is used for AMSDU this is the PDU index of the PDU which is the one before last PDU; for all non AMSDU frames, this field SHALL be 0. Used in ADU (for AMSDU deaggregation) */ wpt_uint32 penultimatePduIdx:16; - -#ifdef WCN_PRONTO + +#ifdef WCN_PRONTO wpt_uint32 aduFeedback:7; - wpt_uint32 dpuMagicPacket: 1; + wpt_uint32 dpuMagicPacket: 1; #else wpt_uint32 aduFeedback:8; #endif //WCN_PRONTO - + /** DPU feedback */ wpt_uint32 dpuFeedback:8; - + #else wpt_uint32 dpuFeedback:8; -#ifdef WCN_PRONTO - wpt_uint32 dpuMagicPacket: 1; +#ifdef WCN_PRONTO + wpt_uint32 dpuMagicPacket: 1; wpt_uint32 aduFeedback:7; #else wpt_uint32 aduFeedback:8; #endif //WCN_PRONTO wpt_uint32 penultimatePduIdx:16; #endif - + /* 0x08 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** In case PDUs are linked to the BD, this field indicates the index of the first PDU linked to the BD. When PDU count is zero, this field has an undefined value. */ wpt_uint32 headPduIdx:16; - + /** In case PDUs are linked to the BD, this field indicates the index of the last PDU. When PDU count is zero, this field has an undefined value.*/ wpt_uint32 tailPduIdx:16; - + #else wpt_uint32 tailPduIdx:16; wpt_uint32 headPduIdx:16; #endif - + /* 0x0c */ #ifdef WPT_BIG_BYTE_ENDIAN - - /** The length (in number of bytes) of the MPDU header. + + /** The length (in number of bytes) of the MPDU header. Limitation: The MPDU header offset + MPDU header length can never go beyond the end of the first PDU */ wpt_uint32 mpduHeaderLength:8; - - /** The start byte number of the MPDU header. + + /** The start byte number of the MPDU header. The byte numbering is done in the BE format. Word 0x0, bits [31:24] has byte index 0. */ wpt_uint32 mpduHeaderOffset:8; - - /** The start byte number of the MPDU data. + + /** The start byte number of the MPDU data. The byte numbering is done in the BE format. Word 0x0, bits [31:24] has byte index 0. Note that this offset can point all the way into the first linked PDU. Limitation: MPDU DATA OFFSET can not point into the 2nd linked PDU */ wpt_uint32 mpduDataOffset:9; - - /** The number of PDUs linked to the BD. + + /** The number of PDUs linked to the BD. This field should always indicate the correct amount. */ wpt_uint32 pduCount:7; #else - + wpt_uint32 pduCount:7; wpt_uint32 mpduDataOffset:9; wpt_uint32 mpduHeaderOffset:8; wpt_uint32 mpduHeaderLength:8; #endif - + /* 0x10 */ #ifdef WPT_BIG_BYTE_ENDIAN @@ -338,7 +338,7 @@ typedef struct /* 0x14 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** (Only used by the DPU) The DPU descriptor index is used to calculate where in memory the DPU can find the DPU descriptor related to this frame. The DPU calculates the @@ -347,15 +347,15 @@ typedef struct specifying the encryption and compression type and contains references to where encryption keys can be found. */ wpt_uint32 dpuDescIdx:8; - + /** The result from the binary address search on the ADDR1 of the incoming frame. See chapter: RXP filter for encoding of this field. */ wpt_uint32 addr1Index:8; - + /** The result from the binary address search on the ADDR2 of the incoming frame. See chapter: RXP filter for encoding of this field. */ wpt_uint32 addr2Index:8; - + /** The result from the binary address search on the ADDR3 of the incoming frame. See chapter: RXP filter for encoding of this field. */ wpt_uint32 addr3Index:8; @@ -365,36 +365,36 @@ typedef struct wpt_uint32 addr1Index:8; wpt_uint32 dpuDescIdx:8; #endif - + #ifdef WPT_BIG_BYTE_ENDIAN - + /** Indicates Rate Index of packet received */ wpt_uint32 rateIndex:9; - + /** An overview of RXP status information related to receiving the frame.*/ - wpt_uint32 rxpFlags:23; - + wpt_uint32 rxpFlags:23; + #else - + wpt_uint32 rxpFlags:23; /* RxP flags*/ wpt_uint32 rateIndex:9; - + #endif /* 0x1c, 20 */ /** The PHY can be programmed to put all the PHY STATS received from the PHY when receiving a frame in the BD. */ wpt_uint32 phyStats0; /* PHY status word 0*/ wpt_uint32 phyStats1; /* PHY status word 1*/ - + /* 0x24 */ /** The value of the TSF[31:0] bits at the moment that the RXP start receiving a frame from the PHY RX. */ wpt_uint32 mclkRxTimestamp; /* Rx timestamp, microsecond based*/ - + /* 0x28~0x38 */ /** The bits from the PMI command as received from the PHY RX. */ wpt_uint32 pmiCmd4to23[5]; /* PMI cmd rcvd from RxP */ - + /* 0x3c */ #ifdef WCN_PRONTO #ifdef WPT_BIG_BYTE_ENDIAN @@ -414,24 +414,24 @@ typedef struct /* 0x40 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** Gives commands to software upon which host will perform some commands. Please refer to following RPE document for description of all different values for this field. */ wpt_uint32 reorderOpcode:4; - + wpt_uint32 reserved6:12; - + /** Filled by RPE to Indicate to the host up to which slot the host needs to forward the packets to upper Mac layer. This field mostly used for AMDPU packets */ wpt_uint32 reorderFwdIdx:6; - + /** Filled by RPE which indicates to the host which one of slots in the available 64 slots should the host Queue the packet. This field only applied to AMPDU packets. */ wpt_uint32 reorderSlotIdx:6; - + #ifdef WCN_PRONTO wpt_uint32 reserved7: 2; wpt_uint32 outOfOrderForward: 1; @@ -454,17 +454,17 @@ typedef struct wpt_uint32 reserved6:12; wpt_uint32 reorderOpcode:4; #endif - + /* 0x44 */ #ifdef WPT_BIG_BYTE_ENDIAN /** reserved8 from a hardware perspective. Used by SW to propogate frame type/subtype information */ wpt_uint32 frameTypeSubtype:6; wpt_uint32 rfBand:2; - + /** Filled RPE gives the current sequence number in bitmap */ wpt_uint32 currentPktSeqNo:12; - + /** Filled by RPE which gives the sequence number of next expected packet in bitmap */ wpt_uint32 expectedPktSeqNo:12; @@ -474,29 +474,29 @@ typedef struct wpt_uint32 rfBand:2; wpt_uint32 frameTypeSubtype:6; #endif - + /* 0x48 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** When set it is the AMSDU subframe */ wpt_uint32 asf:1; - + /** When set it is the First subframe of the AMSDU packet */ wpt_uint32 esf:1; - + /** When set it is the last subframe of the AMSDU packet */ wpt_uint32 lsf:1; - + /** When set it indicates an Errored AMSDU packet */ wpt_uint32 aef:1; - + wpt_uint32 reserved9:4; - + /** It gives the order in which the AMSDU packet is processed Basically this is a number which increments by one for every AMSDU frame received. Mainly for debugging purpose. */ wpt_uint32 processOrder:4; - + /** It is the order of the subframe of AMSDU that is processed by ADU. This is reset to 0 when ADU deaggregates the first subframe from a new AMSDU and increments by 1 for every new subframe deaggregated within the @@ -506,7 +506,7 @@ typedef struct purpose, SW should use LSF and FSF bits to determine first and last subframes. */ wpt_uint32 sybFrameIdx:4; - + /** Filled by ADU this is the total AMSDU size */ wpt_uint32 totalMsduSize:16; #else @@ -522,51 +522,51 @@ typedef struct } WDI_RxBdType; -/*--------------------------------------------------------------------------- - WDI_RxFcBdType - The format of the RX special flow control BD +/*--------------------------------------------------------------------------- + WDI_RxFcBdType - The format of the RX special flow control BD ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* 0x00 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** (Only used by the DPU) This routing flag indicates the WQ number to which the DPU will push the frame after it finished processing it. */ wpt_uint32 dpuRF:8; - + /** This is DPU sig inserted by RXP. Signature on RA's DPU descriptor */ wpt_uint32 dpuSignature:3; - + /** When set Sta is authenticated. SW needs to set bit addr2_auth_extract_enable in rxp_config2 register. Then RXP will use bit 3 in DPU sig to say whether STA is authenticated or not. In this case only lower 2bits of DPU Sig is valid */ wpt_uint32 stAuF:1; - + /** When set address2 is not valid */ wpt_uint32 A2HF:1; - + /** When set it indicates TPE has sent the Beacon frame */ wpt_uint32 bsf:1; - + /** This bit filled by rxp when set indicates if the current tsf is smaller than received tsf */ wpt_uint32 rtsf:1; - + /** These two fields are used by SW to carry the Rx Channel number and SCAN bit in RxBD*/ wpt_uint32 rxChannel:4; wpt_uint32 scanLearn:1; wpt_uint32 reserved0:1; - + /** LLC Removed This bit is only used in Libra rsvd for Virgo1.0/Virgo2.0 Filled by ADU when it is set LLC is removed from packet */ wpt_uint32 llcr:1; - + wpt_uint32 umaByPass:1; - + /** This bit is only available in Virgo2.0/libra it is reserved in Virgo1.0 Robust Management frame. This bit indicates to DPU that the packet is a robust management frame which requires decryption(this bit is only valid for @@ -574,36 +574,36 @@ typedef struct 1 - Needs decryption 0 - No decryption required */ wpt_uint32 rmf:1; - - /** + + /** This bit is only in Virgo2.0/libra it is reserved in Virgo 1.0 This 1-bit field indicates to DPU Unicast/BC/MC packet 0 - Unicast packet 1 - Broadcast/Multicast packet This bit is only valid when RMF bit is 1 */ wpt_uint32 ub:1; - + /** This is the KEY ID extracted from WEP packets and is used for determine the RX Key Index to use in the DPU Descriptror. This field is 2bits for virgo 1.0 And 3 bits in virgo2.0 and Libra In virgo2.0/libra it is 3bits for the BC/MC packets */ wpt_uint32 rxKeyId:3; - - /** (Only used by the DPU) + + /** (Only used by the DPU) No encryption/decryption 0: No action 1: DPU will not encrypt/decrypt the frame, and discard any encryption related settings in the PDU descriptor. */ wpt_uint32 dpuNE:1; - - /** + + /** This is only available in libra/virgo2.0 it is reserved for virgo1.0 This bit is filled by RXP and modified by ADU This bit indicates to ADU/UMA module that the packet requires 802.11n to 802.3 frame translation. Once ADU/UMA is done with translation they overwrite it with 1'b0/1'b1 depending on how the translation resulted - When used by ADU + When used by ADU 0 - No frame translation required 1 - Frame Translation required When used by SW @@ -611,14 +611,14 @@ typedef struct 1 - Frame translation done ; hence MPDU header offset will point to a 802.3 header */ wpt_uint32 ft:1; - + /** (Only used by the DPU) - BD Type + BD Type 00: 'Generic BD', as indicted above - 01: De-fragmentation format + 01: De-fragmentation format 10-11: Reserved for future use. */ wpt_uint32 bdt:2; - + #else wpt_uint32 bdt:2; wpt_uint32 ft:1; @@ -638,88 +638,88 @@ typedef struct wpt_uint32 dpuSignature:3; wpt_uint32 dpuRF:8; #endif - + /* 0x04 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** This is used for AMSDU this is the PDU index of the PDU which is the one before last PDU; for all non AMSDU frames, this field SHALL be 0. Used in ADU (for AMSDU deaggregation) */ wpt_uint32 penultimatePduIdx:16; - + wpt_uint32 aduFeedback:8; - + /** DPU feedback */ wpt_uint32 dpuFeedback:8; - + #else wpt_uint32 dpuFeedback:8; wpt_uint32 aduFeedback:8; wpt_uint32 penultimatePduIdx:16; #endif - + /* 0x08 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** In case PDUs are linked to the BD, this field indicates the index of the first PDU linked to the BD. When PDU count is zero, this field has an undefined value. */ wpt_uint32 headPduIdx:16; - + /** In case PDUs are linked to the BD, this field indicates the index of the last PDU. When PDU count is zero, this field has an undefined value.*/ wpt_uint32 tailPduIdx:16; - + #else wpt_uint32 tailPduIdx:16; wpt_uint32 headPduIdx:16; #endif - + /* 0x0c */ #ifdef WPT_BIG_BYTE_ENDIAN - - /** The length (in number of bytes) of the MPDU header. + + /** The length (in number of bytes) of the MPDU header. Limitation: The MPDU header offset + MPDU header length can never go beyond the end of the first PDU */ wpt_uint32 mpduHeaderLength:8; - - /** The start byte number of the MPDU header. + + /** The start byte number of the MPDU header. The byte numbering is done in the BE format. Word 0x0, bits [31:24] has byte index 0. */ wpt_uint32 mpduHeaderOffset:8; - - /** The start byte number of the MPDU data. + + /** The start byte number of the MPDU data. The byte numbering is done in the BE format. Word 0x0, bits [31:24] has byte index 0. Note that this offset can point all the way into the first linked PDU. Limitation: MPDU DATA OFFSET can not point into the 2nd linked PDU */ wpt_uint32 mpduDataOffset:9; - - /** The number of PDUs linked to the BD. + + /** The number of PDUs linked to the BD. This field should always indicate the correct amount. */ wpt_uint32 pduCount:7; #else - + wpt_uint32 pduCount:7; wpt_uint32 mpduDataOffset:9; wpt_uint32 mpduHeaderOffset:8; wpt_uint32 mpduHeaderLength:8; #endif - + /* 0x10 */ #ifdef WPT_BIG_BYTE_ENDIAN - - /** This is the length (in number of bytes) of the entire MPDU + + /** This is the length (in number of bytes) of the entire MPDU (header and data). Note that the length does not include FCS field. */ wpt_uint32 mpduLength:16; - + wpt_uint32 reserved3:4; - + /** Traffic Identifier Indicates the traffic class the frame belongs to. For non QoS frames, this field is set to zero. */ wpt_uint32 tid:4; - + wpt_uint32 reserved4:7; wpt_uint32 fc:1; //if set then its special flow control BD. #else @@ -729,10 +729,10 @@ typedef struct wpt_uint32 reserved3:4; wpt_uint32 mpduLength:16; #endif - + /* 0x14 */ #ifdef WPT_BIG_BYTE_ENDIAN - + /** (Only used by the DPU) The DPU descriptor index is used to calculate where in memory the DPU can find the DPU descriptor related to this frame. The DPU calculates the @@ -741,15 +741,15 @@ typedef struct specifying the encryption and compression type and contains references to where encryption keys can be found. */ wpt_uint32 dpuDescIdx:8; - + /** The result from the binary address search on the ADDR1 of the incoming frame. See chapter: RXP filter for encoding of this field. */ wpt_uint32 addr1Index:8; - + /** The result from the binary address search on the ADDR2 of the incoming frame. See chapter: RXP filter for encoding of this field. */ wpt_uint32 addr2Index:8; - + /** The result from the binary address search on the ADDR3 of the incoming frame. See chapter: RXP filter for encoding of this field. */ wpt_uint32 addr3Index:8; @@ -759,41 +759,41 @@ typedef struct wpt_uint32 addr1Index:8; wpt_uint32 dpuDescIdx:8; #endif - + #ifdef WPT_BIG_BYTE_ENDIAN - + /** Indicates Rate Index of packet received */ wpt_uint32 rateIndex:9; - + /** An overview of RXP status information related to receiving the frame.*/ - wpt_uint32 rxpFlags:23; - + wpt_uint32 rxpFlags:23; + #else - + wpt_uint32 rxpFlags:23; /* RxP flags*/ wpt_uint32 rateIndex:9; - + #endif /* 0x1c, 20 */ /** The PHY can be programmed to put all the PHY STATS received from the PHY when receiving a frame in the BD. */ wpt_uint32 phyStats0; /* PHY status word 0*/ wpt_uint32 phyStats1; /* PHY status word 1*/ - + /* 0x24 */ /** The value of the TSF[31:0] bits at the moment that the RXP start receiving a frame from the PHY RX. */ wpt_uint32 mclkRxTimestamp; /* Rx timestamp, microsecond based*/ - - /* 0x28 - 0x2c*/ -#ifdef WPT_BIG_BYTE_ENDIAN + + /* 0x28 - 0x2c*/ +#ifdef WPT_BIG_BYTE_ENDIAN /** One bit per STA. Bit X for STA id X, X=0~7. When set, corresponding STA is valid in FW's STA table.*/ wpt_uint32 fcSTAValidMask:16; /** One bit per STA. Bit X for STA id X, X=0~7. Valid only when corresponding bit in fcSTAValisMask is set.*/ wpt_uint32 fcSTAPwrSaveStateMask:16; - /** One bit per STA. Bit X for STA id X, X=0~7. Valid only when corresponding bit in fcSTAValisMask is set. - When set, corresponding fcSTAThreshEnableMask bit in previous flow control request packet frame was enabled - AND the STA TxQ length is lower than configured fcSTAThresh<X> value. */ + /** One bit per STA. Bit X for STA id X, X=0~7. Valid only when corresponding bit in fcSTAValisMask is set. + When set, corresponding fcSTAThreshEnableMask bit in previous flow control request packet frame was enabled + AND the STA TxQ length is lower than configured fcSTAThresh<X> value. */ wpt_uint32 fcSTAThreshIndMask:16; /** Bit 0 unit: 1=BD count(Libra SoftAP project default). 0=packet count. Bit 7-1: Reserved */ wpt_uint32 fcSTATxQStatus:16; @@ -804,46 +804,46 @@ typedef struct wpt_uint32 fcSTAValidMask:16; #endif /* 0x30 */ -#ifdef WPT_BIG_BYTE_ENDIAN +#ifdef WPT_BIG_BYTE_ENDIAN wpt_uint32 fcStaTxDisabledBitmap:16; wpt_uint32 reserved5:16; -#else +#else wpt_uint32 reserved5:16; wpt_uint32 fcStaTxDisabledBitmap:16; #endif - - // with HAL_NUM_STA as 12 + + // with HAL_NUM_STA as 12 /* 0x34 to 0x3A*/ - wpt_uint32 fcSTATxQLen[12]; // one byte per STA. - wpt_uint32 fcSTACurTxRate[12]; // current Tx rate for each sta. + wpt_uint32 fcSTATxQLen[12]; // one byte per STA. + wpt_uint32 fcSTACurTxRate[12]; // current Tx rate for each sta. } WDI_FcRxBdType; //flow control BD -/*--------------------------------------------------------------------------- - WDI_TxBdType - The format of the TX BD +/*--------------------------------------------------------------------------- + WDI_TxBdType - The format of the TX BD ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* 0x00 */ #ifdef WPT_BIG_BYTE_ENDIAN /** (Only used by the DPU) This routing flag indicates the WQ number to which the DPU will push the frame after it finished processing it. */ wpt_uint32 dpuRF:8; - + /** DPU signature. Filled by Host in Virgo 1.0 but by ADU in Virgo 2.0 */ wpt_uint32 dpuSignature:3; -#ifdef WCN_PRONTO +#ifdef WCN_PRONTO /** Reserved */ wpt_uint32 reserved0:2; - /** Set to '1' to terminate the current AMPDU session. Added based on the + /** Set to '1' to terminate the current AMPDU session. Added based on the request for WiFi Display */ wpt_uint32 terminateAMPDU:1; - /** Bssid index to indicate ADU to use which of the 4 default MAC address - to use while 802.3 to 802.11 translation in case search in ADU UMA table - fails. The default MAC address should be appropriately programmed in the + /** Bssid index to indicate ADU to use which of the 4 default MAC address + to use while 802.3 to 802.11 translation in case search in ADU UMA table + fails. The default MAC address should be appropriately programmed in the uma_tx_default_wmacaddr_u(_1,_2,_3) and uma_tx_default_wmacaddr_l(_1,_2,_3) registers */ wpt_uint32 umaBssidIdx:2; @@ -860,7 +860,7 @@ typedef struct /** Enable/Disable CSU on TX direction. 0: Disable Checksum Unit (CSU) for Transmit. - 1: Enable + 1: Enable */ wpt_uint32 csuTXEnable:1; @@ -900,53 +900,53 @@ typedef struct It is only set when Privacy bit=1 AND type/subtype=Deauth, Action, Disassoc. Otherwise it should always be 0. */ wpt_uint32 rmf:1; - + /** This bit is only in Virgo2.0/libra it is reserved in Virgo 1.0 This 1-bit field indicates to DPU Unicast/BC/MC packet 0 - Unicast packet 1 - Broadcast/Multicast packet This bit is valid only if RMF bit is set */ wpt_uint32 ub:1; - + wpt_uint32 reserved1:1; - + /** This bit is only in Virgo2.0/libra it is reserved in Virgo 1.0 This bit indicates TPE has to assert the TX complete interrupt. 0 - no interrupt 1 - generate interrupt */ wpt_uint32 txComplete1:1; wpt_uint32 fwTxComplete0:1; - + /** (Only used by the DPU) No encryption/decryption 0: No action 1: DPU will not encrypt/decrypt the frame, and discard any encryption related settings in the PDU descriptor. */ wpt_uint32 dpuNE:1; - - + + /** This is only available in libra/virgo2.0 it is reserved for virgo1.0 This bit indicates to ADU/UMA module that the packet requires 802.11n - to 802.3 frame translation. When used by ADU + to 802.3 frame translation. When used by ADU 0 - No frame translation required 1 - Frame Translation required */ wpt_uint32 ft:1; - - /** BD Type + + /** BD Type 00: 'Generic BD', as indicted above - 01: De-fragmentation format + 01: De-fragmentation format 10-11: Reserved for future use. */ wpt_uint32 bdt:2; #else wpt_uint32 bdt:2; wpt_uint32 ft:1; wpt_uint32 dpuNE:1; - wpt_uint32 fwTxComplete0:1; + wpt_uint32 fwTxComplete0:1; wpt_uint32 txComplete1:1; wpt_uint32 reserved1:1; wpt_uint32 ub:1; wpt_uint32 rmf:1; -#ifdef WCN_PRONTO +#ifdef WCN_PRONTO wpt_uint32 csuNoValidHeader:1; wpt_uint32 csuTLCksumGenerated:1; wpt_uint32 csuEnableIPCksum:1; @@ -963,21 +963,21 @@ typedef struct wpt_uint32 dpuSignature:3; wpt_uint32 dpuRF:8; #endif - + /* 0x04 */ #ifdef WPT_BIG_BYTE_ENDIAN wpt_uint32 reserved2:16; /* MUST BE 0 otherwise triggers BMU error*/ wpt_uint32 aduFeedback:8; - + /* DPU feedback in Tx path.*/ wpt_uint32 dpuFeedback:8; - + #else wpt_uint32 dpuFeedback:8; wpt_uint32 aduFeedback:8; wpt_uint32 reserved2:16; #endif - + /* 0x08 */ #ifdef WPT_BIG_BYTE_ENDIAN /** It is initially filled by DXE then if encryption is on, then DPU will @@ -985,7 +985,7 @@ typedef struct indicates the index of the first PDU linked to the BD. When PDU count is zero, this field has an undefined value. */ wpt_uint32 headPduIdx:16; - + /** It is initially filled by DXE then if encryption is on, then DPU will overwrite these fields.In case PDUs are linked to the BD, this field indicates the index of the last PDU. When PDU count is zero, this field @@ -995,7 +995,7 @@ typedef struct wpt_uint32 tailPduIdx:16; wpt_uint32 headPduIdx:16; #endif - + /* 0x0c */ #ifdef WPT_BIG_BYTE_ENDIAN /** This is filled by Host in Virgo 1.0 but it gets changed by ADU in @@ -1003,19 +1003,19 @@ typedef struct Limitation: The MPDU header offset + MPDU header length can never go beyond the end of the first PDU */ wpt_uint32 mpduHeaderLength:8; - + /** This is filled by Host in Virgo 1.0 but it gets changed by ADU in Virgo2.0/Libra. The start byte number of the MPDU header. The byte numbering is done in the BE format. Word 0x0, bits [31:24] has byte index 0. */ wpt_uint32 mpduHeaderOffset:8; - + /** This is filled by Host in Virgo 1.0 but it gets changed by ADU in Virgo2.0/Libra. The start byte number of the MPDU data. The byte numbering is done in the BE format. Word 0x0, bits [31:24] has byte index 0. - Note that this offset can point all the way into the first linked PDU. + Note that this offset can point all the way into the first linked PDU. Limitation: MPDU DATA OFFSET can not point into the 2nd linked PDU */ wpt_uint32 mpduDataOffset:9; - + /** It is initially filled by DXE then if encryption is on, then DPU will overwrite these fields. The number of PDUs linked to the BD. This field should always indicate the correct amount. */ @@ -1026,7 +1026,7 @@ typedef struct wpt_uint32 mpduHeaderOffset:8; wpt_uint32 mpduHeaderLength:8; #endif - + /* 0x10 */ #ifdef WPT_BIG_BYTE_ENDIAN /** This is filled by Host in Virgo 1.0 but it gets changed by ADU in @@ -1034,7 +1034,7 @@ typedef struct This does not include FCS. For single frame transmission, PSDU size is mpduLength + 4.*/ wpt_uint32 mpduLength:16; - + wpt_uint32 reserved3:2; /** Sequence number insertion by DPU 00: Leave sequence number as is, as filled by host @@ -1044,14 +1044,14 @@ typedef struct 10: DPU to insert a sequence number based on TID. 11: Reserved */ wpt_uint32 bd_ssn:2; - + /** Traffic Identifier Indicates the traffic class the frame belongs to. For non QoS frames, this field is set to zero. */ wpt_uint32 tid:4; - + wpt_uint32 reserved4:8; - + #else wpt_uint32 reserved4:8; wpt_uint32 tid:4; @@ -1059,7 +1059,7 @@ typedef struct wpt_uint32 reserved3:2; wpt_uint32 mpduLength:16; #endif - + /* 0x14 */ #ifdef WPT_BIG_BYTE_ENDIAN /** (Only used by the DPU) @@ -1071,29 +1071,29 @@ typedef struct contains information specifying the encryption and compression type and contains references to where encryption keys can be found. */ wpt_uint32 dpuDescIdx:8; - + /** This is filled by Host in Virgo 1.0 but it gets filled by ADU in Virgo2.0/Libra. The STAid of the RA address */ wpt_uint32 staIndex:8; - + /** A field passed on to TPE which influences the ACK policy to be used for this frame 00 - Iack 01,10,11 - No Ack */ wpt_uint32 ap:2; - + /** Overwrite option for the transmit rate 00: Use rate programmed in the TPE STA descriptor 01: Use TPE BD rate 1 10: Use TPE BD rate 2 11: Delayed Use TPE BD rate 3 */ wpt_uint32 bdRate:2; - - /** + + /** This is filled by Host in Virgo 1.0 but it gets filled by ADU in Virgo2.0/Libra. Queue ID */ wpt_uint32 queueId:5; - + wpt_uint32 reserved5:7; #else wpt_uint32 reserved5:7; @@ -1111,18 +1111,18 @@ typedef struct /* 0x20 */ /* Timestamp filled by DXE. Timestamp for current transfer */ wpt_uint32 dxeH2BStartTimestamp; - + /* 0x24 */ /* Timestamp filled by DXE. Timestamp for previous transfer */ wpt_uint32 dxeH2BEndTimestamp; #ifdef WCN_PRONTO #ifdef WPT_BIG_BYTE_ENDIAN - /** 10 bit value to indicate the start of TCP UDP frame relative to + /** 10 bit value to indicate the start of TCP UDP frame relative to * the first IP frame header */ wpt_uint32 csuTcpUdpStartOffset:10; - /** 16 bit pseudo header for TCP UDP used by CSU to generate TCP/UDP + /** 16 bit pseudo header for TCP UDP used by CSU to generate TCP/UDP * frame checksum */ wpt_uint32 csuPseudoHeaderCksum:16; @@ -1136,10 +1136,10 @@ typedef struct } WDI_TxBdType; -/*--------------------------------------------------------------------------- - WDI_RxDeFragBdType - The format of the RX BD Defragmented +/*--------------------------------------------------------------------------- + WDI_RxDeFragBdType - The format of the RX BD Defragmented ---------------------------------------------------------------------------*/ -typedef struct +typedef struct { /* 0x00 */ #ifdef WPT_BIG_BYTE_ENDIAN diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi_cfg.h b/CORE/WDI/CP/inc/wlan_qct_wdi_cfg.h index d878a107aec9..df53d15a0412 100644 --- a/CORE/WDI/CP/inc/wlan_qct_wdi_cfg.h +++ b/CORE/WDI/CP/inc/wlan_qct_wdi_cfg.h @@ -30,14 +30,14 @@ /*=========================================================================== - W L A N D E V I C E A B S T R A C T I O N L A Y E R + W L A N D E V I C E A B S T R A C T I O N L A Y E R C O N F I G U R A T I O N D E F I N E S - E X T E R N A L A P I - + E X T E R N A L A P I + DESCRIPTION This file contains the configuration defines to be used by the UMAC for setting up the config parameters in DAL. - + !! The values in here should be an identical match of the HAL defines by the same name !! ===========================================================================*/ diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi_dp.h b/CORE/WDI/CP/inc/wlan_qct_wdi_dp.h index 2aa967855d8b..75a0bf725730 100644 --- a/CORE/WDI/CP/inc/wlan_qct_wdi_dp.h +++ b/CORE/WDI/CP/inc/wlan_qct_wdi_dp.h @@ -32,13 +32,13 @@ /*=========================================================================== - W L A N D E V I C E A B S T R A C T I O N L A Y E R + W L A N D E V I C E A B S T R A C T I O N L A Y E R I N T E R N A L A P I F O R T H E - D A T A P A T H - - + D A T A P A T H + + DESCRIPTION - This file contains the internal API exposed by the DAL Control Path Core + This file contains the internal API exposed by the DAL Control Path Core module to be used by the DAL Data Path Core. ===========================================================================*/ @@ -65,12 +65,12 @@ when who what, where, why #include "wlan_qct_wdi_i.h" #include "wlan_qct_wdi_bd.h" -/*========================================================================= - BD Macro Defines -=========================================================================*/ +/*========================================================================= + BD Macro Defines +=========================================================================*/ /*-------------------------------------------------------------------------- - BD Definitions used by the DAL data path + BD Definitions used by the DAL data path --------------------------------------------------------------------------*/ #define WDI_TXBD_BDRATE_DEFAULT 0 #define WDI_TXBD_BDRATE_FIRST 1 @@ -91,17 +91,17 @@ when who what, where, why #define WDI_BDRATE_BCDATA_FRAME 1 #define WDI_BDRATE_BCMGMT_FRAME 2 #define WDI_BDRATE_CTRL_FRAME 3 - + /* Default values for FillTx BD */ #define WDI_DEFAULT_UNICAST_ENABLED 1 #define WDI_RMF_DISABLED 0 #define WDI_RMF_ENABLED 1 #define WDI_NO_ENCRYPTION_DISABLED 0 #define WDI_NO_ENCRYPTION_ENABLED 1 - + #define WDI_RX_BD_ADDR3_SELF_IDX 0 -#define WDI_TXCOMP_REQUESTED_MASK 0x1 //bit 0 for TxComp intr requested. +#define WDI_TXCOMP_REQUESTED_MASK 0x1 //bit 0 for TxComp intr requested. #define WDI_USE_SELF_STA_REQUESTED_MASK 0x2 //bit 1 for STA overwrite with selfSta Requested. #define WDI_TX_NO_ENCRYPTION_MASK 0x4 //bit 2. If set, the frame is not to be encrypted #if defined(LIBRA_WAPI_SUPPORT) @@ -203,7 +203,7 @@ when who what, where, why * tid(4): TID * ucast(1): Unicast or Broadcast data frame */ -#define WDI_TXBD_SIG_SERIAL_OFFSET 0 +#define WDI_TXBD_SIG_SERIAL_OFFSET 0 #define WDI_TXBD_SIG_TID_OFFSET 8 #define WDI_TXBD_SIG_UCAST_DATA_OFFSET 9 #define WDI_TXBD_SIG_MACADDR_HASH_OFFSET 16 @@ -213,7 +213,7 @@ when who what, where, why /*-------------------------------------------------------------------------- BD header macros - used by the data path to get or set various values - inside the packet BD + inside the packet BD --------------------------------------------------------------------------*/ #define WDI_RX_BD_GET_MPDU_H_OFFSET( _pvBDHeader ) (((WDI_RxBdType*)_pvBDHeader)->mpduHeaderOffset) @@ -317,7 +317,7 @@ when who what, where, why /*-----------------------------------------------------------------*/ #define WDI_TX_BD_SET_MPDU_DATA_OFFSET( _bd, _off ) (((WDI_TxBdType*)_bd)->mpduDataOffset = _off) - + #define WDI_TX_BD_SET_MPDU_HEADER_OFFSET( _bd, _off ) (((WDI_TxBdType*)_bd)->mpduHeaderOffset = _off) #define WDI_TX_BD_SET_MPDU_HEADER_LEN( _bd, _len ) (((WDI_TxBdType*)_bd)->mpduHeaderLength = _len) @@ -352,38 +352,38 @@ when who what, where, why #define WDI_RX_BD_AEF_SET 1 - + #define WDI_RX_BD_LLC_PRESENT 0 /*The value of the field when LLC is present*/ #define WDI_RX_BD_FT_DONE 1 /* The value of the field when frame xtl was done*/ -/*========================================================================= - API Definition -=========================================================================*/ +/*========================================================================= + API Definition +=========================================================================*/ /** - @brief WDI_RxBD_GetFrameTypeSubType - Called by the data path + @brief WDI_RxBD_GetFrameTypeSubType - Called by the data path to retrieve the type/subtype of the received frame. - + @param pvBDHeader: Void pointer to the RxBD buffer. - usFrmCtrl: the frame ctrl of the 802.11 header - - @return A byte which contains both type and subtype info. LSB four bytes - (b0 to b3)is subtype and b5-b6 is type info. + usFrmCtrl: the frame ctrl of the 802.11 header + + @return A byte which contains both type and subtype info. LSB four bytes + (b0 to b3)is subtype and b5-b6 is type info. */ -wpt_uint8 +wpt_uint8 WDI_RxBD_GetFrameTypeSubType ( - void* _pvBDHeader, + void* _pvBDHeader, wpt_uint16 usFrmCtrl ); /** - @brief WDI_FillTxBd - Called by the data path to fill the TX BD - + @brief WDI_FillTxBd - Called by the data path to fill the TX BD + @param pWDICtx: Context to the WDI ucTypeSubtype: of the frame pDestMacAddr: destination MAC address @@ -395,21 +395,21 @@ WDI_RxBD_GetFrameTypeSubType ucProtMgmtFrame: for management frames, whether the frame is protected (protect bit is set in FC) uTimestamp: pkt timestamp - - + + @return success or not */ WDI_Status WDI_FillTxBd ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucTypeSubtype, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucTypeSubtype, void* pDestMacAddr, void* pAddr2, - wpt_uint8* pTid, - wpt_uint8 ucDisableFrmXtl, - void* pTxBd, + wpt_uint8* pTid, + wpt_uint8 ucDisableFrmXtl, + void* pTxBd, wpt_uint32 ucTxFlag, wpt_uint8 ucProtMgmtFrame, wpt_uint32 uTimeStamp, @@ -419,12 +419,12 @@ WDI_FillTxBd /** @brief WDI_SwapRxBd swaps the RX BD. - + @param pBd - pointer to the BD (in/out) - + @return None */ -void +void WDI_SwapRxBd ( wpt_uint8 *pBd @@ -432,67 +432,67 @@ WDI_SwapRxBd /** @brief WDI_SwapTxBd - Swaps the TX BD - + @param pBd - pointer to the BD (in/out) - + @return none */ -void +void WDI_SwapTxBd ( wpt_uint8 *pBd ); /** - @brief WDI_RxAmsduBdFix - fix for HW issue for AMSDU + @brief WDI_RxAmsduBdFix - fix for HW issue for AMSDU + - @param pWDICtx: Context to the WDI pBDHeader - pointer to the BD header - + @return None */ -void +void WDI_RxAmsduBdFix ( - WDI_ControlBlockType* pWDICtx, + WDI_ControlBlockType* pWDICtx, void* pBDHeader ); #ifdef WLAN_PERF /** - @brief WDI_TxBdFastFwd - evaluates if a frame can be fast - forwarded - - @param pWDICtx: Context to the WDI + @brief WDI_TxBdFastFwd - evaluates if a frame can be fast + forwarded + + @param pWDICtx: Context to the WDI pDestMac: Destination MAC ucTid: packet TID pBDHeader ucUnicastDst: is packet unicast pTxBd: pointer to the BD header - usMpduLength: len - - @return 1 - if the frame can be fast fwd-ed ; 0 if not + usMpduLength: len + + @return 1 - if the frame can be fast fwd-ed ; 0 if not */ -wpt_uint32 +wpt_uint32 WDI_TxBdFastFwd ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8* pDestMac, - wpt_uint8 ucTid, - wpt_uint8 ucUnicastDst, - void* pTxBd, + WDI_ControlBlockType* pWDICtx, + wpt_uint8* pDestMac, + wpt_uint8 ucTid, + wpt_uint8 ucUnicastDst, + void* pTxBd, wpt_uint16 usMpduLength); #endif /*WLAN_PERF*/ /** - @brief WDI_DP_UtilsInit - Intializes the parameters required to + @brief WDI_DP_UtilsInit - Intializes the parameters required to interact with the data path - + @param pWDICtx: pointer to the main WDI Ctrl Block - + @return success always */ -WDI_Status +WDI_Status WDI_DP_UtilsInit ( WDI_ControlBlockType* pWDICtx @@ -501,16 +501,15 @@ WDI_DP_UtilsInit /** @brief WDI_DP_UtilsExit - Clears the parameters required to interact with the data path - + @param pWDICtx: pointer to the main WDI Ctrl Block - + @return success always */ WDI_Status WDI_DP_UtilsExit -( +( WDI_ControlBlockType* pWDICtx ); #endif /*WLAN_QCT_WDI_DP_H*/ - diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi_i.h b/CORE/WDI/CP/inc/wlan_qct_wdi_i.h index 12d3b69bf648..869c5a05da34 100644 --- a/CORE/WDI/CP/inc/wlan_qct_wdi_i.h +++ b/CORE/WDI/CP/inc/wlan_qct_wdi_i.h @@ -32,13 +32,13 @@ /*=========================================================================== - W L A N D E V I C E A B S T R A C T I O N L A Y E R + W L A N D E V I C E A B S T R A C T I O N L A Y E R I N T E R N A L A P I F O R T H E - D A T A P A T H - - + D A T A P A T H + + DESCRIPTION - This file contains the internal API exposed by the DAL Control Path Core + This file contains the internal API exposed by the DAL Control Path Core module to be used by the DAL Data Path Core. ===========================================================================*/ @@ -67,8 +67,8 @@ when who what, where, why #include "wlan_qct_pal_list.h" #include "wlan_qct_pal_sync.h" #include "wlan_qct_pal_timer.h" -#include "wlan_qct_wdi_cts.h" -#include "wlan_qct_wdi_bd.h" +#include "wlan_qct_wdi_cts.h" +#include "wlan_qct_wdi_bd.h" #include "wlan_hal_msg.h" #include "wlan_status_code.h" @@ -80,19 +80,19 @@ when who what, where, why /*Assert macro - redefined for WDI so it is more flexible in disabling*/ #define WDI_ASSERT(_cond) WPAL_ASSERT(_cond) -/*Error codes that can be returned by WDI - the HAL Error codes are not +/*Error codes that can be returned by WDI - the HAL Error codes are not propagated outside WDI because they are too explicit when refering to RIVA HW errors - they are masked under dev internal failure*/ -#define WDI_ERR_BASIC_OP_FAILURE 0 -#define WDI_ERR_TRANSPORT_FAILURE 1 -#define WDI_ERR_INVALID_RSP_FMT 2 -#define WDI_ERR_RSP_TIMEOUT 3 +#define WDI_ERR_BASIC_OP_FAILURE 0 +#define WDI_ERR_TRANSPORT_FAILURE 1 +#define WDI_ERR_INVALID_RSP_FMT 2 +#define WDI_ERR_RSP_TIMEOUT 3 #define WDI_ERR_DEV_INTERNAL_FAILURE 4 /*In prima 12 HW stations are supported including BCAST STA(staId 0) and SELF STA(staId 1) so total ASSOC stations which can connect to Prima SoftAP = 12 - 1(Self STa) - 1(Bcast Sta) = 10 Stations. */ - + #ifdef WLAN_SOFTAP_VSTA_FEATURE #define WDI_MAX_SUPPORTED_STAS 41 #define WDI_MAX_IBSS_PEER_SUPPORED_STAS 32 @@ -100,7 +100,7 @@ when who what, where, why #define WDI_MAX_SUPPORTED_STAS 12 #define WDI_MAX_IBSS_PEER_SUPPORED_STAS 11 #endif -#define WDI_MAX_SUPPORTED_BSS 5 +#define WDI_MAX_SUPPORTED_BSS 5 /* Control transport channel size*/ #define WDI_CT_CHANNEL_SIZE 4096 @@ -112,23 +112,23 @@ when who what, where, why /*--------------------------------------------------------------------------- DAL Control Path Main States ----------------------------------------------------------------------------*/ +---------------------------------------------------------------------------*/ typedef enum { - /* Transition in this state made upon creation and when a close request is + /* Transition in this state made upon creation and when a close request is received*/ - WDI_INIT_ST = 0, + WDI_INIT_ST = 0, /* Transition happens after a Start response was received from HAL (as a result of a previously sent HAL Request)*/ - WDI_STARTED_ST, + WDI_STARTED_ST, /* Transition happens when a Stop request was received */ - WDI_STOPPED_ST, + WDI_STOPPED_ST, /* Transition happens when a request is being sent down to HAL and we are waiting for the response */ - WDI_BUSY_ST, + WDI_BUSY_ST, /* Transition happens when 'SSR' shutdown request is recieved.*/ WDI_SHUTDOWN_ST, @@ -139,44 +139,44 @@ typedef enum /*--------------------------------------------------------------------------- DAL Control Path Scan States ----------------------------------------------------------------------------*/ +---------------------------------------------------------------------------*/ typedef enum { - /*The flag will be set to this state when init is called. Once the flag has - this value the only two scanning API calls allowed are Scan Start and + /*The flag will be set to this state when init is called. Once the flag has + this value the only two scanning API calls allowed are Scan Start and Scan Finished*/ - WDI_SCAN_INITIALIZED_ST = 0, + WDI_SCAN_INITIALIZED_ST = 0, - /*The flag will be set to this value once the Start Scan API is called. + /*The flag will be set to this value once the Start Scan API is called. When the flag has this value only Scan End API will be allowed. */ - WDI_SCAN_STARTED_ST = 1, + WDI_SCAN_STARTED_ST = 1, - /*The flag will be set to this value when End Scan API is called. When the - flag is set to this value the only two Scan APIs allowed are Start and + /*The flag will be set to this value when End Scan API is called. When the + flag is set to this value the only two Scan APIs allowed are Start and Finish. */ - WDI_SCAN_ENDED_ST = 2, + WDI_SCAN_ENDED_ST = 2, - /*The flag will be set to this value in the beginning before init is called - and after the Finish API is called. No other scan APIs will be allowed + /*The flag will be set to this value in the beginning before init is called + and after the Finish API is called. No other scan APIs will be allowed in this state until Scan Init is called again. */ WDI_SCAN_FINISHED_ST = 3, WDI_SCAN_MAX_ST }WDI_ScanStateType; -/*--------------------------------------------------------------------------- +/*--------------------------------------------------------------------------- WLAN DAL BSS Session Type - used to allow simulatneous association - and keep track of each associated session + and keep track of each associated session ---------------------------------------------------------------------------*/ #define WDI_MAX_BSS_SESSIONS 10 typedef enum { /*Init state*/ - WDI_ASSOC_INIT_ST, + WDI_ASSOC_INIT_ST, /*Joining State*/ - WDI_ASSOC_JOINING_ST, + WDI_ASSOC_JOINING_ST, /*Associated state*/ WDI_ASSOC_POST_ST, @@ -184,95 +184,95 @@ typedef enum WDI_ASSOC_MAX_ST }WDI_AssocStateType; -/*--------------------------------------------------------------------------- +/*--------------------------------------------------------------------------- WLAN DAL Supported Request Types ---------------------------------------------------------------------------*/ typedef enum { /*WLAN DAL START Request*/ - WDI_START_REQ = 0, + WDI_START_REQ = 0, /*WLAN DAL STOP Request*/ - WDI_STOP_REQ = 1, + WDI_STOP_REQ = 1, /*WLAN DAL STOP Request*/ - WDI_CLOSE_REQ = 2, + WDI_CLOSE_REQ = 2, /*SCAN*/ /*WLAN DAL Init Scan Request*/ - WDI_INIT_SCAN_REQ = 3, + WDI_INIT_SCAN_REQ = 3, /*WLAN DAL Start Scan Request*/ - WDI_START_SCAN_REQ = 4, + WDI_START_SCAN_REQ = 4, /*WLAN DAL End Scan Request*/ - WDI_END_SCAN_REQ = 5, + WDI_END_SCAN_REQ = 5, /*WLAN DAL Finish Scan Request*/ - WDI_FINISH_SCAN_REQ = 6, + WDI_FINISH_SCAN_REQ = 6, /*ASSOCIATION*/ /*WLAN DAL Join Request*/ - WDI_JOIN_REQ = 7, + WDI_JOIN_REQ = 7, /*WLAN DAL Config BSS Request*/ - WDI_CONFIG_BSS_REQ = 8, + WDI_CONFIG_BSS_REQ = 8, /*WLAN DAL Del BSS Request*/ - WDI_DEL_BSS_REQ = 9, + WDI_DEL_BSS_REQ = 9, /*WLAN DAL Post Assoc Request*/ - WDI_POST_ASSOC_REQ = 10, + WDI_POST_ASSOC_REQ = 10, /*WLAN DAL Del STA Request*/ - WDI_DEL_STA_REQ = 11, + WDI_DEL_STA_REQ = 11, /*Security*/ /*WLAN DAL Set BSS Key Request*/ WDI_SET_BSS_KEY_REQ = 12, - - /*WLAN DAL Remove BSS Key Request*/ + + /*WLAN DAL Remove BSS Key Request*/ WDI_RMV_BSS_KEY_REQ = 13, - - /*WLAN DAL Set STA Key Request*/ + + /*WLAN DAL Set STA Key Request*/ WDI_SET_STA_KEY_REQ = 14, - - /*WLAN DAL Remove STA Key Request*/ - WDI_RMV_STA_KEY_REQ = 15, + + /*WLAN DAL Remove STA Key Request*/ + WDI_RMV_STA_KEY_REQ = 15, /*QOS and BA*/ /*WLAN DAL Add TSpec Request*/ WDI_ADD_TS_REQ = 16, - - /*WLAN DAL Delete TSpec Request*/ + + /*WLAN DAL Delete TSpec Request*/ WDI_DEL_TS_REQ = 17, - - /*WLAN DAL Update EDCA Params Request*/ + + /*WLAN DAL Update EDCA Params Request*/ WDI_UPD_EDCA_PRMS_REQ = 18, /*WLAN DAL Add BA Session Request*/ WDI_ADD_BA_SESSION_REQ = 19, - /*WLAN DAL Delete BA Request*/ + /*WLAN DAL Delete BA Request*/ WDI_DEL_BA_REQ = 20, /* Miscellaneous Control */ - /*WLAN DAL Channel Switch Request*/ + /*WLAN DAL Channel Switch Request*/ WDI_CH_SWITCH_REQ = 21, - - /*WLAN DAL Config STA Request*/ - WDI_CONFIG_STA_REQ = 22, - /*WLAN DAL Set Link State Request*/ + /*WLAN DAL Config STA Request*/ + WDI_CONFIG_STA_REQ = 22, + + /*WLAN DAL Set Link State Request*/ WDI_SET_LINK_ST_REQ = 23, - - /*WLAN DAL Get Stats Request*/ - WDI_GET_STATS_REQ = 24, - /*WLAN DAL Update Config Request*/ - WDI_UPDATE_CFG_REQ = 25, + /*WLAN DAL Get Stats Request*/ + WDI_GET_STATS_REQ = 24, + + /*WLAN DAL Update Config Request*/ + WDI_UPDATE_CFG_REQ = 25, /* WDI ADD BA Request */ WDI_ADD_BA_REQ = 26, @@ -280,88 +280,88 @@ typedef enum /* WDI Trigger BA Request */ WDI_TRIGGER_BA_REQ = 27, - /*WLAN DAL Update Beacon Params Request*/ + /*WLAN DAL Update Beacon Params Request*/ WDI_UPD_BCON_PRMS_REQ = 28, - /*WLAN DAL Send Beacon template Request*/ + /*WLAN DAL Send Beacon template Request*/ WDI_SND_BCON_REQ = 29, - /*WLAN DAL Send Probe Response Template Request*/ + /*WLAN DAL Send Probe Response Template Request*/ WDI_UPD_PROBE_RSP_TEMPLATE_REQ = 30, - /*WLAN DAL Set STA Bcast Key Request*/ + /*WLAN DAL Set STA Bcast Key Request*/ WDI_SET_STA_BCAST_KEY_REQ = 31, - - /*WLAN DAL Remove STA Bcast Key Request*/ - WDI_RMV_STA_BCAST_KEY_REQ = 32, + + /*WLAN DAL Remove STA Bcast Key Request*/ + WDI_RMV_STA_BCAST_KEY_REQ = 32, /*WLAN DAL Set Max Tx Power Request*/ WDI_SET_MAX_TX_POWER_REQ = 33, - + /* WLAN DAL P2P GO Notice Of Absence Request */ WDI_P2P_GO_NOTICE_OF_ABSENCE_REQ = 34, - /*WLAN DAL Enter IMPS Request*/ - WDI_ENTER_IMPS_REQ = 35, + /*WLAN DAL Enter IMPS Request*/ + WDI_ENTER_IMPS_REQ = 35, - /*WLAN DAL Exit IMPS Request*/ - WDI_EXIT_IMPS_REQ = 36, + /*WLAN DAL Exit IMPS Request*/ + WDI_EXIT_IMPS_REQ = 36, - /*WLAN DAL Enter BMPS Request*/ - WDI_ENTER_BMPS_REQ = 37, + /*WLAN DAL Enter BMPS Request*/ + WDI_ENTER_BMPS_REQ = 37, - /*WLAN DAL Exit BMPS Request*/ - WDI_EXIT_BMPS_REQ = 38, + /*WLAN DAL Exit BMPS Request*/ + WDI_EXIT_BMPS_REQ = 38, - /*WLAN DAL Enter UAPSD Request*/ - WDI_ENTER_UAPSD_REQ = 39, + /*WLAN DAL Enter UAPSD Request*/ + WDI_ENTER_UAPSD_REQ = 39, - /*WLAN DAL Exit UAPSD Request*/ - WDI_EXIT_UAPSD_REQ = 40, + /*WLAN DAL Exit UAPSD Request*/ + WDI_EXIT_UAPSD_REQ = 40, - /*WLAN DAL Set UAPSD Param Request*/ - WDI_SET_UAPSD_PARAM_REQ = 41, + /*WLAN DAL Set UAPSD Param Request*/ + WDI_SET_UAPSD_PARAM_REQ = 41, /*WLAN DAL Update UAPSD Param (SoftAP mode) Request*/ - WDI_UPDATE_UAPSD_PARAM_REQ = 42, + WDI_UPDATE_UAPSD_PARAM_REQ = 42, /*WLAN DAL Configure RXP filter Request*/ - WDI_CONFIGURE_RXP_FILTER_REQ = 43, + WDI_CONFIGURE_RXP_FILTER_REQ = 43, /*WLAN DAL Configure Beacon filter Request*/ - WDI_SET_BEACON_FILTER_REQ = 44, + WDI_SET_BEACON_FILTER_REQ = 44, /*WLAN DAL Remove Beacon filter Request*/ - WDI_REM_BEACON_FILTER_REQ = 45, + WDI_REM_BEACON_FILTER_REQ = 45, /*WLAN DAL Set RSSI thresholds Request*/ - WDI_SET_RSSI_THRESHOLDS_REQ = 46, + WDI_SET_RSSI_THRESHOLDS_REQ = 46, /*WLAN DAL host offload Request*/ - WDI_HOST_OFFLOAD_REQ = 47, + WDI_HOST_OFFLOAD_REQ = 47, /*WLAN DAL add wowl bc ptrn Request*/ - WDI_WOWL_ADD_BC_PTRN_REQ = 48, + WDI_WOWL_ADD_BC_PTRN_REQ = 48, /*WLAN DAL delete wowl bc ptrn Request*/ - WDI_WOWL_DEL_BC_PTRN_REQ = 49, + WDI_WOWL_DEL_BC_PTRN_REQ = 49, /*WLAN DAL enter wowl Request*/ - WDI_WOWL_ENTER_REQ = 50, + WDI_WOWL_ENTER_REQ = 50, /*WLAN DAL exit wowl Request*/ - WDI_WOWL_EXIT_REQ = 51, + WDI_WOWL_EXIT_REQ = 51, /*WLAN DAL Configure Apps CPU Wakeup state Request*/ - WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_REQ = 52, + WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_REQ = 52, /* WLAN NV Download Request */ WDI_NV_DOWNLOAD_REQ = 53, - /*WLAN DAL Flush AC Request*/ - WDI_FLUSH_AC_REQ = 54, + /*WLAN DAL Flush AC Request*/ + WDI_FLUSH_AC_REQ = 54, - /*WLAN DAL BT AMP event Request*/ - WDI_BTAMP_EVENT_REQ = 55, + /*WLAN DAL BT AMP event Request*/ + WDI_BTAMP_EVENT_REQ = 55, /*WLAN DAL Aggregated Add TSpec Request*/ WDI_AGGR_ADD_TS_REQ = 56, @@ -376,8 +376,8 @@ typedef enum WDI_START_OEM_DATA_REQ = 60, /* WLAN host resume request */ WDI_HOST_RESUME_REQ = 61, - - WDI_KEEP_ALIVE_REQ = 62, + + WDI_KEEP_ALIVE_REQ = 62, /* Set PNO */ WDI_SET_PREF_NETWORK_REQ = 63, @@ -394,10 +394,10 @@ typedef enum WDI_RECEIVE_FILTER_SET_FILTER_REQ = 68, WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ = 69, WDI_RECEIVE_FILTER_CLEAR_FILTER_REQ = 70, - - /*This is temp fix. Should be removed once + + /*This is temp fix. Should be removed once * Host and Riva code is in sync*/ - WDI_INIT_SCAN_CON_REQ = 71, + WDI_INIT_SCAN_CON_REQ = 71, /* WLAN HAL DUMP Command request */ WDI_HAL_DUMP_CMD_REQ = 72, @@ -411,11 +411,11 @@ typedef enum /* Traffic Stream Metrics statistic request */ WDI_TSM_STATS_REQ = 75, /* GTK Rekey Offload */ - WDI_GTK_OFFLOAD_REQ = 76, - WDI_GTK_OFFLOAD_GETINFO_REQ = 77, + WDI_GTK_OFFLOAD_REQ = 76, + WDI_GTK_OFFLOAD_GETINFO_REQ = 77, /*Set Thermal Migration level to RIVA*/ - WDI_SET_TM_LEVEL_REQ = 78, + WDI_SET_TM_LEVEL_REQ = 78, /* Send a capability exchange message to HAL */ WDI_FEATURE_CAPS_EXCHANGE_REQ = 79, @@ -484,91 +484,91 @@ typedef enum WDI_MAX_UMAC_IND }WDI_RequestEnumType; -/*--------------------------------------------------------------------------- +/*--------------------------------------------------------------------------- WLAN DAL Supported Response Types ---------------------------------------------------------------------------*/ typedef enum { /*WLAN DAL START Response*/ - WDI_START_RESP = 0, + WDI_START_RESP = 0, /*WLAN DAL STOP Response*/ - WDI_STOP_RESP = 1, + WDI_STOP_RESP = 1, /*WLAN DAL STOP Response*/ - WDI_CLOSE_RESP = 2, + WDI_CLOSE_RESP = 2, /*SCAN*/ /*WLAN DAL Init Scan Response*/ - WDI_INIT_SCAN_RESP = 3, + WDI_INIT_SCAN_RESP = 3, /*WLAN DAL Start Scan Response*/ - WDI_START_SCAN_RESP = 4, + WDI_START_SCAN_RESP = 4, /*WLAN DAL End Scan Response*/ - WDI_END_SCAN_RESP = 5, + WDI_END_SCAN_RESP = 5, /*WLAN DAL Finish Scan Response*/ - WDI_FINISH_SCAN_RESP = 6, + WDI_FINISH_SCAN_RESP = 6, /*ASSOCIATION*/ /*WLAN DAL Join Response*/ - WDI_JOIN_RESP = 7, + WDI_JOIN_RESP = 7, /*WLAN DAL Config BSS Response*/ - WDI_CONFIG_BSS_RESP = 8, + WDI_CONFIG_BSS_RESP = 8, /*WLAN DAL Del BSS Response*/ - WDI_DEL_BSS_RESP = 9, + WDI_DEL_BSS_RESP = 9, /*WLAN DAL Post Assoc Response*/ - WDI_POST_ASSOC_RESP = 10, + WDI_POST_ASSOC_RESP = 10, /*WLAN DAL Del STA Response*/ - WDI_DEL_STA_RESP = 11, + WDI_DEL_STA_RESP = 11, /*WLAN DAL Set BSS Key Response*/ WDI_SET_BSS_KEY_RESP = 12, - - /*WLAN DAL Remove BSS Key Response*/ + + /*WLAN DAL Remove BSS Key Response*/ WDI_RMV_BSS_KEY_RESP = 13, - - /*WLAN DAL Set STA Key Response*/ + + /*WLAN DAL Set STA Key Response*/ WDI_SET_STA_KEY_RESP = 14, - - /*WLAN DAL Remove STA Key Response*/ - WDI_RMV_STA_KEY_RESP = 15, + + /*WLAN DAL Remove STA Key Response*/ + WDI_RMV_STA_KEY_RESP = 15, /*WLAN DAL Add TSpec Response*/ WDI_ADD_TS_RESP = 16, - - /*WLAN DAL Delete TSpec Response*/ + + /*WLAN DAL Delete TSpec Response*/ WDI_DEL_TS_RESP = 17, - - /*WLAN DAL Update EDCA Params Response*/ + + /*WLAN DAL Update EDCA Params Response*/ WDI_UPD_EDCA_PRMS_RESP = 18, /*WLAN DAL Add BA Session Response*/ WDI_ADD_BA_SESSION_RESP = 19, - /*WLAN DAL Delete BA Response*/ + /*WLAN DAL Delete BA Response*/ WDI_DEL_BA_RESP = 20, - /*WLAN DAL Channel Switch Response*/ + /*WLAN DAL Channel Switch Response*/ WDI_CH_SWITCH_RESP = 21, - - /*WLAN DAL Config STA Response*/ - WDI_CONFIG_STA_RESP = 22, - /*WLAN DAL Set Link State Response*/ + /*WLAN DAL Config STA Response*/ + WDI_CONFIG_STA_RESP = 22, + + /*WLAN DAL Set Link State Response*/ WDI_SET_LINK_ST_RESP = 23, - - /*WLAN DAL Get Stats Response*/ - WDI_GET_STATS_RESP = 24, - /*WLAN DAL Update Config Response*/ - WDI_UPDATE_CFG_RESP = 25, + /*WLAN DAL Get Stats Response*/ + WDI_GET_STATS_RESP = 24, + + /*WLAN DAL Update Config Response*/ + WDI_UPDATE_CFG_RESP = 25, /* WDI ADD BA Response */ WDI_ADD_BA_RESP = 26, @@ -578,83 +578,83 @@ typedef enum /*WLAN DAL Update beacon params Response*/ WDI_UPD_BCON_PRMS_RESP = 28, - + /*WLAN DAL Send beacon template Response*/ WDI_SND_BCON_RESP = 29, /*WLAN DAL Update Probe Response Template Response*/ WDI_UPD_PROBE_RSP_TEMPLATE_RESP = 30, - /*WLAN DAL Set STA Key Response*/ + /*WLAN DAL Set STA Key Response*/ WDI_SET_STA_BCAST_KEY_RESP = 31, - - /*WLAN DAL Remove STA Key Response*/ - WDI_RMV_STA_BCAST_KEY_RESP = 32, + + /*WLAN DAL Remove STA Key Response*/ + WDI_RMV_STA_BCAST_KEY_RESP = 32, /*WLAN DAL Set Max Tx Power Response*/ WDI_SET_MAX_TX_POWER_RESP = 33, - /*WLAN DAL Enter IMPS Response*/ - WDI_ENTER_IMPS_RESP = 34, + /*WLAN DAL Enter IMPS Response*/ + WDI_ENTER_IMPS_RESP = 34, - /*WLAN DAL Exit IMPS Response*/ - WDI_EXIT_IMPS_RESP = 35, + /*WLAN DAL Exit IMPS Response*/ + WDI_EXIT_IMPS_RESP = 35, - /*WLAN DAL Enter BMPS Response*/ - WDI_ENTER_BMPS_RESP = 36, + /*WLAN DAL Enter BMPS Response*/ + WDI_ENTER_BMPS_RESP = 36, - /*WLAN DAL Exit BMPS Response*/ - WDI_EXIT_BMPS_RESP = 37, + /*WLAN DAL Exit BMPS Response*/ + WDI_EXIT_BMPS_RESP = 37, - /*WLAN DAL Enter UAPSD Response*/ - WDI_ENTER_UAPSD_RESP = 38, + /*WLAN DAL Enter UAPSD Response*/ + WDI_ENTER_UAPSD_RESP = 38, - /*WLAN DAL Exit UAPSD Response*/ - WDI_EXIT_UAPSD_RESP = 39, + /*WLAN DAL Exit UAPSD Response*/ + WDI_EXIT_UAPSD_RESP = 39, - /*WLAN DAL Set UAPSD Param Response*/ - WDI_SET_UAPSD_PARAM_RESP = 40, + /*WLAN DAL Set UAPSD Param Response*/ + WDI_SET_UAPSD_PARAM_RESP = 40, /*WLAN DAL Update UAPSD Param (SoftAP mode) Response*/ - WDI_UPDATE_UAPSD_PARAM_RESP = 41, + WDI_UPDATE_UAPSD_PARAM_RESP = 41, /*WLAN DAL Configure RXP filter Response*/ - WDI_CONFIGURE_RXP_FILTER_RESP = 42, + WDI_CONFIGURE_RXP_FILTER_RESP = 42, /*WLAN DAL Set Beacon filter Response*/ - WDI_SET_BEACON_FILTER_RESP = 43, + WDI_SET_BEACON_FILTER_RESP = 43, /*WLAN DAL Remove Beacon filter Response*/ - WDI_REM_BEACON_FILTER_RESP = 44, + WDI_REM_BEACON_FILTER_RESP = 44, /*WLAN DAL Set RSSI thresholds Response*/ - WDI_SET_RSSI_THRESHOLDS_RESP = 45, + WDI_SET_RSSI_THRESHOLDS_RESP = 45, /*WLAN DAL Set RSSI thresholds Response*/ - WDI_HOST_OFFLOAD_RESP = 46, + WDI_HOST_OFFLOAD_RESP = 46, /*WLAN DAL add wowl bc ptrn Response*/ - WDI_WOWL_ADD_BC_PTRN_RESP = 47, + WDI_WOWL_ADD_BC_PTRN_RESP = 47, /*WLAN DAL delete wowl bc ptrn Response*/ - WDI_WOWL_DEL_BC_PTRN_RESP = 48, + WDI_WOWL_DEL_BC_PTRN_RESP = 48, /*WLAN DAL enter wowl Response*/ - WDI_WOWL_ENTER_RESP = 49, + WDI_WOWL_ENTER_RESP = 49, /*WLAN DAL exit wowl Response*/ - WDI_WOWL_EXIT_RESP = 50, + WDI_WOWL_EXIT_RESP = 50, /*WLAN DAL Configure Apps CPU Wakeup state Response*/ WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_RESP = 51, - + /* WLAN NV Download responce */ WDI_NV_DOWNLOAD_RESP = 52, - /*WLAN DAL Flush AC Response*/ + /*WLAN DAL Flush AC Response*/ WDI_FLUSH_AC_RESP = 53, - /*WLAN DAL Flush AC Response*/ + /*WLAN DAL Flush AC Response*/ WDI_BTAMP_EVENT_RESP = 54, /*WLAN DAL Add Aggregated TSpec Response*/ @@ -662,7 +662,7 @@ typedef enum /*Add Self STA Response*/ WDI_ADD_STA_SELF_RESP = 56, - + /*Delete Self STA Response*/ WDI_DEL_STA_SELF_RESP = 57, @@ -694,7 +694,7 @@ typedef enum WDI_SET_TX_PER_TRACKING_RESP = 66, - + /* Packet Filtering Response */ WDI_8023_MULTICAST_LIST_RESP = 67, @@ -704,7 +704,7 @@ typedef enum WDI_RECEIVE_FILTER_CLEAR_FILTER_RESP = 70, - + /* WLAN HAL DUMP Command Response */ WDI_HAL_DUMP_CMD_RESP = 71, @@ -716,8 +716,8 @@ typedef enum WDI_TSM_STATS_RESP = 74, /* GTK Rekey Offload */ - WDI_GTK_OFFLOAD_RESP = 75, - WDI_GTK_OFFLOAD_GETINFO_RESP = 76, + WDI_GTK_OFFLOAD_RESP = 75, + WDI_GTK_OFFLOAD_GETINFO_RESP = 76, WDI_SET_TM_LEVEL_RESP = 77, @@ -749,10 +749,10 @@ typedef enum Indications !! Keep these last in the enum if possible -------------------------------------------------------------------------*/ - WDI_HAL_IND_MIN , + WDI_HAL_IND_MIN , /*When RSSI monitoring is enabled of the Lower MAC and a threshold has been passed. */ - WDI_HAL_RSSI_NOTIFICATION_IND = WDI_HAL_IND_MIN, + WDI_HAL_RSSI_NOTIFICATION_IND = WDI_HAL_IND_MIN, /*Link loss in the low MAC */ WDI_HAL_MISSED_BEACON_IND = WDI_HAL_IND_MIN + 1, @@ -766,7 +766,7 @@ typedef enum WDI_HAL_MIC_FAILURE_IND = WDI_HAL_IND_MIN + 3, /*Fatal Error Ind*/ - WDI_HAL_FATAL_ERROR_IND = WDI_HAL_IND_MIN + 4, + WDI_HAL_FATAL_ERROR_IND = WDI_HAL_IND_MIN + 4, /*Received when the RIVA SW decides to autonomously delete an associate station (e.g. Soft AP TIM based dissassoc) */ @@ -823,10 +823,10 @@ typedef struct wpt_boolean bAssocReqQueued; /*BSSID of the session*/ - wpt_macAddr macBSSID; + wpt_macAddr macBSSID; /*BSS Index associated with this BSSID*/ - wpt_uint8 ucBSSIdx; + wpt_uint8 ucBSSIdx; /*Associated state of the current BSS*/ WDI_AssocStateType wdiAssocState; @@ -853,13 +853,13 @@ typedef struct /*--------------------------------------------------------------------------- WDI_ConfigBSSRspInfoType ---------------------------------------------------------------------------*/ -typedef WPT_PACK_PRE struct +typedef WPT_PACK_PRE struct { /*BSS index allocated by HAL*/ wpt_uint8 ucBSSIdx; /*BSSID of the BSS*/ - wpt_macAddr macBSSID; + wpt_macAddr macBSSID; /*Broadcast DPU descriptor index allocated by HAL and used for broadcast/multicast packets.*/ @@ -867,7 +867,7 @@ typedef WPT_PACK_PRE struct /*DPU signature to be used for broadcast/multicast packets*/ wpt_uint8 ucBcastDpuSignature; - + /*DPU descriptor index allocated by HAL, used for bcast/mcast management packets*/ wpt_uint8 ucMgmtDpuDescIndx; @@ -887,10 +887,10 @@ typedef WPT_PACK_PRE struct { /*STA Index allocated by HAL.*/ wpt_uint16 usSTAIdx; - - /*MAC Address of STA*/ + + /*MAC Address of STA*/ wpt_macAddr macSTA; - + /*Unicast DPU signature*/ wpt_uint8 ucUcastSig; @@ -898,20 +898,20 @@ typedef WPT_PACK_PRE struct wpt_uint8 ucBcastSig; /*BSSID of the BSS*/ - wpt_macAddr macBSSID; + wpt_macAddr macBSSID; /*HAL Status */ eHalStatus halStatus; }WPT_PACK_POST WDI_PostAssocRspInfoType; -/*--------------------------------------------------------------------------- - WLAN DAL FSM Event Info Type +/*--------------------------------------------------------------------------- + WLAN DAL FSM Event Info Type ---------------------------------------------------------------------------*/ typedef struct { /*Events can be linked in a list - put a node in front for that, it will be used by wpt to link them*/ - wpt_list_node wptListNode; + wpt_list_node wptListNode; /*Request Received */ WDI_RequestEnumType wdiRequest; @@ -930,25 +930,25 @@ typedef struct /*User data to be sent along with the CB function call*/ void* pUserData; -}WDI_EventInfoType; +}WDI_EventInfoType; -/*--------------------------------------------------------------------------- +/*--------------------------------------------------------------------------- WLAN DAL Session Index Type ---------------------------------------------------------------------------*/ typedef struct { /*Events can be linked in a list - put a node in front for that, it will be used by wpt to link them*/ - wpt_list_node wptListNode; + wpt_list_node wptListNode; /*Session id for the new association to be processed*/ - wpt_uint8 ucIndex; + wpt_uint8 ucIndex; -}WDI_NextSessionIdType; +}WDI_NextSessionIdType; #define WDI_CONTROL_BLOCK_MAGIC 0x67736887 /* WDIC in little endian */ -/*--------------------------------------------------------------------------- - WLAN DAL Control Block Type +/*--------------------------------------------------------------------------- + WLAN DAL Control Block Type ---------------------------------------------------------------------------*/ typedef struct { @@ -959,13 +959,13 @@ typedef struct void* pOSContext; /*Ptr to the PAL Context received from PAL*/ - void* pPALContext; + void* pPALContext; /*Ptr to the Datapath Context received from PAL*/ - void* pDPContext; + void* pDPContext; /*Ptr to the Datapath Transport Driver Context received from PAL*/ - void* pDTDriverContext; + void* pDTDriverContext; /*Hanlde to the control transport service*/ WCTS_HandleType wctsHandle; @@ -974,7 +974,7 @@ typedef struct wpt_boolean bCTOpened; /*The global state of the DAL Control Path*/ - WDI_MainStateType uGlobalState; + WDI_MainStateType uGlobalState; /*Flag to keep track of the expected state transition after processing of a response */ @@ -990,13 +990,13 @@ typedef struct wpt_list wptPendingQueue; #if 0 /*The state of the DAL during a scanning procedure*/ - WDI_ScanStateType uScanState; + WDI_ScanStateType uScanState; /*Flag that keeps track if a Scan is currently in progress*/ wpt_boolean bScanInProgress; #endif /*Flag that keeps track if an Association is currently in progress*/ - wpt_boolean bAssociationInProgress; + wpt_boolean bAssociationInProgress; /*Array of simultaneous BSS Sessions*/ WDI_BSSSessionType aBSSSessions[WDI_MAX_BSS_SESSIONS]; @@ -1011,22 +1011,22 @@ typedef struct /*Cached post assoc request - there can only be one in the system as only one request goes down to hal up until a response is received The values cached are used on response to save a station if needed */ - WDI_PostAssocReqParamsType wdiCachedPostAssocReq; + WDI_PostAssocReqParamsType wdiCachedPostAssocReq; /*Cached config sta request - there can only be one in the system as only one request goes down to hal up until a response is received The values cached are used on response to save a station if needed */ - WDI_ConfigSTAReqParamsType wdiCachedConfigStaReq; + WDI_ConfigSTAReqParamsType wdiCachedConfigStaReq; /*Cached config sta request - there can only be one in the system as only one request goes down to hal up until a response is received The values cached are used on response to save a BSS if needed */ - WDI_ConfigBSSReqParamsType wdiCachedConfigBssReq; + WDI_ConfigBSSReqParamsType wdiCachedConfigBssReq; /*Cached set link state request - there can only be one in the system as only one request goes down to hal up until a response is received The values cached are used on response to delete a BSS if needed */ - WDI_SetLinkReqParamsType wdiCacheSetLinkStReq; + WDI_SetLinkReqParamsType wdiCacheSetLinkStReq; /*Cached add STA self request - there can only be one in the system as only one request goes down to hal up until a response is received @@ -1040,7 +1040,7 @@ typedef struct void* pfncRspCB; /*Pointer to the user data to be sent along with the response CB*/ - void* pRspCBUserData; + void* pRspCBUserData; /*The expected response from HAL*/ WDI_ResponseEnumType wdiExpectedResponse; @@ -1048,7 +1048,7 @@ typedef struct /*Request status callback offered by UMAC - it is called if the current req has returned PENDING as status; it delivers the status of sending the message over the BUS */ - WDI_ReqStatusCb wdiReqStatusCB; + WDI_ReqStatusCb wdiReqStatusCB; /*The user data passed in by UMAC, it will be sent back when the above function pointer will be called */ @@ -1056,7 +1056,7 @@ typedef struct /*Indication callback given by UMAC to be called by the WLAN DAL when it wishes to send something back independent of a request*/ - WDI_LowLevelIndCBType wdiLowLevelIndCB; + WDI_LowLevelIndCBType wdiLowLevelIndCB; /*The user data passed in by UMAC, it will be sent back when the indication function pointer will be called */ @@ -1064,7 +1064,7 @@ typedef struct /*Cached start response parameters*/ WDI_StartRspParamsType wdiCachedStartRspParams; - + /* Information related to NV Image*/ WDI_NvBlobInfoParams wdiNvBlobInfo; @@ -1102,8 +1102,8 @@ typedef struct wpt_uint32 uBdSigSerialNum; /* dpu routing flag - ! TO DO: - must be set/reset when PS is enabled for UAPSD */ - wpt_uint8 ucDpuRF; + ! TO DO: - must be set/reset when PS is enabled for UAPSD */ + wpt_uint8 ucDpuRF; /* Event to wait for when WCTS is told to perform an action */ wpt_event wctsActionEvent; /* Event to wait for ACK from DXE after the power state is set */ @@ -1116,7 +1116,7 @@ typedef struct WDI_NvDownloadReqParamsType wdiCachedNvDownloadReq; /* Driver Type */ - tDriverType driverMode; + tDriverType driverMode; /* Statically allocated FTM Response Buffer */ wpt_uint8 ucFTMCommandRspBuffer[WDI_FTM_MAX_RECEIVE_BUFFER]; @@ -1141,25 +1141,25 @@ typedef struct /* enable/disable SSR on WDI timeout */ wpt_boolean bEnableSSR; -}WDI_ControlBlockType; +}WDI_ControlBlockType; /*--------------------------------------------------------------------------- - DESCRIPTION - WLAN DAL Request Processing function definition. - - PARAMETERS + DESCRIPTION + WLAN DAL Request Processing function definition. + + PARAMETERS IN - pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - - + pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + + RETURN VALUE - The result code associated with performing the operation + The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef WDI_Status (*WDI_ReqProcFuncType)( WDI_ControlBlockType* pWDICtx, @@ -1168,18 +1168,18 @@ typedef WDI_Status (*WDI_ReqProcFuncType)( WDI_ControlBlockType* pWDICtx, /*--------------------------------------------------------------------------- - DESCRIPTION - WLAN DAL Response Processing function definition. - - PARAMETERS + DESCRIPTION + WLAN DAL Response Processing function definition. + + PARAMETERS IN - pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - - + pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + + RETURN VALUE - The result code associated with performing the operation + The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx, @@ -1189,11 +1189,11 @@ typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx, /*========================================================================== - MAIN DAL FSM Definitions and Declarations + MAIN DAL FSM Definitions and Declarations ==========================================================================*/ -/*--------------------------------------------------------------------------- - DAL Control Path Main FSM +/*--------------------------------------------------------------------------- + DAL Control Path Main FSM ---------------------------------------------------------------------------*/ #define WDI_STATE_TRANSITION(_pctx, _st) (_pctx->uGlobalState = _st) @@ -1201,7 +1201,7 @@ typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx, /*--------------------------------------------------------------------------- DAL Main Event type ----------------------------------------------------------------------------*/ +---------------------------------------------------------------------------*/ typedef enum { /* Start request received from UMAC */ @@ -1228,18 +1228,18 @@ typedef enum /*--------------------------------------------------------------------------- - DESCRIPTION - Main DAL state machine function definition. - - PARAMETERS + DESCRIPTION + Main DAL state machine function definition. + + PARAMETERS IN - pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - - + pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + + RETURN VALUE - The result code associated with performing the operation + The result code associated with performing the operation ---------------------------------------------------------------------------*/ typedef WDI_Status (*WDI_MainFuncType)( WDI_ControlBlockType* pWDICtx, @@ -1247,72 +1247,72 @@ typedef WDI_Status (*WDI_MainFuncType)( WDI_ControlBlockType* pWDICtx, /*--------------------------------------------------------------------------- MAIN DAL FSM Entry type ----------------------------------------------------------------------------*/ +---------------------------------------------------------------------------*/ typedef struct { WDI_MainFuncType pfnMainTbl[WDI_MAX_EVENT]; } WDI_MainFsmEntryType; /*Macro to check for valid session id*/ -#define WDI_VALID_SESSION_IDX(_idx) ( _idx < WDI_MAX_BSS_SESSIONS ) +#define WDI_VALID_SESSION_IDX(_idx) ( _idx < WDI_MAX_BSS_SESSIONS ) + +/*========================================================================== -/*========================================================================== - DAL INTERNAL FUNCTION DECLARATION - -==========================================================================*/ + +==========================================================================*/ /** - @brief Helper routine for retrieving the PAL Context from WDI - - can be used by CTS, DTS, DXE and othe DAL internals - + @brief Helper routine for retrieving the PAL Context from WDI - + can be used by CTS, DTS, DXE and othe DAL internals + @param None - + @see - @return pointer to the context + @return pointer to the context */ void* WDI_GET_PAL_CTX( void ); /*--------------------------------------------------------------------------- MAIN DAL FSM Function Declarations ----------------------------------------------------------------------------*/ +---------------------------------------------------------------------------*/ /** @brief WDI_PostMainEvent - Posts an event to the Main FSM - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context wdiEV: event posted to the main DAL FSM pEventData: pointer to the event information - structure - + structure + @see @return Result of the function call */ WDI_Status WDI_PostMainEvent ( - WDI_ControlBlockType* pWDICtx, - WDI_MainEventType wdiEV, + WDI_ControlBlockType* pWDICtx, + WDI_MainEventType wdiEV, WDI_EventInfoType* pEventData - + ); /*-------------------------------------------------------------------------- - INIT State Functions + INIT State Functions --------------------------------------------------------------------------*/ /** @brief Main FSM Start function for all states except BUSY - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainStart -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1320,16 +1320,16 @@ WDI_MainStart /** @brief Main FSM Response function for state INIT - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainRspInit -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1337,37 +1337,37 @@ WDI_MainRspInit /** @brief Main FSM Close function for all states except BUSY - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + + @see @return Result of the function call */ WDI_Status WDI_MainClose -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /*-------------------------------------------------------------------------- - STARTED State Functions + STARTED State Functions --------------------------------------------------------------------------*/ /** @brief Main FSM Start function for state STARTED - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainStartStarted -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1375,19 +1375,19 @@ WDI_MainStartStarted /** @brief Main FSM Stop function for state STARTED - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure uEventDataSize: size of the data sent in event pCBfnc: cb function for event response - pUserData: user data - + pUserData: user data + @see @return Result of the function call */ WDI_Status WDI_MainStopStarted -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1395,17 +1395,17 @@ WDI_MainStopStarted /** @brief Main FSM Request function for state started - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + + @see @return Result of the function call */ WDI_Status WDI_MainReqStarted -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1413,56 +1413,56 @@ WDI_MainReqStarted /** @brief Main FSM Response function for all states except INIT - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /*-------------------------------------------------------------------------- - STOPPED State Functions + STOPPED State Functions --------------------------------------------------------------------------*/ /** @brief Main FSM Stop function for state STOPPED - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainStopStopped -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /*-------------------------------------------------------------------------- - BUSY State Functions + BUSY State Functions --------------------------------------------------------------------------*/ /** @brief Main FSM Start function for state BUSY - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainStartBusy -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1470,16 +1470,16 @@ WDI_MainStartBusy /** @brief Main FSM Stop function for state BUSY - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainStopBusy -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1487,16 +1487,16 @@ WDI_MainStopBusy /** @brief Main FSM Request function for state BUSY - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainReqBusy -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1504,16 +1504,16 @@ WDI_MainReqBusy /** @brief Main FSM Close function for state BUSY - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_MainCloseBusy -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1553,58 +1553,58 @@ WDI_MainShutdownBusy ); /*======================================================================== - Main DAL Control Path Request Processing API + Main DAL Control Path Request Processing API ========================================================================*/ /** - @brief Process Start Request function (called when Main FSM + @brief Process Start Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessStartReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Stop Request function (called when Main FSM + @brief Process Stop Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessStopReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Close Request function (called when Main FSM + @brief Process Close Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessCloseReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1646,10 +1646,10 @@ WDI_ProcessInitScanReq /** - @brief Process Start Scan Request function (called when Main + @brief Process Start Scan Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context pEventData: pointer to the event information structure @see @@ -1657,131 +1657,131 @@ WDI_ProcessInitScanReq */ WDI_Status WDI_ProcessStartScanReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process End Scan Request function (called when Main FSM + @brief Process End Scan Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEndScanReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Finish Scan Request function (called when Main + @brief Process Finish Scan Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFinishScanReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Join Request function (called when Main FSM + @brief Process Join Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessJoinReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Config BSS Request function (called when Main + @brief Process Config BSS Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigBSSReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Del BSS Request function (called when Main FSM + @brief Process Del BSS Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelBSSReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Post Assoc Request function (called when Main + @brief Process Post Assoc Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessPostAssocReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Del STA Request function (called when Main FSM + @brief Process Del STA Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelSTAReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1789,101 +1789,101 @@ WDI_ProcessDelSTAReq /** @brief Process Set BSS Key Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetBssKeyReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Remove BSS Key Request function (called when Main + @brief Process Remove BSS Key Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemoveBssKeyReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Set STA KeyRequest function (called when Main FSM + @brief Process Set STA KeyRequest function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetStaKeyReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Remove STA Key Request function (called when + @brief Process Remove STA Key Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemoveStaKeyReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Set STA KeyRequest function (called when Main FSM + @brief Process Set STA KeyRequest function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetStaBcastKeyReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Remove STA Key Request function (called when + @brief Process Remove STA Key Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemoveStaBcastKeyReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1891,16 +1891,16 @@ WDI_ProcessRemoveStaBcastKeyReq /** @brief Process Add TSpec Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddTSpecReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1909,16 +1909,16 @@ WDI_ProcessAddTSpecReq /** @brief Process Del TSpec Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelTSpecReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1926,50 +1926,50 @@ WDI_ProcessDelTSpecReq /** @brief Process Update EDCA Params Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateEDCAParamsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Add BA Request function (called when Main FSM + @brief Process Add BA Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddBASessionReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Del BA Request function (called when Main FSM + @brief Process Del BA Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelBAReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -1994,53 +1994,53 @@ WDI_ProcessTSMStatsReq #endif /** - @brief Process Channel Switch Request function (called when + @brief Process Channel Switch Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessChannelSwitchReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Config STA Request function (called when Main FSM + @brief Process Config STA Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigStaReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Set Link State Request function (called when + @brief Process Set Link State Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetLinkStateReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2049,16 +2049,16 @@ WDI_ProcessSetLinkStateReq /** @brief Process Get Stats Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGetStatsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2103,86 +2103,86 @@ WDI_ProcessGetRoamRssiRsp /** - @brief Process Update Cfg Request function (called when Main + @brief Process Update Cfg Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateCfgReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Add BA Request function (called when Main FSM + @brief Process Add BA Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddBAReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Trigger BA Request function (called when Main FSM + @brief Process Trigger BA Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessTriggerBAReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Update Beacon Params Request function (called when Main + @brief Process Update Beacon Params Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateBeaconParamsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Update Beacon template Request function (called when Main + @brief Process Update Beacon template Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSendBeaconParamsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2190,43 +2190,43 @@ WDI_ProcessSendBeaconParamsReq /** @brief Process Update Beacon Params Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateProbeRspTemplateReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process NV blob download function (called when Main FSM + @brief Process NV blob download function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessNvDownloadReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Set Max Tx Power Request function (called when Main + @brief Process Set Max Tx Power Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ @@ -2271,16 +2271,16 @@ WDI_Status WDI_ProcessSetTxPowerReq /** @brief Process P2P Notice Of Absence Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessP2PGONOAReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2303,52 +2303,52 @@ WDI_ProcessTdlsLinkEstablishReq ); /** - @brief Process Enter IMPS Request function (called when + @brief Process Enter IMPS Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEnterImpsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Exit IMPS Request function (called when + @brief Process Exit IMPS Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessExitImpsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Enter BMPS Request function (called when Main + @brief Process Enter BMPS Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEnterBmpsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2356,238 +2356,238 @@ WDI_ProcessEnterBmpsReq /** @brief Process Exit BMPS Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessExitBmpsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Enter UAPSD Request function (called when Main + @brief Process Enter UAPSD Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEnterUapsdReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Exit UAPSD Request function (called when + @brief Process Exit UAPSD Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessExitUapsdReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Set UAPSD params Request function (called when + @brief Process Set UAPSD params Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetUapsdAcParamsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process update UAPSD params Request function (called + @brief Process update UAPSD params Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateUapsdParamsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Configure RXP filter Request function (called + @brief Process Configure RXP filter Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigureRxpFilterReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process set beacon filter Request function (called + @brief Process set beacon filter Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetBeaconFilterReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process remove beacon filter Request function (called + @brief Process remove beacon filter Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemBeaconFilterReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process set RSSI thresholds Request function (called + @brief Process set RSSI thresholds Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetRSSIThresholdsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process set RSSI thresholds Request function (called + @brief Process set RSSI thresholds Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessHostOffloadReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Keep Alive Request function (called + @brief Process Keep Alive Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessKeepAliveReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Wowl add bc ptrn Request function (called + @brief Process Wowl add bc ptrn Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlAddBcPtrnReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Wowl delete bc ptrn Request function (called + @brief Process Wowl delete bc ptrn Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlDelBcPtrnReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Wowl enter Request function (called + @brief Process Wowl enter Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlEnterReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2595,16 +2595,16 @@ WDI_ProcessWowlEnterReq /** @brief Process Wowl exit Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlExitReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2612,86 +2612,86 @@ WDI_ProcessWowlExitReq /** @brief Process Configure Apps Cpu Wakeup State Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigureAppsCpuWakeupStateReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Flush AC Request function (called when Main FSM + @brief Process Flush AC Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFlushAcReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); #ifdef FEATURE_OEM_DATA_SUPPORT /** - @brief Process Start Oem Data Request function (called when Main + @brief Process Start Oem Data Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessStartOemDataReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); #endif /** - @brief Process Host Resume Request function (called when Main + @brief Process Host Resume Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessHostResumeReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process BT AMP event Request function (called when Main + @brief Process BT AMP event Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessBtAmpEventReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2699,76 +2699,76 @@ WDI_ProcessBtAmpEventReq /** @brief Process Add STA self Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddSTASelfReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Del Sta Self Request function (called when Main + @brief Process Del Sta Self Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelSTASelfReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process set Tx Per Tracking configurations Request function (called + @brief Process set Tx Per Tracking configurations Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetTxPerTrackingReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Set Power Params Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetPowerParamsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Set Thermal Mitigation level Changed request - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ @@ -2838,16 +2838,16 @@ WDI_Status WDI_ProcessGetBatchScanReq /** @brief Process Suspend Indications function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessHostSuspendInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -2992,23 +2992,23 @@ WDI_ProcessDelPeriodicTxPtrnInd #endif /*======================================================================== - Main DAL Control Path Response Processing API + Main DAL Control Path Response Processing API ========================================================================*/ /** @brief Process Start Response function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessStartRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3017,16 +3017,16 @@ WDI_ProcessStartRsp /** @brief Process Stop Response function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessStopRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3035,16 +3035,16 @@ WDI_ProcessStopRsp /** @brief Process Close Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessCloseRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3070,16 +3070,16 @@ WDI_ProcessShutdownRsp /** @brief Process Init Scan Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessInitScanRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3088,52 +3088,52 @@ WDI_ProcessInitScanRsp /** @brief Process Start Scan Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessStartScanRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process End Scan Response function (called when a + @brief Process End Scan Response function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEndScanRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Finish Scan Response function (called when a + @brief Process Finish Scan Response function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFinishScanRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3142,34 +3142,34 @@ WDI_ProcessFinishScanRsp /** @brief Process Join Response function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessJoinRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Config BSS Response function (called when a + @brief Process Config BSS Response function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigBSSRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3178,16 +3178,16 @@ WDI_ProcessConfigBSSRsp /** @brief Process Del BSS Response function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelBSSRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3195,16 +3195,16 @@ WDI_ProcessDelBSSRsp /** @brief Process Post Assoc Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessPostAssocRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3212,16 +3212,16 @@ WDI_ProcessPostAssocRsp /** @brief Process Del STA Key Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelSTARsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3229,16 +3229,16 @@ WDI_ProcessDelSTARsp /** @brief Process Set BSS Key Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetBssKeyRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3246,16 +3246,16 @@ WDI_ProcessSetBssKeyRsp /** @brief Process Remove BSS Key Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemoveBssKeyRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3264,51 +3264,51 @@ WDI_ProcessRemoveBssKeyRsp /** @brief Process Set STA Key Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetStaKeyRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Remove STA Key Rsp function (called when a + @brief Process Remove STA Key Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemoveStaKeyRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Set STA Bcast Key Rsp function (called when a + @brief Process Set STA Bcast Key Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetStaBcastKeyRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3316,16 +3316,16 @@ WDI_ProcessSetStaBcastKeyRsp /** @brief Process Remove STA Bcast Key Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemoveStaBcastKeyRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3333,16 +3333,16 @@ WDI_ProcessRemoveStaBcastKeyRsp /** @brief Process Add TSpec Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddTSpecRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3351,33 +3351,33 @@ WDI_ProcessAddTSpecRsp /** @brief Process Del TSpec Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelTSpecRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Update EDCA Parameters Rsp function (called when a + @brief Process Update EDCA Parameters Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateEDCAParamsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3386,16 +3386,16 @@ WDI_ProcessUpdateEDCAParamsRsp /** @brief Process Add BA Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddBASessionRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3404,16 +3404,16 @@ WDI_ProcessAddBASessionRsp /** @brief Process Del BA Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelBARsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3442,16 +3442,16 @@ WDI_ProcessTsmStatsRsp /** @brief Process Channel Switch Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessChannelSwitchRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3460,69 +3460,69 @@ WDI_ProcessChannelSwitchRsp /** @brief Process Config STA Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigStaRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Set Link State Rsp function (called when a + @brief Process Set Link State Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetLinkStateRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Get Stats Rsp function (called when a response is + @brief Process Get Stats Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGetStatsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Update Cfg Rsp function (called when a response is + @brief Process Update Cfg Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateCfgRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3530,16 +3530,16 @@ WDI_ProcessUpdateCfgRsp /** @brief Process Add BA Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddBARsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3547,83 +3547,83 @@ WDI_ProcessAddBARsp /** @brief Process Add BA Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessTriggerBARsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Update Beacon Params Rsp function (called when a response is + @brief Process Update Beacon Params Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateBeaconParamsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Send Beacon template Rsp function (called when a response is + @brief Process Send Beacon template Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSendBeaconParamsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Update Probe Resp Template Rsp function (called + @brief Process Update Probe Resp Template Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateProbeRspTemplateRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Set Max Tx Power Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetMaxTxPowerRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3665,101 +3665,101 @@ WDI_ProcessLinkEstablishReqRsp /** @brief Process Nv download(called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessNvDownloadRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process P2P Group Owner Notice Of Absense Rsp function (called + @brief Process P2P Group Owner Notice Of Absense Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessP2PGONOARsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Enter IMPS Rsp function (called when a response + @brief Process Enter IMPS Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEnterImpsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Exit IMPS Rsp function (called when a response + @brief Process Exit IMPS Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessExitImpsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Enter BMPS Rsp function (called when a response + @brief Process Enter BMPS Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEnterBmpsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Exit BMPS Rsp function (called when a response + @brief Process Exit BMPS Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessExitBmpsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3767,67 +3767,67 @@ WDI_ProcessExitBmpsRsp /** @brief Process Enter UAPSD Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessEnterUapsdRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Exit UAPSD Rsp function (called when a response + @brief Process Exit UAPSD Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessExitUapsdRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process set UAPSD params Rsp function (called when a + @brief Process set UAPSD params Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetUapsdAcParamsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process update UAPSD params Rsp function (called when a + @brief Process update UAPSD params Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateUapsdParamsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3835,16 +3835,16 @@ WDI_ProcessUpdateUapsdParamsRsp /** @brief Process Configure RXP filter Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigureRxpFilterRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3852,16 +3852,16 @@ WDI_ProcessConfigureRxpFilterRsp /** @brief Process Set beacon filter Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetBeaconFilterRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3869,16 +3869,16 @@ WDI_ProcessSetBeaconFilterRsp /** @brief Process remove beacon filter Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessRemBeaconFilterRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3886,16 +3886,16 @@ WDI_ProcessRemBeaconFilterRsp /** @brief Process set RSSI thresholds Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetRSSIThresoldsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3903,16 +3903,16 @@ WDI_ProcessSetRSSIThresoldsRsp /** @brief Process host offload Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessHostOffloadRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3920,16 +3920,16 @@ WDI_ProcessHostOffloadRsp /** @brief Process Keep Alive Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessKeepAliveRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -3938,188 +3938,188 @@ WDI_ProcessKeepAliveRsp /** @brief Process wowl add ptrn Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlAddBcPtrnRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process wowl delete ptrn Rsp function (called when a + @brief Process wowl delete ptrn Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlDelBcPtrnRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process wowl enter Rsp function (called when a response + @brief Process wowl enter Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlEnterRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process wowl exit Rsp function (called when a response + @brief Process wowl exit Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessWowlExitRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Configure Apps CPU wakeup State Rsp function + @brief Process Configure Apps CPU wakeup State Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessConfigureAppsCpuWakeupStateRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Flush AC Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFlushAcRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process BT AMP event Rsp function (called when a + @brief Process BT AMP event Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessBtAmpEventRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process ADD SELF STA Rsp function (called + @brief Process ADD SELF STA Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAddSTASelfRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief WDI_ProcessDelSTASelfRsp function (called when a + @brief WDI_ProcessDelSTASelfRsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelSTASelfRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); #ifdef FEATURE_OEM_DATA_SUPPORT /** - @brief Start Oem Data Rsp function (called when a + @brief Start Oem Data Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessStartOemDataRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); #endif /** - @brief WDI_ProcessHostResumeRsp function (called when a + @brief WDI_ProcessHostResumeRsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessHostResumeRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4127,16 +4127,16 @@ WDI_ProcessHostResumeRsp /** @brief Process set tx per tracking Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetTxPerTrackingRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4144,16 +4144,16 @@ WDI_ProcessSetTxPerTrackingRsp /** @brief Process Power Params Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetPowerParamsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4161,16 +4161,16 @@ WDI_ProcessSetPowerParamsRsp /** @brief Process Set TM Level Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetTmLevelRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4179,111 +4179,111 @@ WDI_ProcessSetTmLevelRsp Indications from HAL ==========================================================================*/ /** - @brief Process Low RSSI Indication function (called when an + @brief Process Low RSSI Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessLowRSSIInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Missed Beacon Indication function (called when + @brief Process Missed Beacon Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessMissedBeaconInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Unk Addr Frame Indication function (called when + @brief Process Unk Addr Frame Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUnkAddrFrameInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process MIC Failure Indication function (called when an + @brief Process MIC Failure Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessMicFailureInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Fatal Failure Indication function (called when + @brief Process Fatal Failure Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFatalErrorInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** - @brief Process Delete STA Indication function (called when + @brief Process Delete STA Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessDelSTAInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4292,16 +4292,16 @@ WDI_ProcessDelSTAInd *@brief Process Coex Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessCoexInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4382,16 +4382,16 @@ WDI_ProcessP2pNoaAttrInd *@brief Process Tx Per Hit Indication function (called when an indication of this kind is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessTxPerHitInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4436,16 +4436,16 @@ WDI_ProcessPeriodicTxPtrnFwInd /** @brief Process Aggrgated Add TSpec Request function (called when Main FSM allows it) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAggrAddTSpecReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4453,16 +4453,16 @@ WDI_ProcessAggrAddTSpecReq /** @brief Process Add TSpec Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessAggrAddTSpecRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4472,16 +4472,16 @@ WDI_ProcessAggrAddTSpecRsp /** @brief WDI_ProcessFTMCommandReq Process FTM Command, simply route to HAL - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFTMCommandReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4489,32 +4489,32 @@ WDI_ProcessFTMCommandReq /** @brief WDI_ProcessFTMCommandRsp Process FTM Command Response from HAL, simply route to HDD FTM - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFTMCommandRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief WDI_ProcessHALDumpCmdReq Process Hal Dump Command, simply route to HAL - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessHALDumpCmdReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4522,16 +4522,16 @@ WDI_ProcessHALDumpCmdReq /** @brief WDI_ProcessHALDumpCmdRsp Process Hal Dump Command Response from HAL, simply route to HDD FTM - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessHALDumpCmdRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -4556,13 +4556,13 @@ WDI_ProcessIbssPeerInactivityInd /*======================================================================== - Internal Helper Routines + Internal Helper Routines ========================================================================*/ /** - @brief WDI_CleanCB - internal helper routine used to clean the + @brief WDI_CleanCB - internal helper routine used to clean the WDI Main Control Block - + @param pWDICtx - pointer to the control block @return Result of the function call @@ -4576,10 +4576,10 @@ WDI_CleanCB /** @brief Main FSM Close function for all states except BUSY - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ @@ -4591,11 +4591,11 @@ WDI_ProcessRequest ); /** - @brief Get message helper function - it allocates memory for a + @brief Get message helper function - it allocates memory for a message that is to be sent to HAL accross the bus and - prefixes it with a send message header - - @param pWDICtx: pointer to the WLAN DAL context + prefixes it with a send message header + + @param pWDICtx: pointer to the WLAN DAL context wdiReqType: type of the request being sent uBufferLen: message buffer len pMsgBuffer: resulting allocated buffer @@ -4603,31 +4603,31 @@ WDI_ProcessRequest can start copying its message data puBufferSize: the resulting buffer size (offset+buff len) - + @see @return Result of the function call */ WDI_Status WDI_GetMessageBuffer -( - WDI_ControlBlockType* pWDICtx, - WDI_RequestEnumType wdiReqType, +( + WDI_ControlBlockType* pWDICtx, + WDI_RequestEnumType wdiReqType, wpt_uint16 usBufferLen, - wpt_uint8** pMsgBuffer, - wpt_uint16* pusDataOffset, + wpt_uint8** pMsgBuffer, + wpt_uint16* pusDataOffset, wpt_uint16* pusBufferSize ); /** - @brief WDI_DetectedDeviceError - called internally by DAL when - it has detected a failure in the device - - @param pWDICtx: pointer to the WLAN DAL context + @brief WDI_DetectedDeviceError - called internally by DAL when + it has detected a failure in the device + + @param pWDICtx: pointer to the WLAN DAL context usErrorCode: error code detected by WDI or received from HAL - + @see - @return None + @return None */ void WDI_DetectedDeviceError @@ -4637,20 +4637,20 @@ WDI_DetectedDeviceError ); /*========================================================================= - QUEUE SUPPORT UTILITY FUNCTIONS + QUEUE SUPPORT UTILITY FUNCTIONS =========================================================================*/ /** - @brief Utility function used by the DAL Core to help queue a - request that cannot be processed right away. - @param - + @brief Utility function used by the DAL Core to help queue a + request that cannot be processed right away. + @param + pWDICtx: - pointer to the WDI control block pEventData: - pointer to the evnt info that needs to be - queued - - @see - @return Result of the operation + queued + + @see + @return Result of the operation */ WDI_Status WDI_QueuePendingReq @@ -4660,35 +4660,35 @@ WDI_QueuePendingReq ); /** - @brief Utility function used by the DAL Core to clear any + @brief Utility function used by the DAL Core to clear any pending requests - all req cb will be called with failure and the queue will be emptied. - @param - + @param + pWDICtx: - pointer to the WDI control block - - @see - @return Result of the operation + + @see + @return Result of the operation */ WDI_Status WDI_ClearPendingRequests -( +( WDI_ControlBlockType* pWDICtx ); /** - @brief This callback is invoked by the wpt when a timer that + @brief This callback is invoked by the wpt when a timer that we started on send message has expire - this should never happen - it means device is stuck and cannot - reply - trigger catastrophic failure - @param - + reply - trigger catastrophic failure + @param + pUserData: the callback data of the user (ptr to WDI CB) - - @see - @return None + + @see + @return None */ -void +void WDI_ResponseTimerCB ( void *pUserData @@ -4696,65 +4696,65 @@ WDI_ResponseTimerCB /*========================================================================== CONTRL TRANSPORT INTERACTION - + Callback function registered with the control transport - for receiving - notifications and packets + notifications and packets ==========================================================================*/ /** - @brief This callback is invoked by the control transport + @brief This callback is invoked by the control transport when it wishes to send up a notification like the ones mentioned above. - + @param - - wctsHandle: handle to the control transport service + + wctsHandle: handle to the control transport service wctsEvent: the event being notified - wctsNotifyCBData: the callback data of the user - + wctsNotifyCBData: the callback data of the user + @see WCTS_OpenTransport - - @return None + + @return None */ -void +void WDI_NotifyMsgCTSCB ( - WCTS_HandleType wctsHandle, + WCTS_HandleType wctsHandle, WCTS_NotifyEventType wctsEvent, void* wctsNotifyCBData ); /** - @brief This callback is invoked by the control transport + @brief This callback is invoked by the control transport when it wishes to send up a packet received over the bus. - + @param - - wctsHandle: handle to the control transport service + + wctsHandle: handle to the control transport service pMsg: the packet uLen: the packet length - wctsRxMsgCBData: the callback data of the user - + wctsRxMsgCBData: the callback data of the user + @see WCTS_OpenTransport - - @return None + + @return None */ -void -WDI_RXMsgCTSCB +void +WDI_RXMsgCTSCB ( - WCTS_HandleType wctsHandle, + WCTS_HandleType wctsHandle, void* pMsg, wpt_uint32 uLen, void* wctsRxMsgCBData ); /** - @brief Process response helper function + @brief Process response helper function + + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - @see @return Result of the function call */ @@ -4766,13 +4766,13 @@ WDI_ProcessResponse ); /** - @brief Send message helper function - sends a message over the + @brief Send message helper function - sends a message over the bus using the control tranport and saves some info in - the CB - - @param pWDICtx: pointer to the WLAN DAL context + the CB + + @param pWDICtx: pointer to the WLAN DAL context pSendBuffer: buffer to be sent - + uSendSize size of the buffer to be sent pRspCb: response callback - save in the WDI CB @@ -4780,53 +4780,53 @@ WDI_ProcessResponse callback wdiExpectedResponse: the code of the response that is expected to be rx-ed for this request - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_SendMsg -( - WDI_ControlBlockType* pWDICtx, - wpt_uint8* pSendBuffer, - wpt_uint32 uSendSize, - void* pRspCb, +( + WDI_ControlBlockType* pWDICtx, + wpt_uint8* pSendBuffer, + wpt_uint32 uSendSize, + void* pRspCb, void* pUserData, WDI_ResponseEnumType wdiExpectedResponse ); /** - @brief Send indication helper function - sends a message over + @brief Send indication helper function - sends a message over the bus using the control transport and saves some info in the CB - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context pSendBuffer: buffer to be sent usSendSize: size of the buffer to be sent - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_SendIndication -( - WDI_ControlBlockType* pWDICtx, - wpt_uint8* pSendBuffer, +( + WDI_ControlBlockType* pWDICtx, + wpt_uint8* pSendBuffer, wpt_uint32 usSendSize ); /** @brief Utility function used by the DAL Core to help dequeue - and schedule for execution a pending request - @param - + and schedule for execution a pending request + @param + pWDICtx: - pointer to the WDI control block pEventData: - pointer to the evnt info that needs to be - queued - - @see - @return Result of the operation + queued + + @see + @return Result of the operation */ WDI_Status WDI_DequeuePendingReq @@ -4835,17 +4835,17 @@ WDI_DequeuePendingReq ); /** - @brief Utility function used by the DAL Core to help queue + @brief Utility function used by the DAL Core to help queue an association request that cannot be processed right - away.- The assoc requests will be queued by BSSID - @param - + away.- The assoc requests will be queued by BSSID + @param + pWDICtx: - pointer to the WDI control block pEventData: pointer to the evnt info that needs to be queued macBSSID: bssid - - @see - @return Result of the operation + + @see + @return Result of the operation */ WDI_Status WDI_QueueNewAssocRequest @@ -4853,21 +4853,21 @@ WDI_QueueNewAssocRequest WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData, wpt_macAddr macBSSID -); +); /** - @brief Utility function used by the DAL Core to help queue + @brief Utility function used by the DAL Core to help queue an association request that cannot be processed right - away.- The assoc requests will be queued by BSSID - @param - + away.- The assoc requests will be queued by BSSID + @param + pWDICtx: - pointer to the WDI control block pSession: - session in which to queue pEventData: pointer to the event info that needs to be queued - - @see - @return Result of the operation + + @see + @return Result of the operation */ WDI_Status WDI_QueueAssocRequest @@ -4882,13 +4882,13 @@ WDI_QueueAssocRequest an association request that was pending The request will be queued up in front of the main pending queue for immediate processing - @param - + @param + pWDICtx: - pointer to the WDI control block - - - @see - @return Result of the operation + + + @see + @return Result of the operation */ WDI_Status WDI_DequeueAssocRequest @@ -4897,33 +4897,33 @@ WDI_DequeueAssocRequest ); /** - @brief Helper routine used to init the BSS Sessions in the WDI control block - - - @param pWDICtx: pointer to the WLAN DAL context - + @brief Helper routine used to init the BSS Sessions in the WDI control block + + + @param pWDICtx: pointer to the WLAN DAL context + @see */ void WDI_ResetAssocSessions -( +( WDI_ControlBlockType* pWDICtx ); /** - @brief Helper routine used to find an empty session in the WDI + @brief Helper routine used to find an empty session in the WDI CB - - - @param pWDICtx: pointer to the WLAN DAL context - pSession: pointer to the session (if found) - + + + @param pWDICtx: pointer to the WLAN DAL context + pSession: pointer to the session (if found) + @see - @return Index of the session in the array + @return Index of the session in the array */ wpt_uint8 WDI_FindEmptySession -( +( WDI_ControlBlockType* pWDICtx, WDI_BSSSessionType** ppSession ); @@ -4950,37 +4950,37 @@ WDI_GetActiveSessionsCount ); /** - @brief Helper routine used to delete session in the WDI + @brief Helper routine used to delete session in the WDI CB - - - @param pWDICtx: pointer to the WLAN DAL context - pSession: pointer to the session (if found) - + + + @param pWDICtx: pointer to the WLAN DAL context + pSession: pointer to the session (if found) + @see - @return Index of the session in the array + @return Index of the session in the array */ -void +void WDI_DeleteSession -( +( WDI_ControlBlockType* pWDICtx, WDI_BSSSessionType* ppSession ); /** - @brief Helper routine used to find a session based on the BSSID - - - @param pWDICtx: pointer to the WLAN DAL context + @brief Helper routine used to find a session based on the BSSID + + + @param pWDICtx: pointer to the WLAN DAL context macBSSID: BSSID of the session ppSession: out pointer to the session (if found) - + @see - @return Index of the session in the array + @return Index of the session in the array */ wpt_uint8 WDI_FindAssocSession -( +( WDI_ControlBlockType* pWDICtx, wpt_macAddr macBSSID, WDI_BSSSessionType** ppSession @@ -4988,101 +4988,101 @@ WDI_FindAssocSession /** - @brief Helper routine used to find a session based on the BSSID - - - @param pWDICtx: pointer to the WLAN DAL context + @brief Helper routine used to find a session based on the BSSID + + + @param pWDICtx: pointer to the WLAN DAL context usBssIdx: BSS Index of the session ppSession: out pointer to the session (if found) - + @see - @return Index of the session in the array + @return Index of the session in the array */ wpt_uint8 WDI_FindAssocSessionByBSSIdx -( +( WDI_ControlBlockType* pWDICtx, wpt_uint16 usBssIdx, WDI_BSSSessionType** ppSession ); /** - @brief Helper routine used to find a session based on the BSSID - - - @param pWDICtx: pointer to the WLAN DAL context + @brief Helper routine used to find a session based on the BSSID + + + @param pWDICtx: pointer to the WLAN DAL context usBssIdx: BSS Index of the session ppSession: out pointer to the session (if found) - + @see - @return Index of the session in the array + @return Index of the session in the array */ wpt_uint8 WDI_FindAssocSessionByIdx -( +( WDI_ControlBlockType* pWDICtx, wpt_uint16 usBssIdx, WDI_BSSSessionType** ppSession ); /** - @brief Helper routine used to find a session based on the BSSID - @param pContext: pointer to the WLAN DAL context - @param pDPContext: pointer to the Datapath context - + @brief Helper routine used to find a session based on the BSSID + @param pContext: pointer to the WLAN DAL context + @param pDPContext: pointer to the Datapath context + @see - @return + @return */ void -WDI_DS_AssignDatapathContext +WDI_DS_AssignDatapathContext ( - void *pContext, + void *pContext, void *pDPContext ); /** - @brief Helper routine used to find a session based on the BSSID - - - @param pContext: pointer to the WLAN DAL context - + @brief Helper routine used to find a session based on the BSSID + + + @param pContext: pointer to the WLAN DAL context + @see @return pointer to Datapath context */ void * -WDI_DS_GetDatapathContext +WDI_DS_GetDatapathContext ( void *pContext ); /** - @brief Helper routine used to find a session based on the BSSID - - - @param pContext: pointer to the WLAN DAL context - @param pDTDriverContext: pointer to the Transport Driver context - + @brief Helper routine used to find a session based on the BSSID + + + @param pContext: pointer to the WLAN DAL context + @param pDTDriverContext: pointer to the Transport Driver context + @see @return void */ void -WDT_AssignTransportDriverContext +WDT_AssignTransportDriverContext ( - void *pContext, + void *pContext, void *pDTDriverContext ); /** - @brief Helper routine used to find a session based on the BSSID - - - @param pWDICtx: pointer to the WLAN DAL context - + @brief Helper routine used to find a session based on the BSSID + + + @param pWDICtx: pointer to the WLAN DAL context + @see - @return pointer to datapath context + @return pointer to datapath context */ void * -WDT_GetTransportDriverContext +WDT_GetTransportDriverContext ( void *pContext ); @@ -5090,64 +5090,64 @@ WDT_GetTransportDriverContext #ifdef FEATURE_WLAN_SCAN_PNO /** @brief Process Set Preferred Network List Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetPreferredNetworkReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Set RSSI Filter Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetRssiFilterReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Update Scan Params function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateScanParamsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Preferred Network Found Indication function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessPrefNetworkFoundInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5155,16 +5155,16 @@ WDI_ProcessPrefNetworkFoundInd /** @brief Process PNO Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetPreferredNetworkRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5172,16 +5172,16 @@ WDI_ProcessSetPreferredNetworkRsp /** @brief Process RSSI Filter Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetRssiFilterRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5189,16 +5189,16 @@ WDI_ProcessSetRssiFilterRsp /** @brief Process Update Scan Params Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessUpdateScanParamsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5241,128 +5241,128 @@ WDI_ProcessRoamScanOffloadRsp #ifdef WLAN_FEATURE_PACKET_FILTERING /** @brief Process 8023 Multicast List Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_Process8023MulticastListReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Receive Filter Set Filter Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessReceiveFilterSetFilterReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process D0 PC Filter Match Count Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFilterMatchCountReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Receive Filter Clear Filter Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessReceiveFilterClearFilterReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process 8023 Multicast List Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_Process8023MulticastListRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Receive Filter Set Filter Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessReceiveFilterSetFilterRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process D0 PC Filter Match Count Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFilterMatchCountRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Receive Filter Clear Filter Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessReceiveFilterClearFilterRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5370,33 +5370,33 @@ WDI_ProcessReceiveFilterClearFilterRsp #ifdef WLAN_FEATURE_GTK_OFFLOAD /** - @brief Process set GTK Offload Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + @brief Process set GTK Offload Request function + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGTKOffloadReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process GTK Offload Get Information Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGTKOffloadGetInfoReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5404,32 +5404,32 @@ WDI_ProcessGTKOffloadGetInfoReq /** @brief Process host offload Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGtkOffloadRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process GTK Offload Get Information Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGTKOffloadGetInfoRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5438,7 +5438,7 @@ WDI_ProcessGTKOffloadGetInfoRsp #ifdef WLAN_WAKEUP_EVENTS WDI_Status WDI_ProcessWakeReasonInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5446,32 +5446,32 @@ WDI_ProcessWakeReasonInd /** @brief Process Host-FW Capability Exchange Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFeatureCapsExchangeReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); /** @brief Process Host-FW Capability Exchange Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFeatureCapsExchangeRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5486,7 +5486,7 @@ WDI_ProcessUpdateVHTOpModeReq WDI_Status WDI_ProcessUpdateVHTOpModeRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); @@ -5579,4 +5579,3 @@ WDI_ProcessBatchScanResultInd #endif /* FEATURE_WLAN_BATCH_SCAN */ #endif /*WLAN_QCT_WDI_I_H*/ - diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi_sta.h b/CORE/WDI/CP/inc/wlan_qct_wdi_sta.h index 605561a42002..039a3c09cb46 100644 --- a/CORE/WDI/CP/inc/wlan_qct_wdi_sta.h +++ b/CORE/WDI/CP/inc/wlan_qct_wdi_sta.h @@ -30,11 +30,11 @@ /*=========================================================================== - W L A N D E V I C E A B S T R A C T I O N L A Y E R + W L A N D E V I C E A B S T R A C T I O N L A Y E R I N T E R N A L A P I F O R T H E S T A T I O N M G M T - - + + DESCRIPTION This file contains the internal API exposed by the STA Management entity to be used by the DAL Control Path Core . @@ -63,7 +63,7 @@ when who what, where, why #include "wlan_qct_pal_api.h" /*---------------------------------------------------------------------------- - Preprocesor definitions and macros + Preprocesor definitions and macros -------------------------------------------------------------------------*/ /*Invalid station index */ #define WDI_STA_INVALID_IDX 0xFF @@ -71,11 +71,11 @@ when who what, where, why /*---------------------------------------------------------------------------- WDI_AddStaParams -------------------------------------------------------------------------*/ -typedef struct +typedef struct { - wpt_uint8 ucSTAIdx; + wpt_uint8 ucSTAIdx; wpt_uint8 ucWmmEnabled; - wpt_uint8 ucHTCapable; + wpt_uint8 ucHTCapable; /* MAC Address of STA */ wpt_macAddr staMacAddr; @@ -87,7 +87,7 @@ typedef struct or remote (AP adding STA after successful association. This may or may not be required in production driver. 0 - Self, 1 other/remote, 2 - bssid */ - wpt_uint8 ucStaType; + wpt_uint8 ucStaType; /*DPU Information*/ @@ -105,7 +105,7 @@ typedef struct /* Index into the BSS Session table */ wpt_uint8 ucBSSIdx; -}WDI_AddStaParams; +}WDI_AddStaParams; /*---------------------------------------------------------------------------- WDI_StaStruct @@ -113,13 +113,13 @@ typedef struct typedef struct { wpt_macAddr staAddr; // Sta Addr - - wpt_uint8 valid:1; // Used/free flag + + wpt_uint8 valid:1; // Used/free flag wpt_uint8 rmfEnabled:1; wpt_uint8 htEnabled:1; /* 11e or WMM enabled, flag used for header length*/ - wpt_uint8 qosEnabled:1; + wpt_uint8 qosEnabled:1; wpt_uint8 bssIdx; // BSS Index wpt_uint8 staId; @@ -129,7 +129,7 @@ typedef struct // or remote (AP adding STA after successful association. // This may or may not be required in production driver. // 0 - Self, 1 other/remote, 2 - bssid - wpt_uint8 ucStaType; + wpt_uint8 ucStaType; /*DPU Information*/ @@ -139,16 +139,16 @@ typedef struct wpt_uint8 bcastDpuSignature; wpt_uint8 bcastMgmtDpuIndex; wpt_uint8 bcastMgmtDpuSignature; - + } WDI_StaStruct; /** - @brief WDI_STATableInit - Initializes the STA tables. + @brief WDI_STATableInit - Initializes the STA tables. Allocates the necesary memory. - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ @@ -158,16 +158,16 @@ WDI_Status WDI_STATableInit ); /** - @brief WDI_STATableStart - resets the max and number values of + @brief WDI_STATableStart - resets the max and number values of STAtions - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableStart ( WDI_ControlBlockType* pWDICtx @@ -176,29 +176,29 @@ WDI_STATableStart /** @brief WDI_STATableStop - clears the sta table - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableStop ( WDI_ControlBlockType* pWDICtx ); /** - @brief WDI_STATableClose - frees the resources used by the STA + @brief WDI_STATableClose - frees the resources used by the STA table. - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableClose ( WDI_ControlBlockType* pWDICtx @@ -208,10 +208,10 @@ WDI_STATableClose /** @brief WDI_STATableAddSta - Function to Add Station - - @param pWDICtx: pointer to the WLAN DAL context - pwdiParam: station parameters - + + @param pWDICtx: pointer to the WLAN DAL context + pwdiParam: station parameters + @see @return Result of the function call */ @@ -225,10 +225,10 @@ WDI_STATableAddSta /** @brief WDI_STATableDelSta - Function to Delete a Station - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station to be deleted - + @see @return Result of the function call */ @@ -242,10 +242,10 @@ WDI_STATableDelSta /** @brief WDI_STATableBSSDelSta - Function to Delete Stations in this BSS - - @param pWDICtx: pointer to the WLAN DAL context - bssIdx: BSS index - + + @param pWDICtx: pointer to the WLAN DAL context + bssIdx: BSS index + @see @return Result of the function call */ @@ -257,98 +257,98 @@ WDI_STATableBSSDelSta ); /** - @brief WDI_STATableGetStaBSSIDAddr - Gets the BSSID associated + @brief WDI_STATableGetStaBSSIDAddr - Gets the BSSID associated with this station - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index pmacBSSID: out BSSID for this STA - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaBSSIDAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_macAddr* pmacBSSID ); /** - @brief WDI_STATableGetStaQosEnabled - Gets is qos is enabled + @brief WDI_STATableGetStaQosEnabled - Gets is qos is enabled for a sta - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index qosEnabled: out qos enabled - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaQosEnabled ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8* qosEnabled ); /** @brief WDI_STATableSetStaQosEnabled - set qos mode for STA - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index qosEnabled: qos enabled - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetStaQosEnabled ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8 qosEnabled ); /** @brief WDI_STATableGetStaType - get sta type for STA - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index pStaType: qos enabled - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaType ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8* pStaType ); /** @brief WDI_STATableSetStaType - sets sta type for STA - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index staType: sta type - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetStaType ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8 staType ); @@ -356,93 +356,92 @@ WDI_STATableSetStaType /** @brief WDI_STATableFindStaidByAddr - Given a station mac address, search for the corresponding station index from the Station Table. - + @param pWDICtx: WDI Context pointer staAddr: station address - pucStaId: output station id - + pucStaId: output station id + @see @return Result of the function call */ WDI_Status WDI_STATableFindStaidByAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_macAddr staAddr, + WDI_ControlBlockType* pWDICtx, + wpt_macAddr staAddr, wpt_uint8* pucStaId ); /** @brief WDI_STATableGetStaAddr - get station address - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index - pStaAddr: output station address - + pStaAddr: output station address + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8** pStaAddr ); /** @brief WDI_STATableSetStaAddr - set station address - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index - pStaAddr: output station address - + pStaAddr: output station address + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetStaAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_macAddr staAddr ); /** @brief WDI_STATableSetBSSID - set station corresponding BSSID - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index - pStaAddr: output station address - + pStaAddr: output station address + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetBSSID ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_macAddr macBSSID ); /** @brief WDI_STATableSetBSSIdx - set station corresponding BSS index - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index - bssIdx: BSS index - + bssIdx: BSS index + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetBSSIdx ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8 ucBSSIdx ); #endif /*WLAN_QCT_WDI_STA_H*/ - diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c index 8aca881fc657..165699a8164b 100644 --- a/CORE/WDI/CP/src/wlan_qct_wdi.c +++ b/CORE/WDI/CP/src/wlan_qct_wdi.c @@ -158,7 +158,7 @@ static placeHolderInCapBitmap supportEnabledFeatures[] = #endif }; -/*-------------------------------------------------------------------------- +/*-------------------------------------------------------------------------- WLAN DAL State Machine --------------------------------------------------------------------------*/ WPT_STATIC const WDI_MainFsmEntryType wdiMainFSM[WDI_MAX_ST] = @@ -525,7 +525,7 @@ WDI_RspProcFuncType pfnRspProcTbl[WDI_MAX_RESP] = #endif // FEATURE_WLAN_SCAN_PNO WDI_ProcessSetTxPerTrackingRsp, /* WDI_SET_TX_PER_TRACKING_RESP */ - + /*--------------------------------------------------------------------- Indications ---------------------------------------------------------------------*/ @@ -547,14 +547,14 @@ WDI_RspProcFuncType pfnRspProcTbl[WDI_MAX_RESP] = WDI_ProcessHALDumpCmdRsp, /* WDI_HAL_DUMP_CMD_RESP */ WDI_ProcessShutdownRsp, /* WDI_SHUTDOWN_RESP */ - + WDI_ProcessSetPowerParamsRsp, /*WDI_SET_POWER_PARAMS_RESP*/ #ifdef FEATURE_WLAN_CCX WDI_ProcessTsmStatsRsp, /* WDI_TSM_STATS_RESP */ #else NULL, #endif - + #ifdef WLAN_FEATURE_GTK_OFFLOAD WDI_ProcessGtkOffloadRsp, /* WDI_GTK_OFFLOAD_RESP */ WDI_ProcessGTKOffloadGetInfoRsp, /* WDI_GTK_OFFLOAD_GETINFO_RESP */ @@ -1530,9 +1530,9 @@ WDI_Init fail_wpalOpen: WDI_STATableClose(&gWDICb); fail_STATableInit: - gWDIInitialized = eWLAN_PAL_FALSE; + gWDIInitialized = eWLAN_PAL_FALSE; - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; }/*WDI_Init*/; @@ -1894,7 +1894,7 @@ WDI_Shutdown } else { - /* Riva is crashed then SMD is already closed so cleaning all + /* Riva is crashed then SMD is already closed so cleaning all the pending messages in the transport queue */ WCTS_ClearPendingQueue(gWDICb.wctsHandle); } @@ -3029,23 +3029,23 @@ WDI_TSMStatsReq WDI_EventInfoType wdiEventData; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------ - Sanity Check + Sanity Check ------------------------------------------------------------------------*/ if ( eWLAN_PAL_FALSE == gWDIInitialized ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "WDI API call before module is initialized - Fail request"); - return WDI_STATUS_E_NOT_ALLOWED; + return WDI_STATUS_E_NOT_ALLOWED; } /*------------------------------------------------------------------------ Fill in Event data and post to the Main FSM ------------------------------------------------------------------------*/ wdiEventData.wdiRequest = WDI_TSM_STATS_REQ; - wdiEventData.pEventData = pwdiTsmReqParams; - wdiEventData.uEventDataSize = sizeof(*pwdiTsmReqParams); - wdiEventData.pCBfnc = wdiReqStatusCb; + wdiEventData.pEventData = pwdiTsmReqParams; + wdiEventData.uEventDataSize = sizeof(*pwdiTsmReqParams); + wdiEventData.pCBfnc = wdiReqStatusCb; wdiEventData.pUserData = pUserData; return WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, &wdiEventData); @@ -3053,8 +3053,8 @@ WDI_TSMStatsReq } #endif -/*======================================================================== - +/*======================================================================== + QoS and BA APIs ==========================================================================*/ @@ -4669,7 +4669,7 @@ WDI_BtAmpEventReq #ifdef FEATURE_OEM_DATA_SUPPORT /** - @brief WDI_Start Oem Data Req will be called when the upper MAC + @brief WDI_Start Oem Data Req will be called when the upper MAC wants to notify the lower mac on a oem data Req event.Upon the call of this API the WLAN DAL will pack and send a HAL OEM Data Req event request message to the lower RIVA @@ -4679,8 +4679,8 @@ WDI_BtAmpEventReq be allowed in any other state. - - @param pwdiOemDataReqParams: the Oem Data Req as + + @param pwdiOemDataReqParams: the Oem Data Req as specified by the Device Interface wdiStartOemDataRspCb: callback for passing back the @@ -4718,9 +4718,9 @@ WDI_StartOemDataReq Fill in Event data and post to the Main FSM ------------------------------------------------------------------------*/ wdiEventData.wdiRequest = WDI_START_OEM_DATA_REQ; - wdiEventData.pEventData = pwdiOemDataReqParams; - wdiEventData.uEventDataSize = sizeof(*pwdiOemDataReqParams); - wdiEventData.pCBfnc = wdiOemDataRspCb; + wdiEventData.pEventData = pwdiOemDataReqParams; + wdiEventData.uEventDataSize = sizeof(*pwdiOemDataReqParams); + wdiEventData.pCBfnc = wdiOemDataRspCb; wdiEventData.pUserData = pUserData; return WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, &wdiEventData); @@ -5897,16 +5897,16 @@ WDI_SetTxPerTrackingReq /** @brief WDI_SetTmLevelReq - If HW Thermal condition changed, driver should react based on new + If HW Thermal condition changed, driver should react based on new HW thermal condition. @param pwdiSetTmLevelReq: New thermal condition information - + pwdiSetTmLevelRspCb: callback - + usrData: user data will be passed back with the - callback - + callback + @return Result of the function call */ WDI_Status @@ -5914,38 +5914,38 @@ WDI_SetTmLevelReq ( WDI_SetTmLevelReqType *pwdiSetTmLevelReq, WDI_SetTmLevelCb pwdiSetTmLevelRspCb, - void *usrData + void *usrData ) { WDI_EventInfoType wdiEventData; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------ - Sanity Check + Sanity Check ------------------------------------------------------------------------*/ if ( eWLAN_PAL_FALSE == gWDIInitialized ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "WDI API call before module is initialized - Fail request"); - return WDI_STATUS_E_NOT_ALLOWED; + return WDI_STATUS_E_NOT_ALLOWED; } /*------------------------------------------------------------------------ Fill in Event data and post to the Main FSM ------------------------------------------------------------------------*/ wdiEventData.wdiRequest = WDI_SET_TM_LEVEL_REQ; - wdiEventData.pEventData = pwdiSetTmLevelReq; + wdiEventData.pEventData = pwdiSetTmLevelReq; wdiEventData.uEventDataSize = sizeof(*pwdiSetTmLevelReq); - wdiEventData.pCBfnc = pwdiSetTmLevelRspCb; + wdiEventData.pCBfnc = pwdiSetTmLevelRspCb; wdiEventData.pUserData = usrData; return WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, &wdiEventData); } /** - @brief WDI_HostSuspendInd - + @brief WDI_HostSuspendInd + Suspend Indication from the upper layer will be sent down to HAL @@ -7128,7 +7128,7 @@ WDI_ProcessStopReq } /* Stop Transport Driver, DXE */ status = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_DOWN, WDI_SetPowerStateCb); - if( eWLAN_PAL_STATUS_SUCCESS != status ) + if( eWLAN_PAL_STATUS_SUCCESS != status ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDTS_SetPowerState returned with status %d when trying to notify DTS that host is entering Power Down state", status); @@ -7138,7 +7138,7 @@ WDI_ProcessStopReq /* * Wait for the event to be set once the ACK comes back from DXE */ - status = wpalEventWait(&pWDICtx->setPowerStateEvent, + status = wpalEventWait(&pWDICtx->setPowerStateEvent, WDI_SET_POWER_STATE_TIMEOUT); if (eWLAN_PAL_STATUS_SUCCESS != status) { @@ -7665,7 +7665,7 @@ WDI_ProcessFinishScanReq pWDICtx->bScanInProgress ); wpalMutexRelease(&pWDICtx->wptMutex); - return WDI_STATUS_E_NOT_ALLOWED; + return WDI_STATUS_E_NOT_ALLOWED; } /*----------------------------------------------------------------------- @@ -7681,7 +7681,7 @@ WDI_ProcessFinishScanReq { // notify DTS that we are entering BMPS wptStatus = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_BMPS, NULL); - if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) + if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDTS_SetPowerState returned with status %d when trying to notify DTS that host is entering BMPS", wptStatus); @@ -7796,11 +7796,11 @@ WDI_ProcessBSSSessionJoinReq "Association for this BSSID: " MAC_ADDRESS_STR " is already in place", MAC_ADDR_ARRAY(pwdiJoinParams->wdiReqInfo.macBSSID)); - /*reset the bAssociationInProgress otherwise the next + /*reset the bAssociationInProgress otherwise the next *join request will be queued*/ pWDICtx->bAssociationInProgress = eWLAN_PAL_FALSE; wpalMutexRelease(&pWDICtx->wptMutex); - return WDI_STATUS_E_NOT_ALLOWED; + return WDI_STATUS_E_NOT_ALLOWED; } /*------------------------------------------------------------------------ @@ -7813,7 +7813,7 @@ WDI_ProcessBSSSessionJoinReq WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "DAL has no free sessions - cannot run another join"); - /*reset the bAssociationInProgress otherwise the next + /*reset the bAssociationInProgress otherwise the next *join request will be queued*/ pWDICtx->bAssociationInProgress = eWLAN_PAL_FALSE; wpalMutexRelease(&pWDICtx->wptMutex); @@ -8069,9 +8069,9 @@ WDI_ProcessConfigBSSReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "%s: Association sequence for this BSS does not yet exist." MAC_ADDRESS_STR "wdiBssType %d", - __func__, MAC_ADDR_ARRAY(pwdiConfigBSSParams->wdiReqInfo.macBSSID), + __func__, MAC_ADDR_ARRAY(pwdiConfigBSSParams->wdiReqInfo.macBSSID), pwdiConfigBSSParams->wdiReqInfo.wdiBSSType); - + /* for IBSS testing */ wpalMutexRelease(&pWDICtx->wptMutex); return WDI_STATUS_E_NOT_ALLOWED; @@ -8086,8 +8086,8 @@ WDI_ProcessConfigBSSReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. " MAC_ADDRESS_STR " bssIdx %d", - __func__, MAC_ADDR_ARRAY(pwdiConfigBSSParams->wdiReqInfo.macBSSID), + "%s: Association sequence for this BSS exists but currently queued. " MAC_ADDRESS_STR " bssIdx %d", + __func__, MAC_ADDR_ARRAY(pwdiConfigBSSParams->wdiReqInfo.macBSSID), ucCurrentBSSSesIdx); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -8374,9 +8374,9 @@ WDI_ProcessPostAssocReq if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist - " - "operation not allowed. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist - " + "operation not allowed. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiPostAssocParams->wdiBSSParams.macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -8390,7 +8390,7 @@ WDI_ProcessPostAssocReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiPostAssocParams->wdiBSSParams.macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -8587,8 +8587,8 @@ WDI_ProcessDelSTAReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -8706,7 +8706,7 @@ WDI_ProcessSetBssKeyReq if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. ucBssIdx %d", + "%s: Association sequence for this BSS does not yet exist. ucBssIdx %d", __func__, pwdiSetBSSKeyParams->wdiBSSKeyInfo.ucBssIdx); wpalMutexRelease(&pWDICtx->wptMutex); @@ -8852,7 +8852,7 @@ WDI_ProcessRemoveBssKeyReq if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. ucBssIdx %d", + "%s: Association sequence for this BSS does not yet exist. ucBssIdx %d", __func__, pwdiRemoveBSSKeyParams->wdiKeyInfo.ucBssIdx); wpalMutexRelease(&pWDICtx->wptMutex); @@ -8987,8 +8987,8 @@ WDI_ProcessSetStaKeyReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -9144,8 +9144,8 @@ WDI_ProcessRemoveStaKeyReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -9159,7 +9159,7 @@ WDI_ProcessRemoveStaKeyReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -9442,8 +9442,8 @@ WDI_ProcessRemoveStaBcastKeyReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -9457,7 +9457,7 @@ WDI_ProcessRemoveStaBcastKeyReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -9585,8 +9585,8 @@ WDI_ProcessAddTSpecReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -9758,10 +9758,10 @@ WDI_ProcessDelTSpecReq if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiDelTSParams->wdiDelTSInfo.macBSSID)); - + wpalMutexRelease(&pWDICtx->wptMutex); return WDI_STATUS_E_NOT_ALLOWED; } @@ -9773,7 +9773,7 @@ WDI_ProcessDelTSpecReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiDelTSParams->wdiDelTSInfo.macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -9870,7 +9870,7 @@ WDI_ProcessUpdateEDCAParamsReq if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. ucBssIdx %d", + "%s: Association sequence for this BSS does not yet exist. ucBssIdx %d", __func__, pwdiUpdateEDCAParams->wdiEDCAInfo.ucBssIdx); wpalMutexRelease(&pWDICtx->wptMutex); @@ -9996,10 +9996,10 @@ WDI_ProcessAddBASessionReq if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); - + wpalMutexRelease(&pWDICtx->wptMutex); return WDI_STATUS_E_NOT_ALLOWED; } @@ -10011,7 +10011,7 @@ WDI_ProcessAddBASessionReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -10138,8 +10138,8 @@ WDI_ProcessDelBAReq if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -10196,25 +10196,25 @@ WDI_ProcessDelBAReq WDI_Status WDI_ProcessTSMStatsReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) { WDI_TSMStatsReqParamsType* pwdiTSMParams; WDI_TsmRspCb wdiTSMRspCb; - wpt_uint8 ucCurrentBSSSesIdx = 0; + wpt_uint8 ucCurrentBSSSesIdx = 0; WDI_BSSSessionType* pBSSSes = NULL; - wpt_uint8* pSendBuffer = NULL; + wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; - WDI_Status wdiStatus = WDI_STATUS_SUCCESS; + WDI_Status wdiStatus = WDI_STATUS_SUCCESS; tTsmStatsParams halTsmStatsReqParams = {0}; - + /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pEventData ) || ( NULL == pEventData->pEventData ) || ( NULL == pEventData->pCBfnc )) @@ -10222,50 +10222,50 @@ WDI_ProcessTSMStatsReq WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } pwdiTSMParams = (WDI_TSMStatsReqParamsType*)pEventData->pEventData; wdiTSMRspCb = (WDI_TsmRspCb)pEventData->pCBfnc; /*------------------------------------------------------------------------- Check to see if we are in the middle of an association, if so queue, if - not it means it is free to process request + not it means it is free to process request -------------------------------------------------------------------------*/ wpalMutexAcquire(&pWDICtx->wptMutex); - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, pwdiTSMParams->wdiTsmStatsParamsInfo.bssid, &pBSSSes); - if ( NULL == pBSSSes ) + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, pwdiTSMParams->wdiTsmStatsParamsInfo.bssid, &pBSSSes); + if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiTSMParams->wdiTsmStatsParamsInfo.bssid)); wpalMutexRelease(&pWDICtx->wptMutex); - return WDI_STATUS_E_NOT_ALLOWED; + return WDI_STATUS_E_NOT_ALLOWED; } /*------------------------------------------------------------------------ Check if this BSS is being currently processed or queued, - if queued - queue the new request as well + if queued - queue the new request as well ------------------------------------------------------------------------*/ if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiTSMParams->wdiTsmStatsParamsInfo.bssid)); - wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); + wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); wpalMutexRelease(&pWDICtx->wptMutex); - return wdiStatus; + return wdiStatus; } wpalMutexRelease(&pWDICtx->wptMutex); /*----------------------------------------------------------------------- Get message buffer - ! TO DO : proper conversion into the HAL Message Request Format + ! TO DO : proper conversion into the HAL Message Request Format -----------------------------------------------------------------------*/ - if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_TSM_STATS_REQ, - sizeof(halTsmStatsReqParams), + if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_TSM_STATS_REQ, + sizeof(halTsmStatsReqParams), &pSendBuffer, &usDataOffset, &usSendSize))|| ( usSendSize < (usDataOffset + sizeof(halTsmStatsReqParams) ))) { @@ -10273,26 +10273,26 @@ WDI_ProcessTSMStatsReq "Unable to get send buffer in set bss key req %p %p %p", pEventData, pwdiTSMParams, wdiTSMRspCb); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } halTsmStatsReqParams.tsmTID = pwdiTSMParams->wdiTsmStatsParamsInfo.ucTid; wpalMemoryCopy(halTsmStatsReqParams.bssId, pwdiTSMParams->wdiTsmStatsParamsInfo.bssid, WDI_MAC_ADDR_LEN); - wpalMemoryCopy( pSendBuffer+usDataOffset, - &halTsmStatsReqParams, - sizeof(halTsmStatsReqParams)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + &halTsmStatsReqParams, + sizeof(halTsmStatsReqParams)); pWDICtx->wdiReqStatusCB = pwdiTSMParams->wdiReqStatusCB; - pWDICtx->pReqStatusUserData = pwdiTSMParams->pUserData; + pWDICtx->pReqStatusUserData = pwdiTSMParams->pUserData; /*------------------------------------------------------------------------- - Send TSM Stats Request to HAL + Send TSM Stats Request to HAL -------------------------------------------------------------------------*/ - return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, wdiTSMRspCb, pEventData->pUserData, - WDI_TSM_STATS_RESP); + WDI_TSM_STATS_RESP); }/*WDI_ProcessTSMStatsReq*/ #endif @@ -10608,7 +10608,7 @@ WDI_ProcessDelSTASelfReq #ifdef FEATURE_OEM_DATA_SUPPORT /** - @brief Process Start Oem Data Request function (called when Main + @brief Process Start Oem Data Request function (called when Main FSM allows it) @param pWDICtx: pointer to the WLAN DAL context @@ -10626,7 +10626,7 @@ WDI_ProcessStartOemDataReq { WDI_oemDataReqParamsType* pwdiOemDataReqParams = NULL; WDI_oemDataRspCb wdiOemDataRspCb; - wpt_uint8* pSendBuffer = NULL; + wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; wpt_uint16 reqLen; @@ -10653,7 +10653,7 @@ WDI_ProcessStartOemDataReq reqLen = sizeof(tStartOemDataReqParams); - if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, + if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_START_OEM_DATA_REQ, reqLen, &pSendBuffer, &usDataOffset, &usSendSize))|| (usSendSize < (usDataOffset + reqLen))) @@ -10672,14 +10672,14 @@ WDI_ProcessStartOemDataReq wpalMemoryCopy(&halStartOemDataReqParams->oemDataReq, &pwdiOemDataReqParams->wdiOemDataReqInfo.oemDataReq, OEM_DATA_REQ_SIZE); pWDICtx->wdiReqStatusCB = pwdiOemDataReqParams->wdiReqStatusCB; - pWDICtx->pReqStatusUserData = pwdiOemDataReqParams->pUserData; + pWDICtx->pReqStatusUserData = pwdiOemDataReqParams->pUserData; /*------------------------------------------------------------------------- Send Start Request to HAL -------------------------------------------------------------------------*/ - return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, - wdiOemDataRspCb, pEventData->pUserData, - WDI_START_OEM_DATA_RESP); + return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + wdiOemDataRspCb, pEventData->pUserData, + WDI_START_OEM_DATA_RESP); }/*WDI_ProcessStartOemDataReq*/ #endif @@ -11387,8 +11387,8 @@ WDI_ProcessConfigStaReq if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiConfigSTAParams->wdiReqInfo.macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -11402,7 +11402,7 @@ WDI_ProcessConfigStaReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiConfigSTAParams->wdiReqInfo.macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -11411,7 +11411,7 @@ WDI_ProcessConfigStaReq } wpalMutexRelease(&pWDICtx->wptMutex); - + /* Allocation of StaReqMsg Memory Based on Firmware Capabilities */ #ifdef WLAN_FEATURE_11AC if (WDI_getFwWlanFeatCaps(DOT11AC)) @@ -11465,7 +11465,7 @@ WDI_ProcessConfigStaReq /* Need to fill in the BSS index */ halConfigStaReqMsg.uStaParams.configStaParams.bssIdx = pBSSSes->ucBSSIdx; - + wpalMemoryCopy( pSendBuffer+usDataOffset, &halConfigStaReqMsg.uStaParams, uMsgSize); @@ -11542,8 +11542,8 @@ WDI_ProcessSetLinkStateReq if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, - "%s: Set link request received outside association session. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, + "%s: Set link request received outside association session. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiSetLinkParams->wdiLinkInfo.macBSSID)); } else @@ -11555,7 +11555,7 @@ WDI_ProcessSetLinkStateReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(pwdiSetLinkParams->wdiLinkInfo.macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -11679,8 +11679,8 @@ WDI_ProcessGetStatsReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -11694,7 +11694,7 @@ WDI_ProcessGetStatsReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -12008,8 +12008,8 @@ WDI_ProcessAddBAReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -12023,7 +12023,7 @@ WDI_ProcessAddBAReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -12145,8 +12145,8 @@ WDI_ProcessTriggerBAReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -12160,7 +12160,7 @@ WDI_ProcessTriggerBAReq if ( eWLAN_PAL_TRUE == pBSSSes->bAssocReqQueued ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, + "%s: Association sequence for this BSS exists but currently queued. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wdiStatus = WDI_QueueAssocRequest( pWDICtx, pBSSSes, pEventData); @@ -12557,7 +12557,7 @@ WDI_ProcessNvDownloadReq { wpalMemoryCopy(&pWDICtx->wdiCachedNvDownloadReq, pwdiNvDownloadReqParams, - sizeof(pWDICtx->wdiCachedNvDownloadReq)); + sizeof(pWDICtx->wdiCachedNvDownloadReq)); pWDICtx->pfncRspCB = pEventData->pCBfnc; pWDICtx->pRspCBUserData = pEventData->pUserData; @@ -13057,7 +13057,7 @@ WDI_ProcessEnterImpsReq WDI_EventInfoType* pEventData ) { - wpt_status wptStatus; + wpt_status wptStatus; WDI_EnterImpsRspCb wdiEnterImpsRspCb = NULL; wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; @@ -13094,7 +13094,7 @@ WDI_ProcessEnterImpsReq /* Reset the event to be not signalled */ wptStatus = wpalEventReset(&pWDICtx->setPowerStateEvent); - if ( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) + if ( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "WDI Init failed to reset an event"); @@ -13115,9 +13115,9 @@ WDI_ProcessEnterImpsReq /* * Wait for the event to be set once the ACK comes back from DXE */ - wptStatus = wpalEventWait(&pWDICtx->setPowerStateEvent, + wptStatus = wpalEventWait(&pWDICtx->setPowerStateEvent, WDI_SET_POWER_STATE_TIMEOUT); - if ( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) + if ( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "WDI Init failed to wait on an event"); @@ -13222,7 +13222,7 @@ WDI_ProcessEnterBmpsReq wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; tHalEnterBmpsReqParams enterBmpsReq; - wpt_status wptStatus; + wpt_status wptStatus; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ @@ -13268,7 +13268,7 @@ WDI_ProcessEnterBmpsReq // notify DTS that we are entering BMPS wptStatus = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_BMPS, WDI_SetPowerStateCb); - if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) + if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDTS_SetPowerState returned with status %d when trying to notify DTS that we are entering BMPS", wptStatus); @@ -13279,7 +13279,7 @@ WDI_ProcessEnterBmpsReq /* * Wait for the event to be set once the ACK comes back from DXE */ - wptStatus = wpalEventWait(&pWDICtx->setPowerStateEvent, + wptStatus = wpalEventWait(&pWDICtx->setPowerStateEvent, WDI_SET_POWER_STATE_TIMEOUT); if ( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { @@ -13302,9 +13302,9 @@ WDI_ProcessEnterBmpsReq enterBmpsReq.numBeaconPerRssiAverage = pwdiEnterBmpsReqParams->wdiEnterBmpsInfo.numBeaconPerRssiAverage; enterBmpsReq.bRssiFilterEnable = pwdiEnterBmpsReqParams->wdiEnterBmpsInfo.bRssiFilterEnable; - wpalMemoryCopy( pSendBuffer+usDataOffset, - &enterBmpsReq, - sizeof(enterBmpsReq)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + &enterBmpsReq, + sizeof(enterBmpsReq)); pWDICtx->wdiReqStatusCB = pwdiEnterBmpsReqParams->wdiReqStatusCB; pWDICtx->pReqStatusUserData = pwdiEnterBmpsReqParams->pUserData; @@ -13381,9 +13381,9 @@ WDI_ProcessExitBmpsReq exitBmpsReq.bssIdx = pwdiExitBmpsReqParams->wdiExitBmpsInfo.bssIdx; - wpalMemoryCopy( pSendBuffer+usDataOffset, - &exitBmpsReq, - sizeof(exitBmpsReq)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + &exitBmpsReq, + sizeof(exitBmpsReq)); pWDICtx->wdiReqStatusCB = pwdiExitBmpsReqParams->wdiReqStatusCB; pWDICtx->pReqStatusUserData = pwdiExitBmpsReqParams->pUserData; @@ -13980,15 +13980,15 @@ WDI_ProcessSetRSSIThresholdsReq pWDICtx->pReqStatusUserData = pwdiRSSIThresholdsParams->pUserData; /*------------------------------------------------------------------------- - Send Set threshold req to HAL + Send Set threshold req to HAL -------------------------------------------------------------------------*/ - if ((ret_status = WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + if ((ret_status = WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, wdiRSSIThresholdsCb, pEventData->pUserData, WDI_SET_RSSI_THRESHOLDS_RESP)) == WDI_STATUS_SUCCESS) { // When we are in idle state WDI_STARTED_ST and we receive indication for threshold // req. Then as a result of processing the threshold cross ind, we trigger - // a Set threshold req, then we need to indicate to WDI that it needs to - // go to busy state as a result of the indication as we sent a req in the + // a Set threshold req, then we need to indicate to WDI that it needs to + // go to busy state as a result of the indication as we sent a req in the // same WDI context. // Hence expected state transition is to busy. pWDICtx->ucExpectedStateTransition = WDI_BUSY_ST; @@ -14055,8 +14055,8 @@ WDI_ProcessHostOffloadReq goto failRequest; } - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, - pwdiHostOffloadParams->wdiHostOffloadInfo.bssId, + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, + pwdiHostOffloadParams->wdiHostOffloadInfo.bssId, &pBSSSes); if ( NULL == pBSSSes ) { @@ -14118,16 +14118,16 @@ WDI_ProcessHostOffloadReq nsOffloadParams.bssIdx = pBSSSes->ucBSSIdx; // copy hostOffloadParams into pSendBuffer - wpalMemoryCopy( pSendBuffer+usDataOffset, - &hostOffloadParams, - sizeof(hostOffloadParams)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + &hostOffloadParams, + sizeof(hostOffloadParams)); if(WDI_getFwWlanFeatCaps(SLM_SESSIONIZATION) ) { // copy nsOffloadParams into pSendBuffer - wpalMemoryCopy( pSendBuffer+usDataOffset+sizeof(hostOffloadParams), - &nsOffloadParams, - sizeof(nsOffloadParams)); + wpalMemoryCopy( pSendBuffer+usDataOffset+sizeof(hostOffloadParams), + &nsOffloadParams, + sizeof(nsOffloadParams)); } else { @@ -14135,9 +14135,9 @@ WDI_ProcessHostOffloadReq if( HAL_IPV6_NS_OFFLOAD == hostOffloadParams.offloadType ) { // copy nsOffloadParams into pSendBuffer - wpalMemoryCopy( pSendBuffer+usDataOffset+sizeof(hostOffloadParams), - &nsOffloadParams, - sizeof(nsOffloadParams)); + wpalMemoryCopy( pSendBuffer+usDataOffset+sizeof(hostOffloadParams), + &nsOffloadParams, + sizeof(nsOffloadParams)); } #endif } @@ -14217,8 +14217,8 @@ WDI_ProcessKeepAliveReq goto failRequest; } - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, - pwdiKeepAliveParams->wdiKeepAliveInfo.bssId, + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, + pwdiKeepAliveParams->wdiKeepAliveInfo.bssId, &pBSSSes); if ( NULL == pBSSSes ) { @@ -14335,8 +14335,8 @@ WDI_ProcessWowlAddBcPtrnReq goto failRequest; } - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, - pwdiWowlAddBcPtrnParams->wdiWowlAddBcPtrnInfo.bssId, + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, + pwdiWowlAddBcPtrnParams->wdiWowlAddBcPtrnInfo.bssId, &pBSSSes); if ( NULL == pBSSSes ) { @@ -14382,9 +14382,9 @@ WDI_ProcessWowlAddBcPtrnReq wowlAddBcPtrnReq.bssIdx = pBSSSes->ucBSSIdx; - wpalMemoryCopy( pSendBuffer+usDataOffset, - &wowlAddBcPtrnReq, - sizeof(wowlAddBcPtrnReq)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + &wowlAddBcPtrnReq, + sizeof(wowlAddBcPtrnReq)); pWDICtx->wdiReqStatusCB = pwdiWowlAddBcPtrnParams->wdiReqStatusCB; pWDICtx->pReqStatusUserData = pwdiWowlAddBcPtrnParams->pUserData; @@ -14459,8 +14459,8 @@ WDI_ProcessWowlDelBcPtrnReq goto failRequest; } - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, - pwdiWowlDelBcPtrnParams->wdiWowlDelBcPtrnInfo.bssId, + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, + pwdiWowlDelBcPtrnParams->wdiWowlDelBcPtrnInfo.bssId, &pBSSSes); if ( NULL == pBSSSes ) { @@ -14570,19 +14570,19 @@ WDI_ProcessWowlEnterReq pwdiWowlEnterParams->wdiWowlEnterInfo.ucWowMaxSleepUsec; #ifdef WLAN_WAKEUP_EVENTS - wowlEnterReq.ucWoWEAPIDRequestEnable = + wowlEnterReq.ucWoWEAPIDRequestEnable = pwdiWowlEnterParams->wdiWowlEnterInfo.ucWoWEAPIDRequestEnable; wowlEnterReq.ucWoWEAPOL4WayEnable = pwdiWowlEnterParams->wdiWowlEnterInfo.ucWoWEAPOL4WayEnable; - wowlEnterReq.ucWowNetScanOffloadMatch = + wowlEnterReq.ucWowNetScanOffloadMatch = pwdiWowlEnterParams->wdiWowlEnterInfo.ucWowNetScanOffloadMatch; - wowlEnterReq.ucWowGTKRekeyError = + wowlEnterReq.ucWowGTKRekeyError = pwdiWowlEnterParams->wdiWowlEnterInfo.ucWowGTKRekeyError; - wowlEnterReq.ucWoWBSSConnLoss = + wowlEnterReq.ucWoWBSSConnLoss = pwdiWowlEnterParams->wdiWowlEnterInfo.ucWoWBSSConnLoss; #endif // WLAN_WAKEUP_EVENTS @@ -14811,8 +14811,8 @@ WDI_ProcessAggrAddTSpecReq ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, macBSSID, &pBSSSes); if ( NULL == pBSSSes ) { - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, + "%s: Association sequence for this BSS does not yet exist. macBSSID " MAC_ADDRESS_STR, __func__, MAC_ADDR_ARRAY(macBSSID)); wpalMutexRelease(&pWDICtx->wptMutex); @@ -15106,7 +15106,7 @@ WDI_ProcessStartRsp wdiRspParams.wdiStatus = WDI_HAL_2_WDI_STATUS(startRspParams->status); /*Save the HAL Version*/ - pWDICtx->wlanVersion = wdiRspParams.wlanReportedVersion; + pWDICtx->wlanVersion = wdiRspParams.wlanReportedVersion; wpalMutexAcquire(&pWDICtx->wptMutex); if ( WDI_STATUS_SUCCESS == wdiRspParams.wdiStatus ) @@ -16906,27 +16906,27 @@ WDI_ProcessDelBARsp /** @brief Process TSM Stats Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessTsmStatsRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) { WDI_TsmRspCb wdiTsmStatsRspCb; - tTsmStatsRspMsg halTsmStatsRspMsg; + tTsmStatsRspMsg halTsmStatsRspMsg; WDI_TSMStatsRspParamsType wdiTsmStatsRspParams; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pWDICtx ) || ( NULL == pEventData ) || ( NULL == pEventData->pEventData)) @@ -16934,17 +16934,17 @@ WDI_ProcessTsmStatsRsp WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } wdiTsmStatsRspCb = (WDI_TsmRspCb)pWDICtx->pfncRspCB; /*------------------------------------------------------------------------- Unpack HAL Response Message - the header was already extracted by the - main Response Handling procedure + main Response Handling procedure -------------------------------------------------------------------------*/ - wpalMemoryCopy( &halTsmStatsRspMsg.tsmStatsRspParams, - pEventData->pEventData, + wpalMemoryCopy( &halTsmStatsRspMsg.tsmStatsRspParams, + pEventData->pEventData, sizeof(halTsmStatsRspMsg.tsmStatsRspParams)); wdiTsmStatsRspParams.UplinkPktQueueDly = halTsmStatsRspMsg.tsmStatsRspParams.UplinkPktQueueDly; @@ -16963,7 +16963,7 @@ WDI_ProcessTsmStatsRsp /*Notify UMAC*/ wdiTsmStatsRspCb( &wdiTsmStatsRspParams, pWDICtx->pRspCBUserData); - return WDI_STATUS_SUCCESS; + return WDI_STATUS_SUCCESS; }/*WDI_ProcessTsmStatsRsp*/ #endif @@ -17248,7 +17248,7 @@ WDI_ProcessDelSTASelfRsp #ifdef FEATURE_OEM_DATA_SUPPORT /** - @brief Start Oem Data Rsp function (called when a + @brief Start Oem Data Rsp function (called when a response is being received over the bus from HAL) @param pWDICtx: pointer to the WLAN DAL context @@ -18437,7 +18437,7 @@ WDI_ProcessEnterImpsRsp wdiStatus = WDI_HAL_2_WDI_STATUS(halStatus); - /* If IMPS req failed, riva is not power collapsed Put the DXE in FULL state. + /* If IMPS req failed, riva is not power collapsed Put the DXE in FULL state. * Other module states are taken care by PMC. * TODO: How do we take care of the case where IMPS is success, but riva power collapse fails?? */ @@ -18449,7 +18449,7 @@ WDI_ProcessEnterImpsRsp /* Call Back is not required as we are putting the DXE in FULL * and riva is already in full (IMPS RSP Failed)*/ wptStatus = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_FULL, NULL); - + if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDTS_SetPowerState returned with status %d when trying to notify DTS that host is entering Full Power state", wptStatus); @@ -18511,7 +18511,7 @@ WDI_ProcessExitImpsRsp // notify DTS that we are entering Full power wptStatus = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_FULL, NULL); - if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) + if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDTS_SetPowerState returned with status %d when trying to notify DTS that host is entering Full Power state", wptStatus); @@ -18581,20 +18581,20 @@ WDI_ProcessEnterBmpsRsp wdiEnterBmpsRspCb = (WDI_EnterBmpsRspCb)pWDICtx->pfncRspCB; - /* If BMPS req failed, riva is not power collapsed put the DXE in FULL state. + /* If BMPS req failed, riva is not power collapsed put the DXE in FULL state. * Other module states are taken care by PMC. * TODO: How do we take care of the case where BMPS is success, but riva power collapse fails?? */ - if (wdiEnterBmpsRspparams.wdiStatus != WDI_STATUS_SUCCESS) - { + if (wdiEnterBmpsRspparams.wdiStatus != WDI_STATUS_SUCCESS) + { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDI Process Enter BMPS RSP failed With HAL Status Code: %d", - halStatus); + halStatus); /* Call Back is not required as we are putting the DXE in FULL * and riva is already in FULL (BMPS RSP Failed)*/ wptStatus = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_FULL, NULL); - if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) + if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDTS_SetPowerState returned with status %d when trying to notify DTS that host is entering Full Power state", wptStatus); @@ -18602,7 +18602,7 @@ WDI_ProcessEnterBmpsRsp } pWDICtx->bInBmps = eWLAN_PAL_FALSE; } - + /*Notify UMAC*/ wdiEnterBmpsRspCb( &wdiEnterBmpsRspparams, pWDICtx->pRspCBUserData); @@ -18650,7 +18650,7 @@ WDI_ProcessExitBmpsRsp /*------------------------------------------------------------------------- Extract response and send it to UMAC -------------------------------------------------------------------------*/ - + if(WDI_getFwWlanFeatCaps(SLM_SESSIONIZATION)) { wpalMemoryCopy( &halExitBmpsRsp, @@ -18668,7 +18668,7 @@ WDI_ProcessExitBmpsRsp // notify DTS that we are entering Full power wptStatus = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_FULL, NULL); - if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) + if( eWLAN_PAL_STATUS_SUCCESS != wptStatus ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WDTS_SetPowerState returned with status %d when trying to notify DTS that host is entering Full Power state", wptStatus); @@ -18778,7 +18778,7 @@ WDI_ProcessExitUapsdRsp eHalStatus halStatus; WDI_ExitUapsdRspCb wdiExitUapsdRspCb; tHalExitUapsdRspParams halExitUapsdRsp; - WDI_ExitUapsdRspParamsType wdiExitUapsdRspParams; + WDI_ExitUapsdRspParamsType wdiExitUapsdRspParams; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------- @@ -18803,7 +18803,7 @@ WDI_ProcessExitUapsdRsp wpalMemoryCopy( &halExitUapsdRsp, pEventData->pEventData, sizeof(halExitUapsdRsp)); - + wdiExitUapsdRspParams.wdiStatus = WDI_HAL_2_WDI_STATUS(halExitUapsdRsp.status); wdiExitUapsdRspParams.bssIdx = halExitUapsdRsp.bssIdx; } @@ -19261,13 +19261,13 @@ WDI_ProcessWowlAddBcPtrnRsp pEventData->pEventData, sizeof(halAddWowlBcastPtrRsp)); - wdiWowlAddBcPtrRsp.wdiStatus = + wdiWowlAddBcPtrRsp.wdiStatus = WDI_HAL_2_WDI_STATUS(halAddWowlBcastPtrRsp.status); } else { halStatus = *((eHalStatus*)pEventData->pEventData); - wdiWowlAddBcPtrRsp.wdiStatus = + wdiWowlAddBcPtrRsp.wdiStatus = WDI_HAL_2_WDI_STATUS(halStatus); } @@ -19323,7 +19323,7 @@ WDI_ProcessWowlDelBcPtrnRsp pEventData->pEventData, sizeof(halDelWowlBcastPtrRsp)); - wdiWowlDelBcstPtrRsp.wdiStatus = + wdiWowlDelBcstPtrRsp.wdiStatus = WDI_HAL_2_WDI_STATUS(halDelWowlBcastPtrRsp.status); } else @@ -19773,7 +19773,7 @@ WDI_ProcessLowRSSIInd sizeof(tHalRSSINotification)); /*Fill in the indication parameters*/ - wdiInd.wdiIndicationType = WDI_RSSI_NOTIFICATION_IND; + wdiInd.wdiIndicationType = WDI_RSSI_NOTIFICATION_IND; wdiInd.wdiIndicationData.wdiLowRSSIInfo.bRssiThres1PosCross = halRSSINotificationIndMsg.rssiNotificationParams.bRssiThres1PosCross; wdiInd.wdiIndicationData.wdiLowRSSIInfo.bRssiThres1NegCross = @@ -20737,8 +20737,8 @@ WDI_ProcessHALDumpCmdRsp wdiHALDumpCmdRsp.usBufferLen = 0; wdiHALDumpCmdRsp.pBuffer = NULL; - wpalMemoryCopy( &halDumpCmdRspParams, - pEventData->pEventData, + wpalMemoryCopy( &halDumpCmdRspParams, + pEventData->pEventData, sizeof(tHalDumpCmdRspParams)); wdiHALDumpCmdRsp.wdiStatus = @@ -20752,7 +20752,7 @@ WDI_ProcessHALDumpCmdRsp wdiHALDumpCmdRsp.pBuffer = wpalMemoryAllocate(halDumpCmdRspParams.rspLength); wpalMemoryCopy( wdiHALDumpCmdRsp.pBuffer, - &halDumpCmdRspParams.rspBuffer, + &halDumpCmdRspParams.rspBuffer, halDumpCmdRspParams.rspLength); } @@ -21087,7 +21087,7 @@ WDI_GetMessageBuffer /* Fill msgVersion */ #ifdef WLAN_FEATURE_11AC if (WDI_getFwWlanFeatCaps(DOT11AC)) - halMsgHeader.msgVersion = WLAN_HAL_MSG_VERSION1; + halMsgHeader.msgVersion = WLAN_HAL_MSG_VERSION1; else #endif halMsgHeader.msgVersion = WLAN_HAL_MSG_VERSION0; @@ -21175,12 +21175,12 @@ WDI_SendMsg if ( NULL != pWDICtx->wdiReqStatusCB ) { /*Inform originator whether request went through or not*/ - WDI_ReqStatusCb callback = pWDICtx->wdiReqStatusCB; - void *callbackContext = pWDICtx->pReqStatusUserData; + WDI_ReqStatusCb callback = pWDICtx->wdiReqStatusCB; + void *callbackContext = pWDICtx->pReqStatusUserData; pWDICtx->wdiReqStatusCB = NULL; pWDICtx->pReqStatusUserData = NULL; callback(wdiStatus, callbackContext); - + /*For WDI requests which have registered a request callback, inform the WDA caller of the same via setting the return value (wdiStatus) to WDI_STATUS_PENDING. This makes sure that WDA doesnt @@ -21413,7 +21413,7 @@ WDI_ResponseTimerCB pWDICtx->uTimeStampRspTmrExp); } - return; + return; }/*WDI_ResponseTimerCB*/ @@ -21574,14 +21574,14 @@ WDI_PALCtrlMsgCB switch ( pEventData->wdiRequest ) { - case WDI_STOP_REQ: + case WDI_STOP_REQ: wdiStatus = WDI_PostMainEvent(&gWDICb, WDI_STOP_EVENT, pEventData); break; case WDI_NV_DOWNLOAD_REQ: // When WDI State is WDI_STARTED_ST, send WDI request message with event type WDI_REQUEST_EVENT. // In this case, because this request is called from response process, we could call WDI_ProcessRequest() directly. - if (pWDICtx->uGlobalState == WDI_STARTED_ST) + if (pWDICtx->uGlobalState == WDI_STARTED_ST) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, "%s: WDI_NV_DOWNLOAD_REQ called in WDI_STARTED_ST - send with WDI_REQUEST_EVENT", __func__); @@ -21591,10 +21591,10 @@ WDI_PALCtrlMsgCB { wdiStatus = WDI_PostMainEvent(&gWDICb, WDI_START_EVENT, pEventData); } - + break; - default: + default: wdiStatus = WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, pEventData); break; }/*switch ( pEventData->wdiRequest )*/ @@ -22109,8 +22109,8 @@ WDI_FindAssocSession ------------------------------------------------------------------------*/ for ( i = 0; i < WDI_MAX_BSS_SESSIONS; i++ ) { - if ( (pWDICtx->aBSSSessions[i].bInUse == eWLAN_PAL_TRUE) && - (eWLAN_PAL_TRUE == + if ( (pWDICtx->aBSSSessions[i].bInUse == eWLAN_PAL_TRUE) && + (eWLAN_PAL_TRUE == wpalMemoryCompare(pWDICtx->aBSSSessions[i].macBSSID, macBSSID, WDI_MAC_ADDR_LEN)) ) { @@ -22655,10 +22655,10 @@ WDI_2_HAL_REQ_TYPE case WDI_ADD_BA_REQ: return WLAN_HAL_ADD_BA_REQ; case WDI_DEL_BA_REQ: - return WLAN_HAL_DEL_BA_REQ; + return WLAN_HAL_DEL_BA_REQ; #ifdef FEATURE_WLAN_CCX case WDI_TSM_STATS_REQ: - return WLAN_HAL_TSM_STATS_REQ; + return WLAN_HAL_TSM_STATS_REQ; #endif case WDI_CH_SWITCH_REQ: return WLAN_HAL_CH_SWITCH_REQ; @@ -22794,11 +22794,11 @@ WDI_2_HAL_REQ_TYPE #endif /* WLAN_FEATURE_GTK_OFFLOAD */ case WDI_INIT_SCAN_CON_REQ: - return WLAN_HAL_INIT_SCAN_CON_REQ; + return WLAN_HAL_INIT_SCAN_CON_REQ; case WDI_SET_POWER_PARAMS_REQ: - return WLAN_HAL_SET_POWER_PARAMS_REQ; + return WLAN_HAL_SET_POWER_PARAMS_REQ; case WDI_SET_TM_LEVEL_REQ: - return WLAN_HAL_SET_THERMAL_MITIGATION_REQ; + return WLAN_HAL_SET_THERMAL_MITIGATION_REQ; case WDI_FEATURE_CAPS_EXCHANGE_REQ: return WLAN_HAL_FEATURE_CAPS_EXCHANGE_REQ; #ifdef WLAN_FEATURE_11AC @@ -23160,7 +23160,7 @@ WDI_2_HAL_SCAN_MODE case WDI_SCAN_MODE_SCAN: return eHAL_SYS_MODE_SCAN; case WDI_SCAN_MODE_PROMISC: - return eHAL_SYS_MODE_PROMISC; + return eHAL_SYS_MODE_PROMISC; case WDI_SCAN_MODE_SUSPEND_LINK: return eHAL_SYS_MODE_SUSPEND_LINK; case WDI_SCAN_MODE_ROAM_SCAN: @@ -23209,7 +23209,7 @@ WDI_2_HAL_SEC_CH_OFFSET break; } - return PHY_CHANNEL_BONDING_STATE_MAX; + return PHY_CHANNEL_BONDING_STATE_MAX; }/*WDI_2_HAL_SEC_CH_OFFSET*/ /*Convert WDI BSS type into HAL BSS type*/ @@ -24342,12 +24342,12 @@ WDI_PackPreferredNetworkList /*------------------------------------------------------------------------- Fill prefNetwListParams from pwdiPNOScanReqParams->wdiPNOScanInfo -------------------------------------------------------------------------*/ - pPrefNetwListParams->enable = + pPrefNetwListParams->enable = pwdiPNOScanReqParams->wdiPNOScanInfo.bEnable; - pPrefNetwListParams->modePNO = + pPrefNetwListParams->modePNO = pwdiPNOScanReqParams->wdiPNOScanInfo.wdiModePNO; - pPrefNetwListParams->ucNetworksCount = + pPrefNetwListParams->ucNetworksCount = (pwdiPNOScanReqParams->wdiPNOScanInfo.ucNetworksCount < WLAN_HAL_PNO_MAX_SUPP_NETWORKS)? pwdiPNOScanReqParams->wdiPNOScanInfo.ucNetworksCount : @@ -24370,11 +24370,11 @@ WDI_PackPreferredNetworkList pPrefNetwListParams->aNetworks[i].ssId.length); /*Authentication type for the network*/ - pPrefNetwListParams->aNetworks[i].authentication = + pPrefNetwListParams->aNetworks[i].authentication = (tAuthType)pwdiPNOScanReqParams->wdiPNOScanInfo.aNetworks[i].wdiAuth; /*Encryption type for the network*/ - pPrefNetwListParams->aNetworks[i].encryption = + pPrefNetwListParams->aNetworks[i].encryption = (tEdType)pwdiPNOScanReqParams->wdiPNOScanInfo.aNetworks[i].wdiEncryption; /*Indicate the channel on which the Network can be found @@ -24399,7 +24399,7 @@ WDI_PackPreferredNetworkList pPrefNetwListParams->aNetworks[i].ssId.ssId); } - pPrefNetwListParams->scanTimers.ucScanTimersCount = + pPrefNetwListParams->scanTimers.ucScanTimersCount = (pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.ucScanTimersCount < WLAN_HAL_PNO_MAX_SCAN_TIMERS)? pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.ucScanTimersCount : @@ -24413,32 +24413,32 @@ WDI_PackPreferredNetworkList for ( i = 0; i < pPrefNetwListParams->scanTimers.ucScanTimersCount; i++ ) { - pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerValue = + pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerValue = pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.aTimerValues[i].uTimerValue; - pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerRepeat = + pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerRepeat = pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.aTimerValues[i].uTimerRepeat; } /*Copy the probe template*/ - pPrefNetwListParams->us24GProbeSize = + pPrefNetwListParams->us24GProbeSize = (pwdiPNOScanReqParams->wdiPNOScanInfo.us24GProbeSize< WLAN_HAL_PNO_MAX_PROBE_SIZE)? pwdiPNOScanReqParams->wdiPNOScanInfo.us24GProbeSize: WLAN_HAL_PNO_MAX_PROBE_SIZE; - wpalMemoryCopy(pPrefNetwListParams->a24GProbeTemplate, + wpalMemoryCopy(pPrefNetwListParams->a24GProbeTemplate, pwdiPNOScanReqParams->wdiPNOScanInfo.a24GProbeTemplate, - pPrefNetwListParams->us24GProbeSize); + pPrefNetwListParams->us24GProbeSize); - pPrefNetwListParams->us5GProbeSize = + pPrefNetwListParams->us5GProbeSize = (pwdiPNOScanReqParams->wdiPNOScanInfo.us5GProbeSize < WLAN_HAL_PNO_MAX_PROBE_SIZE)? pwdiPNOScanReqParams->wdiPNOScanInfo.us5GProbeSize: WLAN_HAL_PNO_MAX_PROBE_SIZE; - wpalMemoryCopy(pPrefNetwListParams->a5GProbeTemplate, + wpalMemoryCopy(pPrefNetwListParams->a5GProbeTemplate, pwdiPNOScanReqParams->wdiPNOScanInfo.a5GProbeTemplate, - pPrefNetwListParams->us5GProbeSize); + pPrefNetwListParams->us5GProbeSize); /*Set the output values*/ *ppSendBuffer = pSendBuffer; @@ -24495,12 +24495,12 @@ WDI_PackPreferredNetworkListNew /*------------------------------------------------------------------------- Fill prefNetwListParams from pwdiPNOScanReqParams->wdiPNOScanInfo -------------------------------------------------------------------------*/ - pPrefNetwListParams->enable = + pPrefNetwListParams->enable = pwdiPNOScanReqParams->wdiPNOScanInfo.bEnable; - pPrefNetwListParams->modePNO = + pPrefNetwListParams->modePNO = pwdiPNOScanReqParams->wdiPNOScanInfo.wdiModePNO; - pPrefNetwListParams->ucNetworksCount = + pPrefNetwListParams->ucNetworksCount = (pwdiPNOScanReqParams->wdiPNOScanInfo.ucNetworksCount < WLAN_HAL_PNO_MAX_SUPP_NETWORKS)? pwdiPNOScanReqParams->wdiPNOScanInfo.ucNetworksCount : @@ -24523,20 +24523,20 @@ WDI_PackPreferredNetworkListNew pPrefNetwListParams->aNetworks[i].ssId.length); /*Authentication type for the network*/ - pPrefNetwListParams->aNetworks[i].authentication = + pPrefNetwListParams->aNetworks[i].authentication = (tAuthType)pwdiPNOScanReqParams->wdiPNOScanInfo.aNetworks[i].wdiAuth; /*Encryption type for the network*/ - pPrefNetwListParams->aNetworks[i].encryption = + pPrefNetwListParams->aNetworks[i].encryption = (tEdType)pwdiPNOScanReqParams->wdiPNOScanInfo.aNetworks[i].wdiEncryption; /*SSID bcast type for the network*/ - pPrefNetwListParams->aNetworks[i].bcastNetworkType = + pPrefNetwListParams->aNetworks[i].bcastNetworkType = (tSSIDBcastType)pwdiPNOScanReqParams->wdiPNOScanInfo.aNetworks[i].wdiBcastNetworkType; /*Indicate the channel on which the Network can be found 0 - if all channels */ - pPrefNetwListParams->aNetworks[i].ucChannelCount = + pPrefNetwListParams->aNetworks[i].ucChannelCount = pwdiPNOScanReqParams->wdiPNOScanInfo.aNetworks[i].ucChannelCount; wpalMemoryCopy(pPrefNetwListParams->aNetworks[i].aChannels, @@ -24553,7 +24553,7 @@ WDI_PackPreferredNetworkListNew pPrefNetwListParams->aNetworks[i].ssId.ssId); } - pPrefNetwListParams->scanTimers.ucScanTimersCount = + pPrefNetwListParams->scanTimers.ucScanTimersCount = (pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.ucScanTimersCount < WLAN_HAL_PNO_MAX_SCAN_TIMERS)? pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.ucScanTimersCount : @@ -24567,32 +24567,32 @@ WDI_PackPreferredNetworkListNew for ( i = 0; i < pPrefNetwListParams->scanTimers.ucScanTimersCount; i++ ) { - pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerValue = + pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerValue = pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.aTimerValues[i].uTimerValue; - pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerRepeat = + pPrefNetwListParams->scanTimers.aTimerValues[i].uTimerRepeat = pwdiPNOScanReqParams->wdiPNOScanInfo.scanTimers.aTimerValues[i].uTimerRepeat; } /*Copy the probe template*/ - pPrefNetwListParams->us24GProbeSize = + pPrefNetwListParams->us24GProbeSize = (pwdiPNOScanReqParams->wdiPNOScanInfo.us24GProbeSize< WLAN_HAL_PNO_MAX_PROBE_SIZE)? pwdiPNOScanReqParams->wdiPNOScanInfo.us24GProbeSize: WLAN_HAL_PNO_MAX_PROBE_SIZE; - wpalMemoryCopy(pPrefNetwListParams->a24GProbeTemplate, + wpalMemoryCopy(pPrefNetwListParams->a24GProbeTemplate, pwdiPNOScanReqParams->wdiPNOScanInfo.a24GProbeTemplate, - pPrefNetwListParams->us24GProbeSize); + pPrefNetwListParams->us24GProbeSize); - pPrefNetwListParams->us5GProbeSize = + pPrefNetwListParams->us5GProbeSize = (pwdiPNOScanReqParams->wdiPNOScanInfo.us5GProbeSize < WLAN_HAL_PNO_MAX_PROBE_SIZE)? pwdiPNOScanReqParams->wdiPNOScanInfo.us5GProbeSize: WLAN_HAL_PNO_MAX_PROBE_SIZE; - wpalMemoryCopy(pPrefNetwListParams->a5GProbeTemplate, + wpalMemoryCopy(pPrefNetwListParams->a5GProbeTemplate, pwdiPNOScanReqParams->wdiPNOScanInfo.a5GProbeTemplate, - pPrefNetwListParams->us5GProbeSize); + pPrefNetwListParams->us5GProbeSize); /*Set the output values*/ @@ -25277,7 +25277,7 @@ WDI_ProcessUpdateScanParamsReq // // Fill updateScanParams from pwdiUpdateScanParams->wdiUpdateScanParamsInfo // - if ( pWDICtx->wlanVersion.revision < 1 ) + if ( pWDICtx->wlanVersion.revision < 1 ) { wdiStatus = WDI_PackUpdateScanParamsReq( pWDICtx, pwdiUpdateScanParams, &pSendBuffer, &usSendSize); @@ -25287,7 +25287,7 @@ WDI_ProcessUpdateScanParamsReq wdiStatus = WDI_PackUpdateScanParamsReqEx( pWDICtx, pwdiUpdateScanParams, &pSendBuffer, &usSendSize); } - + if(WDI_STATUS_SUCCESS != wdiStatus) { //memory allocation failed @@ -25298,7 +25298,7 @@ WDI_ProcessUpdateScanParamsReq Send Get STA Request to HAL -------------------------------------------------------------------------*/ return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, - wdiUpdateScanParamsCb, pEventData->pUserData, + wdiUpdateScanParamsCb, pEventData->pUserData, WDI_UPDATE_SCAN_PARAMS_RESP); } @@ -25739,7 +25739,7 @@ WDI_Process8023MulticastListReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "Failed to alloc in WDI_Process8023MulticastListReq"); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /*------------------------------------------------------------------------- @@ -25758,15 +25758,15 @@ WDI_Process8023MulticastListReq return WDI_STATUS_E_FAILURE; } - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, - pwdiFltPktSetMcListReqParamsType->mcAddrList.bssId, - &pBSSSes); + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, + pwdiFltPktSetMcListReqParamsType->mcAddrList.bssId, + &pBSSSes); if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, " %s : Association for this BSSID does not exist",__func__); - wpalMemoryFree(pRcvFltMcAddrListType); - return WDI_STATUS_E_FAILURE; + wpalMemoryFree(pRcvFltMcAddrListType); + return WDI_STATUS_E_FAILURE; } /*----------------------------------------------------------------------- @@ -25788,7 +25788,7 @@ WDI_Process8023MulticastListReq return WDI_STATUS_E_FAILURE; } - pRcvFltMcAddrListType->cMulticastAddr = + pRcvFltMcAddrListType->cMulticastAddr = pwdiFltPktSetMcListReqParamsType->mcAddrList.ulMulticastAddrCnt; for( i = 0; i < pRcvFltMcAddrListType->cMulticastAddr; i++ ) { @@ -25798,9 +25798,9 @@ WDI_Process8023MulticastListReq } pRcvFltMcAddrListType->bssIdx = pBSSSes->ucBSSIdx; - wpalMemoryCopy( pSendBuffer+usDataOffset, - pRcvFltMcAddrListType, - sizeof(tHalRcvFltMcAddrListType)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + pRcvFltMcAddrListType, + sizeof(tHalRcvFltMcAddrListType)); pWDICtx->wdiReqStatusCB = pwdiFltPktSetMcListReqParamsType->wdiReqStatusCB; pWDICtx->pReqStatusUserData = pwdiFltPktSetMcListReqParamsType->pUserData; @@ -25862,20 +25862,20 @@ WDI_ProcessReceiveFilterSetFilterReq return WDI_STATUS_E_FAILURE; } - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, - pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.bssId, - &pBSSSes); + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, + pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.bssId, + &pBSSSes); if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, " %s : Association for this BSSID does not exist",__func__); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } if( WDI_getFwWlanFeatCaps(SLM_SESSIONIZATION) ) { - usSessRcvPktFilterCfgSize = sizeof(tHalSessionizedRcvPktFilterCfgType) + + usSessRcvPktFilterCfgSize = sizeof(tHalSessionizedRcvPktFilterCfgType) + ((pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.numFieldParams - 1) * sizeof(tHalSessionizedRcvPktFilterCfgType)); @@ -25893,7 +25893,7 @@ WDI_ProcessReceiveFilterSetFilterReq } wpalMemoryZero(pSessRcvPktFilterCfg, usSessRcvPktFilterCfgSize); - + /*----------------------------------------------------------------------- Get message buffer -----------------------------------------------------------------------*/ @@ -25916,7 +25916,7 @@ WDI_ProcessReceiveFilterSetFilterReq WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "UsData Off %d UsSend %d cfg %p",usDataOffset, usSendSize,pSessRcvPktFilterCfg); - + pSessRcvPktFilterCfg->filterId = pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.filterId; pSessRcvPktFilterCfg->filterType = pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.filterType; pSessRcvPktFilterCfg->numParams = pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.numFieldParams; @@ -25928,9 +25928,9 @@ WDI_ProcessReceiveFilterSetFilterReq "Out: FID %d FT %d",pSessRcvPktFilterCfg->filterId, pSessRcvPktFilterCfg->filterType); WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "NParams %d CT %d",pSessRcvPktFilterCfg->numParams, + "NParams %d CT %d",pSessRcvPktFilterCfg->numParams, pSessRcvPktFilterCfg->coleasceTime); - + for ( i = 0; i < pSessRcvPktFilterCfg->numParams; i++ ) { pSessRcvPktFilterCfg->paramsData[i].protocolLayer = @@ -25941,14 +25941,14 @@ WDI_ProcessReceiveFilterSetFilterReq pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.paramsData[i].dataOffset; pSessRcvPktFilterCfg->paramsData[i].dataLength = pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.paramsData[i].dataLength; - + wpalMemoryCopy(&pSessRcvPktFilterCfg->paramsData[i].compareData, &pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.paramsData[i].compareData, 8); wpalMemoryCopy(&pSessRcvPktFilterCfg->paramsData[i].dataMask, &pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.paramsData[i].dataMask, 8); - + WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "Out:Proto %d Comp Flag %d", pSessRcvPktFilterCfg->paramsData[i].protocolLayer, @@ -25958,7 +25958,7 @@ WDI_ProcessReceiveFilterSetFilterReq "Data Offset %d Data Len %d", pSessRcvPktFilterCfg->paramsData[i].dataOffset, pSessRcvPktFilterCfg->paramsData[i].dataLength); - + WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "CData: %d:%d:%d:%d:%d:%d", pSessRcvPktFilterCfg->paramsData[i].compareData[0], @@ -25967,7 +25967,7 @@ WDI_ProcessReceiveFilterSetFilterReq pSessRcvPktFilterCfg->paramsData[i].compareData[3], pSessRcvPktFilterCfg->paramsData[i].compareData[4], pSessRcvPktFilterCfg->paramsData[i].compareData[5]); - + WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "MData: %d:%d:%d:%d:%d:%d", pSessRcvPktFilterCfg->paramsData[i].dataMask[0], @@ -25977,12 +25977,12 @@ WDI_ProcessReceiveFilterSetFilterReq pSessRcvPktFilterCfg->paramsData[i].dataMask[4], pSessRcvPktFilterCfg->paramsData[i].dataMask[5]); } - + wpalMemoryCopy( pSendBuffer+usDataOffset, pSessRcvPktFilterCfg, usSessRcvPktFilterCfgSize); - - + + pWDICtx->wdiReqStatusCB = pwdiSetRcvPktFilterReqInfo->wdiReqStatusCB; pWDICtx->pReqStatusUserData = pwdiSetRcvPktFilterReqInfo->pUserData; @@ -25992,7 +25992,7 @@ WDI_ProcessReceiveFilterSetFilterReq /*If SLM_SESSIONIZATION is not supported then do this */ else { - usRcvPktFilterCfgSize = sizeof(tHalRcvPktFilterCfgType) + + usRcvPktFilterCfgSize = sizeof(tHalRcvPktFilterCfgType) + ((pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.numFieldParams - 1) * sizeof(tHalRcvPktFilterParams)); @@ -26042,7 +26042,7 @@ WDI_ProcessReceiveFilterSetFilterReq "Out: FID %d FT %d",pRcvPktFilterCfg->filterId, pRcvPktFilterCfg->filterType); WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, - "NParams %d CT %d",pRcvPktFilterCfg->numParams, + "NParams %d CT %d",pRcvPktFilterCfg->numParams, pRcvPktFilterCfg->coalesceTime); for ( i = 0; i < pRcvPktFilterCfg->numParams; i++ ) @@ -26157,14 +26157,14 @@ WDI_ProcessFilterMatchCountReq return WDI_STATUS_E_FAILURE; } - ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, - pwdiRcvFltPktMatchCntReqParamsType->bssId, + ucCurrentBSSSesIdx = WDI_FindAssocSession( pWDICtx, + pwdiRcvFltPktMatchCntReqParamsType->bssId, &pBSSSes); if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, " %s : Association for this BSSID does not exist",__func__); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /*----------------------------------------------------------------------- @@ -26249,14 +26249,14 @@ WDI_ProcessReceiveFilterClearFilterReq return WDI_STATUS_E_FAILURE; } - ucCurrentSessionId = WDI_FindAssocSession( pWDICtx, - pwdiRcvFltPktClearReqParamsType->filterClearParam.bssId, - &pBSSSes); + ucCurrentSessionId = WDI_FindAssocSession( pWDICtx, + pwdiRcvFltPktClearReqParamsType->filterClearParam.bssId, + &pBSSSes); if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, " %s : Association for this BSSID does not exist",__func__); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /*----------------------------------------------------------------------- @@ -26348,9 +26348,9 @@ WDI_Process8023MulticastListRsp pEventData->pEventData, sizeof(halRcvFltPktSetMcListRsp)); - wdiRcvFltPktSetMcListRspInfo.wdiStatus = + wdiRcvFltPktSetMcListRspInfo.wdiStatus = WDI_HAL_2_WDI_STATUS(halRcvFltPktSetMcListRsp.status); - wdiRcvFltPktSetMcListRspInfo.bssIdx = + wdiRcvFltPktSetMcListRspInfo.bssIdx = halRcvFltPktSetMcListRsp.bssIdx; } else @@ -26477,7 +26477,7 @@ WDI_ProcessFilterMatchCountRsp wpalMemoryCopy( &halRcvFltrPktMatachRsp, pEventData->pEventData, sizeof(halRcvFltrPktMatachRsp)); - + wdiRcvFltPktMatchRspParams.wdiStatus = WDI_HAL_2_WDI_STATUS(halRcvFltrPktMatachRsp.status); wdiRcvFltPktMatchRspParams.bssIdx = halRcvFltrPktMatachRsp.bssIdx; } @@ -26542,9 +26542,9 @@ WDI_ProcessReceiveFilterClearFilterRsp pEventData->pEventData, sizeof(halRcvFltPktClearRspMsg)); - wdiRcvFltPktClearRspParamsType.wdiStatus = + wdiRcvFltPktClearRspParamsType.wdiStatus = WDI_HAL_2_WDI_STATUS(halRcvFltPktClearRspMsg.status); - wdiRcvFltPktClearRspParamsType.bssIdx = + wdiRcvFltPktClearRspParamsType.bssIdx = halRcvFltPktClearRspMsg.bssIdx; } else @@ -26993,30 +26993,30 @@ WDI_ProcessDHCPStopInd #ifdef WLAN_FEATURE_GTK_OFFLOAD /** - @brief WDI_GTKOffloadReq will be called when the upper MAC + @brief WDI_GTKOffloadReq will be called when the upper MAC wants to set GTK Rekey Counter while in power save. Upon the call of this API the WLAN DAL will pack and send a HAL GTK offload request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiGtkOffloadParams: the GTK offload as specified + @param pwdiGtkOffloadParams: the GTK offload as specified by the Device Interface - + wdiGtkOffloadCb: callback for passing back the response of the GTK offload operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_GTKOffloadReq ( WDI_GtkOffloadReqMsg* pwdiGtkOffloadReqMsg, @@ -27028,23 +27028,23 @@ WDI_GTKOffloadReq /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------ - Sanity Check + Sanity Check ------------------------------------------------------------------------*/ if ( eWLAN_PAL_FALSE == gWDIInitialized ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "WDI API call before module is initialized - Fail request"); - return WDI_STATUS_E_NOT_ALLOWED; + return WDI_STATUS_E_NOT_ALLOWED; } /*------------------------------------------------------------------------ Fill in Event data and post to the Main FSM ------------------------------------------------------------------------*/ wdiEventData.wdiRequest = WDI_GTK_OFFLOAD_REQ; - wdiEventData.pEventData = pwdiGtkOffloadReqMsg; + wdiEventData.pEventData = pwdiGtkOffloadReqMsg; wdiEventData.uEventDataSize = sizeof(*pwdiGtkOffloadReqMsg); - wdiEventData.pCBfnc = wdiGtkOffloadCb; + wdiEventData.pCBfnc = wdiGtkOffloadCb; wdiEventData.pUserData = pUserData; return WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, &wdiEventData); @@ -27052,32 +27052,32 @@ WDI_GTKOffloadReq /** - @brief WDI_GTKOffloadGetInfoReq will be called when the upper + @brief WDI_GTKOffloadGetInfoReq will be called when the upper MAC wants to get GTK Rekey Counter while in power save. Upon the call of this API the WLAN DAL will pack and send a HAL GTK offload request message to the lower RIVA sub-system if DAL is in state STARTED. In state BUSY this request will be queued. Request won't - be allowed in any other state. + be allowed in any other state. WDI_PostAssocReq must have been called. - @param pwdiGtkOffloadGetInfoReqMsg: the GTK Offload + @param pwdiGtkOffloadGetInfoReqMsg: the GTK Offload Information Message as specified by the Device Interface - + wdiGtkOffloadGetInfoCb: callback for passing back the response of the GTK offload operation received from the device - + pUserData: user data will be passed back with the - callback - + callback + @see WDI_PostAssocReq @return Result of the function call */ -WDI_Status +WDI_Status WDI_GTKOffloadGetInfoReq ( WDI_GtkOffloadGetInfoReqMsg* pwdiGtkOffloadGetInfoReqMsg, @@ -27089,23 +27089,23 @@ WDI_GTKOffloadGetInfoReq /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------ - Sanity Check + Sanity Check ------------------------------------------------------------------------*/ if ( eWLAN_PAL_FALSE == gWDIInitialized ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "WDI API call before module is initialized - Fail request"); - return WDI_STATUS_E_NOT_ALLOWED; + return WDI_STATUS_E_NOT_ALLOWED; } /*------------------------------------------------------------------------ Fill in Event data and post to the Main FSM ------------------------------------------------------------------------*/ wdiEventData.wdiRequest = WDI_GTK_OFFLOAD_GETINFO_REQ; - wdiEventData.pEventData = pwdiGtkOffloadGetInfoReqMsg; + wdiEventData.pEventData = pwdiGtkOffloadGetInfoReqMsg; wdiEventData.uEventDataSize = sizeof(*pwdiGtkOffloadGetInfoReqMsg); - wdiEventData.pCBfnc = wdiGtkOffloadGetInfoCb; + wdiEventData.pCBfnc = wdiGtkOffloadGetInfoCb; wdiEventData.pUserData = pUserData; return WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, &wdiEventData); @@ -27113,24 +27113,24 @@ WDI_GTKOffloadGetInfoReq /** - @brief Process set GTK Offload Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + @brief Process set GTK Offload Request function + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGTKOffloadReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) { WDI_GtkOffloadReqMsg* pwdiGtkOffloadReqMsg = NULL; WDI_GtkOffloadCb wdiGtkOffloadCb = NULL; - wpt_uint8* pSendBuffer = NULL; + wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; tHalGtkOffloadReqParams gtkOffloadReqParams = {0}; @@ -27140,7 +27140,7 @@ WDI_ProcessGTKOffloadReq /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pEventData ) || ( NULL == (pwdiGtkOffloadReqMsg = (WDI_GtkOffloadReqMsg*)pEventData->pEventData)) || @@ -27155,7 +27155,7 @@ WDI_ProcessGTKOffloadReq /*----------------------------------------------------------------------- Get message buffer -----------------------------------------------------------------------*/ - if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_GTK_OFFLOAD_REQ, + if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_GTK_OFFLOAD_REQ, sizeof(gtkOffloadReqParams), &pSendBuffer, &usDataOffset, &usSendSize))|| ( usSendSize < (usDataOffset + sizeof(gtkOffloadReqParams) ))) @@ -27170,9 +27170,9 @@ WDI_ProcessGTKOffloadReq // // Fill gtkOffloadReqParams from pwdiGtkOffloadReqMsg->gtkOffloadReqParams // - ucCurrentSessionId = WDI_FindAssocSession( pWDICtx, - pwdiGtkOffloadReqMsg->gtkOffloadReqParams.bssId, - &pBSSSes); + ucCurrentSessionId = WDI_FindAssocSession( pWDICtx, + pwdiGtkOffloadReqMsg->gtkOffloadReqParams.bssId, + &pBSSSes); if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, @@ -27181,7 +27181,7 @@ WDI_ProcessGTKOffloadReq } gtkOffloadReqParams.bssIdx = pBSSSes->ucBSSIdx; - + gtkOffloadReqParams.ulFlags = pwdiGtkOffloadReqMsg->gtkOffloadReqParams.ulFlags; // Copy KCK wpalMemoryCopy(&(gtkOffloadReqParams.aKCK[0]), &(pwdiGtkOffloadReqMsg->gtkOffloadReqParams.aKCK[0]), 16); @@ -27190,18 +27190,18 @@ WDI_ProcessGTKOffloadReq // Copy KeyReplayCounter wpalMemoryCopy(&(gtkOffloadReqParams.ullKeyReplayCounter), &(pwdiGtkOffloadReqMsg->gtkOffloadReqParams.ullKeyReplayCounter), sizeof(v_U64_t)); - wpalMemoryCopy( pSendBuffer+usDataOffset, - >kOffloadReqParams, - sizeof(gtkOffloadReqParams)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + >kOffloadReqParams, + sizeof(gtkOffloadReqParams)); pWDICtx->wdiReqStatusCB = pwdiGtkOffloadReqMsg->wdiReqStatusCB; - pWDICtx->pReqStatusUserData = pwdiGtkOffloadReqMsg->pUserData; + pWDICtx->pReqStatusUserData = pwdiGtkOffloadReqMsg->pUserData; /*------------------------------------------------------------------------- - Send Get STA Request to HAL + Send Get STA Request to HAL -------------------------------------------------------------------------*/ - return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, - wdiGtkOffloadCb, pEventData->pUserData, WDI_GTK_OFFLOAD_RESP); + return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + wdiGtkOffloadCb, pEventData->pUserData, WDI_GTK_OFFLOAD_RESP); fail: // Release the message buffer so we don't leak @@ -27215,23 +27215,23 @@ failRequest: /** @brief Process GTK Offload Get Information Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGTKOffloadGetInfoReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) { WDI_GtkOffloadGetInfoReqMsg* pwdiGtkOffloadGetInfoReqMsg = NULL; WDI_GtkOffloadGetInfoCb wdiGtkOffloadGetInfoCb = NULL; - wpt_uint8* pSendBuffer = NULL; + wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; tHalGtkOffloadGetInfoReqParams halGtkOffloadGetInfoReqParams; @@ -27239,7 +27239,7 @@ WDI_ProcessGTKOffloadGetInfoReq WDI_BSSSessionType* pBSSSes = NULL; /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pEventData ) || ( NULL == (pwdiGtkOffloadGetInfoReqMsg = (WDI_GtkOffloadGetInfoReqMsg*)pEventData->pEventData)) || @@ -27254,7 +27254,7 @@ WDI_ProcessGTKOffloadGetInfoReq /*----------------------------------------------------------------------- Get message buffer -----------------------------------------------------------------------*/ - if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_GTK_OFFLOAD_GETINFO_REQ, + if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_GTK_OFFLOAD_GETINFO_REQ, sizeof(halGtkOffloadGetInfoReqParams), &pSendBuffer, &usDataOffset, &usSendSize))|| ( usSendSize < ( usDataOffset + sizeof(halGtkOffloadGetInfoReqParams)))) @@ -27265,9 +27265,9 @@ WDI_ProcessGTKOffloadGetInfoReq WDI_ASSERT(0); goto failRequest; } - ucCurrentSessionId = WDI_FindAssocSession( pWDICtx, - pwdiGtkOffloadGetInfoReqMsg->WDI_GtkOffloadGetInfoReqParams.bssId, - &pBSSSes); + ucCurrentSessionId = WDI_FindAssocSession( pWDICtx, + pwdiGtkOffloadGetInfoReqMsg->WDI_GtkOffloadGetInfoReqParams.bssId, + &pBSSSes); if ( NULL == pBSSSes ) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, @@ -27279,18 +27279,18 @@ WDI_ProcessGTKOffloadGetInfoReq // // Don't need to fill send buffer other than header // - wpalMemoryCopy( pSendBuffer+usDataOffset, - &halGtkOffloadGetInfoReqParams, - sizeof(halGtkOffloadGetInfoReqParams)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + &halGtkOffloadGetInfoReqParams, + sizeof(halGtkOffloadGetInfoReqParams)); pWDICtx->wdiReqStatusCB = pwdiGtkOffloadGetInfoReqMsg->wdiReqStatusCB; - pWDICtx->pReqStatusUserData = pwdiGtkOffloadGetInfoReqMsg->pUserData; + pWDICtx->pReqStatusUserData = pwdiGtkOffloadGetInfoReqMsg->pUserData; /*------------------------------------------------------------------------- - Send Get STA Request to HAL + Send Get STA Request to HAL -------------------------------------------------------------------------*/ - return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, - wdiGtkOffloadGetInfoCb, pEventData->pUserData, WDI_GTK_OFFLOAD_GETINFO_RESP); + return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + wdiGtkOffloadGetInfoCb, pEventData->pUserData, WDI_GTK_OFFLOAD_GETINFO_RESP); fail: // Release the message buffer so we don't leak wpalMemoryFree(pSendBuffer); @@ -27303,16 +27303,16 @@ failRequest: /** @brief Process host offload Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGtkOffloadRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) @@ -27323,7 +27323,7 @@ WDI_ProcessGtkOffloadRsp WDI_GtkOffloadRspParams wdiGtkOffloadRsparams; /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pWDICtx ) || ( NULL == pEventData ) || ( NULL == pEventData->pEventData)) @@ -27331,7 +27331,7 @@ WDI_ProcessGtkOffloadRsp WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } wdiGtkOffloadCb = (WDI_GtkOffloadCb)pWDICtx->pfncRspCB; @@ -27345,9 +27345,9 @@ WDI_ProcessGtkOffloadRsp pEventData->pEventData, sizeof(halGtkOffloadRspParams)); - wdiGtkOffloadRsparams.ulStatus = + wdiGtkOffloadRsparams.ulStatus = WDI_HAL_2_WDI_STATUS(halGtkOffloadRspParams.ulStatus); - wdiGtkOffloadRsparams.bssIdx = + wdiGtkOffloadRsparams.bssIdx = halGtkOffloadRspParams.bssIdx; } else @@ -27359,21 +27359,21 @@ WDI_ProcessGtkOffloadRsp /*Notify UMAC*/ wdiGtkOffloadCb( &wdiGtkOffloadRsparams, pWDICtx->pRspCBUserData); - return WDI_STATUS_SUCCESS; + return WDI_STATUS_SUCCESS; } /** @brief Process GTK Offload Get Information Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessGTKOffloadGetInfoRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) @@ -27386,7 +27386,7 @@ WDI_ProcessGTKOffloadGetInfoRsp /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pWDICtx ) || ( NULL == pEventData ) || ( NULL == pEventData->pEventData )) @@ -27394,7 +27394,7 @@ WDI_ProcessGTKOffloadGetInfoRsp WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } wdiGtkOffloadGetInfoCb = (WDI_GtkOffloadGetInfoCb)pWDICtx->pfncRspCB; @@ -27408,15 +27408,15 @@ WDI_ProcessGTKOffloadGetInfoRsp pEventData->pEventData, sizeof(halGtkOffloadGetInfoRspParams)); - wdiGtkOffloadGetInfoRsparams.ulStatus = + wdiGtkOffloadGetInfoRsparams.ulStatus = WDI_HAL_2_WDI_STATUS(halGtkOffloadGetInfoRspParams.ulStatus); - wdiGtkOffloadGetInfoRsparams.ullKeyReplayCounter = + wdiGtkOffloadGetInfoRsparams.ullKeyReplayCounter = halGtkOffloadGetInfoRspParams.ullKeyReplayCounter; - wdiGtkOffloadGetInfoRsparams.ulTotalRekeyCount = + wdiGtkOffloadGetInfoRsparams.ulTotalRekeyCount = halGtkOffloadGetInfoRspParams.ulTotalRekeyCount; - wdiGtkOffloadGetInfoRsparams.ulGTKRekeyCount = + wdiGtkOffloadGetInfoRsparams.ulGTKRekeyCount = halGtkOffloadGetInfoRspParams.ulGTKRekeyCount; - wdiGtkOffloadGetInfoRsparams.ulIGTKRekeyCount = + wdiGtkOffloadGetInfoRsparams.ulIGTKRekeyCount = halGtkOffloadGetInfoRspParams.ulIGTKRekeyCount; wpalMutexAcquire(&pWDICtx->wptMutex); @@ -27439,21 +27439,21 @@ WDI_ProcessGTKOffloadGetInfoRsp else { halStatus = *((eHalStatus*)pEventData->pEventData); - wdiGtkOffloadGetInfoRsparams.ulStatus = WDI_HAL_2_WDI_STATUS(halStatus); + wdiGtkOffloadGetInfoRsparams.ulStatus = WDI_HAL_2_WDI_STATUS(halStatus); } /*Notify UMAC*/ //wdiUpdateScanParamsCb(wdiStatus, pWDICtx->pRspCBUserData); //wdiReceiveFilterClearFilterCb(wdiStatus, pWDICtx->pRspCBUserData); wdiGtkOffloadGetInfoCb(&wdiGtkOffloadGetInfoRsparams, pWDICtx->pRspCBUserData); - return WDI_STATUS_SUCCESS; + return WDI_STATUS_SUCCESS; } #endif // WLAN_FEATURE_GTK_OFFLOAD #ifdef WLAN_WAKEUP_EVENTS WDI_Status WDI_ProcessWakeReasonInd -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) @@ -27466,7 +27466,7 @@ WDI_ProcessWakeReasonInd "+%s", __func__); /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pWDICtx ) || ( NULL == pEventData ) || ( NULL == pEventData->pEventData )) @@ -27474,14 +27474,14 @@ WDI_ProcessWakeReasonInd WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Invalid parameters", __func__); WDI_ASSERT( 0 ); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /*------------------------------------------------------------------------- Extract indication and send it to UMAC -------------------------------------------------------------------------*/ pWakeReasonParams = (tpWakeReasonParams)(pEventData->pEventData); - + allocSize = sizeof(WDI_LowLevelIndType) + (pWakeReasonParams->ulStoredDataLen - 1); //Allocate memory for WDI_WakeReasonIndType structure @@ -27493,20 +27493,20 @@ WDI_ProcessWakeReasonInd "%s: Failed to allocate memory for WDI_WakeReasonIndType: %p %p %p ", __func__, pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } wpalMemoryZero(pWdiInd, allocSize); /* Fill in the indication parameters*/ // Fill wdiInd.wdiIndicationData.wakeReasonInd structure from wakeReasonInd.wakeReasonParams - pWdiInd->wdiIndicationType = WDI_WAKE_REASON_IND; + pWdiInd->wdiIndicationType = WDI_WAKE_REASON_IND; pWdiInd->wdiIndicationData.wdiWakeReasonInd.ulReason = pWakeReasonParams->ulReason; pWdiInd->wdiIndicationData.wdiWakeReasonInd.ulReasonArg = pWakeReasonParams->ulReasonArg; pWdiInd->wdiIndicationData.wdiWakeReasonInd.ulStoredDataLen = pWakeReasonParams->ulStoredDataLen; - pWdiInd->wdiIndicationData.wdiWakeReasonInd.ulActualDataLen = pWakeReasonParams->ulActualDataLen; - wpalMemoryCopy( (void *)&(pWdiInd->wdiIndicationData.wdiWakeReasonInd.aDataStart[0]), - &(pWakeReasonParams->aDataStart[0]), + pWdiInd->wdiIndicationData.wdiWakeReasonInd.ulActualDataLen = pWakeReasonParams->ulActualDataLen; + wpalMemoryCopy( (void *)&(pWdiInd->wdiIndicationData.wdiWakeReasonInd.aDataStart[0]), + &(pWakeReasonParams->aDataStart[0]), pWakeReasonParams->ulStoredDataLen); @@ -27515,14 +27515,14 @@ WDI_ProcessWakeReasonInd /*Notify UMAC*/ pWDICtx->wdiLowLevelIndCB( pWdiInd, pWDICtx->pIndUserData ); } - + //Free memory allocated for WDI_WakeReasonIndType structure wpalMemoryFree(pWdiInd); WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, "-%s", __func__); - return WDI_STATUS_SUCCESS; + return WDI_STATUS_SUCCESS; } #endif // WLAN_WAKEUP_EVENTS @@ -27540,16 +27540,16 @@ void WDI_GetWcnssCompiledApiVersion /** @brief Process Set TM Level Rsp function (called when a response is being received over the bus from HAL) - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessSetTmLevelRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) @@ -27560,7 +27560,7 @@ WDI_ProcessSetTmLevelRsp /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pWDICtx ) || ( NULL == pEventData ) || ( NULL == pEventData->pEventData )) @@ -27568,29 +27568,29 @@ WDI_ProcessSetTmLevelRsp WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } - wdiSetTmLevelCb = (WDI_SetPowerParamsCb)pWDICtx->pfncRspCB; + wdiSetTmLevelCb = (WDI_SetPowerParamsCb)pWDICtx->pfncRspCB; /*------------------------------------------------------------------------- Extract response and send it to UMAC -------------------------------------------------------------------------*/ halStatus = *((eHalStatus*)pEventData->pEventData); - wdiStatus = WDI_HAL_2_WDI_STATUS(halStatus); + wdiStatus = WDI_HAL_2_WDI_STATUS(halStatus); /*Notify UMAC*/ wdiSetTmLevelCb(wdiStatus, pWDICtx->pRspCBUserData); - return WDI_STATUS_SUCCESS; + return WDI_STATUS_SUCCESS; }/*WDI_ProcessSetTmLevelRsp*/ /** @brief Process Set Thermal Mitigation level Changed request - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ @@ -27603,13 +27603,13 @@ WDI_ProcessSetTmLevelReq { WDI_SetTmLevelReqType *pwdiSetTmLevelReq = NULL; WDI_SetTmLevelCb wdiSetTmLevelCb = NULL; - wpt_uint8* pSendBuffer = NULL; + wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; tSetThermalMitgationType halTmMsg; /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pEventData ) || ( NULL == (pwdiSetTmLevelReq = (WDI_SetTmLevelReqType*)pEventData->pEventData)) || @@ -27618,13 +27618,13 @@ WDI_ProcessSetTmLevelReq WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /*----------------------------------------------------------------------- Get message buffer -----------------------------------------------------------------------*/ - if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_SET_TM_LEVEL_REQ, + if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_SET_TM_LEVEL_REQ, sizeof(halTmMsg), &pSendBuffer, &usDataOffset, &usSendSize))|| ( usSendSize < (usDataOffset + sizeof(halTmMsg) ))) @@ -27633,29 +27633,29 @@ WDI_ProcessSetTmLevelReq "Unable to get send buffer in Set PNO req %p %p %p", pEventData, pwdiSetTmLevelReq, wdiSetTmLevelCb); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } halTmMsg.thermalMitMode = pwdiSetTmLevelReq->tmMode; halTmMsg.thermalMitLevel = pwdiSetTmLevelReq->tmLevel; - wpalMemoryCopy( pSendBuffer+usDataOffset, - &halTmMsg, - sizeof(halTmMsg)); + wpalMemoryCopy( pSendBuffer+usDataOffset, + &halTmMsg, + sizeof(halTmMsg)); - pWDICtx->pReqStatusUserData = pwdiSetTmLevelReq->pUserData; + pWDICtx->pReqStatusUserData = pwdiSetTmLevelReq->pUserData; pWDICtx->pfncRspCB = NULL; /*------------------------------------------------------------------------- - Send Get STA Request to HAL + Send Get STA Request to HAL -------------------------------------------------------------------------*/ - return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, - wdiSetTmLevelCb, pEventData->pUserData, WDI_SET_TM_LEVEL_RESP); + return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + wdiSetTmLevelCb, pEventData->pUserData, WDI_SET_TM_LEVEL_RESP); } /* Fill the value from the global features enabled array to the global capabilities - * bitmap struct + * bitmap struct */ -static void +static void FillAllFeatureCaps(tWlanFeatCaps *fCaps, placeHolderInCapBitmap *enabledFeat, wpt_int8 len) { wpt_int8 i; @@ -27668,18 +27668,18 @@ FillAllFeatureCaps(tWlanFeatCaps *fCaps, placeHolderInCapBitmap *enabledFeat, wp /** @brief WDI_featureCapsExchangeReq Post feature capability bitmap exchange event. - Host will send its own capability to FW in this req and + Host will send its own capability to FW in this req and expect FW to send its capability back as a bitmap in Response - - @param - + + @param + wdiFeatureCapsExchangeCb: callback called on getting the response. It is kept to mantain similarity between WDI reqs and if needed, can be used in future. Currently, It is set to NULL - + pUserData: user data will be passed back with the - callback - + callback + @see @return Result of the function call */ @@ -27692,16 +27692,16 @@ WDI_featureCapsExchangeReq { WDI_EventInfoType wdiEventData; wpt_int32 fCapsStructSize; - + /*------------------------------------------------------------------------ - Sanity Check + Sanity Check ------------------------------------------------------------------------*/ if ( eWLAN_PAL_FALSE == gWDIInitialized ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "WDI API call before module is initialized - Fail request"); - - return WDI_STATUS_E_NOT_ALLOWED; + + return WDI_STATUS_E_NOT_ALLOWED; } /* Allocate memory separately for global variable carrying FW caps */ @@ -27716,7 +27716,7 @@ WDI_featureCapsExchangeReq } wpalMemoryZero(gpHostWlanFeatCaps, fCapsStructSize); - + /*------------------------------------------------------------------------ Fill in Event data and post to the Main FSM ------------------------------------------------------------------------*/ @@ -27732,17 +27732,17 @@ WDI_featureCapsExchangeReq WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "Host Capability"); WDI_TraceHostFWCapabilities(gpHostWlanFeatCaps->featCaps); wdiEventData.wdiRequest = WDI_FEATURE_CAPS_EXCHANGE_REQ; - wdiEventData.pEventData = gpHostWlanFeatCaps; - wdiEventData.uEventDataSize = fCapsStructSize; - wdiEventData.pCBfnc = wdiFeatureCapsExchangeCb; + wdiEventData.pEventData = gpHostWlanFeatCaps; + wdiEventData.uEventDataSize = fCapsStructSize; + wdiEventData.pCBfnc = wdiFeatureCapsExchangeCb; wdiEventData.pUserData = pUserData; - + return WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, &wdiEventData); } /** @brief Disable Active mode offload in Host - + @param void @see @return void @@ -27756,24 +27756,24 @@ WDI_disableCapablityFeature(wpt_uint8 feature_index) /** @brief Process Host-FW Capability Exchange Request function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFeatureCapsExchangeReq -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) { - wpt_uint8* pSendBuffer = NULL; + wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; - wpt_uint16 usLen = 0; + wpt_uint16 usLen = 0; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ @@ -27781,7 +27781,7 @@ WDI_ProcessFeatureCapsExchangeReq "%s", __func__); /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ /* Call back function is NULL since not required for cap exchange req */ if (( NULL == pEventData ) || @@ -27790,7 +27790,7 @@ WDI_ProcessFeatureCapsExchangeReq WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /*----------------------------------------------------------------------- @@ -27799,7 +27799,7 @@ WDI_ProcessFeatureCapsExchangeReq usLen = sizeof(tWlanFeatCaps); if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, - WDI_FEATURE_CAPS_EXCHANGE_REQ, + WDI_FEATURE_CAPS_EXCHANGE_REQ, usLen, &pSendBuffer, &usDataOffset, &usSendSize))|| ( usSendSize < (usDataOffset + usLen ))) @@ -27808,7 +27808,7 @@ WDI_ProcessFeatureCapsExchangeReq "Unable to get send buffer in feat caps exchange req %p %p", pEventData, (tWlanFeatCaps *)pEventData->pEventData); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, @@ -27819,37 +27819,37 @@ WDI_ProcessFeatureCapsExchangeReq ((tWlanFeatCaps *)pEventData->pEventData)->featCaps[3] ); - /* Copy host caps after the offset in the send buffer */ - wpalMemoryCopy( pSendBuffer+usDataOffset, - (tWlanFeatCaps *)pEventData->pEventData, - usLen); + /* Copy host caps after the offset in the send buffer */ + wpalMemoryCopy( pSendBuffer+usDataOffset, + (tWlanFeatCaps *)pEventData->pEventData, + usLen); /*------------------------------------------------------------------------- - Send Start Request to HAL + Send Start Request to HAL -------------------------------------------------------------------------*/ - return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, (WDI_StartRspCb)pEventData->pCBfnc, pEventData->pUserData, WDI_FEATURE_CAPS_EXCHANGE_RESP); - + }/*WDI_ProcessFeatureCapsExchangeReq*/ /** @brief Process Host-FW Capability Exchange Response function - - @param pWDICtx: pointer to the WLAN DAL context - pEventData: pointer to the event information structure - + + @param pWDICtx: pointer to the WLAN DAL context + pEventData: pointer to the event information structure + @see @return Result of the function call */ WDI_Status WDI_ProcessFeatureCapsExchangeRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) { - WDI_featureCapsExchangeCb wdiFeatureCapsExchangeCb; + WDI_featureCapsExchangeCb wdiFeatureCapsExchangeCb; wpt_int32 fCapsStructSize; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ @@ -27857,7 +27857,7 @@ WDI_ProcessFeatureCapsExchangeRsp "%s", __func__); /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pWDICtx ) || ( NULL == pEventData ) || ( NULL == pEventData->pEventData )) @@ -27866,12 +27866,12 @@ WDI_ProcessFeatureCapsExchangeRsp WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Invalid parameters", __func__); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /* Allocate memory separately for global variable carrying FW caps */ fCapsStructSize = sizeof(tWlanFeatCaps); - gpFwWlanFeatCaps = wpalMemoryAllocate(fCapsStructSize); + gpFwWlanFeatCaps = wpalMemoryAllocate(fCapsStructSize); if ( NULL == gpFwWlanFeatCaps ) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, @@ -27882,8 +27882,8 @@ WDI_ProcessFeatureCapsExchangeRsp /*------------------------------------------------------------------------- Unpack HAL Response Message - the header was already extracted by the - main Response Handling procedure - -------------------------------------------------------------------------*/ + main Response Handling procedure + -------------------------------------------------------------------------*/ /*------------------------------------------------------------------------- Extract response and send it to UMAC -------------------------------------------------------------------------*/ @@ -27899,19 +27899,19 @@ WDI_ProcessFeatureCapsExchangeRsp ); WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "Firmware Capability"); WDI_TraceHostFWCapabilities(gpFwWlanFeatCaps->featCaps); - wdiFeatureCapsExchangeCb = (WDI_featureCapsExchangeCb) pWDICtx -> pfncRspCB; + wdiFeatureCapsExchangeCb = (WDI_featureCapsExchangeCb) pWDICtx -> pfncRspCB; /*Notify UMAC - there is no callback right now but can be used in future if reqd */ if (wdiFeatureCapsExchangeCb != NULL) wdiFeatureCapsExchangeCb(NULL, NULL); - return WDI_STATUS_SUCCESS; + return WDI_STATUS_SUCCESS; } #ifdef WLAN_FEATURE_11AC WDI_Status WDI_ProcessUpdateVHTOpModeRsp -( +( WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ) @@ -27919,7 +27919,7 @@ WDI_ProcessUpdateVHTOpModeRsp WDI_UpdateVHTOpModeCb wdiVHTOpModeCb = NULL; WDI_Status wdiStatus; eHalStatus halStatus; - + /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /*------------------------------------------------------------------------- @@ -27944,7 +27944,7 @@ WDI_ProcessUpdateVHTOpModeRsp /*Notify UMAC*/ wdiVHTOpModeCb( wdiStatus, pEventData->pUserData); - return WDI_STATUS_SUCCESS; + return WDI_STATUS_SUCCESS; } #endif /** @@ -27954,13 +27954,13 @@ WDI_ProcessUpdateVHTOpModeRsp variable storing host capability bitmap to find this. This can be used by other moduels to decide certain things like call different APIs based on whether a particular feature is supported. - - @param - + + @param + feat_enum_value: enum value for the feature as in placeHolderInCapBitmap in wlan_hal_msg.h. @see - @return + @return 0 - if the feature is NOT supported in host any non-zero value - if the feature is SUPPORTED in host. */ @@ -27986,14 +27986,14 @@ wpt_uint8 WDI_getHostWlanFeatCaps(wpt_uint8 feat_enum_value) variable storing host capability bitmap to find this. This can be used by other moduels to decide certain things like call different APIs based on whether a particular feature is supported. - - @param - + + @param + feat_enum_value: enum value for the feature as in placeHolderInCapBitmap in wlan_hal_msg.h. @see - @return + @return 0 - if the feature is NOT supported in FW any non-zero value - if the feature is SUPPORTED in FW. */ @@ -28022,7 +28022,7 @@ WDI_ProcessUpdateVHTOpModeReq { WDI_UpdateVHTOpMode* pwdiVHTOpModeParams = NULL; WDI_UpdateVHTOpModeCb wdiVHTOpModeCb = NULL; - wpt_uint8* pSendBuffer = NULL; + wpt_uint8* pSendBuffer = NULL; wpt_uint16 usDataOffset = 0; wpt_uint16 usSendSize = 0; @@ -28032,7 +28032,7 @@ WDI_ProcessUpdateVHTOpModeReq "%s", __func__); /*------------------------------------------------------------------------- - Sanity check + Sanity check -------------------------------------------------------------------------*/ if (( NULL == pEventData ) || ( NULL == (pwdiVHTOpModeParams = (WDI_UpdateVHTOpMode*)pEventData->pEventData)) || @@ -28043,7 +28043,7 @@ WDI_ProcessUpdateVHTOpModeReq WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; } - + /*----------------------------------------------------------------------- Get message buffer -----------------------------------------------------------------------*/ @@ -28065,9 +28065,9 @@ WDI_ProcessUpdateVHTOpModeReq sizeof(WDI_UpdateVHTOpMode)); /*------------------------------------------------------------------------- - Send Start Request to HAL + Send Start Request to HAL -------------------------------------------------------------------------*/ - return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, + return WDI_SendMsg( pWDICtx, pSendBuffer, usSendSize, wdiVHTOpModeCb, pEventData->pUserData, WDI_UPDATE_VHT_OP_MODE_RESP); @@ -28099,16 +28099,16 @@ WDI_UpdateVHTOpModeReq ------------------------------------------------------------------------*/ wdiEventData.wdiRequest = WDI_UPDATE_VHT_OP_MODE_REQ; wdiEventData.pEventData = pData; - wdiEventData.uEventDataSize = sizeof(WDI_UpdateVHTOpMode); + wdiEventData.uEventDataSize = sizeof(WDI_UpdateVHTOpMode); wdiEventData.pCBfnc = wdiUpdateVHTOpModeCb; wdiEventData.pUserData = pUserData; - + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "pData->opMode=%d, pData->staId=%d", pData->opMode, pData->staId); return WDI_PostMainEvent(&gWDICb, WDI_REQUEST_EVENT, &wdiEventData); -} +} #endif /** @@ -28116,7 +28116,7 @@ WDI_UpdateVHTOpModeReq Display DXE Channel debugging information User may request to display DXE channel snapshot Or if host driver detects any abnormal stcuk may display - + @param displaySnapshot : Display DXE snapshot option @param enableStallDetect : Enable stall detect feature This feature will take effect to data performance diff --git a/CORE/WDI/CP/src/wlan_qct_wdi_dp.c b/CORE/WDI/CP/src/wlan_qct_wdi_dp.c index e0fa64b67962..692321ba82e8 100644 --- a/CORE/WDI/CP/src/wlan_qct_wdi_dp.c +++ b/CORE/WDI/CP/src/wlan_qct_wdi_dp.c @@ -33,15 +33,15 @@ OVERVIEW: - This software unit holds the implementation of the WLAN Device Abstraction + This software unit holds the implementation of the WLAN Device Abstraction Layer Internal Utility routines to be used by the Data Path. The functions externalized by this module are to be only by the WDI data path. - + The module leveraged as much as functionality as was possible from the HAL in Libra/Volans. - + DEPENDENCIES: Are listed for each API below. @@ -86,42 +86,42 @@ extern uint8 WDA_IsWcnssWlanReportedVersionGreaterThanOrEqual(uint8 major, uint8 * Preprocessor Definitions and Constants * -------------------------------------------------------------------------*/ -/*-------------------------------------------------------------------------- +/*-------------------------------------------------------------------------- TID->QueueID mapping --------------------------------------------------------------------------*/ -static wpt_uint8 btqmQosTid2QidMapping[] = -{ - BTQM_QID0, - BTQM_QID1, - BTQM_QID2, - BTQM_QID3, - BTQM_QID4, - BTQM_QID5, - BTQM_QID6, - BTQM_QID7 +static wpt_uint8 btqmQosTid2QidMapping[] = +{ + BTQM_QID0, + BTQM_QID1, + BTQM_QID2, + BTQM_QID3, + BTQM_QID4, + BTQM_QID5, + BTQM_QID6, + BTQM_QID7 }; /*=========================================================================== - Helper Internal API + Helper Internal API ===========================================================================*/ /** - @brief WDI_DP_UtilsInit - Intializes the parameters required to + @brief WDI_DP_UtilsInit - Intializes the parameters required to interact with the data path - + @param pWDICtx: pointer to the main WDI Ctrl Block - + @return success always */ -WDI_Status +WDI_Status WDI_DP_UtilsInit ( WDI_ControlBlockType* pWDICtx ) { - WDI_RxBdType* pAmsduRxBdFixMask; + WDI_RxBdType* pAmsduRxBdFixMask; // WQ to be used for filling the TxBD - pWDICtx->ucDpuRF = BMUWQ_BTQM_TX_MGMT; + pWDICtx->ucDpuRF = BMUWQ_BTQM_TX_MGMT; #ifdef WLAN_PERF pWDICtx->uBdSigSerialNum = 0; @@ -154,14 +154,14 @@ WDI_DP_UtilsInit /** @brief WDI_DP_UtilsExit - Clears the parameters required to interact with the data path - + @param pWDICtx: pointer to the main WDI Ctrl Block - + @return success always */ WDI_Status WDI_DP_UtilsExit -( +( WDI_ControlBlockType* pWDICtx ) { @@ -170,16 +170,16 @@ WDI_DP_UtilsExit /** @brief WDI_SwapBytes - Swap Bytes of a given buffer - - @param pBd: buffer to be swapped + + @param pBd: buffer to be swapped nbSwap: number of bytes to swap - + @return none */ -WPT_STATIC WPT_INLINE void +WPT_STATIC WPT_INLINE void WDI_SwapBytes ( - wpt_uint8 *pBd, + wpt_uint8 *pBd, wpt_uint32 nbSwap ) { @@ -197,25 +197,25 @@ WDI_SwapBytes }/*WDI_SwapBytes*/ /** - @brief WDI_BmuGetQidForQOSTid - returns the BMU QID for a given + @brief WDI_BmuGetQidForQOSTid - returns the BMU QID for a given TID - + @param ucTid: TID pQid: out QID - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_BmuGetQidForQOSTid ( - wpt_uint8 ucTid, + wpt_uint8 ucTid, wpt_uint8* pQid ) { if (ucTid > BTQM_QUEUE_TX_TID_7 ) return WDI_STATUS_E_FAILURE; - + *pQid = btqmQosTid2QidMapping[ucTid]; return WDI_STATUS_SUCCESS; }/*WDI_BmuGetQidForQOSTid*/ @@ -224,75 +224,75 @@ WDI_BmuGetQidForQOSTid /** @brief WDI_ComputeTxBdSignature - computes the BD signature - + @param pWDICtx: pointer to the global WDI context; - + pDestMacAddr: destination MAC address - + ucTid: TID of the frame ucDisableFrmXtl: Unicast destination - + @return the signature */ -static wpt_uint32 +static wpt_uint32 WDI_ComputeTxBdSignature -( +( WDI_ControlBlockType* pWDICtx, - wpt_uint8* pDestMac, - wpt_uint8 ucTid, + wpt_uint8* pDestMac, + wpt_uint8 ucTid, wpt_uint8 ucUnicastDst ) { wpt_uint16 *pMacU16 = (wpt_uint16 *) pDestMac; return ((pMacU16[0] ^ pMacU16[1] ^ pMacU16[2])<< WDI_TXBD_SIG_MACADDR_HASH_OFFSET | - pWDICtx->uBdSigSerialNum << WDI_TXBD_SIG_SERIAL_OFFSET | + pWDICtx->uBdSigSerialNum << WDI_TXBD_SIG_SERIAL_OFFSET | ucTid << WDI_TXBD_SIG_TID_OFFSET | ucUnicastDst << WDI_TXBD_SIG_UCAST_DATA_OFFSET); }/*WDI_ComputeTxBdSignature*/ /** - @brief WDI_TxBdFastFwd - evaluates if a frame can be fast - forwarded - - @param pWDICtx: Context to the WDI + @brief WDI_TxBdFastFwd - evaluates if a frame can be fast + forwarded + + @param pWDICtx: Context to the WDI pDestMac: Destination MAC ucTid: packet TID pBDHeader ucUnicastDst: is packet unicast pTxBd: pointer to the BD header - usMpduLength: len - - @return 1 - if the frame can be fast fwd-ed ; 0 if not + usMpduLength: len + + @return 1 - if the frame can be fast fwd-ed ; 0 if not */ -wpt_uint32 +wpt_uint32 WDI_TxBdFastFwd ( WDI_ControlBlockType* pWDICtx, - wpt_uint8* pDestMac, - wpt_uint8 ucTid, - wpt_uint8 ucUnicastDst, - void* pTxBd, - wpt_uint16 usMpduLength + wpt_uint8* pDestMac, + wpt_uint8 ucTid, + wpt_uint8 ucUnicastDst, + void* pTxBd, + wpt_uint16 usMpduLength ) { WDI_TxBdType* pBd = (WDI_TxBdType*) pTxBd; wpt_uint32 uRetval = 0; #ifdef WPT_LITTLE_BYTE_ENDIAN - wpt_uint16 usSwapped; + wpt_uint16 usSwapped; wpt_uint16* pU16 = (wpt_uint16 *) pTxBd; #endif /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ - if( pBd->txBdSignature == + if( pBd->txBdSignature == WDI_ComputeTxBdSignature(pWDICtx, pDestMac, ucTid, ucUnicastDst)) { #ifdef WPT_LITTLE_BYTE_ENDIAN /* When swap to BE format, mpduLength field is at 8th WORD location(16th byte) */ - usSwapped = wpt_cpu_to_be16(usMpduLength); + usSwapped = wpt_cpu_to_be16(usMpduLength); pU16[8] = usSwapped; #else /* Remove the #error when ported to a real BIG ENDIAN machine */ @@ -308,46 +308,46 @@ WDI_TxBdFastFwd #endif /*WLAN_PERF*/ /*=========================================================================== - External API + External API ===========================================================================*/ /** - @brief WLANHAL_FillTxBd - Called by TL to fill in TxBD. + @brief WLANHAL_FillTxBd - Called by TL to fill in TxBD. Following are the highlights of the function 1. All unicast data packets are sent by data rate decided by TPE. (i.e BD rates are disabled). - + 2. All u/mcast management packets would go in Broadcast Management Rates - + 3. dpuNE would be disabled for all data packets - + 4. dpuNE would be enabled for all management packets excluding packets when RMF is enabled - + 5. QID8 at self STA is for broadcast data which uses no ACK policy. - + 6. QID9 at self STA, we use it for unicast mgmt and set ACK policy to normal ACK. - + 7. QID10 at self STA, we use it for b/mcast mgmt and set ACK policy to NO ACK. - + WDI DP Utilities modules must be initiatilized before this API can be called. - + @param IN pWDICtx: pointer to the global WDI context; - + ucTypeSubtype: 802.11 [5:4] ucType [3:0] subtype pDestMacAddr: destination MAC address - + pTid: ptr to TID of the frame ucDisableFrmXtl: When set, disables UMA HW frame @@ -363,29 +363,29 @@ WDI_TxBdFastFwd protected (protect bit is set in FC) uTimeStamp: Timestamp when the frame was received from HDD. (usec) - + @return - The result code associated with performing the operation - + The result code associated with performing the operation + */ WDI_Status WDI_FillTxBd ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucTypeSubtype, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucTypeSubtype, void* pDestMacAddr, void* pAddr2, - wpt_uint8* pTid, - wpt_uint8 ucDisableFrmXtl, - void* pTxBd, + wpt_uint8* pTid, + wpt_uint8 ucDisableFrmXtl, + void* pTxBd, wpt_uint32 ucTxFlag, wpt_uint8 ucProtMgmtFrame, wpt_uint32 uTimeStamp, wpt_uint8* staIndex ) { - wpt_uint8 ucTid = *pTid; + wpt_uint8 ucTid = *pTid; WDI_TxBdType* pBd = (WDI_TxBdType*) pTxBd; WDI_Status wdiStatus = WDI_STATUS_SUCCESS; wpt_uint8 ucUnicastDst = 0; @@ -401,24 +401,24 @@ WDI_FillTxBd /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ /*------------------------------------------------------------------------ - Get type and subtype of the frame first + Get type and subtype of the frame first ------------------------------------------------------------------------*/ ucType = (ucTypeSubtype & WDI_FRAME_TYPE_MASK) >> WDI_FRAME_TYPE_OFFSET; ucSubType = (ucTypeSubtype & WDI_FRAME_SUBTYPE_MASK); - WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, + WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "Type: %d/%d, MAC S: %08x. MAC D: %08x., Tid=%d, frmXlat=%d, pTxBD=%p ucTxFlag 0x%X", - ucType, ucSubType, - *((wpt_uint32 *) pAddr2), - *((wpt_uint32 *) pDestMacAddr), - ucTid, + ucType, ucSubType, + *((wpt_uint32 *) pAddr2), + *((wpt_uint32 *) pDestMacAddr), + ucTid, !ucDisableFrmXtl, pTxBd, ucTxFlag ); //logic to determine the version match between host and riva to find out when to enable using STA rate for bcast frames. - //determine if Riva vsersion and host version both are greater than or equal to 0.0.2 (major, minor, version). if yes then use STA rate + //determine if Riva vsersion and host version both are greater than or equal to 0.0.2 (major, minor, version). if yes then use STA rate // instead of BD rate for BC/MC frames. Otherwise use old code to use BD rate instead. - { + { if (WDA_IsWcnssWlanCompiledVersionGreaterThanOrEqual(0, 0, 2, 0) && WDA_IsWcnssWlanReportedVersionGreaterThanOrEqual(0, 0, 2, 0)) useStaRateForBcastFrames = 1; @@ -441,36 +441,36 @@ WDI_FillTxBd dpuNE: always set to 0. DPU also uses the privacy bit in 802.11 hdr for encryption decision -----------------------------------------------------------------------*/ - pBd->bdt = HWBD_TYPE_GENERIC; + pBd->bdt = HWBD_TYPE_GENERIC; - // Route all trigger enabled frames to FW WQ, for FW to suspend trigger frame generation + // Route all trigger enabled frames to FW WQ, for FW to suspend trigger frame generation // when no traffic is exists on trigger enabled ACs if(ucTxFlag & WDI_TRIGGER_ENABLED_AC_MASK) { - pBd->dpuRF = pWDICtx->ucDpuRF; - } else + pBd->dpuRF = pWDICtx->ucDpuRF; + } else { - pBd->dpuRF = BMUWQ_BTQM_TX_MGMT; + pBd->dpuRF = BMUWQ_BTQM_TX_MGMT; } - pBd->tid = ucTid; - // Clear the reserved field as this field is used for defining special + pBd->tid = ucTid; + // Clear the reserved field as this field is used for defining special // flow control BD. pBd->reserved4 = 0; pBd->fwTxComplete0 = 0; /* This bit is for host to register TxComplete Interrupt */ - pBd->txComplete1 = (ucTxFlag & WDI_TXCOMP_REQUESTED_MASK) ? 1 : 0; + pBd->txComplete1 = (ucTxFlag & WDI_TXCOMP_REQUESTED_MASK) ? 1 : 0; - pBd->ap = WDI_ACKPOLICY_ACK_REQUIRED; - pBd->dpuNE = WDI_NO_ENCRYPTION_DISABLED; + pBd->ap = WDI_ACKPOLICY_ACK_REQUIRED; + pBd->dpuNE = WDI_NO_ENCRYPTION_DISABLED; - ucUnicastDst = !(((wpt_uint8 *)pDestMacAddr)[0] & 0x01); + ucUnicastDst = !(((wpt_uint8 *)pDestMacAddr)[0] & 0x01); *((wpt_uint32 *)pBd + WDI_DPU_FEEDBACK_OFFSET) = 0; if(!ucUnicastDst) { - pBd->ap = WDI_ACKPOLICY_ACK_NOTREQUIRED; + pBd->ap = WDI_ACKPOLICY_ACK_NOTREQUIRED; } if (ucType == WDI_MAC_DATA_FRAME) @@ -479,9 +479,9 @@ WDI_FillTxBd /* Set common fields for data frames (regardless FT enable/disable) * bd_ssn: Let DPU auto generate seq # if QosData frame. All other frames DPU generates seq using nonQos counter. - For QosNull, don't occupy one Qos seq # to avoid a potential + For QosNull, don't occupy one Qos seq # to avoid a potential hole seen in reorder buffer when BA is enabled. - + * bd_rate:HW default or broadcast data rate * rmf: RMF doesn't apply for data frames. Always set to 0 * u/b: If Addr1 of this frame in its 802.11 form is unicast, @@ -502,17 +502,17 @@ WDI_FillTxBd /* Unicast/Mcast decision: * In Infra STA role, all frames to AP are unicast frames. - * For IBSS, then check the actual DA MAC address + * For IBSS, then check the actual DA MAC address This implementation doesn't support multi BSS and AP case. - if(eSYSTEM_STA_IN_IBSS_ROLE == systemRole) + if(eSYSTEM_STA_IN_IBSS_ROLE == systemRole) ucUnicastDst = !(((wpt_uint8 *)pDestMacAddr)[0] & 0x01); else ucUnicastDst = WDI_DEFAULT_UNICAST_ENABLED; - + The above is original HAL code - however to make implementation more elastic and supportive of concurrency scenarios we shall just assume that bcast bit of MAC adddress cannot be set if addr is not - bcast: (!! may want to revisit this during testing) + bcast: (!! may want to revisit this during testing) */ //Broadcast frames buffering don't work well if BD rate is used in AP mode. @@ -535,16 +535,16 @@ WDI_FillTxBd } #endif - pBd->rmf = WDI_RMF_DISABLED; + pBd->rmf = WDI_RMF_DISABLED; /* sanity: Might already be set by caller, but enforce it here again */ if( WDI_MAC_DATA_NULL == (ucSubType & ~WDI_MAC_DATA_QOS_DATA)) { ucDisableFrmXtl = 1; - if (ucTxFlag & WDI_TXCOMP_REQUESTED_MASK) + if (ucTxFlag & WDI_TXCOMP_REQUESTED_MASK) { /*Send to FW to transmit NULL frames.*/ - pBd->dpuRF = BMUWQ_FW_TRANSMIT; + pBd->dpuRF = BMUWQ_FW_TRANSMIT; } else { @@ -579,7 +579,7 @@ WDI_FillTxBd uTxBdSignature = WDI_ComputeTxBdSignature(pWDICtx, pDestMacAddr, ucTid, ucUnicastDst); #endif //defined(WLAN_PERF) } -#endif +#endif } else if (ucType == WDI_MAC_MGMT_FRAME) { @@ -617,12 +617,12 @@ WDI_FillTxBd } pBd->bd_ssn = WDI_TXBD_BD_SSN_FILL_DPU_NON_QOS; - if((ucSubType == WDI_MAC_MGMT_ACTION) || (ucSubType == WDI_MAC_MGMT_DEAUTH) || + if((ucSubType == WDI_MAC_MGMT_ACTION) || (ucSubType == WDI_MAC_MGMT_DEAUTH) || (ucSubType == WDI_MAC_MGMT_DISASSOC)) ucIsRMF = 1; ucDisableFrmXtl = 1; - } - else + } + else { // Control Packet /* We should never get a control packet, asserting here since something is wrong */ @@ -634,7 +634,7 @@ WDI_FillTxBd /* Fast path: Leverage UMA for BD filling/frame translation. * Must be a data frame to request for FT. * When HW frame translation is enabled, UMA fills in the following fields: - * DPU Sig + * DPU Sig * DPU descriptor index * Updates MPDU header offset, data offset, MPDU length after translation * STA id @@ -648,12 +648,12 @@ WDI_FillTxBd /* - Slow path: Frame translation is disabled. Need to set the following fields: * STA id - * DPU Sig + * DPU Sig * DPU descriptor index * BTQM Queue ID * - For mgmt frames, also update rmf bits */ - + WDI_StaStruct* pSta = (WDI_StaStruct*) pWDICtx->staTable; wpt_uint8 ucStaId; @@ -661,16 +661,16 @@ WDI_FillTxBd pBd->ft = 0; #ifdef WLAN_PERF /* Mark the BD could not be reused */ - uTxBdSignature = WDI_TXBD_SIG_MGMT_MAGIC; + uTxBdSignature = WDI_TXBD_SIG_MGMT_MAGIC; #endif if((ucTxFlag & WDI_USE_SELF_STA_REQUESTED_MASK) && !(ucIsRMF && ucProtMgmtFrame)) { #ifdef HAL_SELF_STA_PER_BSS // Get the (self) station index from ADDR2, which should be the self MAC addr - wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, + wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, *(wpt_macAddr*)pAddr2, &ucStaId ); - if (WDI_STATUS_SUCCESS != wdiStatus) + if (WDI_STATUS_SUCCESS != wdiStatus) { WPAL_TRACE(eWLAN_MODULE_DAL_DATA, eWLAN_PAL_TRACE_LEVEL_ERROR, "WDI_STATableFindStaidByAddr failed"); WPAL_TRACE(eWLAN_MODULE_DAL_DATA, eWLAN_PAL_TRACE_LEVEL_ERROR, "STA ID = %d " MAC_ADDRESS_STR, @@ -710,38 +710,38 @@ WDI_FillTxBd | | | | || | bssIdx->bcasStaIdx| |____|_______|___________________|___________________||___________________|___________________|*/ // Get the station index based on the above table - if( ucUnicastDst ) + if( ucUnicastDst ) { - wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, - *(wpt_macAddr*)pDestMacAddr, &ucStaId ); - // In STA mode the unicast data frame could be - // transmitted to a DestAddr for which there might not be an entry in - // HAL STA table and the lookup would fail. In such cases use the Addr2 + wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, + *(wpt_macAddr*)pDestMacAddr, &ucStaId ); + // In STA mode the unicast data frame could be + // transmitted to a DestAddr for which there might not be an entry in + // HAL STA table and the lookup would fail. In such cases use the Addr2 // (self MAC address) to get the selfStaIdx. - // From SelfStaIdx, get BSSIdx and use BSS MacAddr to get the staIdx + // From SelfStaIdx, get BSSIdx and use BSS MacAddr to get the staIdx // corresponding to peerSta(AP). // Drop frames only it is a data frame. Management frames can still // go out using selfStaIdx. - if (WDI_STATUS_SUCCESS != wdiStatus) + if (WDI_STATUS_SUCCESS != wdiStatus) { if(ucType == WDI_MAC_MGMT_FRAME) { - //For management frames, use self staIdx if peer sta + //For management frames, use self staIdx if peer sta //entry is not found. - wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, - *(wpt_macAddr*)pAddr2, &ucStaId ); + wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, + *(wpt_macAddr*)pAddr2, &ucStaId ); } else { if( !ucDisableFrmXtl ) { - // FrameTranslation in HW is enanled. This means, - // pDestMacaddress may be unknown. Get the station index + // FrameTranslation in HW is enanled. This means, + // pDestMacaddress may be unknown. Get the station index // for ADDR2, which should be the self MAC addr - wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, - *(wpt_macAddr*)pAddr2, &ucStaId ); + wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, + *(wpt_macAddr*)pAddr2, &ucStaId ); if (WDI_STATUS_SUCCESS == wdiStatus) { //Found self Sta index. @@ -753,7 +753,7 @@ WDI_FillTxBd wdiStatus = WDI_STATUS_E_NOT_ALLOWED; //Check if its BSSIdx is valid. - if (pSTATable[ucStaId].bssIdx != WDI_BSS_INVALID_IDX) + if (pSTATable[ucStaId].bssIdx != WDI_BSS_INVALID_IDX) { //Use BSSIdx to get the association sequence and use //macBssId to get the peerMac Address(MacBSSID). @@ -763,9 +763,9 @@ WDI_FillTxBd if ( NULL != pBSSSes ) { - //Get staId from the peerMac. - wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, - pBSSSes->macBSSID, &ucStaId ); + //Get staId from the peerMac. + wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, + pBSSSes->macBSSID, &ucStaId ); } } } @@ -778,15 +778,15 @@ WDI_FillTxBd return WDI_STATUS_E_NOT_ALLOWED; } } - } + } else { // For bcast frames use the bcast station index wpt_uint8 bssSessIdx; // Get the station index for ADDR2, which should be the self MAC addr - wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, - *(wpt_macAddr*)pAddr2, &ucStaId ); + wdiStatus = WDI_STATableFindStaidByAddr( pWDICtx, + *(wpt_macAddr*)pAddr2, &ucStaId ); if (WDI_STATUS_SUCCESS != wdiStatus) { return WDI_STATUS_E_NOT_ALLOWED; @@ -796,8 +796,8 @@ WDI_FillTxBd bssSessIdx = pSta[ucStaId].bssIdx; // Get the broadcast station index for this bss - (void) WDI_FindAssocSessionByBSSIdx( pWDICtx, bssSessIdx, - &pBSSSes ); + (void) WDI_FindAssocSessionByBSSIdx( pWDICtx, bssSessIdx, + &pBSSSes ); if (NULL == pBSSSes) { // session not found ?!? @@ -805,32 +805,32 @@ WDI_FillTxBd } ucStaId = pBSSSes->bcastStaIdx; } - } + } pBd->staIndex = ucStaId; - + *staIndex = ucStaId; pSta += ucStaId; // Go to the curresponding station's station table if(ucType == WDI_MAC_MGMT_FRAME) { - if (ucUnicastDst) + if (ucUnicastDst) { /* If no ack is requested use the bcast queue */ - if (ucTxFlag & WDI_USE_NO_ACK_REQUESTED_MASK) + if (ucTxFlag & WDI_USE_NO_ACK_REQUESTED_MASK) { pBd->queueId = BTQM_QUEUE_SELF_STA_BCAST_MGMT; } else { - /* Assigning Queue Id configured to Ack */ + /* Assigning Queue Id configured to Ack */ pBd->queueId = BTQM_QUEUE_SELF_STA_UCAST_MGMT; } - } - else + } + else { - /* Assigning to Queue Id configured to No Ack */ + /* Assigning to Queue Id configured to No Ack */ pBd->queueId = BTQM_QUEUE_SELF_STA_BCAST_MGMT; } @@ -845,7 +845,7 @@ WDI_FillTxBd } else { - pBd->dpuNE = WDI_NO_ENCRYPTION_ENABLED; + pBd->dpuNE = WDI_NO_ENCRYPTION_ENABLED; pBd->rmf = 0; pBd->dpuDescIdx = pSta->dpuIndex; /* PTK for both u/mcast mgmt frames */ } @@ -856,7 +856,7 @@ WDI_FillTxBd /* TID->QID is one-to-one mapping, the same way as followed in H/W */ wpt_uint8 queueId = 0; - + WDI_STATableGetStaType(pWDICtx, ucStaId, &ucSTAType); if(!ucUnicastDst) pBd->queueId = BTQM_QID0; @@ -867,9 +867,9 @@ WDI_FillTxBd else if( ucUnicastDst && (ucSTAType == WDI_STA_ENTRY_SELF)) pBd->queueId = BTQM_QUEUE_SELF_STA_UCAST_DATA; #endif - else if (pSta->qosEnabled) + else if (pSta->qosEnabled) { - WDI_BmuGetQidForQOSTid( ucTid, &queueId); + WDI_BmuGetQidForQOSTid( ucTid, &queueId); pBd->queueId = (wpt_uint32) queueId; } else @@ -890,10 +890,10 @@ WDI_FillTxBd /* ! Re-analize this assumption - original code from HAL is below - however WDI does not have access to a DPU index table - so it just stores the signature that it receives from HAL upon - post assoc + post assoc if(eHAL_STATUS_SUCCESS == halDpu_GetSignature(pMac, pSta->dpuIndex, &ucDpuSig)) pBd->dpuSignature = ucDpuSig; - else{ + else{ WPAL_TRACE( WPT_WDI_CONTROL_MODULE, WPT_MSG_LEVEL_HIGH, "halDpu_GetSignature() failed for dpuId = %d\n", pBd->dpuDescIdx)); return VOS_STATUS_E_FAILURE; } */ @@ -915,45 +915,45 @@ WDI_FillTxBd } /*------------------------------------------------------------------------ - Over SDIO bus, SIF won't swap data bytes to/from data FIFO. + Over SDIO bus, SIF won't swap data bytes to/from data FIFO. In order for MAC modules to recognize BD in Riva's default endian format (Big endian) * All BD fields need to be swaped here ------------------------------------------------------------------------*/ - WDI_SwapTxBd((wpt_uint8 *)pBd); + WDI_SwapTxBd((wpt_uint8 *)pBd); #ifdef WLAN_PERF /* Save the BD signature. This field won't be swapped and remains in host byte order */ pBd->txBdSignature = uTxBdSignature ; -#endif +#endif return wdiStatus; }/*WDI_FillTxBd*/ /** - @brief WDI_RxBD_GetFrameTypeSubType - Called by the data path + @brief WDI_RxBD_GetFrameTypeSubType - Called by the data path to retrieve the type/subtype of the received frame. - + @param pvBDHeader: Void pointer to the RxBD buffer. - usFrmCtrl: the frame ctrl of the 802.11 header - - @return A byte which contains both type and subtype info. LSB four bytes - (b0 to b3)is subtype and b5-b6 is type info. + usFrmCtrl: the frame ctrl of the 802.11 header + + @return A byte which contains both type and subtype info. LSB four bytes + (b0 to b3)is subtype and b5-b6 is type info. */ -wpt_uint8 +wpt_uint8 WDI_RxBD_GetFrameTypeSubType ( - void* _pvBDHeader, + void* _pvBDHeader, wpt_uint16 usFrmCtrl ) { WDI_RxBdType* pRxBd = (WDI_RxBdType*) _pvBDHeader; wpt_uint8 typeSubType; - WDI_MacFrameCtl wdiFrmCtl; - + WDI_MacFrameCtl wdiFrmCtl; + if (pRxBd->ft != WDI_RX_BD_FT_DONE) { if (pRxBd->asf) @@ -961,30 +961,30 @@ WDI_RxBD_GetFrameTypeSubType typeSubType = (WDI_MAC_DATA_FRAME << WDI_FRAME_TYPE_OFFSET) | WDI_MAC_DATA_QOS_DATA; } else { - wpalMemoryCopy(&wdiFrmCtl, &usFrmCtrl, sizeof(wdiFrmCtl)); + wpalMemoryCopy(&wdiFrmCtl, &usFrmCtrl, sizeof(wdiFrmCtl)); typeSubType = (wdiFrmCtl.type << WDI_FRAME_TYPE_OFFSET) | wdiFrmCtl.subType; } } else { - wpalMemoryCopy(&wdiFrmCtl, &usFrmCtrl, sizeof(wdiFrmCtl)); + wpalMemoryCopy(&wdiFrmCtl, &usFrmCtrl, sizeof(wdiFrmCtl)); typeSubType = (wdiFrmCtl.type << WDI_FRAME_TYPE_OFFSET) | wdiFrmCtl.subType; } - + return typeSubType; }/*WDI_RxBD_GetFrameTypeSubType*/ /** @brief WDI_SwapRxBd swaps the RX BD. - + @param pBd - pointer to the BD (in/out) - + @return None */ -void +void WDI_SwapRxBd(wpt_uint8 *pBd) { #ifndef WDI_BIG_BYTE_ENDIAN @@ -995,12 +995,12 @@ WDI_SwapRxBd(wpt_uint8 *pBd) /** @brief WDI_SwapTxBd - Swaps the TX BD - + @param pBd - pointer to the BD (in/out) - + @return none */ -void +void WDI_SwapTxBd(wpt_uint8 *pBd) { #ifndef WDI_BIG_BYTE_ENDIAN @@ -1010,7 +1010,7 @@ WDI_SwapTxBd(wpt_uint8 *pBd) /*! TO DO: - check if we still need this for RIVA*/ /** - @brief WDI_RxAmsduBdFix - fix for HW issue for AMSDU + @brief WDI_RxAmsduBdFix - fix for HW issue for AMSDU @param pWDICtx: Context to the WDI @@ -1018,7 +1018,7 @@ WDI_SwapTxBd(wpt_uint8 *pBd) @return None */ -void +void WDI_RxAmsduBdFix ( WDI_ControlBlockType* pWDICtx, @@ -1053,4 +1053,3 @@ WDI_RxAmsduBdFix } return; }/*WDI_RxAmsduBdFix*/ - diff --git a/CORE/WDI/CP/src/wlan_qct_wdi_sta.c b/CORE/WDI/CP/src/wlan_qct_wdi_sta.c index 5031ebf9f459..d2230b354c2a 100644 --- a/CORE/WDI/CP/src/wlan_qct_wdi_sta.c +++ b/CORE/WDI/CP/src/wlan_qct_wdi_sta.c @@ -31,11 +31,11 @@ OVERVIEW: - This software unit holds the implementation of the WLAN Device Abstraction + This software unit holds the implementation of the WLAN Device Abstraction Layer Station Table Management Entity. The functions externalized by this module are internal APIs for DAL Core - and can only be called by it. + and can only be called by it. DEPENDENCIES: @@ -63,9 +63,9 @@ /*---------------------------------------------------------------------------- * Include Files * -------------------------------------------------------------------------*/ -#include "wlan_qct_wdi.h" -#include "wlan_qct_wdi_i.h" -#include "wlan_qct_wdi_sta.h" +#include "wlan_qct_wdi.h" +#include "wlan_qct_wdi_i.h" +#include "wlan_qct_wdi_sta.h" #include "wlan_qct_pal_api.h" #include "wlan_qct_pal_trace.h" @@ -74,12 +74,12 @@ * Function definition * -------------------------------------------------------------------------*/ /** - @brief WDI_STATableInit - Initializes the STA tables. + @brief WDI_STATableInit - Initializes the STA tables. Allocates the necesary memory. - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ @@ -89,10 +89,10 @@ WDI_Status WDI_STATableInit ) { wpt_uint8 ucMaxStations; - /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ + /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ ucMaxStations = (wpt_uint8) pWDICtx->ucMaxStations; - + /*---------------------------------------------------------------------- Allocate the memory for sta table ------------------------------------------------------------------------*/ @@ -100,14 +100,14 @@ WDI_Status WDI_STATableInit if (NULL == pWDICtx->staTable) { - + WDI_STATableClose(pWDICtx); WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Error allocating memory on WDI_STATableInit"); + "Error allocating memory on WDI_STATableInit"); return WDI_STATUS_E_FAILURE; } - + wpalMemoryZero( pWDICtx->staTable, ucMaxStations * sizeof( WDI_StaStruct )); #ifndef HAL_SELF_STA_PER_BSS @@ -119,16 +119,16 @@ WDI_Status WDI_STATableInit }/*WDI_STATableInit*/ /** - @brief WDI_STATableStart - resets the max and number values of + @brief WDI_STATableStart - resets the max and number values of STAtions - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableStart ( WDI_ControlBlockType* pWDICtx @@ -136,22 +136,22 @@ WDI_STATableStart { wpt_uint8 ucMaxStations; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ - + ucMaxStations = (wpt_uint8) pWDICtx->ucMaxStations; - + return WDI_STATUS_SUCCESS; }/*WDI_STATableStart*/ /** @brief WDI_STATableStop - clears the sta table - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableStop ( WDI_ControlBlockType* pWDICtx @@ -166,7 +166,7 @@ WDI_STATableStop #endif ucMaxStations = pWDICtx->ucMaxStations; - + wpalMemoryZero( (void *) pWDICtx->staTable, ucMaxStations * sizeof( WDI_StaStruct )); @@ -174,23 +174,23 @@ WDI_STATableStop }/*WDI_STATableStop*/ /** - @brief WDI_STATableClose - frees the resources used by the STA + @brief WDI_STATableClose - frees the resources used by the STA table. - - @param pWDICtx: pointer to the WLAN DAL context - + + @param pWDICtx: pointer to the WLAN DAL context + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableClose ( WDI_ControlBlockType* pWDICtx ) { WDI_Status status = WDI_STATUS_SUCCESS; - + // Free memory if (pWDICtx->staTable != NULL) wpalMemoryFree( pWDICtx->staTable); @@ -203,10 +203,10 @@ WDI_STATableClose /** @brief WDI_STATableAddSta - Function to Add Station - - @param pWDICtx: pointer to the WLAN DAL context - pwdiParam: station parameters - + + @param pWDICtx: pointer to the WLAN DAL context + pwdiParam: station parameters + @see @return Result of the function call */ @@ -224,47 +224,47 @@ WDI_STATableAddSta /*----------------------------------------------------------------------- Sanity check - station ids are allocated by the HAL located on RIVA SS - they must - always be valid + always be valid -----------------------------------------------------------------------*/ if (( pwdiParam->ucSTAIdx == WDI_STA_INVALID_IDX) || ( pwdiParam->ucSTAIdx >= pWDICtx->ucMaxStations )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Station id sent by HAL is invalid - not OK"); - WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + "Station id sent by HAL is invalid - not OK"); + WDI_ASSERT(0); + return WDI_STATUS_E_FAILURE; } - + ucSTAIdx = pwdiParam->ucSTAIdx; /*Since we are not the allocator of STA Ids but HAL is - just set flag to valid*/ - pSTATable[ucSTAIdx].valid = 1; - - + pSTATable[ucSTAIdx].valid = 1; + + // Save the STA type - this is used for lookup WDI_STATableSetStaType(pWDICtx, ucSTAIdx, pwdiParam->ucStaType); - WDI_STATableSetStaQosEnabled(pWDICtx, ucSTAIdx, + WDI_STATableSetStaQosEnabled(pWDICtx, ucSTAIdx, (wpt_uint8)(pwdiParam->ucWmmEnabled | pwdiParam->ucHTCapable) ); #ifdef WLAN_PERF pWDICtx->uBdSigSerialNum ++; #endif - - wpalMemoryCopy(pSTATable[ucSTAIdx].macBSSID, + + wpalMemoryCopy(pSTATable[ucSTAIdx].macBSSID, pwdiParam->macBSSID, WDI_MAC_ADDR_LEN); /*------------------------------------------------------------------------ - Set DPU Related Information + Set DPU Related Information ------------------------------------------------------------------------*/ - pSTATable[ucSTAIdx].dpuIndex = pwdiParam->dpuIndex; - pSTATable[ucSTAIdx].dpuSig = pwdiParam->dpuSig; + pSTATable[ucSTAIdx].dpuIndex = pwdiParam->dpuIndex; + pSTATable[ucSTAIdx].dpuSig = pwdiParam->dpuSig; - pSTATable[ucSTAIdx].bcastDpuIndex = pwdiParam->bcastDpuIndex; - pSTATable[ucSTAIdx].bcastDpuSignature = pwdiParam->bcastDpuSignature; + pSTATable[ucSTAIdx].bcastDpuIndex = pwdiParam->bcastDpuIndex; + pSTATable[ucSTAIdx].bcastDpuSignature = pwdiParam->bcastDpuSignature; - pSTATable[ucSTAIdx].bcastMgmtDpuIndex = pwdiParam->bcastMgmtDpuIndex; - pSTATable[ucSTAIdx].bcastMgmtDpuSignature = pwdiParam->bcastMgmtDpuSignature; + pSTATable[ucSTAIdx].bcastMgmtDpuIndex = pwdiParam->bcastMgmtDpuIndex; + pSTATable[ucSTAIdx].bcastMgmtDpuSignature = pwdiParam->bcastMgmtDpuSignature; /*Robust Mgmt Frame enabled */ pSTATable[ucSTAIdx].rmfEnabled = pwdiParam->ucRmfEnabled; @@ -272,25 +272,25 @@ WDI_STATableAddSta pSTATable[ucSTAIdx].bssIdx = pwdiParam->ucBSSIdx; /* Now update the STA entry with the new MAC address */ - if(WDI_STATUS_SUCCESS != WDI_STATableSetStaAddr( pWDICtx, - ucSTAIdx, + if(WDI_STATUS_SUCCESS != WDI_STATableSetStaAddr( pWDICtx, + ucSTAIdx, pwdiParam->staMacAddr)) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "Failed to update station entry - internal failure"); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } /* Now update the STA entry with the new BSSID address */ - if(WDI_STATUS_SUCCESS != WDI_STATableSetBSSID( pWDICtx, - ucSTAIdx, + if(WDI_STATUS_SUCCESS != WDI_STATableSetBSSID( pWDICtx, + ucSTAIdx, pwdiParam->macBSSID)) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "Failed to update station entry - internal failure"); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } return WDI_STATUS_SUCCESS; @@ -299,10 +299,10 @@ WDI_STATableAddSta /** @brief WDI_STATableDelSta - Function to Delete a Station - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station to be deleted - + @see @return Result of the function call */ @@ -319,7 +319,7 @@ WDI_STATableDelSta /*----------------------------------------------------------------------- Sanity check - station ids are allocated by the HAL located on RIVA SS - they must - always be valid + always be valid -----------------------------------------------------------------------*/ if(( ucSTAIdx == WDI_STA_INVALID_IDX )|| ( ucSTAIdx >= pWDICtx->ucMaxStations )) @@ -327,21 +327,21 @@ WDI_STATableDelSta WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, "STA Id invalid on Del STA - internal failure"); WDI_ASSERT(0); - return WDI_STATUS_E_FAILURE; + return WDI_STATUS_E_FAILURE; } - - wpalMemoryZero(&pSTATable[ucSTAIdx], sizeof(pSTATable[ucSTAIdx])); - pSTATable->valid = 0; + + wpalMemoryZero(&pSTATable[ucSTAIdx], sizeof(pSTATable[ucSTAIdx])); + pSTATable->valid = 0; return WDI_STATUS_SUCCESS; }/*WDI_STATableDelSta*/ /** @brief WDI_STATableBSSDelSta - Function to Delete Stations in this BSS - - @param pWDICtx: pointer to the WLAN DAL context - ucBSSIdx: BSS index - + + @param pWDICtx: pointer to the WLAN DAL context + ucBSSIdx: BSS index + @see @return Result of the function call */ @@ -358,7 +358,7 @@ WDI_STATableBSSDelSta for (ucSTAIdx = 0; (ucSTAIdx < pWDICtx->ucMaxStations); ucSTAIdx++) { - if( (pSTATable[ucSTAIdx].ucStaType == WDI_STA_ENTRY_PEER) && + if( (pSTATable[ucSTAIdx].ucStaType == WDI_STA_ENTRY_PEER) && (pSTATable[ucSTAIdx].bssIdx == ucBSSIdx)) { WDI_STATableDelSta(pWDICtx, ucSTAIdx); @@ -370,22 +370,22 @@ WDI_STATableBSSDelSta /** - @brief WDI_STATableGetStaBSSIDAddr - Gets the BSSID associated + @brief WDI_STATableGetStaBSSIDAddr - Gets the BSSID associated with this station - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index pmacBSSID: out BSSID for this STA - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaBSSIDAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_macAddr* pmacBSSID ) { @@ -403,22 +403,22 @@ WDI_STATableGetStaBSSIDAddr /** - @brief WDI_STATableGetStaQosEnabled - Gets is qos is enabled + @brief WDI_STATableGetStaQosEnabled - Gets is qos is enabled for a sta - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index qosEnabled: out qos enabled - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaQosEnabled ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8* qosEnabled ) { @@ -437,19 +437,19 @@ WDI_STATableGetStaQosEnabled /** @brief WDI_STATableSetStaQosEnabled - set qos mode for STA - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index qosEnabled: qos enabled - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetStaQosEnabled ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8 qosEnabled ) { @@ -466,19 +466,19 @@ WDI_STATableSetStaQosEnabled /** @brief WDI_STATableGetStaType - get sta type for STA - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index pStaType: qos enabled - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaType ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8* pStaType ) { @@ -495,19 +495,19 @@ WDI_STATableGetStaType /** @brief WDI_STATableSetStaType - sets sta type for STA - - @param pWDICtx: pointer to the WLAN DAL context + + @param pWDICtx: pointer to the WLAN DAL context ucSTAIdx: station index staType: sta type - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetStaType ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8 staType ) { @@ -525,17 +525,17 @@ WDI_STATableSetStaType /** @brief WDI_CompareMacAddr - compare the MAC address - - @param addr1: address 1 - addr2: address 2 - + + @param addr1: address 1 + addr2: address 2 + @see @return Result of the function call */ WPT_STATIC WPT_INLINE wpt_uint8 WDI_CompareMacAddr ( - wpt_uint8 addr1[], + wpt_uint8 addr1[], wpt_uint8 addr2[] ) { @@ -571,19 +571,19 @@ WDI_CompareMacAddr /** @brief WDI_STATableFindStaidByAddr - Given a station mac address, search for the corresponding station index from the Station Table. - + @param pWDICtx: WDI Context pointer staAddr: station address - pucStaId: output station id - + pucStaId: output station id + @see @return Result of the function call */ WDI_Status WDI_STATableFindStaidByAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_macAddr staAddr, + WDI_ControlBlockType* pWDICtx, + wpt_macAddr staAddr, wpt_uint8* pucStaId ) { @@ -605,19 +605,19 @@ WDI_STATableFindStaidByAddr /** @brief WDI_STATableGetStaAddr - get station address - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index - pStaAddr: output station address - + pStaAddr: output station address + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableGetStaAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8** pStaAddr ) { @@ -633,19 +633,19 @@ WDI_STATableGetStaAddr /** @brief WDI_STATableSetStaAddr - set station address - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index - pStaAddr: output station address - + pStaAddr: output station address + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetStaAddr ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_macAddr staAddr ) { @@ -661,19 +661,19 @@ WDI_STATableSetStaAddr /** @brief WDI_STATableSetBSSID - set station corresponding BSSID - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index - pStaAddr: output station address - + pStaAddr: output station address + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetBSSID ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_macAddr macBSSID ) { @@ -689,19 +689,19 @@ WDI_STATableSetBSSID /** @brief WDI_STATableSetBSSIdx - set station corresponding BSS index - + @param pWDICtx: WDI Context pointer ucSTAIdx: station index ucBSSIdx: BSS index - + @see @return Result of the function call */ -WDI_Status +WDI_Status WDI_STATableSetBSSIdx ( - WDI_ControlBlockType* pWDICtx, - wpt_uint8 ucSTAIdx, + WDI_ControlBlockType* pWDICtx, + wpt_uint8 ucSTAIdx, wpt_uint8 ucBSSIdx ) { @@ -714,4 +714,3 @@ WDI_STATableSetBSSIdx else return WDI_STATUS_E_FAILURE; }/*WDI_STATableSetBSSIdx*/ - |
