Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Padma, Santhosh Kumar | 70380cf | 2016-01-11 18:42:20 +0530 | [diff] [blame] | 2 | * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved. |
Kiet Lam | 1ed83fc | 2014-02-19 01:15:45 -0800 | [diff] [blame] | 3 | * |
| 4 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 5 | * |
| 6 | * |
| 7 | * Permission to use, copy, modify, and/or distribute this software for |
| 8 | * any purpose with or without fee is hereby granted, provided that the |
| 9 | * above copyright notice and this permission notice appear in all |
| 10 | * copies. |
| 11 | * |
| 12 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 13 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 14 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 15 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 16 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 17 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 18 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 19 | * PERFORMANCE OF THIS SOFTWARE. |
| 20 | */ |
| 21 | |
| 22 | /* |
Kiet Lam | a7f454d | 2014-07-24 12:04:06 -0700 | [diff] [blame] | 23 | * This file was originally distributed by Qualcomm Atheros, Inc. |
| 24 | * under proprietary terms before Copyright ownership was assigned |
| 25 | * to the Linux Foundation. |
Kiet Lam | 1ed83fc | 2014-02-19 01:15:45 -0800 | [diff] [blame] | 26 | */ |
| 27 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 28 | |
Kiet Lam | a7f454d | 2014-07-24 12:04:06 -0700 | [diff] [blame] | 29 | |
| 30 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 31 | #ifndef WLAN_QCT_WDI_H |
| 32 | #define WLAN_QCT_WDI_H |
| 33 | |
| 34 | /*=========================================================================== |
| 35 | |
| 36 | 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 |
| 37 | E X T E R N A L A P I |
| 38 | |
| 39 | |
| 40 | DESCRIPTION |
| 41 | This file contains the external API exposed by the wlan transport layer |
| 42 | module. |
| 43 | |
| 44 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 45 | ===========================================================================*/ |
| 46 | |
| 47 | |
| 48 | /*=========================================================================== |
| 49 | |
| 50 | EDIT HISTORY FOR FILE |
| 51 | |
| 52 | |
| 53 | This section contains comments describing changes made to the module. |
| 54 | Notice that changes are listed in reverse chronological order. |
| 55 | |
| 56 | |
| 57 | $Header:$ $DateTime: $ $Author: $ |
| 58 | |
| 59 | |
| 60 | when who what, where, why |
| 61 | -------- --- ---------------------------------------------------------- |
| 62 | 10/05/11 hap Adding support for Keep Alive |
| 63 | 08/04/10 lti Created module. |
| 64 | |
| 65 | ===========================================================================*/ |
| 66 | |
| 67 | |
| 68 | |
| 69 | /*=========================================================================== |
| 70 | |
| 71 | INCLUDE FILES FOR MODULE |
| 72 | |
| 73 | ===========================================================================*/ |
| 74 | |
| 75 | /*---------------------------------------------------------------------------- |
| 76 | * Include Files |
| 77 | * -------------------------------------------------------------------------*/ |
| 78 | #include "wlan_qct_pal_api.h" |
| 79 | #include "wlan_qct_pal_type.h" |
| 80 | #include "wlan_qct_pack_align.h" |
| 81 | #include "wlan_qct_wdi_cfg.h" |
| 82 | |
| 83 | /*---------------------------------------------------------------------------- |
| 84 | * Preprocessor Definitions and Constants |
| 85 | * -------------------------------------------------------------------------*/ |
| 86 | #ifdef __cplusplus |
| 87 | extern "C" { |
| 88 | #endif |
| 89 | |
| 90 | /* MAC ADDRESS LENGTH - per spec*/ |
| 91 | #define WDI_MAC_ADDR_LEN 6 |
| 92 | |
| 93 | /* Max number of 11b rates -> 1,2,5.5,11 */ |
| 94 | #define WDI_NUM_11B_RATES 4 |
| 95 | |
| 96 | /* Max number of 11g rates -> 6,9,12,18,24,36,48,54*/ |
| 97 | #define WDI_NUM_11A_RATES 8 |
| 98 | |
| 99 | /* Max number of legacy rates -> 72, 96, 108*/ |
| 100 | #define WDI_NUM_POLARIS_RATES 3 |
| 101 | |
| 102 | /* Max supported MCS set*/ |
| 103 | #define WDI_MAC_MAX_SUPPORTED_MCS_SET 16 |
| 104 | |
| 105 | /*Max number of Access Categories for QoS - per spec */ |
| 106 | #define WDI_MAX_NO_AC 4 |
| 107 | |
| 108 | /*Max. size for reserving the Beacon Template */ |
| 109 | #define WDI_BEACON_TEMPLATE_SIZE 0x180 |
| 110 | |
| 111 | #define WDI_WOWL_BCAST_PATTERN_MAX_SIZE 128 |
| 112 | |
| 113 | #define WDI_WOWL_BCAST_MAX_NUM_PATTERNS 16 |
| 114 | |
| 115 | #define WDI_MAX_SSID_SIZE 32 |
| 116 | |
| 117 | /* The shared memory between WDI and HAL is 4K so maximum data can be transferred |
| 118 | from WDI to HAL is 4K.This 4K should also include the Message header so sending 4K |
| 119 | of NV fragment is nt possbile.The next multiple of 1Kb is 3K */ |
| 120 | |
| 121 | #define FRAGMENT_SIZE 3072 |
| 122 | |
| 123 | /* Macro to find the total number fragments of the NV Image*/ |
Madan Mohan Koyyalamudi | a53c4dc | 2012-11-13 10:35:42 -0800 | [diff] [blame] | 124 | #define TOTALFRAGMENTS(x) (((x % FRAGMENT_SIZE) == 0) ? (x / FRAGMENT_SIZE):((x / FRAGMENT_SIZE) + 1)) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 125 | |
| 126 | /* Beacon Filter Length*/ |
Abhishek Singh | 5fef404 | 2014-11-25 18:33:00 +0530 | [diff] [blame] | 127 | #define WDI_BEACON_FILTER_LEN 90 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 128 | |
| 129 | /* Coex Indication data size - should match WLAN_COEX_IND_DATA_SIZE */ |
| 130 | #define WDI_COEX_IND_DATA_SIZE (4) |
| 131 | |
| 132 | #define WDI_CIPHER_SEQ_CTR_SIZE 6 |
| 133 | |
| 134 | #define WDI_NUM_BSSID 2 |
| 135 | |
| 136 | /*Version string max length (including NUL) */ |
| 137 | #define WDI_VERSION_LENGTH 64 |
| 138 | |
| 139 | |
| 140 | /*WDI Response timeout - how long will WDI wait for a response from the device |
| 141 | - it should be large enough to allow any other failure mechanism to kick |
| 142 | in before we get to a timeout (ms units)*/ |
| 143 | #define WDI_RESPONSE_TIMEOUT 10000 |
| 144 | |
Madan Mohan Koyyalamudi | 0bfd000 | 2012-10-24 14:39:37 -0700 | [diff] [blame] | 145 | /* SSR timeout - If Riva initiated SSR doesn't happen during this time, then the |
| 146 | * Apps initiated SSR will be performed */ |
| 147 | #define WDI_SSR_TIMEOUT 5000 |
| 148 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 149 | #define WDI_SET_POWER_STATE_TIMEOUT 10000 /* in msec a very high upper limit */ |
| 150 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 151 | /* Periodic Tx pattern offload feature */ |
| 152 | #define PERIODIC_TX_PTRN_MAX_SIZE 1536 |
| 153 | #define MAXNUM_PERIODIC_TX_PTRNS 6 |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 154 | #define WDI_DISA_MAX_PAYLOAD_SIZE 1600 |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 155 | #define MAX_NUM_OF_BUFFER 3 |
Karthick S | a6616c3 | 2015-07-22 14:49:02 +0530 | [diff] [blame] | 156 | #define VALID_FW_LOG_TYPES 2 |
Karthick S | ed59a28 | 2015-08-10 14:52:16 +0530 | [diff] [blame] | 157 | #define MAX_LOG_BUFFER_LENGTH 128 * 1024 |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 158 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 159 | /*============================================================================ |
| 160 | * GENERIC STRUCTURES |
| 161 | |
| 162 | ============================================================================*/ |
| 163 | |
| 164 | /*--------------------------------------------------------------------------- |
| 165 | WDI Version Information |
| 166 | ---------------------------------------------------------------------------*/ |
| 167 | typedef struct |
| 168 | { |
| 169 | wpt_uint8 revision; |
| 170 | wpt_uint8 version; |
| 171 | wpt_uint8 minor; |
| 172 | wpt_uint8 major; |
| 173 | } WDI_WlanVersionType; |
| 174 | |
| 175 | /*--------------------------------------------------------------------------- |
| 176 | WDI Device Capability |
| 177 | ---------------------------------------------------------------------------*/ |
| 178 | typedef struct |
| 179 | { |
| 180 | /*If this flag is true it means that the device can support 802.3/ETH2 to |
| 181 | 802.11 translation*/ |
| 182 | wpt_boolean bFrameXtlSupported; |
| 183 | |
| 184 | /*Maximum number of BSSes supported by the Device */ |
| 185 | wpt_uint8 ucMaxBSSSupported; |
| 186 | |
| 187 | /*Maximum number of stations supported by the Device */ |
| 188 | wpt_uint8 ucMaxSTASupported; |
| 189 | }WDI_DeviceCapabilityType; |
| 190 | |
| 191 | /*--------------------------------------------------------------------------- |
| 192 | WDI Channel Offset |
| 193 | ---------------------------------------------------------------------------*/ |
| 194 | typedef enum |
| 195 | { |
| 196 | WDI_SECONDARY_CHANNEL_OFFSET_NONE = 0, |
| 197 | WDI_SECONDARY_CHANNEL_OFFSET_UP = 1, |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 198 | WDI_SECONDARY_CHANNEL_OFFSET_DOWN = 3, |
| 199 | #ifdef WLAN_FEATURE_11AC |
| 200 | WDI_CHANNEL_20MHZ_LOW_40MHZ_CENTERED = 4, //20/40MHZ offset LOW 40/80MHZ offset CENTERED |
| 201 | WDI_CHANNEL_20MHZ_CENTERED_40MHZ_CENTERED = 5, //20/40MHZ offset CENTERED 40/80MHZ offset CENTERED |
| 202 | WDI_CHANNEL_20MHZ_HIGH_40MHZ_CENTERED = 6, //20/40MHZ offset HIGH 40/80MHZ offset CENTERED |
| 203 | WDI_CHANNEL_20MHZ_LOW_40MHZ_LOW = 7,//20/40MHZ offset LOW 40/80MHZ offset LOW |
| 204 | WDI_CHANNEL_20MHZ_HIGH_40MHZ_LOW = 8, //20/40MHZ offset HIGH 40/80MHZ offset LOW |
| 205 | WDI_CHANNEL_20MHZ_LOW_40MHZ_HIGH = 9, //20/40MHZ offset LOW 40/80MHZ offset HIGH |
| 206 | WDI_CHANNEL_20MHZ_HIGH_40MHZ_HIGH = 10,//20/40MHZ offset-HIGH 40/80MHZ offset HIGH |
| 207 | #endif |
| 208 | WDI_SECONDARY_CHANNEL_OFFSET_MAX |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 209 | }WDI_HTSecondaryChannelOffset; |
| 210 | |
| 211 | /*--------------------------------------------------------------------------- |
| 212 | WDI_MacFrameCtl |
| 213 | Frame control field format (2 bytes) |
| 214 | ---------------------------------------------------------------------------*/ |
| 215 | typedef struct |
| 216 | { |
| 217 | wpt_uint8 protVer :2; |
| 218 | wpt_uint8 type :2; |
| 219 | wpt_uint8 subType :4; |
| 220 | |
| 221 | wpt_uint8 toDS :1; |
| 222 | wpt_uint8 fromDS :1; |
| 223 | wpt_uint8 moreFrag :1; |
| 224 | wpt_uint8 retry :1; |
| 225 | wpt_uint8 powerMgmt :1; |
| 226 | wpt_uint8 moreData :1; |
| 227 | wpt_uint8 wep :1; |
| 228 | wpt_uint8 order :1; |
| 229 | |
| 230 | } WDI_MacFrameCtl; |
| 231 | |
| 232 | /*--------------------------------------------------------------------------- |
| 233 | WDI Sequence control field |
| 234 | ---------------------------------------------------------------------------*/ |
| 235 | typedef struct |
| 236 | { |
| 237 | wpt_uint8 fragNum : 4; |
| 238 | wpt_uint8 seqNumLo : 4; |
| 239 | wpt_uint8 seqNumHi : 8; |
| 240 | } WDI_MacSeqCtl; |
| 241 | |
| 242 | /*--------------------------------------------------------------------------- |
| 243 | Management header format |
| 244 | ---------------------------------------------------------------------------*/ |
| 245 | typedef struct |
| 246 | { |
| 247 | WDI_MacFrameCtl fc; |
| 248 | wpt_uint8 durationLo; |
| 249 | wpt_uint8 durationHi; |
| 250 | wpt_uint8 da[WDI_MAC_ADDR_LEN]; |
| 251 | wpt_uint8 sa[WDI_MAC_ADDR_LEN]; |
| 252 | wpt_macAddr bssId; |
| 253 | WDI_MacSeqCtl seqControl; |
| 254 | } WDI_MacMgmtHdr; |
| 255 | |
| 256 | /*--------------------------------------------------------------------------- |
| 257 | NV Blob management sturcture |
| 258 | ---------------------------------------------------------------------------*/ |
| 259 | |
| 260 | typedef struct |
| 261 | { |
| 262 | /* NV image fragments count */ |
| 263 | wpt_uint16 usTotalFragment; |
| 264 | |
| 265 | /* NV fragment size */ |
| 266 | wpt_uint16 usFragmentSize; |
| 267 | |
| 268 | /* current fragment to be sent */ |
| 269 | wpt_uint16 usCurrentFragment; |
| 270 | |
| 271 | } WDI_NvBlobInfoParams; |
| 272 | |
| 273 | |
| 274 | /*--------------------------------------------------------------------------- |
| 275 | Data path enums memory pool resource |
| 276 | ---------------------------------------------------------------------------*/ |
| 277 | |
| 278 | typedef enum |
| 279 | { |
| 280 | /* managment resource pool ID */ |
| 281 | WDI_MGMT_POOL_ID = 0, |
| 282 | /* Data resource pool ID */ |
| 283 | WDI_DATA_POOL_ID = 1 |
| 284 | }WDI_ResPoolType; |
| 285 | |
| 286 | /*============================================================================ |
| 287 | * GENERIC STRUCTURES - END |
| 288 | ============================================================================*/ |
| 289 | |
| 290 | /*---------------------------------------------------------------------------- |
| 291 | * Type Declarations |
| 292 | * -------------------------------------------------------------------------*/ |
| 293 | /*--------------------------------------------------------------------------- |
| 294 | WDI Status |
| 295 | ---------------------------------------------------------------------------*/ |
| 296 | typedef enum |
| 297 | { |
| 298 | WDI_STATUS_SUCCESS, /* Operation has completed successfully*/ |
| 299 | WDI_STATUS_SUCCESS_SYNC, /* Operation has completed successfully in a |
| 300 | synchronous way - no rsp will be generated*/ |
| 301 | WDI_STATUS_PENDING, /* Operation result is pending and will be |
| 302 | provided asynchronously through the Req Status |
| 303 | Callback */ |
| 304 | WDI_STATUS_E_FAILURE, /* Operation has ended in a generic failure*/ |
| 305 | WDI_STATUS_RES_FAILURE, /* Operation has ended in a resource failure*/ |
| 306 | WDI_STATUS_MEM_FAILURE, /* Operation has ended in a memory allocation |
| 307 | failure*/ |
| 308 | WDI_STATUS_E_NOT_ALLOWED, /* Operation is not allowed in the current state |
| 309 | of the driver*/ |
| 310 | WDI_STATUS_E_NOT_IMPLEMENT, /* Operation is not yet implemented*/ |
| 311 | |
| 312 | WDI_STATUS_DEV_INTERNAL_FAILURE, /*An internal error has occurred in the device*/ |
| 313 | WDI_STATUS_MAX |
| 314 | |
| 315 | }WDI_Status; |
| 316 | |
| 317 | |
| 318 | /*--------------------------------------------------------------------------- |
| 319 | WDI_ReqStatusCb |
| 320 | |
| 321 | DESCRIPTION |
| 322 | |
| 323 | This callback is invoked by DAL to deliver to UMAC the result of posting |
| 324 | a previous request for which the return status was PENDING. |
| 325 | |
| 326 | PARAMETERS |
| 327 | |
| 328 | IN |
| 329 | wdiStatus: response status received from the Control Transport |
| 330 | pUserData: user data |
| 331 | |
| 332 | |
| 333 | |
| 334 | RETURN VALUE |
| 335 | The result code associated with performing the operation |
| 336 | ---------------------------------------------------------------------------*/ |
| 337 | typedef void (*WDI_ReqStatusCb)(WDI_Status wdiStatus, |
| 338 | void* pUserData); |
| 339 | |
| 340 | /*--------------------------------------------------------------------------- |
| 341 | WDI_LowLevelIndEnumType |
| 342 | Types of indication that can be posted to UMAC by DAL |
| 343 | ---------------------------------------------------------------------------*/ |
| 344 | typedef enum |
| 345 | { |
| 346 | /*When RSSI monitoring is enabled of the Lower MAC and a threshold has been |
| 347 | passed. */ |
| 348 | WDI_RSSI_NOTIFICATION_IND, |
| 349 | |
| 350 | /*Link loss in the low MAC */ |
| 351 | WDI_MISSED_BEACON_IND, |
| 352 | |
| 353 | /*when hardware has signaled an unknown addr2 frames. The indication will |
| 354 | contain info from frames to be passed to the UMAC, this may use this info to |
| 355 | deauth the STA*/ |
| 356 | WDI_UNKNOWN_ADDR2_FRAME_RX_IND, |
| 357 | |
| 358 | /*MIC Failure detected by HW*/ |
| 359 | WDI_MIC_FAILURE_IND, |
| 360 | |
| 361 | /*Fatal Error Ind*/ |
| 362 | WDI_FATAL_ERROR_IND, |
| 363 | |
| 364 | /*Delete Station Ind*/ |
| 365 | WDI_DEL_STA_IND, |
| 366 | |
| 367 | /*Indication from Coex*/ |
| 368 | WDI_COEX_IND, |
| 369 | |
| 370 | /* Indication for Tx Complete */ |
| 371 | WDI_TX_COMPLETE_IND, |
| 372 | |
| 373 | /*.P2P_NOA_Attr_Indication */ |
| 374 | WDI_P2P_NOA_ATTR_IND, |
| 375 | |
| 376 | /* Preferred Network Found Indication */ |
| 377 | WDI_PREF_NETWORK_FOUND_IND, |
| 378 | |
| 379 | WDI_WAKE_REASON_IND, |
| 380 | |
| 381 | /* Tx PER Tracking Indication */ |
| 382 | WDI_TX_PER_HIT_IND, |
Viral Modi | d86bde2 | 2012-12-10 13:09:21 -0800 | [diff] [blame] | 383 | |
Viral Modi | d86bde2 | 2012-12-10 13:09:21 -0800 | [diff] [blame] | 384 | /* P2P_NOA_Start_Indication */ |
| 385 | WDI_P2P_NOA_START_IND, |
Viral Modi | d86bde2 | 2012-12-10 13:09:21 -0800 | [diff] [blame] | 386 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 387 | /* TDLS_Indication */ |
| 388 | WDI_TDLS_IND, |
| 389 | |
Leo Chang | d9df8aa | 2013-09-26 13:32:26 -0700 | [diff] [blame] | 390 | /* LPHB Indication from FW to umac */ |
| 391 | WDI_LPHB_IND, |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 392 | |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 393 | /* IBSS Peer Inactivity Indication */ |
| 394 | WDI_IBSS_PEER_INACTIVITY_IND, |
| 395 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 396 | /* Periodic Tx Pattern FW Indication */ |
| 397 | WDI_PERIODIC_TX_PTRN_FW_IND, |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 398 | #ifdef WLAN_FEATURE_RMC |
| 399 | /* RMC_Ruler_Pick_New Indication */ |
| 400 | WDI_RMC_RULER_PICK_NEW, |
| 401 | #endif |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 402 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 403 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 404 | /*Batch scan result indication from FW*/ |
| 405 | WDI_BATCH_SCAN_RESULT_IND, |
| 406 | #endif |
| 407 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 408 | #ifdef WLAN_FEATURE_RMC |
| 409 | WDI_TX_FAIL_IND, |
| 410 | #endif |
| 411 | |
Leo Chang | 0b0e45a | 2013-12-15 15:18:55 -0800 | [diff] [blame] | 412 | #ifdef FEATURE_WLAN_CH_AVOID |
| 413 | WDI_CH_AVOID_IND, |
| 414 | #endif /* FEATURE_WLAN_CH_AVOID */ |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 415 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 416 | WDI_LL_STATS_RESULTS_IND, |
| 417 | #endif |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 418 | #ifdef WLAN_FEATURE_EXTSCAN |
| 419 | WDI_EXTSCAN_PROGRESS_IND, |
| 420 | WDI_EXTSCAN_SCAN_AVAILABLE_IND, |
| 421 | WDI_EXTSCAN_SCAN_RESULT_IND, |
| 422 | WDI_EXTSCAN_GET_CAPABILITIES_IND, |
| 423 | WDI_EXTSCAN_BSSID_HOTLIST_RESULT_IND, |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 424 | WDI_EXTSCAN_SSID_HOTLIST_RESULT_IND, |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 425 | #endif |
Abhishek Singh | 66c1676 | 2014-08-14 19:13:19 +0530 | [diff] [blame] | 426 | /*Delete BA Ind*/ |
| 427 | WDI_DEL_BA_IND, |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 428 | WDI_NAN_EVENT_IND, |
Sachin Ahuja | 3d47fcd | 2015-08-28 16:02:06 +0530 | [diff] [blame] | 429 | WDI_LOST_LINK_PARAMS_IND, |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 430 | WDI_RSSI_BREACHED_IND, |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 431 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 432 | WDI_START_OEM_DATA_RSP_IND_NEW, |
| 433 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 434 | WDI_MAX_IND |
| 435 | }WDI_LowLevelIndEnumType; |
| 436 | |
| 437 | |
| 438 | /*--------------------------------------------------------------------------- |
| 439 | WDI_LowRSSIThIndType |
| 440 | ---------------------------------------------------------------------------*/ |
| 441 | typedef struct |
| 442 | { |
| 443 | /*Positive crossing of Rssi Thresh1*/ |
| 444 | wpt_uint32 bRssiThres1PosCross : 1; |
| 445 | /*Negative crossing of Rssi Thresh1*/ |
| 446 | wpt_uint32 bRssiThres1NegCross : 1; |
| 447 | /*Positive crossing of Rssi Thresh2*/ |
| 448 | wpt_uint32 bRssiThres2PosCross : 1; |
| 449 | /*Negative crossing of Rssi Thresh2*/ |
| 450 | wpt_uint32 bRssiThres2NegCross : 1; |
| 451 | /*Positive crossing of Rssi Thresh3*/ |
| 452 | wpt_uint32 bRssiThres3PosCross : 1; |
| 453 | /*Negative crossing of Rssi Thresh3*/ |
| 454 | wpt_uint32 bRssiThres3NegCross : 1; |
| 455 | |
Srinivas | daaec71 | 2012-12-12 15:59:44 -0800 | [diff] [blame] | 456 | wpt_uint32 avgRssi : 8; |
| 457 | wpt_uint32 bReserved : 18; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 458 | |
| 459 | }WDI_LowRSSIThIndType; |
| 460 | |
| 461 | |
| 462 | /*--------------------------------------------------------------------------- |
| 463 | WDI_UnkAddr2FrmRxIndType |
| 464 | ---------------------------------------------------------------------------*/ |
| 465 | typedef struct |
| 466 | { |
| 467 | /*Rx Bd data of the unknown received addr2 frame.*/ |
| 468 | void* bufRxBd; |
| 469 | |
| 470 | /*Buffer Length*/ |
| 471 | wpt_uint16 usBufLen; |
| 472 | }WDI_UnkAddr2FrmRxIndType; |
| 473 | |
| 474 | /*--------------------------------------------------------------------------- |
| 475 | WDI_DeleteSTAIndType |
| 476 | ---------------------------------------------------------------------------*/ |
| 477 | typedef struct |
| 478 | { |
| 479 | /*ASSOC ID, as assigned by UMAC*/ |
| 480 | wpt_uint16 usAssocId; |
| 481 | |
| 482 | /*STA Index returned during DAL_PostAssocReq or DAL_ConfigStaReq*/ |
| 483 | wpt_uint8 ucSTAIdx; |
| 484 | |
| 485 | /*BSSID of STA*/ |
| 486 | wpt_macAddr macBSSID; |
| 487 | |
| 488 | /*MAC ADDR of STA*/ |
| 489 | wpt_macAddr macADDR2; |
| 490 | |
| 491 | /* To unify the keepalive / unknown A2 / tim-based disa*/ |
| 492 | wpt_uint16 wptReasonCode; |
| 493 | |
| 494 | }WDI_DeleteSTAIndType; |
| 495 | |
| 496 | /*--------------------------------------------------------------------------- |
| 497 | WDI_MicFailureIndType |
| 498 | ---------------------------------------------------------------------------*/ |
| 499 | typedef struct |
| 500 | { |
| 501 | /*current BSSID*/ |
| 502 | wpt_macAddr bssId; |
| 503 | |
| 504 | /*Source mac address*/ |
| 505 | wpt_macAddr macSrcAddr; |
| 506 | |
| 507 | /*Transmitter mac address*/ |
| 508 | wpt_macAddr macTaAddr; |
| 509 | |
| 510 | /*Destination mac address*/ |
| 511 | wpt_macAddr macDstAddr; |
| 512 | |
| 513 | /*Multicast flag*/ |
| 514 | wpt_uint8 ucMulticast; |
| 515 | |
| 516 | /*First byte of IV*/ |
| 517 | wpt_uint8 ucIV1; |
| 518 | |
| 519 | /*Key Id*/ |
| 520 | wpt_uint8 keyId; |
| 521 | |
| 522 | /*Sequence Number*/ |
| 523 | wpt_uint8 TSC[WDI_CIPHER_SEQ_CTR_SIZE]; |
| 524 | |
| 525 | /*receive address */ |
| 526 | wpt_macAddr macRxAddr; |
| 527 | }WDI_MicFailureIndType; |
| 528 | |
| 529 | /*--------------------------------------------------------------------------- |
| 530 | WDI_CoexIndType |
| 531 | ---------------------------------------------------------------------------*/ |
| 532 | typedef struct |
| 533 | { |
| 534 | wpt_uint32 coexIndType; |
| 535 | wpt_uint32 coexIndData[WDI_COEX_IND_DATA_SIZE]; |
| 536 | } WDI_CoexIndType; |
| 537 | |
| 538 | /*--------------------------------------------------------------------------- |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 539 | WDI_DHCPInd |
| 540 | ---------------------------------------------------------------------------*/ |
| 541 | |
| 542 | typedef struct |
| 543 | { |
| 544 | wpt_uint8 device_mode; |
| 545 | wpt_uint8 macAddr[WDI_MAC_ADDR_LEN]; |
| 546 | }WDI_DHCPInd; |
| 547 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 548 | #ifdef WLAN_FEATURE_RMC |
| 549 | typedef struct |
| 550 | { |
| 551 | /*Request status callback offered by UMAC - it is called if the current |
| 552 | req has returned PENDING as status; it delivers the status of sending |
| 553 | the message over the BUS */ |
| 554 | WDI_ReqStatusCb wdiReqStatusCB; |
| 555 | |
| 556 | /*The user data passed in by UMAC, it will be sent back when the above |
| 557 | function pointer will be called */ |
| 558 | void* pUserData; |
| 559 | |
| 560 | wpt_uint8 tx_fail_count; |
| 561 | }WDI_TXFailMonitorInd; |
| 562 | #endif /* WLAN_FEATURE_RMC */ |
| 563 | |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 564 | /*--------------------------------------------------------------------------- |
| 565 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 566 | WDI_MacSSid |
| 567 | ---------------------------------------------------------------------------*/ |
| 568 | typedef struct |
| 569 | { |
| 570 | wpt_uint8 ucLength; |
| 571 | wpt_uint8 sSSID[WDI_MAX_SSID_SIZE]; |
| 572 | } WDI_MacSSid; |
| 573 | |
| 574 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 575 | /*--------------------------------------------------------------------------- |
| 576 | WDI_PrefNetworkFoundInd |
| 577 | ---------------------------------------------------------------------------*/ |
| 578 | typedef struct |
| 579 | { |
| 580 | /* Network that was found with the highest RSSI*/ |
Srikant Kuppa | 066904f | 2013-05-07 13:56:02 -0700 | [diff] [blame] | 581 | WDI_MacSSid ssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 582 | /* Indicates the RSSI */ |
Srikant Kuppa | 066904f | 2013-05-07 13:56:02 -0700 | [diff] [blame] | 583 | wpt_uint8 rssi; |
| 584 | wpt_uint16 frameLength; |
| 585 | wpt_uint8 *pData; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 586 | } WDI_PrefNetworkFoundInd; |
| 587 | #endif // FEATURE_WLAN_SCAN_PNO |
| 588 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 589 | /*--------------------------------------------------------------------------- |
| 590 | *WDI_P2pNoaAttrIndType |
| 591 | *-------------------------------------------------------------------------*/ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 592 | typedef struct |
| 593 | { |
| 594 | wpt_uint8 ucIndex ; |
| 595 | wpt_uint8 ucOppPsFlag ; |
| 596 | wpt_uint16 usCtWin ; |
| 597 | |
| 598 | wpt_uint16 usNoa1IntervalCnt; |
| 599 | wpt_uint16 usRsvd1 ; |
| 600 | wpt_uint32 uslNoa1Duration; |
| 601 | wpt_uint32 uslNoa1Interval; |
| 602 | wpt_uint32 uslNoa1StartTime; |
| 603 | |
| 604 | wpt_uint16 usNoa2IntervalCnt; |
| 605 | wpt_uint16 usRsvd2; |
| 606 | wpt_uint32 uslNoa2Duration; |
| 607 | wpt_uint32 uslNoa2Interval; |
| 608 | wpt_uint32 uslNoa2StartTime; |
| 609 | |
| 610 | wpt_uint32 status; |
| 611 | }WDI_P2pNoaAttrIndType; |
Viral Modi | d86bde2 | 2012-12-10 13:09:21 -0800 | [diff] [blame] | 612 | |
| 613 | /*--------------------------------------------------------------------------- |
| 614 | *WDI_P2pNoaStartIndType |
| 615 | *-------------------------------------------------------------------------*/ |
| 616 | typedef struct |
| 617 | { |
| 618 | wpt_uint32 status; |
| 619 | wpt_uint32 bssIdx; |
| 620 | }WDI_P2pNoaStartIndType; |
| 621 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 622 | /*--------------------------------------------------------------------------- |
| 623 | *WDI_TdlsIndType |
| 624 | *-------------------------------------------------------------------------*/ |
| 625 | typedef struct |
| 626 | { |
| 627 | wpt_uint16 status; |
| 628 | wpt_uint16 assocId; |
| 629 | wpt_uint16 staIdx; |
| 630 | wpt_uint16 reasonCode; |
| 631 | }WDI_TdlsIndType; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 632 | |
| 633 | #ifdef WLAN_WAKEUP_EVENTS |
| 634 | /*--------------------------------------------------------------------------- |
| 635 | WDI_WakeReasonIndType |
| 636 | ---------------------------------------------------------------------------*/ |
| 637 | typedef struct |
| 638 | { |
| 639 | wpt_uint32 ulReason; /* see tWakeReasonType */ |
| 640 | wpt_uint32 ulReasonArg; /* argument specific to the reason type */ |
| 641 | wpt_uint32 ulStoredDataLen; /* length of optional data stored in this message, in case |
| 642 | HAL truncates the data (i.e. data packets) this length |
| 643 | will be less than the actual length */ |
| 644 | wpt_uint32 ulActualDataLen; /* actual length of data */ |
| 645 | wpt_uint8 aDataStart[1]; /* variable length start of data (length == storedDataLen) |
| 646 | see specific wake type */ |
| 647 | } WDI_WakeReasonIndType; |
| 648 | #endif // WLAN_WAKEUP_EVENTS |
| 649 | |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 650 | typedef struct |
| 651 | { |
| 652 | wpt_uint16 event_data_len; |
| 653 | wpt_uint8* event_data; |
| 654 | } WDI_NanEventType; |
| 655 | |
| 656 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 657 | /*--------------------------------------------------------------------------- |
Leela Venkata Kiran Kumar Reddy Chirala | 3ca1790 | 2013-02-27 19:50:05 -0800 | [diff] [blame] | 658 | WDI_MissedBeaconIndType |
| 659 | -----------------------------------------------------------------------------*/ |
| 660 | typedef struct |
| 661 | { |
| 662 | wpt_uint8 bssIdx; /*bssidx on which beacon is missed*/ |
| 663 | } WDI_MissedBeaconIndType; |
| 664 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 665 | #ifdef FEATURE_WLAN_LPHB |
| 666 | /*--------------------------------------------------------------------------- |
| 667 | WDI_LPHBTimeoutIndData |
| 668 | -----------------------------------------------------------------------------*/ |
| 669 | typedef struct |
| 670 | { |
| 671 | wpt_uint8 bssIdx; |
| 672 | wpt_uint8 sessionIdx; |
| 673 | wpt_uint8 protocolType; /*TCP or UDP*/ |
| 674 | wpt_uint8 eventReason; |
| 675 | } WDI_LPHBTimeoutIndData; |
| 676 | #endif /* FEATURE_WLAN_LPHB */ |
Leela Venkata Kiran Kumar Reddy Chirala | 3ca1790 | 2013-02-27 19:50:05 -0800 | [diff] [blame] | 677 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 678 | /*----------------------------------------------------------------------------- |
| 679 | WDI_PeriodicTxPtrnFwIndType |
| 680 | -----------------------------------------------------------------------------*/ |
| 681 | typedef struct |
| 682 | { |
| 683 | wpt_uint8 bssIdx; |
| 684 | wpt_uint32 selfStaIdx; |
| 685 | wpt_uint32 status; |
| 686 | wpt_uint32 patternIdBitmap; |
| 687 | } WDI_PeriodicTxPtrnFwIndType; |
| 688 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 689 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 690 | /*--------------------------------------------------------------------------- |
| 691 | WDI_SetBatchScanReqType |
| 692 | ---------------------------------------------------------------------------*/ |
| 693 | typedef struct |
| 694 | { |
| 695 | wpt_uint32 scanFrequency; /* how frequent to do scan default 30Sec*/ |
| 696 | wpt_uint32 numberOfScansToBatch; /* number of scans to batch */ |
| 697 | wpt_uint32 bestNetwork; /* best networks in terms of rssi */ |
| 698 | wpt_uint8 rfBand; /* band to scan : |
| 699 | 0 ->both Band, 1->2.4Ghz Only |
| 700 | and 2-> 5GHz Only */ |
| 701 | wpt_uint32 rtt; /* set if required to do RTT it is not |
| 702 | supported in current version */ |
| 703 | }WDI_SetBatchScanReqType; |
| 704 | |
| 705 | /*--------------------------------------------------------------------------- |
| 706 | WDI_SetBatchScanRspType |
| 707 | ---------------------------------------------------------------------------*/ |
| 708 | typedef struct |
| 709 | { |
| 710 | /*max number of scans which FW can cache*/ |
| 711 | wpt_uint32 nScansToBatch; |
| 712 | }WDI_SetBatchScanRspType; |
| 713 | |
| 714 | /*--------------------------------------------------------------------------- |
| 715 | WDI_TriggerBatchScanResultIndType |
| 716 | ---------------------------------------------------------------------------*/ |
| 717 | typedef struct |
| 718 | { |
| 719 | wpt_uint32 param; |
| 720 | }WDI_TriggerBatchScanResultIndType; |
| 721 | |
| 722 | /*--------------------------------------------------------------------------- |
| 723 | WDI_StopBatchScanIndType |
| 724 | ---------------------------------------------------------------------------*/ |
| 725 | typedef struct |
| 726 | { |
| 727 | /*max number of scans which FW can cache*/ |
| 728 | wpt_uint32 param; |
| 729 | }WDI_StopBatchScanIndType; |
| 730 | |
| 731 | |
| 732 | /*--------------------------------------------------------------------------- |
| 733 | * WDI_BatchScanResultIndType |
| 734 | *--------------------------------------------------------------------------*/ |
| 735 | typedef struct |
| 736 | { |
| 737 | wpt_uint32 bssid[6]; /* BSSID */ |
| 738 | wpt_uint32 ssid[32]; /* SSID */ |
| 739 | wpt_uint32 ch; /* Channel */ |
| 740 | wpt_uint32 rssi; /* RSSI or Level */ |
| 741 | /* Timestamp when Network was found. Used to calculate age based on |
| 742 | timestamp in GET_RSP msg header */ |
| 743 | wpt_uint32 timestamp; |
| 744 | } tWDIBatchScanNetworkInfo, *tpWDIBatchScanNetworkInfo; |
| 745 | |
| 746 | typedef struct |
| 747 | { |
| 748 | wpt_uint32 scanId; /*Scan List ID*/ |
| 749 | /*No of AP in a Scan Result. Should be same as bestNetwork in SET_REQ msg*/ |
| 750 | wpt_uint32 numNetworksInScanList; |
| 751 | /*Variable data ptr: Number of AP in Scan List*/ |
| 752 | wpt_uint32 scanList[1]; |
| 753 | } tWDIBatchScanList, *tpWDIBatchScanList; |
| 754 | |
| 755 | typedef struct |
| 756 | { |
| 757 | wpt_uint32 timestamp; |
| 758 | wpt_uint32 numScanLists; |
| 759 | wpt_boolean isLastResult; |
| 760 | /* Variable Data ptr: Number of Scan Lists*/ |
| 761 | wpt_uint32 scanResults[1]; |
| 762 | } tWDIBatchScanResultParam, *tpWDIBatchScanResultParam; |
| 763 | |
| 764 | #endif |
| 765 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 766 | #ifdef WLAN_FEATURE_RMC |
| 767 | typedef struct |
| 768 | { |
| 769 | wpt_uint8 seqNo; |
| 770 | wpt_uint8 macAddr[WDI_MAC_ADDR_LEN]; |
| 771 | } WDI_TXFailIndType; |
| 772 | #endif /* WLAN_FEATURE_RMC */ |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 773 | |
Sachin Ahuja | 3d47fcd | 2015-08-28 16:02:06 +0530 | [diff] [blame] | 774 | typedef struct |
| 775 | { |
| 776 | wpt_uint8 bssIdx; |
| 777 | wpt_uint8 rssi; |
| 778 | wpt_uint8 selfMacAddr[WDI_MAC_ADDR_LEN]; |
| 779 | wpt_uint32 linkFlCnt; |
| 780 | wpt_uint32 linkFlTx; |
| 781 | wpt_uint32 lastDataRate; |
| 782 | wpt_uint32 rsvd1; |
| 783 | wpt_uint32 rsvd2; |
| 784 | |
| 785 | }WDI_LostLinkParamsIndType; |
| 786 | |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 787 | typedef struct |
| 788 | { |
| 789 | wpt_uint32 request_id; |
| 790 | wpt_uint8 bssId[WDI_MAC_ADDR_LEN]; |
| 791 | wpt_int8 rssi; |
| 792 | }WDI_RssiBreachedIndType; |
| 793 | |
Leela Venkata Kiran Kumar Reddy Chirala | 3ca1790 | 2013-02-27 19:50:05 -0800 | [diff] [blame] | 794 | /*--------------------------------------------------------------------------- |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 795 | WDI_IbssPeerInactivityIndType |
| 796 | -----------------------------------------------------------------------------*/ |
| 797 | typedef struct |
| 798 | { |
| 799 | wpt_uint8 bssIdx; |
| 800 | wpt_uint8 staIdx; |
| 801 | wpt_macAddr staMacAddr; |
| 802 | }WDI_IbssPeerInactivityIndType; |
| 803 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 804 | #ifdef WLAN_FEATURE_RMC |
| 805 | /*--------------------------------------------------------------------------- |
| 806 | WDI_RmcRulerReqParams |
| 807 | -----------------------------------------------------------------------------*/ |
| 808 | typedef struct |
| 809 | { |
| 810 | wpt_uint8 cmd; |
| 811 | |
| 812 | /* MAC address of MCAST Transmitter (source) */ |
| 813 | wpt_macAddr mcastTransmitter; |
| 814 | |
| 815 | /* MAC Address of Multicast Group (01-00-5E-xx-xx-xx) */ |
| 816 | wpt_macAddr mcastGroup; |
| 817 | |
| 818 | /* List of candidates for cmd = WLAN_HAL_SUGGEST_RULER*/ |
| 819 | wpt_macAddr blacklist[8]; /* HAL_NUM_MAX_RULERS */ |
| 820 | |
| 821 | /* |
| 822 | * Request status callback offered by UMAC - it is called if the current |
| 823 | * req has returned PENDING as status; it delivers the status of sending |
| 824 | * the message over the BUS |
| 825 | */ |
| 826 | WDI_ReqStatusCb wdiReqStatusCB; |
| 827 | |
| 828 | } WDI_RmcRulerReqParams; |
| 829 | |
| 830 | /*--------------------------------------------------------------------------- |
| 831 | WDI_RmcUpdateIndParams |
| 832 | -----------------------------------------------------------------------------*/ |
| 833 | typedef struct |
| 834 | { |
| 835 | wpt_uint8 indication; /* tRmcUpdateIndType */ |
| 836 | |
| 837 | wpt_uint8 role; |
| 838 | |
| 839 | /* MAC address of MCAST Transmitter (source) */ |
| 840 | wpt_macAddr mcastTransmitter; |
| 841 | |
| 842 | /* MAC Address of Multicast Group (01-00-5E-xx-xx-xx) */ |
| 843 | wpt_macAddr mcastGroup; |
| 844 | |
| 845 | wpt_macAddr mcastRuler; |
| 846 | |
| 847 | wpt_macAddr ruler[16]; |
| 848 | |
| 849 | /* |
| 850 | * Request status callback offered by UMAC - it is called if the current |
| 851 | * req has returned PENDING as status; it delivers the status of sending |
| 852 | * the message over the BUS |
| 853 | */ |
| 854 | WDI_ReqStatusCb wdiReqStatusCB; |
| 855 | |
| 856 | /* |
| 857 | * The user data passed in by UMAC, it will be sent back when the above |
| 858 | * function pointer will be called |
| 859 | */ |
| 860 | void *pUserData; |
| 861 | |
| 862 | } WDI_RmcUpdateIndParams; |
| 863 | |
| 864 | typedef enum |
| 865 | { |
| 866 | eWDI_SUGGEST_RULER_CMD = 0, |
| 867 | eWDI_BECOME_RULER_CMD = 1, |
| 868 | } eWDI_RulerRspCmdType; |
| 869 | |
| 870 | /*--------------------------------------------------------------------------- |
| 871 | WDI_RmcRspParamsType |
| 872 | -----------------------------------------------------------------------------*/ |
| 873 | typedef struct |
| 874 | { |
| 875 | wpt_uint8 status; /* success or failure */ |
| 876 | |
| 877 | /* Command Type */ |
| 878 | eWDI_RulerRspCmdType cmd; |
| 879 | |
| 880 | /* MAC address of MCAST Transmitter (source) */ |
| 881 | wpt_macAddr mcastTransmitter; |
| 882 | |
| 883 | /* MAC Address of Multicast Group (01-00-5E-xx-xx-xx) */ |
| 884 | wpt_macAddr mcastGroup; |
| 885 | |
| 886 | wpt_macAddr ruler[8]; |
| 887 | } WDI_RmcRspParamsType; |
| 888 | |
| 889 | /*--------------------------------------------------------------------------- |
| 890 | WDI_RmcPickNewRuler |
| 891 | -----------------------------------------------------------------------------*/ |
| 892 | typedef struct |
| 893 | { |
| 894 | wpt_uint8 indication; /* pick_new */ |
| 895 | |
| 896 | wpt_uint8 role; |
| 897 | |
| 898 | /* MAC address of MCAST Transmitter (source) */ |
| 899 | wpt_macAddr mcastTransmitter; |
| 900 | |
| 901 | /* MAC Address of Multicast Group (01-00-5E-xx-xx-xx) */ |
| 902 | wpt_macAddr mcastGroup; |
| 903 | |
| 904 | wpt_macAddr mcastRuler; |
| 905 | |
| 906 | wpt_macAddr ruler[16]; |
| 907 | } WDI_RmcPickNewRuler; |
| 908 | #endif |
| 909 | |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 910 | /*--------------------------------------------------------------------------- |
Chittajit Mitra | f5413a4 | 2013-10-18 14:20:08 -0700 | [diff] [blame] | 911 | WDI_TxRateFlags |
| 912 | -----------------------------------------------------------------------------*/ |
| 913 | typedef enum |
| 914 | { |
| 915 | WDI_TX_RATE_LEGACY = 0x1, /* Legacy rates */ |
| 916 | WDI_TX_RATE_HT20 = 0x2, /* HT20 rates */ |
| 917 | WDI_TX_RATE_HT40 = 0x4, /* HT40 rates */ |
| 918 | WDI_TX_RATE_SGI = 0x8, /* Rate with Short guard interval */ |
| 919 | WDI_TX_RATE_LGI = 0x10, /* Rate with Long guard interval */ |
| 920 | WDI_TX_RATE_VHT20 = 0x20, /* VHT 20 rates */ |
| 921 | WDI_TX_RATE_VHT40 = 0x40, /* VHT 20 rates */ |
| 922 | WDI_TX_RATE_VHT80 = 0x80, /* VHT 20 rates */ |
| 923 | WDI_TX_RATE_VIRT = 0x100, /* Virtual Rate */ |
| 924 | } WDI_TxRateFlags; |
| 925 | |
| 926 | /*--------------------------------------------------------------------------- |
| 927 | WDI_RateUpdateIndParams |
| 928 | -----------------------------------------------------------------------------*/ |
| 929 | typedef struct |
| 930 | { |
| 931 | /* 0 implies RA, positive value implies fixed rate, -1 implies ignore this |
| 932 | * param ucastDataRate can be used to control RA behavior of unicast data to |
| 933 | */ |
| 934 | wpt_int32 ucastDataRate; |
| 935 | |
| 936 | /* TX flag to differentiate between HT20, HT40 etc */ |
| 937 | WDI_TxRateFlags ucastDataRateTxFlag; |
| 938 | |
| 939 | /* BSSID - Optional. 00-00-00-00-00-00 implies apply to all BCAST STAs */ |
| 940 | wpt_macAddr bssid; |
| 941 | |
| 942 | /* |
| 943 | * 0 implies MCAST RA, positive value implies fixed rate, |
| 944 | * -1 implies ignore this param |
| 945 | */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 946 | wpt_int32 rmcDataRate; //unit Mbpsx10 |
Chittajit Mitra | f5413a4 | 2013-10-18 14:20:08 -0700 | [diff] [blame] | 947 | |
| 948 | /* TX flag to differentiate between HT20, HT40 etc */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 949 | WDI_TxRateFlags rmcDataRateTxFlag; |
Chittajit Mitra | f5413a4 | 2013-10-18 14:20:08 -0700 | [diff] [blame] | 950 | |
| 951 | /* |
| 952 | * MCAST(or BCAST) fixed data rate in 2.4 GHz, unit Mbpsx10, |
| 953 | * 0 implies ignore |
| 954 | */ |
| 955 | wpt_uint32 mcastDataRate24GHz; |
| 956 | |
| 957 | /* TX flag to differentiate between HT20, HT40 etc */ |
| 958 | WDI_TxRateFlags mcastDataRate24GHzTxFlag; |
| 959 | |
| 960 | /* |
| 961 | * MCAST(or BCAST) fixed data rate in 5 GHz, |
| 962 | * unit Mbpsx10, 0 implies ignore |
| 963 | */ |
| 964 | wpt_uint32 mcastDataRate5GHz; |
| 965 | |
| 966 | /* TX flag to differentiate between HT20, HT40 etc */ |
| 967 | WDI_TxRateFlags mcastDataRate5GHzTxFlag; |
| 968 | |
| 969 | /* |
| 970 | * Request status callback offered by UMAC - it is called if the current |
| 971 | * req has returned PENDING as status; it delivers the status of sending |
| 972 | * the message over the BUS |
| 973 | */ |
| 974 | WDI_ReqStatusCb wdiReqStatusCB; |
| 975 | |
| 976 | /* |
| 977 | * The user data passed in by UMAC, it will be sent back when the above |
| 978 | * function pointer will be called |
| 979 | */ |
| 980 | void *pUserData; |
| 981 | |
| 982 | } WDI_RateUpdateIndParams; |
| 983 | |
Abhishek Singh | 85b7471 | 2014-10-08 11:38:19 +0530 | [diff] [blame] | 984 | typedef struct |
| 985 | { |
| 986 | wpt_uint32 ubsp_enter_cnt; |
| 987 | wpt_uint32 ubsp_jump_ddr_cnt; |
| 988 | }ubspFwStats; |
| 989 | |
| 990 | typedef struct |
| 991 | { |
| 992 | wpt_uint32 type; |
| 993 | /*data*/ |
| 994 | union{ |
| 995 | ubspFwStats ubspStats; |
| 996 | }wdiFwStatsData; |
| 997 | } WDI_FWStatsResults; |
| 998 | |
Leo Chang | 0b0e45a | 2013-12-15 15:18:55 -0800 | [diff] [blame] | 999 | #ifdef FEATURE_WLAN_CH_AVOID |
Abhishek Singh | e34eb55 | 2015-06-18 10:12:15 +0530 | [diff] [blame] | 1000 | #define WDI_CH_AVOID_MAX_RANGE 15 |
Leo Chang | 0b0e45a | 2013-12-15 15:18:55 -0800 | [diff] [blame] | 1001 | |
| 1002 | typedef struct |
| 1003 | { |
| 1004 | wpt_uint32 startFreq; |
| 1005 | wpt_uint32 endFreq; |
| 1006 | } WDI_ChAvoidFreqType; |
| 1007 | |
| 1008 | typedef struct |
| 1009 | { |
| 1010 | wpt_uint32 avoidRangeCount; |
| 1011 | WDI_ChAvoidFreqType avoidFreqRange[WDI_CH_AVOID_MAX_RANGE]; |
| 1012 | } WDI_ChAvoidIndType; |
| 1013 | #endif /* FEATURE_WLAN_CH_AVOID */ |
| 1014 | |
Dino Mycle | d3d5002 | 2014-07-07 12:58:25 +0530 | [diff] [blame] | 1015 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 1016 | typedef struct |
| 1017 | { |
| 1018 | void *pLinkLayerStatsResults; |
| 1019 | wpt_macAddr macAddr; |
| 1020 | } WDI_LinkLayerStatsResults; |
| 1021 | |
| 1022 | #endif |
Abhishek Singh | 66c1676 | 2014-08-14 19:13:19 +0530 | [diff] [blame] | 1023 | |
| 1024 | typedef struct |
| 1025 | { |
| 1026 | /*STA Index*/ |
| 1027 | wpt_uint16 staIdx; |
| 1028 | |
| 1029 | /*Peer MAC*/ |
| 1030 | wpt_macAddr peerMacAddr; |
| 1031 | |
| 1032 | // TID for which a BA session timeout is being triggered |
| 1033 | wpt_uint8 baTID; |
| 1034 | // DELBA direction |
| 1035 | // 1 - Originator |
| 1036 | // 0 - Recipient |
| 1037 | wpt_uint8 baDirection; |
| 1038 | wpt_uint32 reasonCode; |
| 1039 | /*MAC ADDR of STA*/ |
| 1040 | wpt_macAddr bssId; // TO SUPPORT BT-AMP |
| 1041 | } WDI_DeleteBAIndType; |
| 1042 | |
Ganesh Kondabattini | b18b329 | 2015-03-16 16:59:26 +0530 | [diff] [blame] | 1043 | typedef struct |
| 1044 | { |
| 1045 | wpt_uint32 tx_complete_status; |
| 1046 | wpt_uint32 tx_bd_token; |
| 1047 | } WDI_TxBDStatus; |
Padma, Santhosh Kumar | ee7c3d2 | 2016-01-25 10:36:08 +0530 | [diff] [blame] | 1048 | |
| 1049 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 1050 | /*---------------------------------------------------------------------------- |
| 1051 | OEM DATA RESPONSE - DATA STRUCTURES |
| 1052 | ----------------------------------------------------------------------------*/ |
| 1053 | typedef struct |
| 1054 | { |
| 1055 | void *pOemRspNewIndData; |
| 1056 | /* Max OemRspNewLen possible is NEW_OEM_DATA_RSP_SIZE*/ |
| 1057 | wpt_uint32 OemRspNewLen; |
| 1058 | } WDI_OemDataRspNew; |
| 1059 | #endif |
| 1060 | |
Chittajit Mitra | f5413a4 | 2013-10-18 14:20:08 -0700 | [diff] [blame] | 1061 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1062 | WDI_LowLevelIndType |
| 1063 | Inidcation type and information about the indication being carried |
| 1064 | over |
| 1065 | ---------------------------------------------------------------------------*/ |
| 1066 | typedef struct |
| 1067 | { |
| 1068 | /*Inidcation type*/ |
| 1069 | WDI_LowLevelIndEnumType wdiIndicationType; |
| 1070 | |
| 1071 | /*Indication data*/ |
| 1072 | union |
| 1073 | { |
| 1074 | /*RSSI Threshold Info for WDI_LOW_RSSI_IND*/ |
| 1075 | WDI_LowRSSIThIndType wdiLowRSSIInfo; |
| 1076 | |
| 1077 | /*Addr2 Frame Info for WDI_UNKNOWN_ADDR2_FRAME_RX_IND*/ |
| 1078 | WDI_UnkAddr2FrmRxIndType wdiUnkAddr2FrmInfo; |
| 1079 | |
| 1080 | /*MIC Failure info for WDI_MIC_FAILURE_IND*/ |
| 1081 | WDI_MicFailureIndType wdiMICFailureInfo; |
| 1082 | |
| 1083 | /*Error code for WDI_FATAL_ERROR_IND*/ |
| 1084 | wpt_uint16 usErrorCode; |
| 1085 | |
| 1086 | /*Delete STA Indication*/ |
| 1087 | WDI_DeleteSTAIndType wdiDeleteSTAIndType; |
| 1088 | |
| 1089 | /*Coex Indication*/ |
| 1090 | WDI_CoexIndType wdiCoexInfo; |
| 1091 | |
| 1092 | /* Tx Complete Indication */ |
| 1093 | wpt_uint32 tx_complete_status; |
| 1094 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1095 | /* P2P NOA ATTR Indication */ |
| 1096 | WDI_P2pNoaAttrIndType wdiP2pNoaAttrInfo; |
Viral Modi | d86bde2 | 2012-12-10 13:09:21 -0800 | [diff] [blame] | 1097 | WDI_P2pNoaStartIndType wdiP2pNoaStartInfo; |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 1098 | /* TDLS Indications */ |
| 1099 | WDI_TdlsIndType wdiTdlsIndInfo; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1100 | |
| 1101 | |
| 1102 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 1103 | WDI_PrefNetworkFoundInd wdiPrefNetworkFoundInd; |
| 1104 | #endif // FEATURE_WLAN_SCAN_PNO |
| 1105 | |
| 1106 | #ifdef WLAN_WAKEUP_EVENTS |
| 1107 | WDI_WakeReasonIndType wdiWakeReasonInd; |
| 1108 | #endif // WLAN_WAKEUP_EVENTS |
Leela Venkata Kiran Kumar Reddy Chirala | 3ca1790 | 2013-02-27 19:50:05 -0800 | [diff] [blame] | 1109 | WDI_MissedBeaconIndType wdiMissedBeaconInd; |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 1110 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 1111 | #ifdef FEATURE_WLAN_LPHB |
| 1112 | WDI_LPHBTimeoutIndData wdiLPHBTimeoutInd; |
| 1113 | #endif /* FEATURE_WLAN_LPHB */ |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 1114 | |
| 1115 | /* IBSS Peer Inactivity Indication */ |
| 1116 | WDI_IbssPeerInactivityIndType wdiIbssPeerInactivityInd; |
| 1117 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 1118 | /* Periodic TX Pattern FW Indication */ |
| 1119 | WDI_PeriodicTxPtrnFwIndType wdiPeriodicTxPtrnFwInd; |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 1120 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 1121 | #ifdef WLAN_FEATURE_RMC |
| 1122 | WDI_RmcPickNewRuler wdiRmcPickNewRulerInd; |
| 1123 | #endif /* WLAN_FEATURE_RMC */ |
| 1124 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 1125 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 1126 | /*batch scan result indication from FW*/ |
| 1127 | void *pBatchScanResult; |
| 1128 | #endif |
| 1129 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 1130 | #ifdef WLAN_FEATURE_RMC |
| 1131 | WDI_TXFailIndType wdiTXFailInd; |
| 1132 | #endif /* WLAN_FEATURE_RMC */ |
| 1133 | |
Leo Chang | 0b0e45a | 2013-12-15 15:18:55 -0800 | [diff] [blame] | 1134 | #ifdef FEATURE_WLAN_CH_AVOID |
| 1135 | WDI_ChAvoidIndType wdiChAvoidInd; |
| 1136 | #endif /* FEATURE_WLAN_CH_AVOID */ |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 1137 | |
| 1138 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 1139 | /*Link Layer Statistics from FW*/ |
Dino Mycle | d3d5002 | 2014-07-07 12:58:25 +0530 | [diff] [blame] | 1140 | WDI_LinkLayerStatsResults wdiLinkLayerStatsResults; |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 1141 | #endif |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 1142 | #ifdef WLAN_FEATURE_EXTSCAN |
| 1143 | /*EXTSCAN Results from FW*/ |
| 1144 | void *pEXTScanIndData; |
| 1145 | #endif |
Abhishek Singh | 66c1676 | 2014-08-14 19:13:19 +0530 | [diff] [blame] | 1146 | WDI_DeleteBAIndType wdiDeleteBAInd; |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 1147 | |
| 1148 | WDI_NanEventType wdiNanEvent; |
Ganesh Kondabattini | b18b329 | 2015-03-16 16:59:26 +0530 | [diff] [blame] | 1149 | |
| 1150 | WDI_TxBDStatus wdiTxBdInd; |
Sachin Ahuja | 3d47fcd | 2015-08-28 16:02:06 +0530 | [diff] [blame] | 1151 | WDI_LostLinkParamsIndType wdiLostLinkParamsInd; |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 1152 | WDI_RssiBreachedIndType wdiRssiBreachedInd; |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 1153 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 1154 | /*OEM Data Rsp New Results from FW*/ |
Padma, Santhosh Kumar | ee7c3d2 | 2016-01-25 10:36:08 +0530 | [diff] [blame] | 1155 | WDI_OemDataRspNew wdiOemDataRspNew; |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 1156 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1157 | } wdiIndicationData; |
| 1158 | }WDI_LowLevelIndType; |
| 1159 | |
| 1160 | /*--------------------------------------------------------------------------- |
| 1161 | WDI_LowLevelIndCBType |
| 1162 | |
| 1163 | DESCRIPTION |
| 1164 | |
| 1165 | This callback is invoked by DAL to deliver to UMAC certain indications |
| 1166 | that has either received from the lower device or has generated itself. |
| 1167 | |
| 1168 | PARAMETERS |
| 1169 | |
| 1170 | IN |
| 1171 | pwdiInd: information about the indication sent over |
| 1172 | pUserData: user data provided by UMAC during registration |
| 1173 | |
| 1174 | |
| 1175 | |
| 1176 | RETURN VALUE |
| 1177 | The result code associated with performing the operation |
| 1178 | ---------------------------------------------------------------------------*/ |
| 1179 | typedef void (*WDI_LowLevelIndCBType)(WDI_LowLevelIndType* pwdiInd, |
| 1180 | void* pUserData); |
| 1181 | |
| 1182 | /*--------------------------------------------------------------------------- |
| 1183 | WDI_DriverType |
| 1184 | ---------------------------------------------------------------------------*/ |
| 1185 | typedef enum |
| 1186 | { |
| 1187 | WDI_DRIVER_TYPE_PRODUCTION = 0, |
| 1188 | WDI_DRIVER_TYPE_MFG = 1, |
| 1189 | WDI_DRIVER_TYPE_DVT = 2 |
| 1190 | } WDI_DriverType; |
| 1191 | |
| 1192 | /*--------------------------------------------------------------------------- |
| 1193 | WDI_StartReqParamsType |
| 1194 | ---------------------------------------------------------------------------*/ |
| 1195 | typedef struct |
| 1196 | { |
| 1197 | /*This is a TLV formatted buffer containing all config values that can |
| 1198 | be set through the DAL Interface |
| 1199 | |
| 1200 | The TLV is expected to be formatted like this: |
| 1201 | |
| 1202 | 0 7 15 31 .... |
| 1203 | | CONFIG ID | CFG LEN | RESERVED | CFG BODY | |
| 1204 | |
| 1205 | Or from a C construct point of VU it would look like this: |
| 1206 | |
| 1207 | typedef struct WPT_PACK_POST |
| 1208 | { |
| 1209 | #ifdef WPT_BIG_ENDIAN |
| 1210 | wpt_uint32 ucCfgId:8; |
| 1211 | wpt_uint32 ucCfgLen:8; |
| 1212 | wpt_uint32 usReserved:16; |
| 1213 | #else |
| 1214 | wpt_uint32 usReserved:16; |
| 1215 | wpt_uint32 ucCfgLen:8; |
| 1216 | wpt_uint32 ucCfgId:8; |
| 1217 | #endif |
| 1218 | |
| 1219 | wpt_uint8 ucCfgBody[ucCfgLen]; |
| 1220 | }WDI_ConfigType; |
| 1221 | |
| 1222 | Multiple such tuplets are to be placed in the config buffer. One for |
| 1223 | each required configuration item: |
| 1224 | |
| 1225 | | TLV 1 | TLV2 | .... |
| 1226 | |
| 1227 | The buffer is expected to be a flat area of memory that can be manipulated |
| 1228 | with standard memory routines. |
| 1229 | |
| 1230 | For more info please check paragraph 2.3.1 Config Structure from the |
| 1231 | HAL LLD. |
| 1232 | |
| 1233 | For a list of accepted configuration list and IDs please look up |
| 1234 | wlan_qct_dal_cfg.h |
| 1235 | |
| 1236 | */ |
| 1237 | void* pConfigBuffer; |
| 1238 | |
| 1239 | /*Length of the config buffer above*/ |
| 1240 | wpt_uint16 usConfigBufferLen; |
| 1241 | |
| 1242 | /*Production or FTM driver*/ |
| 1243 | WDI_DriverType wdiDriverType; |
| 1244 | |
| 1245 | /*Should device enable frame translation */ |
| 1246 | wpt_uint8 bFrameTransEnabled; |
| 1247 | |
| 1248 | /*Request status callback offered by UMAC - it is called if the current |
| 1249 | req has returned PENDING as status; it delivers the status of sending |
| 1250 | the message over the BUS */ |
| 1251 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1252 | |
| 1253 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1254 | function pointer will be called */ |
| 1255 | void* pUserData; |
| 1256 | |
| 1257 | /*Indication callback given by UMAC to be called by the WLAN DAL when it |
| 1258 | wishes to send something back independent of a request*/ |
| 1259 | WDI_LowLevelIndCBType wdiLowLevelIndCB; |
| 1260 | |
| 1261 | /*The user data passed in by UMAC, it will be sent back when the indication |
| 1262 | function pointer will be called */ |
| 1263 | void* pIndUserData; |
| 1264 | }WDI_StartReqParamsType; |
| 1265 | |
| 1266 | |
| 1267 | /*--------------------------------------------------------------------------- |
| 1268 | WDI_StartRspParamsType |
| 1269 | ---------------------------------------------------------------------------*/ |
| 1270 | typedef struct |
| 1271 | { |
| 1272 | /*Status of the response*/ |
| 1273 | WDI_Status wdiStatus; |
| 1274 | |
| 1275 | /*Max number of STA supported by the device*/ |
| 1276 | wpt_uint8 ucMaxStations; |
| 1277 | |
| 1278 | /*Max number of BSS supported by the device*/ |
| 1279 | wpt_uint8 ucMaxBssids; |
| 1280 | |
| 1281 | /*Version of the WLAN HAL API with which we were compiled*/ |
| 1282 | WDI_WlanVersionType wlanCompiledVersion; |
| 1283 | |
| 1284 | /*Version of the WLAN HAL API that was reported*/ |
| 1285 | WDI_WlanVersionType wlanReportedVersion; |
| 1286 | |
| 1287 | /*WCNSS Software version string*/ |
| 1288 | wpt_uint8 wcnssSoftwareVersion[WDI_VERSION_LENGTH]; |
| 1289 | |
| 1290 | /*WCNSS Hardware version string*/ |
| 1291 | wpt_uint8 wcnssHardwareVersion[WDI_VERSION_LENGTH]; |
| 1292 | }WDI_StartRspParamsType; |
| 1293 | |
| 1294 | |
| 1295 | /*--------------------------------------------------------------------------- |
| 1296 | WDI_StopType |
| 1297 | ---------------------------------------------------------------------------*/ |
| 1298 | typedef enum |
| 1299 | { |
| 1300 | /*Device is being stopped due to a reset*/ |
| 1301 | WDI_STOP_TYPE_SYS_RESET, |
| 1302 | |
| 1303 | /*Device is being stopped due to entering deep sleep*/ |
| 1304 | WDI_STOP_TYPE_SYS_DEEP_SLEEP, |
| 1305 | |
| 1306 | /*Device is being stopped because the RF needs to shut off |
| 1307 | (e.g.:Airplane mode)*/ |
| 1308 | WDI_STOP_TYPE_RF_KILL |
| 1309 | }WDI_StopType; |
| 1310 | |
| 1311 | /*--------------------------------------------------------------------------- |
| 1312 | WDI_StopReqParamsType |
| 1313 | ---------------------------------------------------------------------------*/ |
| 1314 | typedef struct |
| 1315 | { |
| 1316 | |
| 1317 | /*The reason for which the device is being stopped*/ |
| 1318 | WDI_StopType wdiStopReason; |
| 1319 | |
| 1320 | /*Request status callback offered by UMAC - it is called if the current |
| 1321 | req has returned PENDING as status; it delivers the status of sending |
| 1322 | the message over the BUS */ |
| 1323 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1324 | |
| 1325 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1326 | function pointer will be called */ |
| 1327 | void* pUserData; |
| 1328 | }WDI_StopReqParamsType; |
| 1329 | |
| 1330 | |
| 1331 | /*--------------------------------------------------------------------------- |
| 1332 | WDI_ScanMode |
| 1333 | ---------------------------------------------------------------------------*/ |
| 1334 | typedef enum |
| 1335 | { |
| 1336 | WDI_SCAN_MODE_NORMAL = 0, |
| 1337 | WDI_SCAN_MODE_LEARN, |
| 1338 | WDI_SCAN_MODE_SCAN, |
| 1339 | WDI_SCAN_MODE_PROMISC, |
Madan Mohan Koyyalamudi | 9b87678 | 2012-10-11 16:22:51 -0700 | [diff] [blame] | 1340 | WDI_SCAN_MODE_SUSPEND_LINK, |
| 1341 | WDI_SCAN_MODE_ROAM_SCAN, |
| 1342 | WDI_SCAN_MODE_ROAM_SUSPEND_LINK, |
| 1343 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1344 | } WDI_ScanMode; |
| 1345 | |
| 1346 | /*--------------------------------------------------------------------------- |
| 1347 | WDI_ScanEntry |
| 1348 | ---------------------------------------------------------------------------*/ |
| 1349 | typedef struct |
| 1350 | { |
| 1351 | wpt_uint8 bssIdx[WDI_NUM_BSSID]; |
| 1352 | wpt_uint8 activeBSScnt; |
| 1353 | }WDI_ScanEntry; |
| 1354 | |
| 1355 | /*--------------------------------------------------------------------------- |
| 1356 | WDI_InitScanReqInfoType |
| 1357 | ---------------------------------------------------------------------------*/ |
| 1358 | typedef struct |
| 1359 | { |
| 1360 | /*LEARN - AP Role |
| 1361 | SCAN - STA Role*/ |
| 1362 | WDI_ScanMode wdiScanMode; |
| 1363 | |
| 1364 | /*BSSID of the BSS*/ |
| 1365 | wpt_macAddr macBSSID; |
| 1366 | |
| 1367 | /*Whether BSS needs to be notified*/ |
| 1368 | wpt_boolean bNotifyBSS; |
| 1369 | |
| 1370 | /*Kind of frame to be used for notifying the BSS (Data Null, QoS Null, or |
| 1371 | CTS to Self). Must always be a valid frame type.*/ |
| 1372 | wpt_uint8 ucFrameType; |
| 1373 | |
| 1374 | /*UMAC has the option of passing the MAC frame to be used for notifying |
| 1375 | the BSS. If non-zero, HAL will use the MAC frame buffer pointed to by |
| 1376 | macMgmtHdr. If zero, HAL will generate the appropriate MAC frame based on |
| 1377 | frameType.*/ |
| 1378 | wpt_uint8 ucFrameLength; |
| 1379 | |
| 1380 | /*Pointer to the MAC frame buffer. Used only if ucFrameLength is non-zero.*/ |
| 1381 | WDI_MacMgmtHdr wdiMACMgmtHdr; |
| 1382 | |
| 1383 | /*Entry to hold number of active BSS to send NULL frames before |
| 1384 | * initiating SCAN*/ |
| 1385 | WDI_ScanEntry wdiScanEntry; |
| 1386 | |
| 1387 | /* Flag to enable/disable Single NOA*/ |
| 1388 | wpt_boolean bUseNOA; |
| 1389 | |
| 1390 | /* Indicates the scan duration (in ms) */ |
| 1391 | wpt_uint16 scanDuration; |
| 1392 | |
| 1393 | }WDI_InitScanReqInfoType; |
| 1394 | |
| 1395 | /*--------------------------------------------------------------------------- |
| 1396 | WDI_InitScanReqParamsType |
| 1397 | ---------------------------------------------------------------------------*/ |
| 1398 | typedef struct |
| 1399 | { |
| 1400 | /*The info associated with the request that needs to be sent over to the |
| 1401 | device*/ |
| 1402 | WDI_InitScanReqInfoType wdiReqInfo; |
| 1403 | |
| 1404 | /*Request status callback offered by UMAC - it is called if the current |
| 1405 | req has returned PENDING as status; it delivers the status of sending |
| 1406 | the message over the BUS */ |
| 1407 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1408 | |
| 1409 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1410 | function pointer will be called */ |
| 1411 | void* pUserData; |
| 1412 | }WDI_InitScanReqParamsType; |
| 1413 | |
| 1414 | /*--------------------------------------------------------------------------- |
| 1415 | WDI_StartScanReqParamsType |
| 1416 | ---------------------------------------------------------------------------*/ |
| 1417 | typedef struct |
| 1418 | { |
| 1419 | /*Indicates the channel to scan*/ |
| 1420 | wpt_uint8 ucChannel; |
| 1421 | |
| 1422 | /*Request status callback offered by UMAC - it is called if the current |
| 1423 | req has returned PENDING as status; it delivers the status of sending |
| 1424 | the message over the BUS */ |
| 1425 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1426 | |
| 1427 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1428 | function pointer will be called */ |
| 1429 | void* pUserData; |
| 1430 | }WDI_StartScanReqParamsType; |
| 1431 | |
| 1432 | /*--------------------------------------------------------------------------- |
| 1433 | WDI_StartScanRspParamsType |
| 1434 | ---------------------------------------------------------------------------*/ |
| 1435 | typedef struct |
| 1436 | { |
| 1437 | /*Indicates the status of the operation */ |
| 1438 | WDI_Status wdiStatus; |
| 1439 | |
| 1440 | #if defined WLAN_FEATURE_VOWIFI |
| 1441 | wpt_uint32 aStartTSF[2]; |
| 1442 | wpt_int8 ucTxMgmtPower; |
| 1443 | #endif |
| 1444 | }WDI_StartScanRspParamsType; |
| 1445 | |
| 1446 | /*--------------------------------------------------------------------------- |
| 1447 | WDI_EndScanReqParamsType |
| 1448 | ---------------------------------------------------------------------------*/ |
| 1449 | typedef struct |
| 1450 | { |
| 1451 | /*Indicates the channel to stop scanning. Not used really. But retained |
| 1452 | for symmetry with "start Scan" message. It can also help in error |
| 1453 | check if needed.*/ |
| 1454 | wpt_uint8 ucChannel; |
| 1455 | |
| 1456 | /*Request status callback offered by UMAC - it is called if the current |
| 1457 | req has returned PENDING as status; it delivers the status of sending |
| 1458 | the message over the BUS */ |
| 1459 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1460 | |
| 1461 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1462 | function pointer will be called */ |
| 1463 | void* pUserData; |
| 1464 | }WDI_EndScanReqParamsType; |
| 1465 | |
| 1466 | /*--------------------------------------------------------------------------- |
| 1467 | WDI_PhyChanBondState |
| 1468 | ---------------------------------------------------------------------------*/ |
| 1469 | typedef enum |
| 1470 | { |
| 1471 | WDI_PHY_SINGLE_CHANNEL_CENTERED = 0, |
| 1472 | WDI_PHY_DOUBLE_CHANNEL_LOW_PRIMARY = 1, |
| 1473 | WDI_PHY_DOUBLE_CHANNEL_CENTERED = 2, |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1474 | WDI_PHY_DOUBLE_CHANNEL_HIGH_PRIMARY = 3, |
| 1475 | #ifdef WLAN_FEATURE_11AC |
| 1476 | WDI_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_CENTERED = 4, //20/40MHZ offset LOW 40/80MHZ offset CENTERED |
| 1477 | WDI_QUADRUPLE_CHANNEL_20MHZ_CENTERED_40MHZ_CENTERED = 5, //20/40MHZ offset CENTERED 40/80MHZ offset CENTERED |
| 1478 | WDI_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_CENTERED = 6, //20/40MHZ offset HIGH 40/80MHZ offset CENTERED |
| 1479 | WDI_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_LOW = 7,//20/40MHZ offset LOW 40/80MHZ offset LOW |
| 1480 | WDI_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_LOW = 8, //20/40MHZ offset HIGH 40/80MHZ offset LOW |
| 1481 | WDI_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_HIGH = 9, //20/40MHZ offset LOW 40/80MHZ offset HIGH |
| 1482 | WDI_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_HIGH = 10,//20/40MHZ offset-HIGH 40/80MHZ offset HIGH |
| 1483 | #endif |
| 1484 | WDI_MAX_CB_STATE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1485 | } WDI_PhyChanBondState; |
| 1486 | |
| 1487 | /*--------------------------------------------------------------------------- |
| 1488 | WDI_FinishScanReqInfoType |
| 1489 | ---------------------------------------------------------------------------*/ |
| 1490 | typedef struct |
| 1491 | { |
| 1492 | /*LEARN - AP Role |
| 1493 | SCAN - STA Role*/ |
| 1494 | WDI_ScanMode wdiScanMode; |
| 1495 | |
| 1496 | /*Operating channel to tune to.*/ |
| 1497 | wpt_uint8 ucCurrentOperatingChannel; |
| 1498 | |
| 1499 | /*Channel Bonding state If 20/40 MHz is operational, this will indicate the |
| 1500 | 40 MHz extension channel in combination with the control channel*/ |
| 1501 | WDI_PhyChanBondState wdiCBState; |
| 1502 | |
| 1503 | /*BSSID of the BSS*/ |
| 1504 | wpt_macAddr macBSSID; |
| 1505 | |
| 1506 | /*Whether BSS needs to be notified*/ |
| 1507 | wpt_boolean bNotifyBSS; |
| 1508 | |
| 1509 | /*Kind of frame to be used for notifying the BSS (Data Null, QoS Null, or |
| 1510 | CTS to Self). Must always be a valid frame type.*/ |
| 1511 | wpt_uint8 ucFrameType; |
| 1512 | |
| 1513 | /*UMAC has the option of passing the MAC frame to be used for notifying |
| 1514 | the BSS. If non-zero, HAL will use the MAC frame buffer pointed to by |
| 1515 | macMgmtHdr. If zero, HAL will generate the appropriate MAC frame based on |
| 1516 | frameType.*/ |
| 1517 | wpt_uint8 ucFrameLength; |
| 1518 | |
| 1519 | /*Pointer to the MAC frame buffer. Used only if ucFrameLength is non-zero.*/ |
| 1520 | WDI_MacMgmtHdr wdiMACMgmtHdr; |
| 1521 | |
| 1522 | /*Entry to hold number of active BSS to send NULL frames after SCAN*/ |
| 1523 | WDI_ScanEntry wdiScanEntry; |
| 1524 | |
| 1525 | }WDI_FinishScanReqInfoType; |
| 1526 | |
| 1527 | /*--------------------------------------------------------------------------- |
| 1528 | WDI_SwitchChReqInfoType |
| 1529 | ---------------------------------------------------------------------------*/ |
| 1530 | typedef struct |
| 1531 | { |
| 1532 | /*Indicates the channel to switch to.*/ |
| 1533 | wpt_uint8 ucChannel; |
| 1534 | |
| 1535 | /*Local power constraint*/ |
| 1536 | wpt_uint8 ucLocalPowerConstraint; |
| 1537 | |
| 1538 | /*Secondary channel offset */ |
| 1539 | WDI_HTSecondaryChannelOffset wdiSecondaryChannelOffset; |
| 1540 | |
| 1541 | #ifdef WLAN_FEATURE_VOWIFI |
| 1542 | wpt_int8 cMaxTxPower; |
| 1543 | |
| 1544 | /*Self STA Mac address*/ |
| 1545 | wpt_macAddr macSelfStaMacAddr; |
| 1546 | #endif |
| 1547 | /* VO Wifi comment: BSSID is needed to identify which session issued this request. As the |
| 1548 | request has power constraints, this should be applied only to that session */ |
| 1549 | /* V IMP: Keep bssId field at the end of this msg. It is used to mantain backward compatbility |
| 1550 | * by way of ignoring if using new host/old FW or old host/new FW since it is at the end of this struct |
| 1551 | */ |
| 1552 | wpt_macAddr macBSSId; |
| 1553 | |
| 1554 | }WDI_SwitchChReqInfoType; |
| 1555 | |
| 1556 | /*--------------------------------------------------------------------------- |
| 1557 | WDI_SwitchChReqParamsType |
| 1558 | ---------------------------------------------------------------------------*/ |
| 1559 | typedef struct |
| 1560 | { |
| 1561 | /*Channel Info*/ |
| 1562 | WDI_SwitchChReqInfoType wdiChInfo; |
| 1563 | |
| 1564 | /*Request status callback offered by UMAC - it is called if the current |
| 1565 | req has returned PENDING as status; it delivers the status of sending |
| 1566 | the message over the BUS */ |
| 1567 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1568 | |
| 1569 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1570 | function pointer will be called */ |
| 1571 | void* pUserData; |
| 1572 | }WDI_SwitchChReqParamsType; |
| 1573 | |
| 1574 | /*--------------------------------------------------------------------------- |
| 1575 | WDI_FinishScanReqParamsType |
| 1576 | ---------------------------------------------------------------------------*/ |
| 1577 | typedef struct |
| 1578 | { |
| 1579 | /*Info for the Finish Scan request that will be sent down to the device*/ |
| 1580 | WDI_FinishScanReqInfoType wdiReqInfo; |
| 1581 | |
| 1582 | /*Request status callback offered by UMAC - it is called if the current |
| 1583 | req has returned PENDING as status; it delivers the status of sending |
| 1584 | the message over the BUS */ |
| 1585 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1586 | |
| 1587 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1588 | function pointer will be called */ |
| 1589 | void* pUserData; |
| 1590 | }WDI_FinishScanReqParamsType; |
| 1591 | |
| 1592 | /*--------------------------------------------------------------------------- |
| 1593 | WDI_JoinReqInfoType |
| 1594 | ---------------------------------------------------------------------------*/ |
| 1595 | typedef struct |
| 1596 | { |
| 1597 | /*Indicates the BSSID to which STA is going to associate*/ |
| 1598 | wpt_macAddr macBSSID; |
| 1599 | |
| 1600 | /*Indicates the MAC Address of the current Self STA*/ |
| 1601 | wpt_macAddr macSTASelf; |
| 1602 | |
| 1603 | /*Indicates the link State determining the entity Type e.g. BTAMP-STA, STA etc.*/ |
| 1604 | wpt_uint32 linkState; |
| 1605 | |
| 1606 | /*Indicates the channel to switch to.*/ |
| 1607 | WDI_SwitchChReqInfoType wdiChannelInfo; |
| 1608 | |
| 1609 | }WDI_JoinReqInfoType; |
| 1610 | |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 1611 | typedef enum |
| 1612 | { |
| 1613 | eWDI_CHANNEL_SWITCH_SOURCE_SCAN, |
| 1614 | eWDI_CHANNEL_SWITCH_SOURCE_LISTEN, |
| 1615 | eWDI_CHANNEL_SWITCH_SOURCE_MCC, |
| 1616 | eWDI_CHANNEL_SWITCH_SOURCE_CSA, |
| 1617 | eWDI_CHANNEL_SWITCH_SOURCE_MAX = 0x7FFFFFFF |
| 1618 | } WDI_ChanSwitchSource; |
| 1619 | |
| 1620 | /*--------------------------------------------------------------------------- |
| 1621 | WDI_SwitchChReqInfoType_V1 |
| 1622 | ---------------------------------------------------------------------------*/ |
| 1623 | typedef struct |
| 1624 | { |
| 1625 | /*Indicates the channel to switch to.*/ |
| 1626 | wpt_uint8 ucChannel; |
| 1627 | |
| 1628 | /*Local power constraint*/ |
| 1629 | wpt_uint8 ucLocalPowerConstraint; |
| 1630 | |
| 1631 | /*Secondary channel offset */ |
| 1632 | WDI_HTSecondaryChannelOffset wdiSecondaryChannelOffset; |
| 1633 | |
| 1634 | #ifdef WLAN_FEATURE_VOWIFI |
| 1635 | wpt_int8 cMaxTxPower; |
| 1636 | /*Self STA Mac address*/ |
| 1637 | wpt_macAddr macSelfStaMacAddr; |
| 1638 | #endif |
| 1639 | /* VO Wifi comment: BSSID is needed to identify which session |
| 1640 | issued this request. As the request has power constraints, this |
| 1641 | should be applied only to that session |
| 1642 | */ |
| 1643 | /* V IMP: Keep bssId field at the end of this msg. It is used to |
| 1644 | maintain backward compatibility by way of ignoring if using new |
| 1645 | host/old FW or old host/new FW since it is at the end of this struct |
| 1646 | */ |
| 1647 | wpt_macAddr macBSSId; |
| 1648 | /* Source of Channel Switch */ |
| 1649 | WDI_ChanSwitchSource channelSwitchSrc; |
| 1650 | }WDI_SwitchChReqInfoType_V1; |
| 1651 | |
| 1652 | /*-------------------------------------------------------------------- |
| 1653 | WDI_SwitchChReqParamsType_V1 |
| 1654 | ----------------------------------------------------------------------*/ |
| 1655 | typedef struct |
| 1656 | { |
| 1657 | /*Channel Info*/ |
| 1658 | WDI_SwitchChReqInfoType_V1 wdiChInfo; |
| 1659 | |
| 1660 | /*Request status callback offered by UMAC - it is called if the current |
| 1661 | req has returned PENDING as status; it delivers the status of sending |
| 1662 | the message over the BUS */ |
| 1663 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1664 | |
| 1665 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1666 | function pointer will be called */ |
| 1667 | void* pUserData; |
| 1668 | }WDI_SwitchChReqParamsType_V1; |
| 1669 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1670 | /*--------------------------------------------------------------------------- |
| 1671 | WDI_JoinReqParamsType |
| 1672 | ---------------------------------------------------------------------------*/ |
| 1673 | typedef struct |
| 1674 | { |
| 1675 | /*Info for the Join request that will be sent down to the device*/ |
| 1676 | WDI_JoinReqInfoType wdiReqInfo; |
| 1677 | |
| 1678 | /*Request status callback offered by UMAC - it is called if the current |
| 1679 | req has returned PENDING as status; it delivers the status of sending |
| 1680 | the message over the BUS */ |
| 1681 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1682 | |
| 1683 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1684 | function pointer will be called */ |
| 1685 | void* pUserData; |
| 1686 | }WDI_JoinReqParamsType; |
| 1687 | |
| 1688 | /*--------------------------------------------------------------------------- |
| 1689 | WDI_BssType |
| 1690 | ---------------------------------------------------------------------------*/ |
| 1691 | typedef enum |
| 1692 | { |
| 1693 | WDI_INFRASTRUCTURE_MODE, |
| 1694 | WDI_INFRA_AP_MODE, //Added for softAP support |
| 1695 | WDI_IBSS_MODE, |
| 1696 | WDI_BTAMP_STA_MODE, |
| 1697 | WDI_BTAMP_AP_MODE, |
| 1698 | WDI_BSS_AUTO_MODE, |
| 1699 | }WDI_BssType; |
| 1700 | |
| 1701 | /*--------------------------------------------------------------------------- |
| 1702 | WDI_NwType |
| 1703 | ---------------------------------------------------------------------------*/ |
| 1704 | typedef enum |
| 1705 | { |
| 1706 | WDI_11A_NW_TYPE, |
| 1707 | WDI_11B_NW_TYPE, |
| 1708 | WDI_11G_NW_TYPE, |
| 1709 | WDI_11N_NW_TYPE, |
| 1710 | } WDI_NwType; |
| 1711 | |
| 1712 | /*--------------------------------------------------------------------------- |
| 1713 | WDI_ConfigAction |
| 1714 | ---------------------------------------------------------------------------*/ |
| 1715 | typedef enum |
| 1716 | { |
| 1717 | WDI_ADD_BSS, |
| 1718 | WDI_UPDATE_BSS |
| 1719 | } WDI_ConfigAction; |
| 1720 | |
| 1721 | /*--------------------------------------------------------------------------- |
| 1722 | WDI_HTOperatingMode |
| 1723 | ---------------------------------------------------------------------------*/ |
| 1724 | typedef enum |
| 1725 | { |
| 1726 | WDI_HT_OP_MODE_PURE, |
| 1727 | WDI_HT_OP_MODE_OVERLAP_LEGACY, |
| 1728 | WDI_HT_OP_MODE_NO_LEGACY_20MHZ_HT, |
| 1729 | WDI_HT_OP_MODE_MIXED |
| 1730 | |
| 1731 | } WDI_HTOperatingMode; |
| 1732 | |
| 1733 | |
| 1734 | /*--------------------------------------------------------------------------- |
| 1735 | WDI_STAEntryType |
| 1736 | ---------------------------------------------------------------------------*/ |
| 1737 | typedef enum |
| 1738 | { |
| 1739 | WDI_STA_ENTRY_SELF, |
| 1740 | WDI_STA_ENTRY_PEER, |
| 1741 | WDI_STA_ENTRY_BSSID, |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 1742 | WDI_STA_ENTRY_BCAST, |
| 1743 | #ifdef FEATURE_WLAN_TDLS |
| 1744 | WDI_STA_ENTRY_TDLS_PEER, |
| 1745 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1746 | }WDI_STAEntryType; |
| 1747 | |
| 1748 | /*--------------------------------------------------------------------------- |
| 1749 | WDI_ConfigActionType |
| 1750 | ---------------------------------------------------------------------------*/ |
| 1751 | typedef enum |
| 1752 | { |
| 1753 | WDI_ADD_STA, |
| 1754 | WDI_UPDATE_STA |
| 1755 | } WDI_ConfigActionType; |
| 1756 | |
| 1757 | /*---------------------------------------------------------------------------- |
| 1758 | Each station added has a rate mode which specifies the sta attributes |
| 1759 | ----------------------------------------------------------------------------*/ |
| 1760 | typedef enum |
| 1761 | { |
| 1762 | WDI_RESERVED_1 = 0, |
| 1763 | WDI_RESERVED_2, |
| 1764 | WDI_RESERVED_3, |
| 1765 | WDI_11b, |
| 1766 | WDI_11bg, |
| 1767 | WDI_11a, |
| 1768 | WDI_11n, |
| 1769 | } WDI_RateModeType; |
| 1770 | |
| 1771 | /*--------------------------------------------------------------------------- |
| 1772 | WDI_SupportedRatesType |
| 1773 | ---------------------------------------------------------------------------*/ |
| 1774 | typedef struct |
| 1775 | { |
| 1776 | /* |
| 1777 | * For Self STA Entry: this represents Self Mode. |
| 1778 | * For Peer Stations, this represents the mode of the peer. |
| 1779 | * On Station: |
| 1780 | * --this mode is updated when PE adds the Self Entry. |
| 1781 | * -- OR when PE sends 'ADD_BSS' message and station context in BSS is used to indicate the mode of the AP. |
| 1782 | * ON AP: |
| 1783 | * -- this mode is updated when PE sends 'ADD_BSS' and Sta entry for that BSS is used |
| 1784 | * to indicate the self mode of the AP. |
| 1785 | * -- OR when a station is associated, PE sends 'ADD_STA' message with this mode updated. |
| 1786 | */ |
| 1787 | |
| 1788 | WDI_RateModeType opRateMode; |
| 1789 | |
| 1790 | /* 11b, 11a and aniLegacyRates are IE rates which gives rate in unit of 500Kbps */ |
| 1791 | wpt_uint16 llbRates[WDI_NUM_11B_RATES]; |
| 1792 | wpt_uint16 llaRates[WDI_NUM_11A_RATES]; |
| 1793 | wpt_uint16 aLegacyRates[WDI_NUM_POLARIS_RATES]; |
| 1794 | |
| 1795 | /*Taurus only supports 26 Titan Rates(no ESF/concat Rates will be supported) |
| 1796 | First 26 bits are reserved for those Titan rates and |
| 1797 | the last 4 bits(bit28-31) for Taurus, 2(bit26-27) bits are reserved.*/ |
| 1798 | wpt_uint32 uEnhancedRateBitmap; //Titan and Taurus Rates |
| 1799 | |
| 1800 | /* |
| 1801 | * 0-76 bits used, remaining reserved |
| 1802 | * bits 0-15 and 32 should be set. |
| 1803 | */ |
| 1804 | wpt_uint8 aSupportedMCSSet[WDI_MAC_MAX_SUPPORTED_MCS_SET]; |
| 1805 | |
| 1806 | /* |
| 1807 | * RX Highest Supported Data Rate defines the highest data |
| 1808 | * rate that the STA is able to receive, in unites of 1Mbps. |
| 1809 | * This value is derived from "Supported MCS Set field" inside |
| 1810 | * the HT capability element. |
| 1811 | */ |
| 1812 | wpt_uint16 aRxHighestDataRate; |
| 1813 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1814 | |
| 1815 | #ifdef WLAN_FEATURE_11AC |
| 1816 | /*Indicates the Maximum MCS that can be received for each number |
| 1817 | of spacial streams */ |
| 1818 | wpt_uint16 vhtRxMCSMap; |
| 1819 | /*Indicate the highest VHT data rate that the STA is able to receive*/ |
| 1820 | wpt_uint16 vhtRxHighestDataRate; |
| 1821 | /*Indicates the Maximum MCS that can be transmitted for each number |
| 1822 | of spacial streams */ |
| 1823 | wpt_uint16 vhtTxMCSMap; |
| 1824 | /*Indicate the highest VHT data rate that the STA is able to transmit*/ |
| 1825 | wpt_uint16 vhtTxHighestDataRate; |
| 1826 | #endif |
| 1827 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1828 | } WDI_SupportedRates; |
| 1829 | |
| 1830 | /*-------------------------------------------------------------------------- |
| 1831 | WDI_HTMIMOPowerSaveState |
| 1832 | Spatial Multiplexing(SM) Power Save mode |
| 1833 | --------------------------------------------------------------------------*/ |
| 1834 | typedef enum |
| 1835 | { |
| 1836 | WDI_HT_MIMO_PS_STATIC = 0, // Static SM Power Save mode |
| 1837 | WDI_HT_MIMO_PS_DYNAMIC = 1, // Dynamic SM Power Save mode |
| 1838 | WDI_HT_MIMO_PS_NA = 2, // reserved |
| 1839 | WDI_HT_MIMO_PS_NO_LIMIT = 3, // SM Power Save disabled |
| 1840 | } WDI_HTMIMOPowerSaveState; |
| 1841 | |
| 1842 | /*--------------------------------------------------------------------------- |
| 1843 | WDI_ConfigStaReqInfoType |
| 1844 | ---------------------------------------------------------------------------*/ |
| 1845 | typedef struct |
| 1846 | { |
| 1847 | /*BSSID of STA*/ |
| 1848 | wpt_macAddr macBSSID; |
| 1849 | |
| 1850 | /*ASSOC ID, as assigned by UMAC*/ |
| 1851 | wpt_uint16 usAssocId; |
| 1852 | |
| 1853 | /*Used for configuration of different HW modules.*/ |
| 1854 | WDI_STAEntryType wdiSTAType; |
| 1855 | |
Gopichand Nakkala | e7cbc5d | 2013-03-27 21:09:23 -0700 | [diff] [blame] | 1856 | /*STA Index */ |
| 1857 | wpt_uint8 staIdx; |
| 1858 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1859 | /*Short Preamble Supported.*/ |
| 1860 | wpt_uint8 ucShortPreambleSupported; |
| 1861 | |
| 1862 | /*MAC Address of STA*/ |
| 1863 | wpt_macAddr macSTA; |
| 1864 | |
| 1865 | /*Listen interval of the STA*/ |
| 1866 | wpt_uint16 usListenInterval; |
| 1867 | |
| 1868 | /*Support for 11e/WMM*/ |
| 1869 | wpt_uint8 ucWMMEnabled; |
| 1870 | |
| 1871 | /*11n HT capable STA*/ |
| 1872 | wpt_uint8 ucHTCapable; |
| 1873 | |
| 1874 | /*TX Width Set: 0 - 20 MHz only, 1 - 20/40 MHz*/ |
| 1875 | wpt_uint8 ucTXChannelWidthSet; |
| 1876 | |
| 1877 | /*RIFS mode 0 - NA, 1 - Allowed*/ |
| 1878 | wpt_uint8 ucRIFSMode; |
| 1879 | |
| 1880 | /*L-SIG TXOP Protection mechanism |
| 1881 | 0 - No Support, 1 - Supported |
| 1882 | SG - there is global field*/ |
| 1883 | wpt_uint8 ucLSIGTxopProtection; |
| 1884 | |
| 1885 | /*Max Ampdu Size supported by STA. Device programming. |
| 1886 | 0 : 8k , 1 : 16k, 2 : 32k, 3 : 64k */ |
| 1887 | wpt_uint8 ucMaxAmpduSize; |
| 1888 | |
| 1889 | /*Max Ampdu density. Used by RA. 3 : 0~7 : 2^(11nAMPDUdensity -4)*/ |
| 1890 | wpt_uint8 ucMaxAmpduDensity; |
| 1891 | |
| 1892 | /*Max AMSDU size 1 : 3839 bytes, 0 : 7935 bytes*/ |
| 1893 | wpt_uint8 ucMaxAmsduSize; |
| 1894 | |
| 1895 | /*Short GI support for 40Mhz packets*/ |
| 1896 | wpt_uint8 ucShortGI40Mhz; |
| 1897 | |
| 1898 | /*Short GI support for 20Mhz packets*/ |
| 1899 | wpt_uint8 ucShortGI20Mhz; |
| 1900 | |
| 1901 | /*These rates are the intersection of peer and self capabilities.*/ |
| 1902 | WDI_SupportedRates wdiSupportedRates; |
| 1903 | |
| 1904 | /*Robust Management Frame (RMF) enabled/disabled*/ |
| 1905 | wpt_uint8 ucRMFEnabled; |
| 1906 | |
| 1907 | /* The unicast encryption type in the association */ |
| 1908 | wpt_uint32 ucEncryptType; |
| 1909 | |
| 1910 | /*HAL should update the existing STA entry, if this flag is set. UMAC |
| 1911 | will set this flag in case of RE-ASSOC, where we want to reuse the old |
| 1912 | STA ID.*/ |
| 1913 | WDI_ConfigActionType wdiAction; |
| 1914 | |
| 1915 | /*U-APSD Flags: 1b per AC. Encoded as follows: |
| 1916 | b7 b6 b5 b4 b3 b2 b1 b0 = |
| 1917 | X X X X BE BK VI VO |
| 1918 | */ |
| 1919 | wpt_uint8 ucAPSD; |
| 1920 | |
| 1921 | /*Max SP Length*/ |
| 1922 | wpt_uint8 ucMaxSPLen; |
| 1923 | |
| 1924 | /*11n Green Field preamble support*/ |
| 1925 | wpt_uint8 ucGreenFieldCapable; |
| 1926 | |
| 1927 | /*MIMO Power Save mode*/ |
| 1928 | WDI_HTMIMOPowerSaveState wdiMIMOPS; |
| 1929 | |
| 1930 | /*Delayed BA Support*/ |
| 1931 | wpt_uint8 ucDelayedBASupport; |
| 1932 | |
| 1933 | /*Max AMPDU duration in 32us*/ |
| 1934 | wpt_uint8 us32MaxAmpduDuratio; |
| 1935 | |
| 1936 | /*HT STA should set it to 1 if it is enabled in BSS |
| 1937 | HT STA should set it to 0 if AP does not support it. This indication is |
| 1938 | sent to HAL and HAL uses this flag to pickup up appropriate 40Mhz rates. |
| 1939 | */ |
| 1940 | wpt_uint8 ucDsssCckMode40Mhz; |
| 1941 | |
| 1942 | wpt_uint8 ucP2pCapableSta; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1943 | #ifdef WLAN_FEATURE_11AC |
| 1944 | wpt_uint8 ucVhtCapableSta; |
| 1945 | wpt_uint8 ucVhtTxChannelWidthSet; |
Shailender Karmuchi | 08f87c2 | 2013-01-17 12:51:24 -0800 | [diff] [blame] | 1946 | wpt_uint8 ucVhtTxBFEnabled; |
Abhishek Singh | 6927fa0 | 2014-06-27 17:19:55 +0530 | [diff] [blame] | 1947 | wpt_uint8 vhtTxMUBformeeCapable; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1948 | #endif |
Gopichand Nakkala | b2d2c31 | 2013-01-04 11:41:02 -0800 | [diff] [blame] | 1949 | |
| 1950 | wpt_uint8 ucHtLdpcEnabled; |
| 1951 | wpt_uint8 ucVhtLdpcEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1952 | }WDI_ConfigStaReqInfoType; |
| 1953 | |
| 1954 | |
| 1955 | /*--------------------------------------------------------------------------- |
| 1956 | WDI_RateSet |
| 1957 | |
| 1958 | 12 Bytes long because this structure can be used to represent rate |
| 1959 | and extended rate set IEs |
| 1960 | The parser assume this to be at least 12 |
| 1961 | ---------------------------------------------------------------------------*/ |
| 1962 | #define WDI_RATESET_EID_MAX 12 |
| 1963 | |
| 1964 | typedef struct |
| 1965 | { |
| 1966 | wpt_uint8 ucNumRates; |
| 1967 | wpt_uint8 aRates[WDI_RATESET_EID_MAX]; |
| 1968 | } WDI_RateSet; |
| 1969 | |
| 1970 | /*--------------------------------------------------------------------------- |
| 1971 | WDI_AciAifsnType |
| 1972 | access category record |
| 1973 | ---------------------------------------------------------------------------*/ |
| 1974 | typedef struct |
| 1975 | { |
| 1976 | wpt_uint8 rsvd : 1; |
| 1977 | wpt_uint8 aci : 2; |
| 1978 | wpt_uint8 acm : 1; |
| 1979 | wpt_uint8 aifsn : 4; |
| 1980 | } WDI_AciAifsnType; |
| 1981 | |
| 1982 | /*--------------------------------------------------------------------------- |
| 1983 | WDI_CWType |
| 1984 | contention window size |
| 1985 | ---------------------------------------------------------------------------*/ |
| 1986 | typedef struct |
| 1987 | { |
| 1988 | wpt_uint8 max : 4; |
| 1989 | wpt_uint8 min : 4; |
| 1990 | } WDI_CWType; |
| 1991 | |
| 1992 | /*--------------------------------------------------------------------------- |
| 1993 | WDI_EdcaParamRecord |
| 1994 | ---------------------------------------------------------------------------*/ |
| 1995 | typedef struct |
| 1996 | { |
| 1997 | /*Access Category Record*/ |
| 1998 | WDI_AciAifsnType wdiACI; |
| 1999 | |
| 2000 | /*Contention WIndow Size*/ |
| 2001 | WDI_CWType wdiCW; |
| 2002 | |
| 2003 | /*TX Oportunity Limit*/ |
| 2004 | wpt_uint16 usTXOPLimit; |
| 2005 | } WDI_EdcaParamRecord; |
| 2006 | |
| 2007 | /*--------------------------------------------------------------------------- |
| 2008 | WDI_EDCAParamsType |
| 2009 | ---------------------------------------------------------------------------*/ |
| 2010 | typedef struct |
| 2011 | { |
| 2012 | /*BSS Index*/ |
| 2013 | wpt_uint8 ucBSSIdx; |
| 2014 | |
| 2015 | /*?*/ |
| 2016 | wpt_boolean bHighPerformance; |
| 2017 | |
| 2018 | /*Best Effort*/ |
| 2019 | WDI_EdcaParamRecord wdiACBE; |
| 2020 | |
| 2021 | /*Background*/ |
| 2022 | WDI_EdcaParamRecord wdiACBK; |
| 2023 | |
| 2024 | /*Video*/ |
| 2025 | WDI_EdcaParamRecord wdiACVI; |
| 2026 | |
| 2027 | /*Voice*/ |
| 2028 | WDI_EdcaParamRecord acvo; // voice |
| 2029 | } WDI_EDCAParamsType; |
| 2030 | |
| 2031 | /* operMode in ADD BSS message */ |
| 2032 | #define WDI_BSS_OPERATIONAL_MODE_AP 0 |
| 2033 | #define WDI_BSS_OPERATIONAL_MODE_STA 1 |
| 2034 | |
| 2035 | /*--------------------------------------------------------------------------- |
| 2036 | WDI_ConfigBSSRspParamsType |
| 2037 | ---------------------------------------------------------------------------*/ |
| 2038 | typedef struct |
| 2039 | { |
| 2040 | /*Status of the response*/ |
| 2041 | WDI_Status wdiStatus; |
| 2042 | |
| 2043 | /*BSSID of the BSS*/ |
| 2044 | wpt_macAddr macBSSID; |
| 2045 | |
| 2046 | /*BSS Index*/ |
| 2047 | wpt_uint8 ucBSSIdx; |
| 2048 | |
| 2049 | /*Unicast DPU signature*/ |
| 2050 | wpt_uint8 ucUcastSig; |
| 2051 | |
| 2052 | /*Broadcast DPU Signature*/ |
| 2053 | wpt_uint8 ucBcastSig; |
| 2054 | |
| 2055 | /*MAC Address of STA*/ |
| 2056 | wpt_macAddr macSTA; |
| 2057 | |
| 2058 | /*BSS STA ID*/ |
| 2059 | wpt_uint8 ucSTAIdx; |
| 2060 | |
| 2061 | #ifdef WLAN_FEATURE_VOWIFI |
| 2062 | /*HAL fills in the tx power used for mgmt frames in this field */ |
| 2063 | wpt_int8 ucTxMgmtPower; |
| 2064 | #endif |
| 2065 | |
| 2066 | }WDI_ConfigBSSRspParamsType; |
| 2067 | |
| 2068 | /*--------------------------------------------------------------------------- |
| 2069 | WDI_DelBSSReqParamsType |
| 2070 | ---------------------------------------------------------------------------*/ |
| 2071 | typedef struct |
| 2072 | { |
| 2073 | /*BSS Index of the BSS*/ |
| 2074 | wpt_uint8 ucBssIdx; |
| 2075 | |
| 2076 | /*Request status callback offered by UMAC - it is called if the current |
| 2077 | req has returned PENDING as status; it delivers the status of sending |
| 2078 | the message over the BUS */ |
| 2079 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2080 | |
| 2081 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2082 | function pointer will be called */ |
| 2083 | void* pUserData; |
| 2084 | }WDI_DelBSSReqParamsType; |
| 2085 | |
| 2086 | /*--------------------------------------------------------------------------- |
| 2087 | WDI_DelBSSRspParamsType |
| 2088 | ---------------------------------------------------------------------------*/ |
| 2089 | typedef struct |
| 2090 | { |
| 2091 | /*Status of the response*/ |
| 2092 | WDI_Status wdiStatus; |
| 2093 | |
| 2094 | /*BSSID of the BSS*/ |
| 2095 | wpt_macAddr macBSSID; |
| 2096 | |
| 2097 | wpt_uint8 ucBssIdx; |
| 2098 | |
| 2099 | }WDI_DelBSSRspParamsType; |
| 2100 | |
| 2101 | /*--------------------------------------------------------------------------- |
| 2102 | WDI_ConfigSTARspParamsType |
| 2103 | ---------------------------------------------------------------------------*/ |
| 2104 | typedef struct |
| 2105 | { |
| 2106 | /*Status of the response*/ |
| 2107 | WDI_Status wdiStatus; |
| 2108 | |
| 2109 | /*STA Idx allocated by HAL*/ |
| 2110 | wpt_uint8 ucSTAIdx; |
| 2111 | |
| 2112 | /*MAC Address of STA*/ |
| 2113 | wpt_macAddr macSTA; |
| 2114 | |
| 2115 | /* BSSID Index of BSS to which the station is associated */ |
| 2116 | wpt_uint8 ucBssIdx; |
| 2117 | |
| 2118 | /* DPU Index - PTK */ |
| 2119 | wpt_uint8 ucDpuIndex; |
| 2120 | |
| 2121 | /* Bcast DPU Index - GTK */ |
| 2122 | wpt_uint8 ucBcastDpuIndex; |
| 2123 | |
| 2124 | /* Management DPU Index - IGTK - Why is it called bcastMgmtDpuIdx? */ |
| 2125 | wpt_uint8 ucBcastMgmtDpuIdx; |
| 2126 | |
| 2127 | /*Unicast DPU signature*/ |
| 2128 | wpt_uint8 ucUcastSig; |
| 2129 | |
| 2130 | /*Broadcast DPU Signature*/ |
| 2131 | wpt_uint8 ucBcastSig; |
| 2132 | |
| 2133 | /* IGTK DPU signature*/ |
| 2134 | wpt_uint8 ucMgmtSig; |
| 2135 | |
| 2136 | }WDI_ConfigSTARspParamsType; |
| 2137 | |
| 2138 | /*--------------------------------------------------------------------------- |
| 2139 | WDI_PostAssocRspParamsType |
| 2140 | ---------------------------------------------------------------------------*/ |
| 2141 | typedef struct |
| 2142 | { |
| 2143 | /*Status of the response*/ |
| 2144 | WDI_Status wdiStatus; |
| 2145 | |
| 2146 | /*Parameters related to the BSS*/ |
| 2147 | WDI_ConfigBSSRspParamsType bssParams; |
| 2148 | |
| 2149 | /*Parameters related to the self STA*/ |
| 2150 | WDI_ConfigSTARspParamsType staParams; |
| 2151 | |
| 2152 | }WDI_PostAssocRspParamsType; |
| 2153 | |
| 2154 | /*--------------------------------------------------------------------------- |
| 2155 | WDI_DelSTAReqParamsType |
| 2156 | ---------------------------------------------------------------------------*/ |
| 2157 | typedef struct |
| 2158 | { |
| 2159 | /*STA Index returned during DAL_PostAssocReq or DAL_ConfigStaReq*/ |
| 2160 | wpt_uint8 ucSTAIdx; |
| 2161 | |
| 2162 | /*Request status callback offered by UMAC - it is called if the current |
| 2163 | req has returned PENDING as status; it delivers the status of sending |
| 2164 | the message over the BUS */ |
| 2165 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2166 | |
| 2167 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2168 | function pointer will be called */ |
| 2169 | void* pUserData; |
| 2170 | }WDI_DelSTAReqParamsType; |
| 2171 | |
| 2172 | /*--------------------------------------------------------------------------- |
| 2173 | WDI_DelSTARspParamsType |
| 2174 | ---------------------------------------------------------------------------*/ |
| 2175 | typedef struct |
| 2176 | { |
| 2177 | /*Status of the response*/ |
| 2178 | WDI_Status wdiStatus; |
| 2179 | |
| 2180 | /*STA Index returned during DAL_PostAssocReq or DAL_ConfigStaReq*/ |
| 2181 | wpt_uint8 ucSTAIdx; |
| 2182 | }WDI_DelSTARspParamsType; |
| 2183 | |
| 2184 | /*--------------------------------------------------------------------------- |
| 2185 | WDI_EncryptType |
| 2186 | ---------------------------------------------------------------------------*/ |
| 2187 | typedef enum |
| 2188 | { |
| 2189 | WDI_ENCR_NONE, |
| 2190 | WDI_ENCR_WEP40, |
| 2191 | WDI_ENCR_WEP104, |
| 2192 | WDI_ENCR_TKIP, |
| 2193 | WDI_ENCR_CCMP, |
| 2194 | #if defined(FEATURE_WLAN_WAPI) |
| 2195 | WDI_ENCR_WPI, |
| 2196 | #endif |
| 2197 | WDI_ENCR_AES_128_CMAC |
| 2198 | } WDI_EncryptType; |
| 2199 | |
| 2200 | /*--------------------------------------------------------------------------- |
| 2201 | WDI_KeyDirectionType |
| 2202 | ---------------------------------------------------------------------------*/ |
| 2203 | typedef enum |
| 2204 | { |
| 2205 | WDI_TX_ONLY, |
| 2206 | WDI_RX_ONLY, |
| 2207 | WDI_TX_RX, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2208 | WDI_TX_DEFAULT, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2209 | WDI_DONOT_USE_KEY_DIRECTION |
| 2210 | } WDI_KeyDirectionType; |
| 2211 | |
| 2212 | #define WDI_MAX_ENCR_KEYS 4 |
| 2213 | #define WDI_MAX_KEY_LENGTH 32 |
| 2214 | #if defined(FEATURE_WLAN_WAPI) |
| 2215 | #define WDI_MAX_KEY_RSC_LEN 16 |
| 2216 | #define WDI_WAPI_KEY_RSC_LEN 16 |
| 2217 | #else |
| 2218 | #define WDI_MAX_KEY_RSC_LEN 8 |
| 2219 | #endif |
| 2220 | |
| 2221 | typedef struct |
| 2222 | { |
| 2223 | /* Key ID */ |
| 2224 | wpt_uint8 keyId; |
| 2225 | /* 0 for multicast */ |
| 2226 | wpt_uint8 unicast; |
| 2227 | /* Key Direction */ |
| 2228 | WDI_KeyDirectionType keyDirection; |
| 2229 | /* Usage is unknown */ |
| 2230 | wpt_uint8 keyRsc[WDI_MAX_KEY_RSC_LEN]; |
| 2231 | /* =1 for authenticator, =0 for supplicant */ |
| 2232 | wpt_uint8 paeRole; |
| 2233 | wpt_uint16 keyLength; |
| 2234 | wpt_uint8 key[WDI_MAX_KEY_LENGTH]; |
| 2235 | |
| 2236 | }WDI_KeysType; |
| 2237 | |
| 2238 | /*--------------------------------------------------------------------------- |
| 2239 | WDI_SetBSSKeyReqInfoType |
| 2240 | ---------------------------------------------------------------------------*/ |
| 2241 | typedef struct |
| 2242 | { |
| 2243 | /*BSS Index of the BSS*/ |
| 2244 | wpt_uint8 ucBssIdx; |
| 2245 | |
| 2246 | /*Encryption Type used with peer*/ |
| 2247 | WDI_EncryptType wdiEncType; |
| 2248 | |
| 2249 | /*Number of keys*/ |
| 2250 | wpt_uint8 ucNumKeys; |
| 2251 | |
| 2252 | /*Array of keys.*/ |
| 2253 | WDI_KeysType aKeys[WDI_MAX_ENCR_KEYS]; |
| 2254 | |
| 2255 | /*Control for Replay Count, 1= Single TID based replay count on Tx |
| 2256 | 0 = Per TID based replay count on TX */ |
| 2257 | wpt_uint8 ucSingleTidRc; |
| 2258 | }WDI_SetBSSKeyReqInfoType; |
| 2259 | |
| 2260 | /*--------------------------------------------------------------------------- |
| 2261 | WDI_SetBSSKeyReqParamsType |
| 2262 | ---------------------------------------------------------------------------*/ |
| 2263 | typedef struct |
| 2264 | { |
| 2265 | /*Key Info */ |
| 2266 | WDI_SetBSSKeyReqInfoType wdiBSSKeyInfo; |
| 2267 | |
| 2268 | /*Request status callback offered by UMAC - it is called if the current |
| 2269 | req has returned PENDING as status; it delivers the status of sending |
| 2270 | the message over the BUS */ |
| 2271 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2272 | |
| 2273 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2274 | function pointer will be called */ |
| 2275 | void* pUserData; |
| 2276 | }WDI_SetBSSKeyReqParamsType; |
| 2277 | |
| 2278 | /*--------------------------------------------------------------------------- |
| 2279 | WDI_WepType |
| 2280 | ---------------------------------------------------------------------------*/ |
| 2281 | typedef enum |
| 2282 | { |
| 2283 | WDI_WEP_STATIC, |
| 2284 | WDI_WEP_DYNAMIC |
| 2285 | |
| 2286 | } WDI_WepType; |
| 2287 | |
| 2288 | /*--------------------------------------------------------------------------- |
| 2289 | WDI_RemoveBSSKeyReqInfoType |
| 2290 | ---------------------------------------------------------------------------*/ |
| 2291 | typedef struct |
| 2292 | { |
| 2293 | /*BSS Index of the BSS*/ |
| 2294 | wpt_uint8 ucBssIdx; |
| 2295 | |
| 2296 | /*Encryption Type used with peer*/ |
| 2297 | WDI_EncryptType wdiEncType; |
| 2298 | |
| 2299 | /*Key Id*/ |
| 2300 | wpt_uint8 ucKeyId; |
| 2301 | |
| 2302 | /*STATIC/DYNAMIC. Used in Nullifying in Key Descriptors for Static/Dynamic |
| 2303 | keys*/ |
| 2304 | WDI_WepType wdiWEPType; |
| 2305 | }WDI_RemoveBSSKeyReqInfoType; |
| 2306 | |
| 2307 | /*--------------------------------------------------------------------------- |
| 2308 | WDI_RemoveBSSKeyReqParamsType |
| 2309 | ---------------------------------------------------------------------------*/ |
| 2310 | typedef struct |
| 2311 | { |
| 2312 | /*Key Info */ |
| 2313 | WDI_RemoveBSSKeyReqInfoType wdiKeyInfo; |
| 2314 | |
| 2315 | /*Request status callback offered by UMAC - it is called if the current |
| 2316 | req has returned PENDING as status; it delivers the status of sending |
| 2317 | the message over the BUS */ |
| 2318 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2319 | |
| 2320 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2321 | function pointer will be called */ |
| 2322 | void* pUserData; |
| 2323 | }WDI_RemoveBSSKeyReqParamsType; |
| 2324 | |
| 2325 | /*--------------------------------------------------------------------------- |
| 2326 | WDI_SetSTAKeyReqInfoType |
| 2327 | ---------------------------------------------------------------------------*/ |
| 2328 | typedef struct |
| 2329 | { |
| 2330 | /*STA Index*/ |
| 2331 | wpt_uint8 ucSTAIdx; |
| 2332 | |
| 2333 | /*Encryption Type used with peer*/ |
| 2334 | WDI_EncryptType wdiEncType; |
| 2335 | |
| 2336 | /*STATIC/DYNAMIC*/ |
| 2337 | WDI_WepType wdiWEPType; |
| 2338 | |
| 2339 | /*Default WEP key, valid only for static WEP, must between 0 and 3.*/ |
| 2340 | wpt_uint8 ucDefWEPIdx; |
| 2341 | |
| 2342 | /*Number of keys*/ |
| 2343 | wpt_uint8 ucNumKeys; |
| 2344 | |
| 2345 | /*Array of keys.*/ |
| 2346 | WDI_KeysType wdiKey[WDI_MAX_ENCR_KEYS]; |
| 2347 | |
| 2348 | /*Control for Replay Count, 1= Single TID based replay count on Tx |
| 2349 | 0 = Per TID based replay count on TX */ |
| 2350 | wpt_uint8 ucSingleTidRc; |
| 2351 | }WDI_SetSTAKeyReqInfoType; |
| 2352 | |
| 2353 | /*--------------------------------------------------------------------------- |
| 2354 | WDI_ConfigBSSReqInfoType |
| 2355 | ---------------------------------------------------------------------------*/ |
| 2356 | typedef struct |
| 2357 | { |
| 2358 | /*Peer BSSID*/ |
| 2359 | wpt_macAddr macBSSID; |
| 2360 | |
| 2361 | /*Self MAC Address*/ |
| 2362 | wpt_macAddr macSelfAddr; |
| 2363 | |
| 2364 | /*BSS Type*/ |
| 2365 | WDI_BssType wdiBSSType; |
| 2366 | |
| 2367 | /*Operational Mode: AP =0, STA = 1*/ |
| 2368 | wpt_uint8 ucOperMode; |
| 2369 | |
| 2370 | /*Network Type*/ |
| 2371 | WDI_NwType wdiNWType; |
| 2372 | |
| 2373 | /*Used to classify PURE_11G/11G_MIXED to program MTU*/ |
| 2374 | wpt_uint8 ucShortSlotTimeSupported; |
| 2375 | |
| 2376 | /*Co-exist with 11a STA*/ |
| 2377 | wpt_uint8 ucllaCoexist; |
| 2378 | |
| 2379 | /*Co-exist with 11b STA*/ |
| 2380 | wpt_uint8 ucllbCoexist; |
| 2381 | |
| 2382 | /*Co-exist with 11g STA*/ |
| 2383 | wpt_uint8 ucllgCoexist; |
| 2384 | |
| 2385 | /*Coexistence with 11n STA*/ |
| 2386 | wpt_uint8 ucHT20Coexist; |
| 2387 | |
| 2388 | /*Non GF coexist flag*/ |
| 2389 | wpt_uint8 ucllnNonGFCoexist; |
| 2390 | |
| 2391 | /*TXOP protection support*/ |
| 2392 | wpt_uint8 ucTXOPProtectionFullSupport; |
| 2393 | |
| 2394 | /*RIFS mode*/ |
| 2395 | wpt_uint8 ucRIFSMode; |
| 2396 | |
| 2397 | /*Beacon Interval in TU*/ |
| 2398 | wpt_uint16 usBeaconInterval; |
| 2399 | |
| 2400 | /*DTIM period*/ |
| 2401 | wpt_uint8 ucDTIMPeriod; |
| 2402 | |
| 2403 | /*TX Width Set: 0 - 20 MHz only, 1 - 20/40 MHz*/ |
| 2404 | wpt_uint8 ucTXChannelWidthSet; |
| 2405 | |
| 2406 | /*Operating channel*/ |
| 2407 | wpt_uint8 ucCurrentOperChannel; |
| 2408 | |
| 2409 | /*Extension channel for channel bonding*/ |
| 2410 | wpt_uint8 ucCurrentExtChannel; |
| 2411 | |
| 2412 | /*Context of the station being added in HW.*/ |
| 2413 | WDI_ConfigStaReqInfoType wdiSTAContext; |
| 2414 | |
| 2415 | /*SSID of the BSS*/ |
| 2416 | WDI_MacSSid wdiSSID; |
| 2417 | |
| 2418 | /*HAL should update the existing BSS entry, if this flag is set. UMAC will |
| 2419 | set this flag in case of RE-ASSOC, where we want to reuse the old BSSID*/ |
| 2420 | WDI_ConfigAction wdiAction; |
| 2421 | |
| 2422 | /*Basic Rate Set*/ |
| 2423 | WDI_RateSet wdiRateSet; |
| 2424 | |
| 2425 | /*Enable/Disable HT capabilities of the BSS*/ |
| 2426 | wpt_uint8 ucHTCapable; |
| 2427 | |
| 2428 | /* Enable/Disable OBSS protection */ |
| 2429 | wpt_uint8 ucObssProtEnabled; |
| 2430 | |
| 2431 | /*RMF enabled/disabled*/ |
| 2432 | wpt_uint8 ucRMFEnabled; |
| 2433 | |
| 2434 | /*Determines the current HT Operating Mode operating mode of the |
| 2435 | 802.11n STA*/ |
| 2436 | WDI_HTOperatingMode wdiHTOperMod; |
| 2437 | |
| 2438 | /*Dual CTS Protection: 0 - Unused, 1 - Used*/ |
| 2439 | wpt_uint8 ucDualCTSProtection; |
| 2440 | |
| 2441 | /* Probe Response Max retries */ |
| 2442 | wpt_uint8 ucMaxProbeRespRetryLimit; |
| 2443 | |
| 2444 | /* To Enable Hidden ssid */ |
| 2445 | wpt_uint8 bHiddenSSIDEn; |
| 2446 | |
| 2447 | /* To Enable Disable FW Proxy Probe Resp */ |
| 2448 | wpt_uint8 bProxyProbeRespEn; |
| 2449 | |
| 2450 | /* Boolean to indicate if EDCA params are valid. UMAC might not have valid |
| 2451 | EDCA params or might not desire to apply EDCA params during config BSS. |
| 2452 | 0 implies Not Valid ; Non-Zero implies valid*/ |
| 2453 | wpt_uint8 ucEDCAParamsValid; |
| 2454 | |
| 2455 | /*EDCA Parameters for BK*/ |
| 2456 | WDI_EdcaParamRecord wdiBKEDCAParams; |
| 2457 | |
| 2458 | /*EDCA Parameters for BE*/ |
| 2459 | WDI_EdcaParamRecord wdiBEEDCAParams; |
| 2460 | |
| 2461 | /*EDCA Parameters for VI*/ |
| 2462 | WDI_EdcaParamRecord wdiVIEDCAParams; |
| 2463 | |
| 2464 | /*EDCA Parameters for VO*/ |
| 2465 | WDI_EdcaParamRecord wdiVOEDCAParams; |
| 2466 | |
| 2467 | #ifdef WLAN_FEATURE_VOWIFI |
| 2468 | /*max power to be used after applying the power constraint, if any */ |
| 2469 | wpt_int8 cMaxTxPower; |
| 2470 | #endif |
| 2471 | |
| 2472 | /* Persona for the BSS can be STA,AP,GO,CLIENT, same as Connection Mode */ |
| 2473 | wpt_uint8 ucPersona; |
| 2474 | |
| 2475 | /* Spectrum Mangement Indicator */ |
| 2476 | wpt_uint8 bSpectrumMgtEn; |
| 2477 | |
| 2478 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 2479 | wpt_uint8 bExtSetStaKeyParamValid; |
| 2480 | WDI_SetSTAKeyReqInfoType wdiExtSetKeyParam; |
| 2481 | #endif |
| 2482 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2483 | #ifdef WLAN_FEATURE_11AC |
| 2484 | wpt_uint8 ucVhtCapableSta; |
| 2485 | wpt_uint8 ucVhtTxChannelWidthSet; |
| 2486 | #endif |
| 2487 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2488 | }WDI_ConfigBSSReqInfoType; |
| 2489 | |
| 2490 | /*--------------------------------------------------------------------------- |
| 2491 | WDI_PostAssocReqParamsType |
| 2492 | ---------------------------------------------------------------------------*/ |
| 2493 | typedef struct |
| 2494 | { |
| 2495 | /*Config STA arguments.*/ |
| 2496 | WDI_ConfigStaReqInfoType wdiSTAParams; |
| 2497 | |
| 2498 | /*Config BSS Arguments*/ |
| 2499 | WDI_ConfigBSSReqInfoType wdiBSSParams; |
| 2500 | |
| 2501 | /*Request status callback offered by UMAC - it is called if the current |
| 2502 | req has returned PENDING as status; it delivers the status of sending |
| 2503 | the message over the BUS */ |
| 2504 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2505 | |
| 2506 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2507 | function pointer will be called */ |
| 2508 | void* pUserData; |
| 2509 | }WDI_PostAssocReqParamsType; |
| 2510 | |
| 2511 | /*--------------------------------------------------------------------------- |
| 2512 | WDI_ConfigBSSReqParamsType |
| 2513 | ---------------------------------------------------------------------------*/ |
| 2514 | typedef struct |
| 2515 | { |
| 2516 | /*Info for the Join request that will be sent down to the device*/ |
| 2517 | WDI_ConfigBSSReqInfoType wdiReqInfo; |
| 2518 | |
| 2519 | /*Request status callback offered by UMAC - it is called if the current |
| 2520 | req has returned PENDING as status; it delivers the status of sending |
| 2521 | the message over the BUS */ |
| 2522 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2523 | |
| 2524 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2525 | function pointer will be called */ |
| 2526 | void* pUserData; |
| 2527 | }WDI_ConfigBSSReqParamsType; |
| 2528 | |
| 2529 | /*--------------------------------------------------------------------------- |
| 2530 | WDI_SetSTAKeyReqParamsType |
| 2531 | ---------------------------------------------------------------------------*/ |
| 2532 | typedef struct |
| 2533 | { |
| 2534 | /*Key Info*/ |
| 2535 | WDI_SetSTAKeyReqInfoType wdiKeyInfo; |
| 2536 | |
| 2537 | /*Request status callback offered by UMAC - it is called if the current |
| 2538 | req has returned PENDING as status; it delivers the status of sending |
| 2539 | the message over the BUS */ |
| 2540 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2541 | |
| 2542 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2543 | function pointer will be called */ |
| 2544 | void* pUserData; |
| 2545 | }WDI_SetSTAKeyReqParamsType; |
| 2546 | |
| 2547 | /*--------------------------------------------------------------------------- |
| 2548 | WDI_RemoveSTAKeyReqInfoType |
| 2549 | ---------------------------------------------------------------------------*/ |
| 2550 | typedef struct |
| 2551 | { |
| 2552 | /*STA Index*/ |
| 2553 | wpt_uint8 ucSTAIdx; |
| 2554 | |
| 2555 | /*Encryption Type used with peer*/ |
| 2556 | WDI_EncryptType wdiEncType; |
| 2557 | |
| 2558 | /*Key Id*/ |
| 2559 | wpt_uint8 ucKeyId; |
| 2560 | |
| 2561 | /*Whether to invalidate the Broadcast key or Unicast key. In case of WEP, |
| 2562 | the same key is used for both broadcast and unicast.*/ |
| 2563 | wpt_uint8 ucUnicast; |
| 2564 | }WDI_RemoveSTAKeyReqInfoType; |
| 2565 | |
| 2566 | /*--------------------------------------------------------------------------- |
| 2567 | WDI_RemoveSTAKeyReqParamsType |
| 2568 | ---------------------------------------------------------------------------*/ |
| 2569 | typedef struct |
| 2570 | { |
| 2571 | /*Key Info */ |
| 2572 | WDI_RemoveSTAKeyReqInfoType wdiKeyInfo; |
| 2573 | |
| 2574 | /*Request status callback offered by UMAC - it is called if the current |
| 2575 | req has returned PENDING as status; it delivers the status of sending |
| 2576 | the message over the BUS */ |
| 2577 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2578 | |
| 2579 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2580 | function pointer will be called */ |
| 2581 | void* pUserData; |
| 2582 | }WDI_RemoveSTAKeyReqParamsType; |
| 2583 | |
| 2584 | /*--------------------------------------------------------------------------- |
| 2585 | QOS Parameters |
| 2586 | ---------------------------------------------------------------------------*/ |
| 2587 | |
| 2588 | /*--------------------------------------------------------------------------- |
| 2589 | WDI_TSInfoTfc |
| 2590 | ---------------------------------------------------------------------------*/ |
| 2591 | typedef struct |
| 2592 | { |
| 2593 | wpt_uint16 ackPolicy:2; |
| 2594 | wpt_uint16 userPrio:3; |
| 2595 | wpt_uint16 psb:1; |
| 2596 | wpt_uint16 aggregation : 1; |
| 2597 | wpt_uint16 accessPolicy : 2; |
| 2598 | wpt_uint16 direction : 2; |
| 2599 | wpt_uint16 tsid : 4; |
| 2600 | wpt_uint16 trafficType : 1; |
| 2601 | } WDI_TSInfoTfc; |
| 2602 | |
| 2603 | /*--------------------------------------------------------------------------- |
| 2604 | WDI_TSInfoSch |
| 2605 | ---------------------------------------------------------------------------*/ |
| 2606 | typedef struct |
| 2607 | { |
| 2608 | wpt_uint8 rsvd : 7; |
| 2609 | wpt_uint8 schedule : 1; |
| 2610 | } WDI_TSInfoSch; |
| 2611 | |
| 2612 | /*--------------------------------------------------------------------------- |
| 2613 | WDI_TSInfoType |
| 2614 | ---------------------------------------------------------------------------*/ |
| 2615 | typedef struct |
| 2616 | { |
| 2617 | WDI_TSInfoTfc wdiTraffic; |
| 2618 | WDI_TSInfoSch wdiSchedule; |
| 2619 | } WDI_TSInfoType; |
| 2620 | |
| 2621 | /*--------------------------------------------------------------------------- |
| 2622 | WDI_TspecIEType |
| 2623 | ---------------------------------------------------------------------------*/ |
| 2624 | typedef struct |
| 2625 | { |
| 2626 | wpt_uint8 ucType; |
| 2627 | wpt_uint8 ucLength; |
| 2628 | WDI_TSInfoType wdiTSinfo; |
| 2629 | wpt_uint16 usNomMsduSz; |
| 2630 | wpt_uint16 usMaxMsduSz; |
| 2631 | wpt_uint32 uMinSvcInterval; |
| 2632 | wpt_uint32 uMaxSvcInterval; |
| 2633 | wpt_uint32 uInactInterval; |
| 2634 | wpt_uint32 uSuspendInterval; |
| 2635 | wpt_uint32 uSvcStartTime; |
| 2636 | wpt_uint32 uMinDataRate; |
| 2637 | wpt_uint32 uMeanDataRate; |
| 2638 | wpt_uint32 uPeakDataRate; |
| 2639 | wpt_uint32 uMaxBurstSz; |
| 2640 | wpt_uint32 uDelayBound; |
| 2641 | wpt_uint32 uMinPhyRate; |
| 2642 | wpt_uint16 usSurplusBw; |
| 2643 | wpt_uint16 usMediumTime; |
| 2644 | }WDI_TspecIEType; |
| 2645 | |
| 2646 | /*--------------------------------------------------------------------------- |
| 2647 | WDI_AddTSReqInfoType |
| 2648 | ---------------------------------------------------------------------------*/ |
| 2649 | typedef struct |
| 2650 | { |
| 2651 | /*STA Index*/ |
| 2652 | wpt_uint8 ucSTAIdx; |
| 2653 | |
| 2654 | /*Identifier for TSpec*/ |
| 2655 | wpt_uint16 ucTspecIdx; |
| 2656 | |
| 2657 | /*Tspec IE negotiated OTA*/ |
| 2658 | WDI_TspecIEType wdiTspecIE; |
| 2659 | |
| 2660 | /*UAPSD delivery and trigger enabled flags */ |
| 2661 | wpt_uint8 ucUapsdFlags; |
| 2662 | |
| 2663 | /*SI for each AC*/ |
| 2664 | wpt_uint8 ucServiceInterval[WDI_MAX_NO_AC]; |
| 2665 | |
| 2666 | /*Suspend Interval for each AC*/ |
| 2667 | wpt_uint8 ucSuspendInterval[WDI_MAX_NO_AC]; |
| 2668 | |
| 2669 | /*DI for each AC*/ |
| 2670 | wpt_uint8 ucDelayedInterval[WDI_MAX_NO_AC]; |
| 2671 | |
| 2672 | }WDI_AddTSReqInfoType; |
| 2673 | |
| 2674 | |
| 2675 | /*--------------------------------------------------------------------------- |
| 2676 | WDI_AddTSReqParamsType |
| 2677 | ---------------------------------------------------------------------------*/ |
| 2678 | typedef struct |
| 2679 | { |
| 2680 | /*TSpec Info */ |
| 2681 | WDI_AddTSReqInfoType wdiTsInfo; |
| 2682 | |
| 2683 | /*Request status callback offered by UMAC - it is called if the current |
| 2684 | req has returned PENDING as status; it delivers the status of sending |
| 2685 | the message over the BUS */ |
| 2686 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2687 | |
| 2688 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2689 | function pointer will be called */ |
| 2690 | void* pUserData; |
| 2691 | }WDI_AddTSReqParamsType; |
| 2692 | |
| 2693 | /*--------------------------------------------------------------------------- |
| 2694 | WDI_DelTSReqInfoType |
| 2695 | ---------------------------------------------------------------------------*/ |
| 2696 | typedef struct |
| 2697 | { |
| 2698 | /*STA Index*/ |
| 2699 | wpt_uint8 ucSTAIdx; |
| 2700 | |
| 2701 | /*Identifier for TSpec*/ |
| 2702 | wpt_uint16 ucTspecIdx; |
| 2703 | |
| 2704 | /*BSSID of the BSS*/ |
| 2705 | wpt_macAddr macBSSID; |
| 2706 | }WDI_DelTSReqInfoType; |
| 2707 | |
| 2708 | /*--------------------------------------------------------------------------- |
| 2709 | WDI_DelTSReqParamsType |
| 2710 | ---------------------------------------------------------------------------*/ |
| 2711 | typedef struct |
| 2712 | { |
| 2713 | /*Del TSpec Info*/ |
| 2714 | WDI_DelTSReqInfoType wdiDelTSInfo; |
| 2715 | |
| 2716 | /*Request status callback offered by UMAC - it is called if the current |
| 2717 | req has returned PENDING as status; it delivers the status of sending |
| 2718 | the message over the BUS */ |
| 2719 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2720 | |
| 2721 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2722 | function pointer will be called */ |
| 2723 | void* pUserData; |
| 2724 | }WDI_DelTSReqParamsType; |
| 2725 | |
| 2726 | /*--------------------------------------------------------------------------- |
| 2727 | WDI_UpdateEDCAInfoType |
| 2728 | ---------------------------------------------------------------------------*/ |
| 2729 | typedef struct |
| 2730 | { |
krunal soni | 0b366c0 | 2013-07-17 19:55:57 -0700 | [diff] [blame] | 2731 | /*BSS Index of the BSS*/ |
| 2732 | wpt_uint16 ucBssIdx; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2733 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2734 | /*EDCA params for BE*/ |
| 2735 | WDI_EdcaParamRecord wdiEdcaBEInfo; |
| 2736 | |
| 2737 | /*EDCA params for BK*/ |
| 2738 | WDI_EdcaParamRecord wdiEdcaBKInfo; |
| 2739 | |
| 2740 | /*EDCA params for VI*/ |
| 2741 | WDI_EdcaParamRecord wdiEdcaVIInfo; |
| 2742 | |
| 2743 | /*EDCA params for VO*/ |
| 2744 | WDI_EdcaParamRecord wdiEdcaVOInfo; |
| 2745 | |
| 2746 | }WDI_UpdateEDCAInfoType; |
| 2747 | |
| 2748 | /*--------------------------------------------------------------------------- |
| 2749 | WDI_UpdateEDCAParamsType |
| 2750 | ---------------------------------------------------------------------------*/ |
| 2751 | typedef struct |
| 2752 | { |
| 2753 | /*EDCA Info */ |
| 2754 | WDI_UpdateEDCAInfoType wdiEDCAInfo; |
| 2755 | |
| 2756 | /*Request status callback offered by UMAC - it is called if the current |
| 2757 | req has returned PENDING as status; it delivers the status of sending |
| 2758 | the message over the BUS */ |
| 2759 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2760 | |
| 2761 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2762 | function pointer will be called */ |
| 2763 | void* pUserData; |
| 2764 | }WDI_UpdateEDCAParamsType; |
| 2765 | |
| 2766 | /*--------------------------------------------------------------------------- |
| 2767 | WDI_AddBASessionReqinfoType |
| 2768 | ---------------------------------------------------------------------------*/ |
| 2769 | typedef struct |
| 2770 | { |
| 2771 | /*Indicates the station for which BA is added..*/ |
| 2772 | wpt_uint8 ucSTAIdx; |
| 2773 | |
| 2774 | /*The peer mac address*/ |
| 2775 | wpt_macAddr macPeerAddr; |
| 2776 | |
| 2777 | /*TID for which BA was negotiated*/ |
| 2778 | wpt_uint8 ucBaTID; |
| 2779 | |
| 2780 | /*Delayed or imediate */ |
| 2781 | wpt_uint8 ucBaPolicy; |
| 2782 | |
| 2783 | /*The number of buffers for this TID (baTID)*/ |
| 2784 | wpt_uint16 usBaBufferSize; |
| 2785 | |
| 2786 | /*BA timeout in TU's*/ |
| 2787 | wpt_uint16 usBaTimeout; |
| 2788 | |
| 2789 | /*b0..b3 - Fragment Number - Always set to 0 |
| 2790 | b4..b15 - Starting Sequence Number of first MSDU for which this BA is setup*/ |
| 2791 | wpt_uint16 usBaSSN; |
| 2792 | |
| 2793 | /*Originator/Recipient*/ |
| 2794 | wpt_uint8 ucBaDirection; |
| 2795 | |
| 2796 | }WDI_AddBASessionReqinfoType; |
| 2797 | |
| 2798 | |
| 2799 | /*--------------------------------------------------------------------------- |
| 2800 | WDI_AddBASessionReqParamsType |
| 2801 | ---------------------------------------------------------------------------*/ |
| 2802 | typedef struct |
| 2803 | { |
| 2804 | /*BA Session Info Type*/ |
| 2805 | WDI_AddBASessionReqinfoType wdiBASessionInfoType; |
| 2806 | |
| 2807 | /*Request status callback offered by UMAC - it is called if the current |
| 2808 | req has returned PENDING as status; it delivers the status of sending |
| 2809 | the message over the BUS */ |
| 2810 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2811 | |
| 2812 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2813 | function pointer will be called */ |
| 2814 | void* pUserData; |
| 2815 | }WDI_AddBASessionReqParamsType; |
| 2816 | |
| 2817 | /*--------------------------------------------------------------------------- |
| 2818 | WDI_AddBASessionRspParamsType |
| 2819 | ---------------------------------------------------------------------------*/ |
| 2820 | typedef struct |
| 2821 | { |
| 2822 | /*Status of the response*/ |
| 2823 | WDI_Status wdiStatus; |
| 2824 | |
| 2825 | /* Dialog token */ |
| 2826 | wpt_uint8 ucBaDialogToken; |
| 2827 | |
| 2828 | /* TID for which the BA session has been setup */ |
| 2829 | wpt_uint8 ucBaTID; |
| 2830 | |
| 2831 | /* BA Buffer Size allocated for the current BA session */ |
| 2832 | wpt_uint8 ucBaBufferSize; |
| 2833 | |
| 2834 | /* BA session ID */ |
| 2835 | wpt_uint16 usBaSessionID; |
| 2836 | |
| 2837 | /* Reordering Window buffer */ |
| 2838 | wpt_uint8 ucWinSize; |
| 2839 | |
| 2840 | /*Station Index to id the sta */ |
| 2841 | wpt_uint8 ucSTAIdx; |
| 2842 | |
| 2843 | /* Starting Sequence Number */ |
| 2844 | wpt_uint16 usBaSSN; |
| 2845 | |
| 2846 | }WDI_AddBASessionRspParamsType; |
| 2847 | |
| 2848 | /*--------------------------------------------------------------------------- |
Siddharth Bhal | 171788a | 2014-09-29 21:02:40 +0530 | [diff] [blame] | 2849 | WDI_SpoofMacAddrRspParamType |
| 2850 | ---------------------------------------------------------------------------*/ |
| 2851 | typedef struct |
| 2852 | { |
| 2853 | /* wdi status */ |
| 2854 | wpt_uint32 wdiStatus; |
| 2855 | |
| 2856 | /* Reserved Field */ |
| 2857 | wpt_uint32 reserved; |
| 2858 | |
| 2859 | }WDI_SpoofMacAddrRspParamType; |
| 2860 | /*--------------------------------------------------------------------------- |
Siddharth Bhal | 6424617 | 2015-02-27 01:04:37 +0530 | [diff] [blame] | 2861 | WDI_GetFrameLogRspParamType |
| 2862 | ---------------------------------------------------------------------------*/ |
| 2863 | typedef struct |
| 2864 | { |
| 2865 | /* wdi status */ |
| 2866 | wpt_uint32 wdiStatus; |
| 2867 | }WDI_GetFrameLogRspParamType; |
| 2868 | /*--------------------------------------------------------------------------- |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 2869 | WDI_FWLoggingInitRspParamType |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 2870 | ---------------------------------------------------------------------------*/ |
| 2871 | typedef struct |
| 2872 | { |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 2873 | //FW mail box address |
| 2874 | wpt_uint64 logMailBoxAddr; |
| 2875 | wpt_uint32 status; |
| 2876 | //Logging mail box version |
| 2877 | wpt_uint8 logMailBoxVer; |
| 2878 | //Qshrink is enabled |
| 2879 | wpt_boolean logCompressEnabled; |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 2880 | /* store the size of fw mem dump */ |
| 2881 | wpt_uint32 fw_mem_dump_max_size; |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 2882 | //Reserved for future purpose |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 2883 | wpt_uint32 reserved1; |
| 2884 | wpt_uint32 reserved2; |
| 2885 | }WDI_FWLoggingInitRspParamType; |
Sachin Ahuja | 715aafc | 2015-07-21 23:35:10 +0530 | [diff] [blame] | 2886 | |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 2887 | typedef struct |
| 2888 | { |
| 2889 | /* wdi status */ |
| 2890 | wpt_uint32 status; |
| 2891 | }WDI_RssiMonitorStartRspParamType; |
Sachin Ahuja | 715aafc | 2015-07-21 23:35:10 +0530 | [diff] [blame] | 2892 | |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 2893 | typedef struct |
| 2894 | { |
| 2895 | /* wdi status */ |
| 2896 | wpt_uint32 status; |
| 2897 | }WDI_RssiMonitorStopRspParamType; |
Sachin Ahuja | 715aafc | 2015-07-21 23:35:10 +0530 | [diff] [blame] | 2898 | /*--------------------------------------------------------------------------- |
| 2899 | WDI_FatalEventLogsRspParamType |
| 2900 | ---------------------------------------------------------------------------*/ |
| 2901 | typedef struct |
| 2902 | { |
| 2903 | /* wdi status */ |
| 2904 | wpt_uint32 wdiStatus; |
| 2905 | }WDI_FatalEventLogsRspParamType; |
| 2906 | |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 2907 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2908 | WDI_AddBAReqinfoType |
| 2909 | ---------------------------------------------------------------------------*/ |
| 2910 | typedef struct |
| 2911 | { |
| 2912 | /*Indicates the station for which BA is added..*/ |
| 2913 | wpt_uint8 ucSTAIdx; |
| 2914 | |
| 2915 | /* Session Id */ |
| 2916 | wpt_uint8 ucBaSessionID; |
| 2917 | |
| 2918 | /* Reorder Window Size */ |
| 2919 | wpt_uint8 ucWinSize; |
| 2920 | |
| 2921 | #ifdef FEATURE_ON_CHIP_REORDERING |
| 2922 | wpt_boolean bIsReorderingDoneOnChip; |
| 2923 | #endif |
| 2924 | |
| 2925 | }WDI_AddBAReqinfoType; |
| 2926 | |
| 2927 | |
| 2928 | /*--------------------------------------------------------------------------- |
| 2929 | WDI_AddBAReqParamsType |
| 2930 | ---------------------------------------------------------------------------*/ |
| 2931 | typedef struct |
| 2932 | { |
| 2933 | /*BA Info Type*/ |
| 2934 | WDI_AddBAReqinfoType wdiBAInfoType; |
| 2935 | |
| 2936 | /*Request status callback offered by UMAC - it is called if the current |
| 2937 | req has returned PENDING as status; it delivers the status of sending |
| 2938 | the message over the BUS */ |
| 2939 | WDI_ReqStatusCb wdiReqStatusCB; |
| 2940 | |
| 2941 | /*The user data passed in by UMAC, it will be sent back when the above |
| 2942 | function pointer will be called */ |
| 2943 | void* pUserData; |
| 2944 | }WDI_AddBAReqParamsType; |
| 2945 | |
| 2946 | |
| 2947 | /*--------------------------------------------------------------------------- |
| 2948 | WDI_AddBARspinfoType |
| 2949 | ---------------------------------------------------------------------------*/ |
| 2950 | typedef struct |
| 2951 | { |
| 2952 | /*Status of the response*/ |
| 2953 | WDI_Status wdiStatus; |
| 2954 | |
| 2955 | /* Dialog token */ |
| 2956 | wpt_uint8 ucBaDialogToken; |
| 2957 | |
| 2958 | }WDI_AddBARspinfoType; |
| 2959 | |
| 2960 | /*--------------------------------------------------------------------------- |
| 2961 | WDI_TriggerBAReqCandidateType |
| 2962 | ---------------------------------------------------------------------------*/ |
| 2963 | typedef struct |
| 2964 | { |
| 2965 | /* STA index */ |
| 2966 | wpt_uint8 ucSTAIdx; |
| 2967 | |
| 2968 | /* TID bit map for the STA's*/ |
| 2969 | wpt_uint8 ucTidBitmap; |
| 2970 | |
| 2971 | }WDI_TriggerBAReqCandidateType; |
| 2972 | |
| 2973 | |
| 2974 | /*--------------------------------------------------------------------------- |
| 2975 | WDI_TriggerBAReqinfoType |
| 2976 | ---------------------------------------------------------------------------*/ |
| 2977 | typedef struct |
| 2978 | { |
| 2979 | /*Indicates the station for which BA is added..*/ |
| 2980 | wpt_uint8 ucSTAIdx; |
| 2981 | |
| 2982 | /* Session Id */ |
| 2983 | wpt_uint8 ucBASessionID; |
| 2984 | |
| 2985 | /* Trigger BA Request candidate count */ |
| 2986 | wpt_uint16 usBACandidateCnt; |
| 2987 | |
| 2988 | /* WDI_TriggerBAReqCandidateType followed by this*/ |
| 2989 | |
| 2990 | }WDI_TriggerBAReqinfoType; |
| 2991 | |
| 2992 | |
| 2993 | /*--------------------------------------------------------------------------- |
| 2994 | WDI_TriggerBAReqParamsType |
| 2995 | ---------------------------------------------------------------------------*/ |
| 2996 | typedef struct |
| 2997 | { |
| 2998 | /*BA Trigger Info Type*/ |
| 2999 | WDI_TriggerBAReqinfoType wdiTriggerBAInfoType; |
| 3000 | |
| 3001 | /*Request status callback offered by UMAC - it is called if the current |
| 3002 | req has returned PENDING as status; it delivers the status of sending |
| 3003 | the message over the BUS */ |
| 3004 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3005 | |
| 3006 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3007 | function pointer will be called */ |
| 3008 | void* pUserData; |
| 3009 | }WDI_TriggerBAReqParamsType; |
| 3010 | |
| 3011 | /*--------------------------------------------------------------------------- |
| 3012 | WDI_AddBAInfoType |
| 3013 | ---------------------------------------------------------------------------*/ |
| 3014 | typedef struct |
| 3015 | { |
| 3016 | wpt_uint16 fBaEnable : 1; |
| 3017 | wpt_uint16 startingSeqNum: 12; |
| 3018 | wpt_uint16 reserved : 3; |
| 3019 | }WDI_AddBAInfoType; |
| 3020 | |
| 3021 | /*--------------------------------------------------------------------------- |
| 3022 | WDI_TriggerBARspCandidateType |
| 3023 | ---------------------------------------------------------------------------*/ |
| 3024 | #define STA_MAX_TC 8 |
| 3025 | |
| 3026 | typedef struct |
| 3027 | { |
| 3028 | /* STA index */ |
| 3029 | wpt_macAddr macSTA; |
| 3030 | |
| 3031 | /* BA Info */ |
| 3032 | WDI_AddBAInfoType wdiBAInfo[STA_MAX_TC]; |
| 3033 | }WDI_TriggerBARspCandidateType; |
| 3034 | |
| 3035 | /*--------------------------------------------------------------------------- |
| 3036 | WDI_TriggerBARspParamsType |
| 3037 | ---------------------------------------------------------------------------*/ |
| 3038 | typedef struct |
| 3039 | { |
| 3040 | /*Status of the response*/ |
| 3041 | WDI_Status wdiStatus; |
| 3042 | |
| 3043 | /*BSSID of the BSS*/ |
| 3044 | wpt_macAddr macBSSID; |
| 3045 | |
| 3046 | /* Trigger BA response candidate count */ |
| 3047 | wpt_uint16 usBaCandidateCnt; |
| 3048 | |
| 3049 | /* WDI_TriggerBARspCandidateType followed by this*/ |
| 3050 | |
| 3051 | }WDI_TriggerBARspParamsType; |
| 3052 | |
| 3053 | /*--------------------------------------------------------------------------- |
| 3054 | WDI_DelBAReqinfoType |
| 3055 | ---------------------------------------------------------------------------*/ |
| 3056 | typedef struct |
| 3057 | { |
| 3058 | /*Indicates the station for which BA is added..*/ |
| 3059 | wpt_uint8 ucSTAIdx; |
| 3060 | |
| 3061 | /*TID for which BA was negotiated*/ |
| 3062 | wpt_uint8 ucBaTID; |
| 3063 | |
| 3064 | /*Originator/Recipient*/ |
| 3065 | wpt_uint8 ucBaDirection; |
| 3066 | |
| 3067 | }WDI_DelBAReqinfoType; |
| 3068 | |
| 3069 | /*--------------------------------------------------------------------------- |
| 3070 | WDI_DelBAReqParamsType |
| 3071 | ---------------------------------------------------------------------------*/ |
| 3072 | typedef struct |
| 3073 | { |
| 3074 | /*BA Info */ |
| 3075 | WDI_DelBAReqinfoType wdiBAInfo; |
| 3076 | |
| 3077 | /*Request status callback offered by UMAC - it is called if the current |
| 3078 | req has returned PENDING as status; it delivers the status of sending |
| 3079 | the message over the BUS */ |
| 3080 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3081 | |
| 3082 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3083 | function pointer will be called */ |
| 3084 | void* pUserData; |
| 3085 | }WDI_DelBAReqParamsType; |
| 3086 | |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 3087 | /*--------------------------------------------------------------------------- |
| 3088 | WDI_UpdateChannelReqinfoType |
| 3089 | ---------------------------------------------------------------------------*/ |
| 3090 | typedef struct |
| 3091 | { |
| 3092 | /** primary 20 MHz channel frequency in mhz */ |
| 3093 | wpt_uint32 mhz; |
| 3094 | /** Center frequency 1 in MHz*/ |
| 3095 | wpt_uint32 band_center_freq1; |
| 3096 | /** Center frequency 2 in MHz - valid only for 11acvht 80plus80 mode*/ |
| 3097 | wpt_uint32 band_center_freq2; |
| 3098 | /* The first 26 bits are a bit mask to indicate any channel flags, |
| 3099 | (see WLAN_HAL_CHAN_FLAG*) |
| 3100 | The last 6 bits indicate the mode (see tChannelPhyModeType)*/ |
| 3101 | wpt_uint32 channel_info; |
| 3102 | /** contains min power, max power, reg power and reg class id. */ |
| 3103 | wpt_uint32 reg_info_1; |
| 3104 | /** contains antennamax */ |
| 3105 | wpt_uint32 reg_info_2; |
| 3106 | }WDI_UpdateChannelReqinfoType; |
| 3107 | |
| 3108 | typedef struct |
| 3109 | { |
| 3110 | wpt_uint8 numchan; |
| 3111 | WDI_UpdateChannelReqinfoType *pchanParam; |
| 3112 | }WDI_UpdateChannelReqType; |
| 3113 | /*--------------------------------------------------------------------------- |
| 3114 | WDI_UpdateChReqParamsType |
| 3115 | ---------------------------------------------------------------------------*/ |
| 3116 | typedef struct |
| 3117 | { |
| 3118 | /*BA Info */ |
| 3119 | WDI_UpdateChannelReqType wdiUpdateChanParams; |
| 3120 | |
| 3121 | /*Request status callback offered by UMAC - it is called if the current |
| 3122 | req has returned PENDING as status; it delivers the status of sending |
| 3123 | the message over the BUS */ |
| 3124 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3125 | |
| 3126 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3127 | function pointer will be called */ |
| 3128 | void* pUserData; |
| 3129 | }WDI_UpdateChReqParamsType; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3130 | |
| 3131 | /*--------------------------------------------------------------------------- |
| 3132 | WDI_SwitchCHRspParamsType |
| 3133 | ---------------------------------------------------------------------------*/ |
| 3134 | typedef struct |
| 3135 | { |
| 3136 | /*Status of the response*/ |
| 3137 | WDI_Status wdiStatus; |
| 3138 | |
| 3139 | /*Indicates the channel that WLAN is on*/ |
| 3140 | wpt_uint8 ucChannel; |
| 3141 | |
| 3142 | #ifdef WLAN_FEATURE_VOWIFI |
| 3143 | /*HAL fills in the tx power used for mgmt frames in this field.*/ |
| 3144 | wpt_int8 ucTxMgmtPower; |
| 3145 | #endif |
| 3146 | |
| 3147 | }WDI_SwitchCHRspParamsType; |
| 3148 | |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 3149 | /*-------------------------------------------------------------------- |
| 3150 | WDI_SwitchChRspParamsType_V1 |
| 3151 | --------------------------------------------------------------------*/ |
| 3152 | typedef struct |
| 3153 | { |
| 3154 | /*Status of the response*/ |
| 3155 | WDI_Status wdiStatus; |
| 3156 | |
| 3157 | /*Indicates the channel that WLAN is on*/ |
| 3158 | wpt_uint8 ucChannel; |
| 3159 | |
| 3160 | #ifdef WLAN_FEATURE_VOWIFI |
| 3161 | /*HAL fills in the tx power used for mgmt frames in this field.*/ |
| 3162 | wpt_int8 ucTxMgmtPower; |
| 3163 | #endif |
| 3164 | |
| 3165 | /* Source of Channel Switch */ |
| 3166 | WDI_ChanSwitchSource channelSwitchSrc; |
| 3167 | }WDI_SwitchChRspParamsType_V1; |
| 3168 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3169 | /*--------------------------------------------------------------------------- |
| 3170 | WDI_ConfigSTAReqParamsType |
| 3171 | ---------------------------------------------------------------------------*/ |
| 3172 | typedef struct |
| 3173 | { |
| 3174 | /*Info for the Join request that will be sent down to the device*/ |
| 3175 | WDI_ConfigStaReqInfoType wdiReqInfo; |
| 3176 | |
| 3177 | /*Request status callback offered by UMAC - it is called if the current |
| 3178 | req has returned PENDING as status; it delivers the status of sending |
| 3179 | the message over the BUS */ |
| 3180 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3181 | |
| 3182 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3183 | function pointer will be called */ |
| 3184 | void* pUserData; |
| 3185 | }WDI_ConfigSTAReqParamsType; |
| 3186 | |
| 3187 | |
| 3188 | /*--------------------------------------------------------------------------- |
| 3189 | WDI_UpdateBeaconParamsInfoType |
| 3190 | ---------------------------------------------------------------------------*/ |
| 3191 | |
| 3192 | typedef struct |
| 3193 | { |
| 3194 | /*BSS Index of the BSS*/ |
| 3195 | wpt_uint8 ucBssIdx; |
| 3196 | |
| 3197 | /*shortPreamble mode. HAL should update all the STA rates when it |
| 3198 | receives this message*/ |
| 3199 | wpt_uint8 ucfShortPreamble; |
| 3200 | /* short Slot time.*/ |
| 3201 | wpt_uint8 ucfShortSlotTime; |
| 3202 | /* Beacon Interval */ |
| 3203 | wpt_uint16 usBeaconInterval; |
| 3204 | /*Protection related */ |
| 3205 | wpt_uint8 ucllaCoexist; |
| 3206 | wpt_uint8 ucllbCoexist; |
| 3207 | wpt_uint8 ucllgCoexist; |
| 3208 | wpt_uint8 ucHt20MhzCoexist; |
| 3209 | wpt_uint8 ucllnNonGFCoexist; |
| 3210 | wpt_uint8 ucfLsigTXOPProtectionFullSupport; |
| 3211 | wpt_uint8 ucfRIFSMode; |
| 3212 | |
| 3213 | wpt_uint16 usChangeBitmap; |
| 3214 | }WDI_UpdateBeaconParamsInfoType; |
| 3215 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 3216 | #ifdef WLAN_FEATURE_11AC |
| 3217 | typedef struct |
| 3218 | { |
| 3219 | wpt_uint16 opMode; |
| 3220 | wpt_uint16 staId; |
| 3221 | }WDI_UpdateVHTOpMode; |
| 3222 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3223 | |
| 3224 | /*--------------------------------------------------------------------------- |
| 3225 | WDI_UpdateBeaconParamsType |
| 3226 | ---------------------------------------------------------------------------*/ |
| 3227 | typedef struct |
| 3228 | { |
| 3229 | /*Update Beacon Params Info*/ |
| 3230 | WDI_UpdateBeaconParamsInfoType wdiUpdateBeaconParamsInfo; |
| 3231 | |
| 3232 | /*Request status callback offered by UMAC - it is called if the current |
| 3233 | req has returned PENDING as status; it delivers the status of sending |
| 3234 | the message over the BUS */ |
| 3235 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3236 | |
| 3237 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3238 | function pointer will be called */ |
| 3239 | void* pUserData; |
| 3240 | }WDI_UpdateBeaconParamsType; |
| 3241 | |
| 3242 | /*--------------------------------------------------------------------------- |
| 3243 | WDI_SendBeaconParamsInfoType |
| 3244 | ---------------------------------------------------------------------------*/ |
| 3245 | |
| 3246 | typedef struct { |
| 3247 | |
| 3248 | /*BSSID of the BSS*/ |
| 3249 | wpt_macAddr macBSSID; |
| 3250 | |
| 3251 | /* Beacon data */ |
| 3252 | wpt_uint8 beacon[WDI_BEACON_TEMPLATE_SIZE]; |
| 3253 | |
| 3254 | /* length of the template */ |
| 3255 | wpt_uint32 beaconLength; |
| 3256 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3257 | /* TIM IE offset from the beginning of the template.*/ |
| 3258 | wpt_uint32 timIeOffset; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3259 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3260 | /* P2P IE offset from the beginning of the template */ |
| 3261 | wpt_uint16 usP2PIeOffset; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3262 | } WDI_SendBeaconParamsInfoType; |
| 3263 | |
| 3264 | /*--------------------------------------------------------------------------- |
| 3265 | WDI_SendBeaconParamsType |
| 3266 | ---------------------------------------------------------------------------*/ |
| 3267 | typedef struct |
| 3268 | { |
| 3269 | /*Send Beacon Params Info*/ |
| 3270 | WDI_SendBeaconParamsInfoType wdiSendBeaconParamsInfo; |
| 3271 | |
| 3272 | /*Request status callback offered by UMAC - it is called if the current |
| 3273 | req has returned PENDING as status; it delivers the status of sending |
| 3274 | the message over the BUS */ |
| 3275 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3276 | |
| 3277 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3278 | function pointer will be called */ |
| 3279 | void* pUserData; |
| 3280 | }WDI_SendBeaconParamsType; |
| 3281 | |
| 3282 | /*--------------------------------------------------------------------------- |
| 3283 | WDI_LinkStateType |
| 3284 | ---------------------------------------------------------------------------*/ |
| 3285 | typedef enum |
| 3286 | { |
| 3287 | WDI_LINK_IDLE_STATE = 0, |
| 3288 | WDI_LINK_PREASSOC_STATE = 1, |
| 3289 | WDI_LINK_POSTASSOC_STATE = 2, |
| 3290 | WDI_LINK_AP_STATE = 3, |
| 3291 | WDI_LINK_IBSS_STATE = 4, |
| 3292 | |
| 3293 | // BT-AMP Case |
| 3294 | WDI_LINK_BTAMP_PREASSOC_STATE = 5, |
| 3295 | WDI_LINK_BTAMP_POSTASSOC_STATE = 6, |
| 3296 | WDI_LINK_BTAMP_AP_STATE = 7, |
| 3297 | WDI_LINK_BTAMP_STA_STATE = 8, |
| 3298 | |
| 3299 | // Reserved for HAL internal use |
| 3300 | WDI_LINK_LEARN_STATE = 9, |
| 3301 | WDI_LINK_SCAN_STATE = 10, |
| 3302 | WDI_LINK_FINISH_SCAN_STATE = 11, |
| 3303 | WDI_LINK_INIT_CAL_STATE = 12, |
| 3304 | WDI_LINK_FINISH_CAL_STATE = 13, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3305 | WDI_LINK_LISTEN_STATE = 14, |
Gopichand Nakkala | 924e455 | 2013-05-08 19:18:14 +0530 | [diff] [blame] | 3306 | WDI_LINK_SEND_ACTION_STATE = 15, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3307 | WDI_LINK_MAX = 0x7FFFFFFF |
| 3308 | } WDI_LinkStateType; |
| 3309 | |
| 3310 | /*--------------------------------------------------------------------------- |
| 3311 | WDI_SetLinkReqInfoType |
| 3312 | ---------------------------------------------------------------------------*/ |
| 3313 | typedef struct |
| 3314 | { |
| 3315 | /*BSSID of the BSS*/ |
| 3316 | wpt_macAddr macBSSID; |
| 3317 | |
| 3318 | /*Link state*/ |
| 3319 | WDI_LinkStateType wdiLinkState; |
| 3320 | |
| 3321 | /*BSSID of the BSS*/ |
| 3322 | wpt_macAddr macSelfStaMacAddr; |
| 3323 | }WDI_SetLinkReqInfoType; |
| 3324 | |
| 3325 | /*--------------------------------------------------------------------------- |
| 3326 | WDI_SetLinkReqParamsType |
| 3327 | ---------------------------------------------------------------------------*/ |
| 3328 | typedef struct |
| 3329 | { |
| 3330 | /*Link Info*/ |
| 3331 | WDI_SetLinkReqInfoType wdiLinkInfo; |
| 3332 | |
| 3333 | /*Request status callback offered by UMAC - it is called if the current |
| 3334 | req has returned PENDING as status; it delivers the status of sending |
| 3335 | the message over the BUS */ |
| 3336 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3337 | |
| 3338 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3339 | function pointer will be called */ |
| 3340 | void* pUserData; |
| 3341 | }WDI_SetLinkReqParamsType; |
| 3342 | |
| 3343 | /*--------------------------------------------------------------------------- |
| 3344 | WDI_GetStatsParamsInfoType |
| 3345 | ---------------------------------------------------------------------------*/ |
| 3346 | typedef struct |
| 3347 | { |
| 3348 | /*Indicates the station for which Get Stats are requested..*/ |
| 3349 | wpt_uint8 ucSTAIdx; |
| 3350 | |
| 3351 | /* categories of stats requested */ |
| 3352 | wpt_uint32 uStatsMask; |
| 3353 | }WDI_GetStatsParamsInfoType; |
| 3354 | |
| 3355 | /*--------------------------------------------------------------------------- |
| 3356 | WDI_GetStatsReqParamsType |
| 3357 | ---------------------------------------------------------------------------*/ |
| 3358 | typedef struct |
| 3359 | { |
| 3360 | /*Get Stats Params Info*/ |
| 3361 | WDI_GetStatsParamsInfoType wdiGetStatsParamsInfo; |
| 3362 | |
| 3363 | /*Request status callback offered by UMAC - it is called if the current |
| 3364 | req has returned PENDING as status; it delivers the status of sending |
| 3365 | the message over the BUS */ |
| 3366 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3367 | |
| 3368 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3369 | function pointer will be called */ |
| 3370 | void* pUserData; |
| 3371 | }WDI_GetStatsReqParamsType; |
| 3372 | |
| 3373 | /*--------------------------------------------------------------------------- |
| 3374 | WDI_GetStatsRspParamsType |
| 3375 | ---------------------------------------------------------------------------*/ |
| 3376 | typedef struct |
| 3377 | { |
| 3378 | /*message type is same as the request type*/ |
| 3379 | wpt_uint16 usMsgType; |
| 3380 | |
| 3381 | /* length of the entire request, includes the pStatsBuf length too*/ |
| 3382 | wpt_uint16 usMsgLen; |
| 3383 | |
| 3384 | /*Result of the operation*/ |
| 3385 | WDI_Status wdiStatus; |
| 3386 | |
| 3387 | /*Indicates the station for which Get Stats are requested..*/ |
| 3388 | wpt_uint8 ucSTAIdx; |
| 3389 | |
| 3390 | /* categories of stats requested */ |
| 3391 | wpt_uint32 uStatsMask; |
| 3392 | |
| 3393 | /* The Stats buffer starts here and can be an aggregate of more than one statistics |
| 3394 | * structure depending on statsMask.*/ |
| 3395 | }WDI_GetStatsRspParamsType; |
| 3396 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 3397 | #if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR) |
Srinivas Girigowda | d34cedb | 2013-01-25 13:33:11 -0800 | [diff] [blame] | 3398 | /*--------------------------------------------------------------------------- |
| 3399 | WDI_GetRoamRssiParamsInfoType |
| 3400 | ---------------------------------------------------------------------------*/ |
| 3401 | typedef struct |
| 3402 | { |
| 3403 | /*Indicates the station for which Get Stats are requested..*/ |
| 3404 | wpt_uint8 ucSTAIdx; |
| 3405 | |
| 3406 | /* categories of stats requested */ |
| 3407 | wpt_uint32 uStatsMask; |
| 3408 | }WDI_GetRoamRssiParamsInfoType; |
| 3409 | |
| 3410 | /*--------------------------------------------------------------------------- |
| 3411 | WDI_GetRoamRssiReqParamsType |
| 3412 | ---------------------------------------------------------------------------*/ |
| 3413 | typedef struct |
| 3414 | { |
| 3415 | /*Get Roam Rssi Params Info*/ |
| 3416 | WDI_GetRoamRssiParamsInfoType wdiGetRoamRssiParamsInfo; |
| 3417 | |
| 3418 | /*Request status callback offered by UMAC - it is called if the current |
| 3419 | req has returned PENDING as status; it delivers the status of sending |
| 3420 | the message over the BUS */ |
| 3421 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3422 | |
| 3423 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3424 | function pointer will be called */ |
| 3425 | void* pUserData; |
| 3426 | }WDI_GetRoamRssiReqParamsType; |
| 3427 | |
| 3428 | /*--------------------------------------------------------------------------- |
| 3429 | WDI_GetRoamRssiRspParamsType |
| 3430 | ---------------------------------------------------------------------------*/ |
| 3431 | typedef struct |
| 3432 | { |
| 3433 | /*Result of the operation*/ |
| 3434 | WDI_Status wdiStatus; |
| 3435 | |
| 3436 | /*Indicates the station for which Get Stats are requested..*/ |
| 3437 | wpt_uint8 ucSTAIdx; |
| 3438 | |
| 3439 | /* roam rssi requested */ |
| 3440 | wpt_int8 rssi; |
| 3441 | |
| 3442 | /* The Stats buffer starts here and can be an aggregate of more than one statistics |
| 3443 | * structure depending on statsMask.*/ |
| 3444 | }WDI_GetRoamRssiRspParamsType; |
| 3445 | #endif |
| 3446 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 3447 | #ifdef FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3448 | /*--------------------------------------------------------------------------- |
| 3449 | WDI_TSMStatsParamsInfoType |
| 3450 | ---------------------------------------------------------------------------*/ |
| 3451 | typedef struct |
| 3452 | { |
| 3453 | /*Indicates the station for which Get Stats are requested..*/ |
| 3454 | wpt_uint8 ucTid; |
| 3455 | |
| 3456 | wpt_macAddr bssid; |
| 3457 | }WDI_TSMStatsParamsInfoType; |
| 3458 | |
| 3459 | /*--------------------------------------------------------------------------- |
| 3460 | WDI_TSMStatsReqParamsType |
| 3461 | ---------------------------------------------------------------------------*/ |
| 3462 | typedef struct |
| 3463 | { |
| 3464 | /*Get TSM Stats Params Info*/ |
| 3465 | WDI_TSMStatsParamsInfoType wdiTsmStatsParamsInfo; |
| 3466 | |
| 3467 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3468 | |
| 3469 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3470 | function pointer will be called */ |
| 3471 | void* pUserData; |
| 3472 | |
| 3473 | }WDI_TSMStatsReqParamsType; |
| 3474 | |
| 3475 | |
| 3476 | /*--------------------------------------------------------------------------- |
| 3477 | WDI_TSMStatsRspParamsType |
| 3478 | ---------------------------------------------------------------------------*/ |
| 3479 | typedef struct |
| 3480 | { |
| 3481 | /*Indicates the status of the operation */ |
| 3482 | WDI_Status wdiStatus; |
| 3483 | |
| 3484 | wpt_uint16 UplinkPktQueueDly; |
| 3485 | wpt_uint16 UplinkPktQueueDlyHist[4]; |
| 3486 | wpt_uint32 UplinkPktTxDly; |
| 3487 | wpt_uint16 UplinkPktLoss; |
| 3488 | wpt_uint16 UplinkPktCount; |
| 3489 | wpt_uint8 RoamingCount; |
| 3490 | wpt_uint16 RoamingDly; |
| 3491 | }WDI_TSMStatsRspParamsType; |
| 3492 | |
| 3493 | |
| 3494 | #endif |
| 3495 | /*--------------------------------------------------------------------------- |
| 3496 | WDI_UpdateCfgReqParamsType |
| 3497 | ---------------------------------------------------------------------------*/ |
| 3498 | typedef struct |
| 3499 | { |
| 3500 | /*This is a TLV formatted buffer containing all config values that can |
| 3501 | be set through the DAL Interface |
| 3502 | |
| 3503 | The TLV is expected to be formatted like this: |
| 3504 | |
| 3505 | 0 7 15 31 .... |
| 3506 | | CONFIG ID | CFG LEN | RESERVED | CFG BODY | |
| 3507 | |
| 3508 | Or from a C construct point of VU it would look like this: |
| 3509 | |
| 3510 | typedef struct WPT_PACK_POST |
| 3511 | { |
| 3512 | #ifdef WPT_BIG_ENDIAN |
| 3513 | wpt_uint32 ucCfgId:8; |
| 3514 | wpt_uint32 ucCfgLen:8; |
| 3515 | wpt_uint32 usReserved:16; |
| 3516 | #else |
| 3517 | wpt_uint32 usReserved:16; |
| 3518 | wpt_uint32 ucCfgLen:8; |
| 3519 | wpt_uint32 ucCfgId:8; |
| 3520 | #endif |
| 3521 | |
| 3522 | wpt_uint8 ucCfgBody[ucCfgLen]; |
| 3523 | }WDI_ConfigType; |
| 3524 | |
| 3525 | Multiple such tuplets are to be placed in the config buffer. One for |
| 3526 | each required configuration item: |
| 3527 | |
| 3528 | | TLV 1 | TLV2 | .... |
| 3529 | |
| 3530 | The buffer is expected to be a flat area of memory that can be manipulated |
| 3531 | with standard memory routines. |
| 3532 | |
| 3533 | For more info please check paragraph 2.3.1 Config Structure from the |
| 3534 | HAL LLD. |
| 3535 | |
| 3536 | For a list of accepted configuration list and IDs please look up |
| 3537 | wlan_qct_dal_cfg.h |
| 3538 | */ |
| 3539 | void* pConfigBuffer; |
| 3540 | |
| 3541 | /*Length of the config buffer above*/ |
| 3542 | wpt_uint32 uConfigBufferLen; |
| 3543 | |
| 3544 | /*Request status callback offered by UMAC - it is called if the current |
| 3545 | req has returned PENDING as status; it delivers the status of sending |
| 3546 | the message over the BUS */ |
| 3547 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3548 | |
| 3549 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3550 | function pointer will be called */ |
| 3551 | void* pUserData; |
| 3552 | }WDI_UpdateCfgReqParamsType; |
| 3553 | |
| 3554 | /*--------------------------------------------------------------------------- |
| 3555 | WDI_UpdateProbeRspTemplateInfoType |
| 3556 | ---------------------------------------------------------------------------*/ |
| 3557 | //Default Beacon template size |
| 3558 | #define WDI_PROBE_RSP_TEMPLATE_SIZE 0x180 |
| 3559 | |
| 3560 | #define WDI_PROBE_REQ_BITMAP_IE_LEN 8 |
| 3561 | |
| 3562 | typedef struct |
| 3563 | { |
| 3564 | /*BSSID for which the Probe Template is to be used*/ |
| 3565 | wpt_macAddr macBSSID; |
| 3566 | |
| 3567 | /*Probe response template*/ |
| 3568 | wpt_uint8 *pProbeRespTemplate[WDI_PROBE_RSP_TEMPLATE_SIZE]; |
| 3569 | |
| 3570 | /*Template Len*/ |
| 3571 | wpt_uint32 uProbeRespTemplateLen; |
| 3572 | |
| 3573 | /*Bitmap for the IEs that are to be handled at SLM level*/ |
| 3574 | wpt_uint32 uaProxyProbeReqValidIEBmap[WDI_PROBE_REQ_BITMAP_IE_LEN]; |
| 3575 | |
| 3576 | }WDI_UpdateProbeRspTemplateInfoType; |
| 3577 | |
| 3578 | /*--------------------------------------------------------------------------- |
| 3579 | WDI_UpdateProbeRspParamsType |
| 3580 | ---------------------------------------------------------------------------*/ |
| 3581 | typedef struct |
| 3582 | { |
| 3583 | /*Link Info*/ |
| 3584 | WDI_UpdateProbeRspTemplateInfoType wdiProbeRspTemplateInfo; |
| 3585 | |
| 3586 | /*Request status callback offered by UMAC - it is called if the current |
| 3587 | req has returned PENDING as status; it delivers the status of sending |
| 3588 | the message over the BUS */ |
| 3589 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3590 | |
| 3591 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3592 | function pointer will be called */ |
| 3593 | void* pUserData; |
| 3594 | }WDI_UpdateProbeRspTemplateParamsType; |
| 3595 | |
| 3596 | /*--------------------------------------------------------------------------- |
| 3597 | WDI_NvDownloadReqBlobInfo |
| 3598 | ---------------------------------------------------------------------------*/ |
| 3599 | |
| 3600 | typedef struct |
| 3601 | { |
| 3602 | /* Blob starting address*/ |
| 3603 | void *pBlobAddress; |
| 3604 | |
| 3605 | /* Blob size */ |
| 3606 | wpt_uint32 uBlobSize; |
| 3607 | |
| 3608 | }WDI_NvDownloadReqBlobInfo; |
| 3609 | |
| 3610 | /*--------------------------------------------------------------------------- |
| 3611 | WDI_NvDownloadReqParamsType |
| 3612 | ---------------------------------------------------------------------------*/ |
| 3613 | typedef struct |
| 3614 | { |
| 3615 | /*NV Blob Info*/ |
| 3616 | WDI_NvDownloadReqBlobInfo wdiBlobInfo; |
| 3617 | |
| 3618 | /*Request status callback offered by UMAC - it is called if the current |
| 3619 | req has returned PENDING as status; it delivers the status of sending |
| 3620 | the message over the BUS */ |
| 3621 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3622 | |
| 3623 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3624 | function pointer will be called */ |
| 3625 | void* pUserData; |
| 3626 | |
| 3627 | }WDI_NvDownloadReqParamsType; |
| 3628 | |
| 3629 | /*--------------------------------------------------------------------------- |
| 3630 | WDI_NvDownloadRspInfoType |
| 3631 | ---------------------------------------------------------------------------*/ |
| 3632 | typedef struct |
| 3633 | { |
| 3634 | /*Status of the response*/ |
| 3635 | WDI_Status wdiStatus; |
| 3636 | |
| 3637 | }WDI_NvDownloadRspInfoType; |
| 3638 | |
| 3639 | /*--------------------------------------------------------------------------- |
| 3640 | WDI_SetMaxTxPowerInfoType |
| 3641 | ---------------------------------------------------------------------------*/ |
| 3642 | |
| 3643 | typedef struct |
| 3644 | { |
| 3645 | /*BSSID is needed to identify which session issued this request. As the request has |
| 3646 | power constraints, this should be applied only to that session*/ |
| 3647 | wpt_macAddr macBSSId; |
| 3648 | |
| 3649 | |
| 3650 | wpt_macAddr macSelfStaMacAddr; |
| 3651 | |
| 3652 | /* In request power == MaxTxpower to be used.*/ |
| 3653 | wpt_int8 ucPower; |
| 3654 | |
| 3655 | }WDI_SetMaxTxPowerInfoType; |
| 3656 | |
| 3657 | /*--------------------------------------------------------------------------- |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 3658 | WDI_SetTxPowerInfoType |
| 3659 | ---------------------------------------------------------------------------*/ |
| 3660 | |
| 3661 | typedef struct |
| 3662 | { |
| 3663 | wpt_uint8 bssIdx; |
| 3664 | /* In request power == MaxTxpower to be used.*/ |
| 3665 | wpt_uint8 ucPower; |
| 3666 | |
| 3667 | }WDI_SetTxPowerInfoType; |
| 3668 | |
| 3669 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3670 | WDI_SetMaxTxPowerParamsType |
| 3671 | ---------------------------------------------------------------------------*/ |
| 3672 | typedef struct |
| 3673 | { |
| 3674 | /*Link Info*/ |
| 3675 | WDI_SetMaxTxPowerInfoType wdiMaxTxPowerInfo; |
| 3676 | |
| 3677 | /*Request status callback offered by UMAC - it is called if the current |
| 3678 | req has returned PENDING as status; it delivers the status of sending |
| 3679 | the message over the BUS */ |
| 3680 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3681 | |
| 3682 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3683 | function pointer will be called */ |
| 3684 | void* pUserData; |
| 3685 | }WDI_SetMaxTxPowerParamsType; |
| 3686 | |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 3687 | /*--------------------------------------------------------------------------- |
Arif Hussain | a5ebce0 | 2013-08-09 15:09:58 -0700 | [diff] [blame] | 3688 | WDI_Band |
| 3689 | ---------------------------------------------------------------------------*/ |
| 3690 | typedef enum |
| 3691 | { |
| 3692 | WDI_BAND_ALL, |
| 3693 | WDI_BAND_24, |
| 3694 | WDI_BAND_5G, |
| 3695 | WDI_BAND_MAX, |
| 3696 | }eWDIBand; |
| 3697 | |
| 3698 | /*--------------------------------------------------------------------------- |
| 3699 | WDI_MaxTxPowerPerBandInfoType |
| 3700 | ---------------------------------------------------------------------------*/ |
| 3701 | typedef struct |
| 3702 | { |
| 3703 | eWDIBand bandInfo; |
| 3704 | /* In request power == MaxTxpower to be used.*/ |
| 3705 | wpt_uint8 ucPower; |
| 3706 | }WDI_MaxTxPowerPerBandInfoType; |
| 3707 | |
| 3708 | /*--------------------------------------------------------------------------- |
| 3709 | WDI_SetMaxTxPowerPerBandParamsType |
| 3710 | ---------------------------------------------------------------------------*/ |
| 3711 | typedef struct |
| 3712 | { |
| 3713 | /*Link Info*/ |
| 3714 | WDI_MaxTxPowerPerBandInfoType wdiMaxTxPowerPerBandInfo; |
| 3715 | |
| 3716 | /*Request status callback offered by UMAC - it is called if the current |
| 3717 | req has returned PENDING as status; it delivers the status of sending |
| 3718 | the message over the BUS */ |
| 3719 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3720 | |
| 3721 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3722 | function pointer will be called */ |
| 3723 | void* pUserData; |
| 3724 | }WDI_SetMaxTxPowerPerBandParamsType; |
| 3725 | |
| 3726 | /*--------------------------------------------------------------------------- |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 3727 | WDI_SetTxPowerParamsType |
| 3728 | ---------------------------------------------------------------------------*/ |
| 3729 | typedef struct |
| 3730 | { |
| 3731 | /*Link Info*/ |
| 3732 | WDI_SetTxPowerInfoType wdiTxPowerInfo; |
| 3733 | |
| 3734 | /*Request status callback offered by UMAC - it is called if the current |
| 3735 | req has returned PENDING as status; it delivers the status of sending |
| 3736 | the message over the BUS */ |
| 3737 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3738 | |
| 3739 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3740 | function pointer will be called */ |
| 3741 | void* pUserData; |
| 3742 | }WDI_SetTxPowerParamsType; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3743 | |
| 3744 | /*--------------------------------------------------------------------------- |
| 3745 | WDI_SetMaxTxPowerRspMsg |
| 3746 | ---------------------------------------------------------------------------*/ |
| 3747 | |
| 3748 | typedef struct |
| 3749 | { |
| 3750 | /* In response, power==tx power used for management frames*/ |
| 3751 | wpt_int8 ucPower; |
| 3752 | |
| 3753 | /*Result of the operation*/ |
| 3754 | WDI_Status wdiStatus; |
| 3755 | |
| 3756 | }WDI_SetMaxTxPowerRspMsg; |
| 3757 | |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 3758 | /*--------------------------------------------------------------------------- |
Arif Hussain | a5ebce0 | 2013-08-09 15:09:58 -0700 | [diff] [blame] | 3759 | WDI_SetMaxTxPowerPerBandRspMsg |
| 3760 | ---------------------------------------------------------------------------*/ |
| 3761 | typedef struct |
| 3762 | { |
| 3763 | /* In response, power==tx power used for management frames*/ |
| 3764 | wpt_int8 ucPower; |
| 3765 | |
| 3766 | /*Result of the operation*/ |
| 3767 | WDI_Status wdiStatus; |
| 3768 | |
| 3769 | }WDI_SetMaxTxPowerPerBandRspMsg; |
| 3770 | |
| 3771 | /*--------------------------------------------------------------------------- |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 3772 | WDI_SetTxPowerRspMsg |
| 3773 | ---------------------------------------------------------------------------*/ |
| 3774 | |
| 3775 | typedef struct |
| 3776 | { |
| 3777 | /* In response, power==tx power used for management frames*/ |
| 3778 | wpt_int8 ucPower; |
| 3779 | |
| 3780 | /*Result of the operation*/ |
| 3781 | WDI_Status wdiStatus; |
| 3782 | |
| 3783 | }WDI_SetTxPowerRspMsg; |
| 3784 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3785 | typedef struct |
| 3786 | { |
| 3787 | wpt_uint8 ucOpp_ps; |
| 3788 | wpt_uint32 uCtWindow; |
| 3789 | wpt_uint8 ucCount; |
| 3790 | wpt_uint32 uDuration; |
| 3791 | wpt_uint32 uInterval; |
| 3792 | wpt_uint32 uSingle_noa_duration; |
| 3793 | wpt_uint8 ucPsSelection; |
| 3794 | }WDI_SetP2PGONOAReqInfoType; |
| 3795 | |
| 3796 | /*--------------------------------------------------------------------------- |
| 3797 | WDI_SetP2PGONOAReqParamsType |
| 3798 | ---------------------------------------------------------------------------*/ |
| 3799 | typedef struct |
| 3800 | { |
| 3801 | /*P2P GO NOA Req*/ |
| 3802 | WDI_SetP2PGONOAReqInfoType wdiP2PGONOAInfo; |
| 3803 | |
| 3804 | /*Request status callback offered by UMAC - it is called if the current |
| 3805 | req has returned PENDING as status; it delivers the status of sending |
| 3806 | the message over the BUS */ |
| 3807 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3808 | |
| 3809 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3810 | function pointer will be called */ |
| 3811 | void* pUserData; |
| 3812 | }WDI_SetP2PGONOAReqParamsType; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3813 | |
Naresh Jayaram | c7cbd78 | 2014-02-04 17:38:23 +0530 | [diff] [blame] | 3814 | #define WDI_MAX_SUPP_CHANNELS 128 |
| 3815 | #define WDI_MAX_SUPP_OPER_CLASSES 32 |
| 3816 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 3817 | typedef struct |
| 3818 | { |
| 3819 | wpt_uint16 uStaIdx; |
| 3820 | wpt_uint8 uIsResponder; |
| 3821 | wpt_uint8 uUapsdQueues; |
| 3822 | wpt_uint8 uMaxSp; |
| 3823 | wpt_uint8 uIsBufSta; |
Naresh Jayaram | c7cbd78 | 2014-02-04 17:38:23 +0530 | [diff] [blame] | 3824 | wpt_uint8 uIsOffChannelSupported; |
| 3825 | wpt_uint8 peerCurrOperClass; |
| 3826 | wpt_uint8 selfCurrOperClass; |
| 3827 | wpt_uint8 validChannelsLen; |
| 3828 | wpt_uint8 validChannels[WDI_MAX_SUPP_CHANNELS]; |
| 3829 | wpt_uint8 validOperClassesLen; |
| 3830 | wpt_uint8 validOperClasses[WDI_MAX_SUPP_OPER_CLASSES]; |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 3831 | }WDI_SetTDLSLinkEstablishReqInfoType; |
| 3832 | /*--------------------------------------------------------------------------- |
| 3833 | WDI_SetTDLSLinkEstablishReqParamsType |
| 3834 | ---------------------------------------------------------------------------*/ |
| 3835 | typedef struct |
| 3836 | { |
| 3837 | /*TDLS Link Establish Req*/ |
| 3838 | WDI_SetTDLSLinkEstablishReqInfoType wdiTDLSLinkEstablishInfo; |
| 3839 | |
| 3840 | /*Request status callback offered by UMAC - it is called if the current |
| 3841 | req has returned PENDING as status; it delivers the status of sending |
| 3842 | the message over the BUS */ |
| 3843 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3844 | |
| 3845 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3846 | function pointer will be called */ |
| 3847 | void* pUserData; |
| 3848 | }WDI_SetTDLSLinkEstablishReqParamsType; |
| 3849 | |
Gopichand Nakkala | 574f6d1 | 2013-06-27 19:38:43 +0530 | [diff] [blame] | 3850 | typedef struct |
| 3851 | { |
| 3852 | /*Result of the operation*/ |
| 3853 | WDI_Status wdiStatus; |
| 3854 | |
| 3855 | /*STA Idx*/ |
| 3856 | wpt_uint16 uStaIdx; |
| 3857 | }WDI_SetTdlsLinkEstablishReqResp; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3858 | |
Atul Mittal | c0f739f | 2014-07-31 13:47:47 +0530 | [diff] [blame] | 3859 | |
| 3860 | |
| 3861 | typedef struct |
| 3862 | { |
| 3863 | /*STA Index*/ |
| 3864 | wpt_uint8 staIdx; |
| 3865 | /* if this is 1, self is initiator otherwise responder only*/ |
| 3866 | wpt_uint8 isOffchannelInitiator; |
| 3867 | /*TDLS off channel related params */ |
| 3868 | wpt_uint8 targetOperClass; |
| 3869 | wpt_uint8 targetChannel; |
| 3870 | wpt_uint8 secondaryChannelOffset; |
| 3871 | wpt_uint8 reserved[64]; |
| 3872 | }WDI_SetTDLSChanSwitchReqInfoType; |
| 3873 | |
| 3874 | typedef struct |
| 3875 | { |
| 3876 | WDI_SetTDLSChanSwitchReqInfoType wdiTDLSChanSwitchReqInfo; |
| 3877 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3878 | void* pUserData; |
| 3879 | }WDI_SetTDLSChanSwitchReqParamsType; |
| 3880 | |
| 3881 | |
| 3882 | typedef struct |
| 3883 | { |
| 3884 | /*Result of the operation*/ |
| 3885 | WDI_Status wdiStatus; |
| 3886 | |
| 3887 | /*STA Idx*/ |
| 3888 | wpt_uint16 uStaIdx; |
| 3889 | }WDI_SetTdlsChanSwitchReqResp; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3890 | /*--------------------------------------------------------------------------- |
| 3891 | WDI_SetAddSTASelfParamsType |
| 3892 | ---------------------------------------------------------------------------*/ |
| 3893 | typedef struct |
| 3894 | { |
| 3895 | /*Self Station MAC address*/ |
| 3896 | wpt_macAddr selfMacAddr; |
| 3897 | |
Kiran Kumar Lokere | 0ad5cd3 | 2013-06-25 11:26:22 -0700 | [diff] [blame] | 3898 | /*Self STA device mode*/ |
| 3899 | wpt_uint32 currDeviceMode; |
| 3900 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3901 | /*Status of the operation*/ |
| 3902 | wpt_uint32 uStatus; |
| 3903 | }WDI_AddSTASelfInfoType; |
| 3904 | |
| 3905 | /*--------------------------------------------------------------------------- |
| 3906 | WDI_SetAddSTASelfParamsType |
| 3907 | ---------------------------------------------------------------------------*/ |
| 3908 | typedef struct |
| 3909 | { |
| 3910 | /* Add Sta Self Req */ |
| 3911 | WDI_AddSTASelfInfoType wdiAddSTASelfInfo; |
| 3912 | |
| 3913 | /*Request status callback offered by UMAC - it is called if the current |
| 3914 | req has returned PENDING as status; it delivers the status of sending |
| 3915 | the message over the BUS */ |
| 3916 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3917 | |
| 3918 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3919 | function pointer will be called */ |
| 3920 | void* pUserData; |
| 3921 | }WDI_AddSTASelfReqParamsType; |
| 3922 | |
| 3923 | |
| 3924 | /*--------------------------------------------------------------------------- |
| 3925 | WDI_AddSTASelfRspParamsType |
| 3926 | ---------------------------------------------------------------------------*/ |
| 3927 | typedef struct |
| 3928 | { |
| 3929 | /*Status of the response*/ |
| 3930 | WDI_Status wdiStatus; |
| 3931 | |
| 3932 | /*STA Idx allocated by HAL*/ |
| 3933 | wpt_uint8 ucSTASelfIdx; |
| 3934 | |
| 3935 | /* DPU Index (IGTK, PTK, GTK all same) */ |
| 3936 | wpt_uint8 dpuIdx; |
| 3937 | |
| 3938 | /* DPU Signature */ |
| 3939 | wpt_uint8 dpuSignature; |
| 3940 | |
| 3941 | /*Self STA Mac*/ |
| 3942 | wpt_macAddr macSelfSta; |
| 3943 | |
| 3944 | }WDI_AddSTASelfRspParamsType; |
| 3945 | |
| 3946 | /*--------------------------------------------------------------------------- |
| 3947 | WDI_DelSTASelfReqParamsType |
| 3948 | Del Sta Self info passed to WDI form WDA |
| 3949 | ---------------------------------------------------------------------------*/ |
| 3950 | typedef struct |
| 3951 | { |
| 3952 | wpt_macAddr selfMacAddr; |
| 3953 | |
| 3954 | }WDI_DelSTASelfInfoType; |
| 3955 | |
| 3956 | /*--------------------------------------------------------------------------- |
| 3957 | WDI_DelSTASelfReqParamsType |
| 3958 | Del Sta Self info passed to WDI form WDA |
| 3959 | ---------------------------------------------------------------------------*/ |
| 3960 | typedef struct |
| 3961 | { |
| 3962 | /*Del Sta Self Info Type */ |
| 3963 | WDI_DelSTASelfInfoType wdiDelStaSelfInfo; |
| 3964 | /*Request status callback offered by UMAC - it is called if the current req |
| 3965 | has returned PENDING as status; it delivers the status of sending the message |
| 3966 | over the BUS */ |
| 3967 | WDI_ReqStatusCb wdiReqStatusCB; |
| 3968 | /*The user data passed in by UMAC, it will be sent back when the above |
| 3969 | function pointer will be called */ |
| 3970 | void* pUserData; |
| 3971 | }WDI_DelSTASelfReqParamsType; |
| 3972 | |
| 3973 | /*--------------------------------------------------------------------------- |
| 3974 | WDI_DelSTASelfRspParamsType |
| 3975 | ---------------------------------------------------------------------------*/ |
| 3976 | typedef struct |
| 3977 | { |
| 3978 | /*Status of the response*/ |
| 3979 | WDI_Status wdiStatus; |
| 3980 | |
| 3981 | /*STA Index returned during DAL_PostAssocReq or DAL_ConfigStaReq*/ |
| 3982 | // wpt_uint8 ucSTAIdx; |
| 3983 | }WDI_DelSTASelfRspParamsType; |
| 3984 | |
| 3985 | /*--------------------------------------------------------------------------- |
| 3986 | WDI_UapsdInfoType |
| 3987 | UAPSD parameters passed per AC to WDA from UMAC |
| 3988 | ---------------------------------------------------------------------------*/ |
| 3989 | typedef struct |
| 3990 | { |
| 3991 | wpt_uint8 ucSTAIdx; // STA index |
| 3992 | wpt_uint8 ucAc; // Access Category |
| 3993 | wpt_uint8 ucUp; // User Priority |
| 3994 | wpt_uint32 uSrvInterval; // Service Interval |
| 3995 | wpt_uint32 uSusInterval; // Suspend Interval |
| 3996 | wpt_uint32 uDelayInterval; // Delay Interval |
| 3997 | } WDI_UapsdInfoType; |
| 3998 | |
| 3999 | /*--------------------------------------------------------------------------- |
| 4000 | WDI_SetUapsdAcParamsReqParamsType |
| 4001 | UAPSD parameters passed per AC to WDI from WDA |
| 4002 | ---------------------------------------------------------------------------*/ |
| 4003 | typedef struct |
| 4004 | { |
| 4005 | /*Enter BMPS Info Type, same as tEnterBmpsParams */ |
| 4006 | WDI_UapsdInfoType wdiUapsdInfo; |
| 4007 | /*Request status callback offered by UMAC - it is called if the current req |
| 4008 | has returned PENDING as status; it delivers the status of sending the message |
| 4009 | over the BUS */ |
| 4010 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4011 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4012 | function pointer will be called */ |
| 4013 | void* pUserData; |
| 4014 | }WDI_SetUapsdAcParamsReqParamsType; |
| 4015 | |
| 4016 | /*--------------------------------------------------------------------------- |
| 4017 | WDI_EnterBmpsReqinfoType |
| 4018 | Enter BMPS parameters passed to WDA from UMAC |
| 4019 | ---------------------------------------------------------------------------*/ |
| 4020 | typedef struct |
| 4021 | { |
| 4022 | //TBTT value derived from the last beacon |
| 4023 | wpt_uint8 ucBssIdx; |
| 4024 | wpt_uint64 uTbtt; |
| 4025 | wpt_uint8 ucDtimCount; |
| 4026 | //DTIM period given to HAL during association may not be valid, |
| 4027 | //if association is based on ProbeRsp instead of beacon. |
| 4028 | wpt_uint8 ucDtimPeriod; |
| 4029 | /* DXE physical addr to be passed down to RIVA. RIVA HAL will use it to program |
| 4030 | DXE when DXE wakes up from power save*/ |
| 4031 | unsigned int dxePhyAddr; |
| 4032 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 4033 | // For ESE and 11R Roaming |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4034 | wpt_uint32 rssiFilterPeriod; |
| 4035 | wpt_uint32 numBeaconPerRssiAverage; |
| 4036 | wpt_uint8 bRssiFilterEnable; |
| 4037 | }WDI_EnterBmpsReqinfoType; |
| 4038 | |
| 4039 | /*--------------------------------------------------------------------------- |
| 4040 | WDI_EnterBmpsReqParamsType |
| 4041 | Enter BMPS parameters passed to WDI from WDA |
| 4042 | ---------------------------------------------------------------------------*/ |
| 4043 | typedef struct |
| 4044 | { |
| 4045 | /*Enter BMPS Info Type, same as tEnterBmpsParams */ |
| 4046 | WDI_EnterBmpsReqinfoType wdiEnterBmpsInfo; |
| 4047 | /*Request status callback offered by UMAC - it is called if the current req |
| 4048 | has returned PENDING as status; it delivers the status of sending the message |
| 4049 | over the BUS */ |
| 4050 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4051 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4052 | function pointer will be called */ |
| 4053 | void* pUserData; |
| 4054 | }WDI_EnterBmpsReqParamsType; |
| 4055 | |
| 4056 | /*--------------------------------------------------------------------------- |
Mihir Shete | a430605 | 2014-03-25 00:02:54 +0530 | [diff] [blame] | 4057 | WDI_EnterImpsReqParamsType |
| 4058 | Enter IMPS parameters passed to WDI from WDA |
| 4059 | ---------------------------------------------------------------------------*/ |
| 4060 | typedef struct |
| 4061 | { |
| 4062 | /*Request status callback offered by UMAC - it is called if the current req |
| 4063 | has returned PENDING as status; it delivers the status of sending the message |
| 4064 | over the BUS */ |
| 4065 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4066 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4067 | function pointer will be called */ |
| 4068 | void* pUserData; |
| 4069 | }WDI_EnterImpsReqParamsType; |
| 4070 | |
| 4071 | /*--------------------------------------------------------------------------- |
Mahesh A Saptasagar | 329813b | 2014-12-15 12:16:51 +0530 | [diff] [blame] | 4072 | WDI_ExitImpsReqParamsType |
| 4073 | Exit IMPS parameters passed to WDI from WDA |
| 4074 | ----------------------------------------------------------------------------*/ |
| 4075 | typedef struct |
| 4076 | { |
| 4077 | /*Request status callback offered by UMAC */ |
| 4078 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4079 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4080 | function pointer will be called */ |
| 4081 | void* pUserData; |
| 4082 | |
| 4083 | }WDI_ExitImpsReqParamsType; |
| 4084 | |
| 4085 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4086 | WDI_EnterBmpsReqParamsType |
| 4087 | Enter BMPS parameters passed from WDI to WDA |
| 4088 | ---------------------------------------------------------------------------*/ |
| 4089 | typedef struct |
| 4090 | { |
| 4091 | /*Status of the response*/ |
| 4092 | WDI_Status wdiStatus; |
| 4093 | |
| 4094 | /*BssIDX of the session*/ |
| 4095 | wpt_uint8 bssIdx; |
| 4096 | }WDI_EnterBmpsRspParamsType; |
| 4097 | |
| 4098 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4099 | WDI_ExitBmpsReqinfoType |
| 4100 | Exit BMPS parameters passed to WDA from UMAC |
| 4101 | ---------------------------------------------------------------------------*/ |
| 4102 | typedef struct |
| 4103 | { |
| 4104 | wpt_uint8 ucSendDataNull; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4105 | wpt_uint8 bssIdx; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4106 | }WDI_ExitBmpsReqinfoType; |
| 4107 | |
| 4108 | /*--------------------------------------------------------------------------- |
| 4109 | WDI_ExitBmpsReqParamsType |
| 4110 | Exit BMPS parameters passed to WDI from WDA |
| 4111 | ---------------------------------------------------------------------------*/ |
| 4112 | typedef struct |
| 4113 | { |
| 4114 | /*Exit BMPS Info Type, same as tExitBmpsParams */ |
| 4115 | WDI_ExitBmpsReqinfoType wdiExitBmpsInfo; |
| 4116 | /*Request status callback offered by UMAC - it is called if the current req |
| 4117 | has returned PENDING as status; it delivers the status of sending the message |
| 4118 | over the BUS */ |
| 4119 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4120 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4121 | function pointer will be called */ |
| 4122 | void* pUserData; |
| 4123 | }WDI_ExitBmpsReqParamsType; |
| 4124 | |
| 4125 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4126 | WDI_ExitBmpsReqParamsType |
| 4127 | Exit BMPS parameters passed from WDI to WDA |
| 4128 | ---------------------------------------------------------------------------*/ |
| 4129 | typedef struct |
| 4130 | { |
| 4131 | /*Status of the response*/ |
| 4132 | WDI_Status wdiStatus; |
| 4133 | |
| 4134 | /*BssIDX of the session*/ |
| 4135 | wpt_uint8 bssIdx; |
| 4136 | }WDI_ExitBmpsRspParamsType; |
| 4137 | |
| 4138 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4139 | WDI_EnterUapsdReqinfoType |
| 4140 | Enter UAPSD parameters passed to WDA from UMAC |
| 4141 | ---------------------------------------------------------------------------*/ |
| 4142 | typedef struct |
| 4143 | { |
| 4144 | wpt_uint8 ucBkDeliveryEnabled:1; |
| 4145 | wpt_uint8 ucBeDeliveryEnabled:1; |
| 4146 | wpt_uint8 ucViDeliveryEnabled:1; |
| 4147 | wpt_uint8 ucVoDeliveryEnabled:1; |
| 4148 | wpt_uint8 ucBkTriggerEnabled:1; |
| 4149 | wpt_uint8 ucBeTriggerEnabled:1; |
| 4150 | wpt_uint8 ucViTriggerEnabled:1; |
| 4151 | wpt_uint8 ucVoTriggerEnabled:1; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4152 | wpt_uint8 bssIdx; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4153 | }WDI_EnterUapsdReqinfoType; |
| 4154 | |
| 4155 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4156 | WDI_EnterUapsdRspParamsType |
| 4157 | Enter UAPSD parameters passed from WDI to WDA |
| 4158 | ---------------------------------------------------------------------------*/ |
| 4159 | typedef struct |
| 4160 | { |
| 4161 | /*Status of the response*/ |
| 4162 | WDI_Status wdiStatus; |
| 4163 | |
| 4164 | /*BssIDX of the session*/ |
| 4165 | wpt_uint8 bssIdx; |
| 4166 | }WDI_EnterUapsdRspParamsType; |
| 4167 | |
| 4168 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4169 | WDI_EnterUapsdReqinfoType |
| 4170 | Enter UAPSD parameters passed to WDI from WDA |
| 4171 | ---------------------------------------------------------------------------*/ |
| 4172 | typedef struct |
| 4173 | { |
| 4174 | /*Enter UAPSD Info Type, same as tUapsdParams */ |
| 4175 | WDI_EnterUapsdReqinfoType wdiEnterUapsdInfo; |
| 4176 | /*Request status callback offered by UMAC - it is called if the current req |
| 4177 | has returned PENDING as status; it delivers the status of sending the message |
| 4178 | over the BUS */ |
| 4179 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4180 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4181 | function pointer will be called */ |
| 4182 | void* pUserData; |
| 4183 | }WDI_EnterUapsdReqParamsType; |
| 4184 | |
| 4185 | /*--------------------------------------------------------------------------- |
| 4186 | WDI_UpdateUapsdReqinfoType |
| 4187 | Update UAPSD parameters passed to WDA from UMAC |
| 4188 | ---------------------------------------------------------------------------*/ |
| 4189 | typedef struct |
| 4190 | { |
| 4191 | wpt_uint8 ucSTAIdx; |
| 4192 | wpt_uint8 ucUapsdACMask; |
| 4193 | wpt_uint32 uMaxSpLen; |
| 4194 | }WDI_UpdateUapsdReqinfoType; |
| 4195 | |
| 4196 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4197 | WDI_ExitUapsdReqinfoType |
| 4198 | Exit UAPSD parameters passed to WDA from UMAC |
| 4199 | ---------------------------------------------------------------------------*/ |
| 4200 | typedef struct |
| 4201 | { |
| 4202 | wpt_uint8 bssIdx; |
| 4203 | }WDI_ExitUapsdReqinfoType; |
| 4204 | |
| 4205 | /*--------------------------------------------------------------------------- |
| 4206 | WDI_ExitUapsdReqParamsType |
| 4207 | Exit UAPSD parameters passed to WDI from WDA |
| 4208 | ---------------------------------------------------------------------------*/ |
| 4209 | typedef struct |
| 4210 | { |
| 4211 | /*Exit UAPSD Info Type, same as tUapsdParams */ |
| 4212 | WDI_ExitUapsdReqinfoType wdiExitUapsdInfo; |
| 4213 | /*Request status callback offered by UMAC - it is called if the current req |
| 4214 | has returned PENDING as status; it delivers the status of sending the message |
| 4215 | over the BUS */ |
| 4216 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4217 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4218 | function pointer will be called */ |
| 4219 | void* pUserData; |
| 4220 | }WDI_ExitUapsdReqParamsType; |
| 4221 | |
| 4222 | /*--------------------------------------------------------------------------- |
| 4223 | WDI_ExitUapsdRspParamsType |
| 4224 | Exit UAPSD parameters passed from WDI to WDA |
| 4225 | ---------------------------------------------------------------------------*/ |
| 4226 | typedef struct |
| 4227 | { |
| 4228 | /*Status of the response*/ |
| 4229 | WDI_Status wdiStatus; |
| 4230 | |
| 4231 | /*BssIDX of the session*/ |
| 4232 | wpt_uint8 bssIdx; |
| 4233 | }WDI_ExitUapsdRspParamsType; |
| 4234 | |
| 4235 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4236 | WDI_UpdateUapsdReqParamsType |
| 4237 | Update UAPSD parameters passed to WDI form WDA |
| 4238 | ---------------------------------------------------------------------------*/ |
| 4239 | typedef struct |
| 4240 | { |
| 4241 | /*Update UAPSD Info Type, same as tUpdateUapsdParams */ |
| 4242 | WDI_UpdateUapsdReqinfoType wdiUpdateUapsdInfo; |
| 4243 | /*Request status callback offered by UMAC - it is called if the current req |
| 4244 | has returned PENDING as status; it delivers the status of sending the message |
| 4245 | over the BUS */ |
| 4246 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4247 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4248 | function pointer will be called */ |
| 4249 | void* pUserData; |
| 4250 | }WDI_UpdateUapsdReqParamsType; |
| 4251 | |
| 4252 | /*--------------------------------------------------------------------------- |
| 4253 | WDI_ConfigureRxpFilterReqParamsType |
| 4254 | RXP filter parameters passed to WDI form WDA |
| 4255 | ---------------------------------------------------------------------------*/ |
| 4256 | typedef struct |
| 4257 | { |
| 4258 | /* Mode of Mcast and Bcast filters configured */ |
| 4259 | wpt_uint8 ucSetMcstBcstFilterSetting; |
| 4260 | |
| 4261 | /* Mcast Bcast Filters enable/disable*/ |
| 4262 | wpt_uint8 ucSetMcstBcstFilter; |
| 4263 | }WDI_RxpFilterReqParamsType; |
| 4264 | |
| 4265 | typedef struct |
| 4266 | { |
| 4267 | /* Rxp Filter */ |
| 4268 | WDI_RxpFilterReqParamsType wdiRxpFilterParam; |
| 4269 | |
| 4270 | /*Request status callback offered by UMAC - it is called if the current req |
| 4271 | has returned PENDING as status; it delivers the status of sending the message |
| 4272 | over the BUS */ |
| 4273 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4274 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4275 | function pointer will be called */ |
| 4276 | void* pUserData; |
| 4277 | }WDI_ConfigureRxpFilterReqParamsType; |
| 4278 | |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 4279 | typedef struct |
| 4280 | { |
| 4281 | wpt_uint8 enableFlag; |
| 4282 | wpt_uint8 frameType; |
| 4283 | wpt_uint8 frameSize; |
| 4284 | wpt_uint8 bufferMode; |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 4285 | wpt_uint8 continuousFrameLogging; |
| 4286 | wpt_uint8 minLogBufferSize; |
| 4287 | wpt_uint8 maxLogBufferSize; |
| 4288 | }WDI_FWLoggingInitReqInfoType; |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 4289 | |
Siddharth Bhal | 6424617 | 2015-02-27 01:04:37 +0530 | [diff] [blame] | 4290 | typedef struct |
| 4291 | { |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 4292 | wpt_uint32 requestId; |
| 4293 | wpt_uint8 minRssi; |
| 4294 | wpt_uint8 maxRssi; |
| 4295 | wpt_macAddr currentBssId; |
| 4296 | }WDI_RssiMonitorReqInfoType; |
| 4297 | |
| 4298 | typedef struct |
| 4299 | { |
Sachin Ahuja | 715aafc | 2015-07-21 23:35:10 +0530 | [diff] [blame] | 4300 | wpt_uint32 reason_code; |
| 4301 | }WDI_FatalEventLogsReqInfoType; |
| 4302 | |
| 4303 | |
| 4304 | typedef struct |
| 4305 | { |
Siddharth Bhal | 6424617 | 2015-02-27 01:04:37 +0530 | [diff] [blame] | 4306 | wpt_uint8 flags; |
| 4307 | }WDI_GetFrameLogReqInfoType; |
| 4308 | |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 4309 | typedef struct |
| 4310 | { |
Hanumantha Reddy Pothula | e00a7e2 | 2015-09-15 20:11:30 +0530 | [diff] [blame] | 4311 | wpt_uint16 status; |
| 4312 | wpt_uint16 doneIndicationForSource; |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 4313 | wpt_uint64 logBuffAddress[MAX_NUM_OF_BUFFER]; |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 4314 | wpt_uint32 logBuffLength[MAX_NUM_OF_BUFFER]; |
| 4315 | }WDI_FWLoggingDXEdoneIndInfoType; |
| 4316 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4317 | /*--------------------------------------------------------------------------- |
| 4318 | WDI_BeaconFilterInfoType |
| 4319 | Beacon Filtering data structures passed to WDA form UMAC |
| 4320 | ---------------------------------------------------------------------------*/ |
| 4321 | typedef struct |
| 4322 | { |
| 4323 | wpt_uint16 usCapabilityInfo; |
| 4324 | wpt_uint16 usCapabilityMask; |
| 4325 | wpt_uint16 usBeaconInterval; |
| 4326 | wpt_uint16 usIeNum; |
Madan Mohan Koyyalamudi | a84edda | 2012-10-15 14:58:25 -0700 | [diff] [blame] | 4327 | wpt_uint8 bssIdx; |
| 4328 | wpt_uint8 reserved; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4329 | }WDI_BeaconFilterInfoType; |
| 4330 | |
| 4331 | /*--------------------------------------------------------------------------- |
| 4332 | WDI_BeaconFilterReqParamsType |
| 4333 | Beacon Filtering parameters passed to WDI form WDA |
| 4334 | ---------------------------------------------------------------------------*/ |
| 4335 | typedef struct |
| 4336 | { |
| 4337 | /*Beacon Filtering Info Type, same as tBeaconFilterMsg */ |
| 4338 | WDI_BeaconFilterInfoType wdiBeaconFilterInfo; |
| 4339 | /*Beacon Filter(s) follow the "usIeNum" field, hence the array to ease the |
| 4340 | copy of params from WDA to WDI */ |
| 4341 | wpt_uint8 aFilters[WDI_BEACON_FILTER_LEN]; |
| 4342 | /*Request status callback offered by UMAC - it is called if the current req |
| 4343 | has returned PENDING as status; it delivers the status of sending the message |
| 4344 | over the BUS */ |
| 4345 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4346 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4347 | function pointer will be called */ |
| 4348 | void* pUserData; |
| 4349 | }WDI_BeaconFilterReqParamsType; |
| 4350 | |
| 4351 | /*--------------------------------------------------------------------------- |
| 4352 | WDI_RemBeaconFilterInfoType |
| 4353 | Beacon Filtering data structures (to be reomoved) passed to WDA form UMAC |
| 4354 | ---------------------------------------------------------------------------*/ |
| 4355 | typedef struct |
| 4356 | { |
| 4357 | wpt_uint8 ucIeCount; |
| 4358 | wpt_uint8 ucRemIeId[1]; |
| 4359 | }WDI_RemBeaconFilterInfoType; |
| 4360 | |
| 4361 | /*--------------------------------------------------------------------------- |
| 4362 | WDI_RemBeaconFilterReqParamsType |
| 4363 | Beacon Filtering parameters (to be reomoved)passed to WDI form WDA |
| 4364 | ---------------------------------------------------------------------------*/ |
| 4365 | typedef struct |
| 4366 | { |
| 4367 | /*Beacon Filtering Info Type, same as tBeaconFilterMsg */ |
| 4368 | WDI_RemBeaconFilterInfoType wdiBeaconFilterInfo; |
| 4369 | /*Request status callback offered by UMAC - it is called if the current req |
| 4370 | has returned PENDING as status; it delivers the status of sending the message |
| 4371 | over the BUS */ |
| 4372 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4373 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4374 | function pointer will be called */ |
| 4375 | void* pUserData; |
| 4376 | }WDI_RemBeaconFilterReqParamsType; |
| 4377 | |
| 4378 | /*--------------------------------------------------------------------------- |
| 4379 | WDI_RSSIThresholdsType |
| 4380 | RSSI thresholds data structures (to be reomoved) passed to WDA form UMAC |
| 4381 | ---------------------------------------------------------------------------*/ |
| 4382 | typedef struct |
| 4383 | { |
| 4384 | wpt_int8 ucRssiThreshold1 : 8; |
| 4385 | wpt_int8 ucRssiThreshold2 : 8; |
| 4386 | wpt_int8 ucRssiThreshold3 : 8; |
| 4387 | wpt_uint8 bRssiThres1PosNotify : 1; |
| 4388 | wpt_uint8 bRssiThres1NegNotify : 1; |
| 4389 | wpt_uint8 bRssiThres2PosNotify : 1; |
| 4390 | wpt_uint8 bRssiThres2NegNotify : 1; |
| 4391 | wpt_uint8 bRssiThres3PosNotify : 1; |
| 4392 | wpt_uint8 bRssiThres3NegNotify : 1; |
| 4393 | wpt_uint8 bReserved10 : 2; |
| 4394 | } WDI_RSSIThresholdsType; |
| 4395 | |
| 4396 | /*--------------------------------------------------------------------------- |
| 4397 | WDI_SetRSSIThresholdsReqParamsType |
| 4398 | RSSI thresholds parameters (to be reomoved)passed to WDI form WDA |
| 4399 | ---------------------------------------------------------------------------*/ |
| 4400 | typedef struct |
| 4401 | { |
| 4402 | /*RSSI thresholds Info Type, same as WDI_RSSIThresholds */ |
| 4403 | WDI_RSSIThresholdsType wdiRSSIThresholdsInfo; |
| 4404 | /*Request status callback offered by UMAC - it is called if the current req |
| 4405 | has returned PENDING as status; it delivers the status of sending the message |
| 4406 | over the BUS */ |
| 4407 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4408 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4409 | function pointer will be called */ |
| 4410 | void* pUserData; |
| 4411 | }WDI_SetRSSIThresholdsReqParamsType; |
| 4412 | |
| 4413 | /*--------------------------------------------------------------------------- |
| 4414 | WDI_HostOffloadReqType |
| 4415 | host offload info passed to WDA form UMAC |
| 4416 | ---------------------------------------------------------------------------*/ |
| 4417 | #ifdef WLAN_NS_OFFLOAD |
| 4418 | typedef struct |
| 4419 | { |
| 4420 | wpt_uint8 srcIPv6Addr[16]; |
| 4421 | wpt_uint8 selfIPv6Addr[16]; |
| 4422 | //Only support 2 possible Network Advertisement IPv6 address |
| 4423 | wpt_uint8 targetIPv6Addr1[16]; |
| 4424 | wpt_uint8 targetIPv6Addr2[16]; |
| 4425 | wpt_uint8 selfMacAddr[6]; |
| 4426 | wpt_uint8 srcIPv6AddrValid : 1; |
| 4427 | wpt_uint8 targetIPv6Addr1Valid : 1; |
| 4428 | wpt_uint8 targetIPv6Addr2Valid : 1; |
Gopichand Nakkala | 746a945 | 2013-06-11 12:45:54 +0530 | [diff] [blame] | 4429 | wpt_uint8 slotIdx; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4430 | } WDI_NSOffloadParams; |
| 4431 | #endif //WLAN_NS_OFFLOAD |
| 4432 | |
| 4433 | typedef struct |
| 4434 | { |
| 4435 | wpt_uint8 ucOffloadType; |
| 4436 | wpt_uint8 ucEnableOrDisable; |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4437 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4438 | union |
| 4439 | { |
| 4440 | wpt_uint8 aHostIpv4Addr [4]; |
| 4441 | wpt_uint8 aHostIpv6Addr [16]; |
| 4442 | } params; |
| 4443 | } WDI_HostOffloadReqType; |
| 4444 | |
| 4445 | /*--------------------------------------------------------------------------- |
| 4446 | WDI_HostOffloadReqParamsType |
| 4447 | host offload info passed to WDI form WDA |
| 4448 | ---------------------------------------------------------------------------*/ |
| 4449 | typedef struct |
| 4450 | { |
| 4451 | /*Host offload Info Type, same as tHalHostOffloadReq */ |
| 4452 | WDI_HostOffloadReqType wdiHostOffloadInfo; |
| 4453 | #ifdef WLAN_NS_OFFLOAD |
| 4454 | WDI_NSOffloadParams wdiNsOffloadParams; |
| 4455 | #endif //WLAN_NS_OFFLOAD |
| 4456 | /*Request status callback offered by UMAC - it is called if the current req |
| 4457 | has returned PENDING as status; it delivers the status of sending the message |
| 4458 | over the BUS */ |
| 4459 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4460 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4461 | function pointer will be called */ |
| 4462 | void* pUserData; |
| 4463 | }WDI_HostOffloadReqParamsType; |
| 4464 | |
| 4465 | /*--------------------------------------------------------------------------- |
| 4466 | WDI_KeepAliveReqType |
| 4467 | Keep Alive info passed to WDA form UMAC |
| 4468 | ---------------------------------------------------------------------------*/ |
| 4469 | typedef struct |
| 4470 | { |
| 4471 | wpt_uint8 ucPacketType; |
| 4472 | wpt_uint32 ucTimePeriod; |
| 4473 | wpt_uint8 aHostIpv4Addr[4]; |
| 4474 | wpt_uint8 aDestIpv4Addr[4]; |
| 4475 | wpt_uint8 aDestMacAddr[6]; |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4476 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4477 | } WDI_KeepAliveReqType; |
| 4478 | |
| 4479 | /*--------------------------------------------------------------------------- |
| 4480 | WDI_KeepAliveReqParamsType |
| 4481 | Keep Alive passed to WDI form WDA |
| 4482 | ---------------------------------------------------------------------------*/ |
| 4483 | typedef struct |
| 4484 | { |
| 4485 | /* Keep Alive Info Type, same as tHalKeepAliveReq */ |
| 4486 | WDI_KeepAliveReqType wdiKeepAliveInfo; |
| 4487 | /*Request status callback offered by UMAC - it is called if the current req |
| 4488 | has returned PENDING as status; it delivers the status of sending the message |
| 4489 | over the BUS */ |
| 4490 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4491 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4492 | function pointer will be called */ |
| 4493 | void* pUserData; |
| 4494 | }WDI_KeepAliveReqParamsType; |
| 4495 | |
| 4496 | /*--------------------------------------------------------------------------- |
| 4497 | WDI_WowlAddBcPtrnInfoType |
| 4498 | Wowl add ptrn info passed to WDA form UMAC |
| 4499 | ---------------------------------------------------------------------------*/ |
| 4500 | typedef struct |
| 4501 | { |
| 4502 | wpt_uint8 ucPatternId; // Pattern ID |
| 4503 | // Pattern byte offset from beginning of the 802.11 packet to start of the |
| 4504 | // wake-up pattern |
| 4505 | wpt_uint8 ucPatternByteOffset; |
| 4506 | wpt_uint8 ucPatternSize; // Non-Zero Pattern size |
| 4507 | wpt_uint8 ucPattern[WDI_WOWL_BCAST_PATTERN_MAX_SIZE]; // Pattern |
| 4508 | wpt_uint8 ucPatternMaskSize; // Non-zero pattern mask size |
| 4509 | wpt_uint8 ucPatternMask[WDI_WOWL_BCAST_PATTERN_MAX_SIZE]; // Pattern mask |
| 4510 | wpt_uint8 ucPatternExt[WDI_WOWL_BCAST_PATTERN_MAX_SIZE]; // Extra pattern |
| 4511 | wpt_uint8 ucPatternMaskExt[WDI_WOWL_BCAST_PATTERN_MAX_SIZE]; // Extra pattern mask |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4512 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4513 | } WDI_WowlAddBcPtrnInfoType; |
| 4514 | |
| 4515 | /*--------------------------------------------------------------------------- |
| 4516 | WDI_WowlAddBcPtrnReqParamsType |
| 4517 | Wowl add ptrn info passed to WDI form WDA |
| 4518 | ---------------------------------------------------------------------------*/ |
| 4519 | typedef struct |
| 4520 | { |
| 4521 | /*Wowl add ptrn Info Type, same as tpSirWowlAddBcastPtrn */ |
| 4522 | WDI_WowlAddBcPtrnInfoType wdiWowlAddBcPtrnInfo; |
| 4523 | /*Request status callback offered by UMAC - it is called if the current req |
| 4524 | has returned PENDING as status; it delivers the status of sending the message |
| 4525 | over the BUS */ |
| 4526 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4527 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4528 | function pointer will be called */ |
| 4529 | void* pUserData; |
| 4530 | }WDI_WowlAddBcPtrnReqParamsType; |
| 4531 | |
| 4532 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4533 | WDI_WowlAddBcPtrnRspParamsType |
| 4534 | Wowl add ptrn info passed from WDI to WDA |
| 4535 | ---------------------------------------------------------------------------*/ |
| 4536 | typedef struct |
| 4537 | { |
| 4538 | /*Status of the response*/ |
| 4539 | WDI_Status wdiStatus; |
| 4540 | /*BssIDX of the session*/ |
| 4541 | wpt_uint8 bssIdx; |
| 4542 | }WDI_WowlAddBcPtrnRspParamsType; |
| 4543 | |
| 4544 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4545 | WDI_WowlDelBcPtrnInfoType |
| 4546 | Wowl add ptrn info passed to WDA form UMAC |
| 4547 | ---------------------------------------------------------------------------*/ |
| 4548 | typedef struct |
| 4549 | { |
| 4550 | /* Pattern ID of the wakeup pattern to be deleted */ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4551 | wpt_uint8 ucPatternId; |
| 4552 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4553 | } WDI_WowlDelBcPtrnInfoType; |
| 4554 | |
| 4555 | /*--------------------------------------------------------------------------- |
| 4556 | WDI_WowlDelBcPtrnReqParamsType |
| 4557 | Wowl add ptrn info passed to WDI form WDA |
| 4558 | ---------------------------------------------------------------------------*/ |
| 4559 | typedef struct |
| 4560 | { |
| 4561 | /*Wowl delete ptrn Info Type, same as WDI_WowlDelBcastPtrn */ |
| 4562 | WDI_WowlDelBcPtrnInfoType wdiWowlDelBcPtrnInfo; |
| 4563 | /*Request status callback offered by UMAC - it is called if the current req |
| 4564 | has returned PENDING as status; it delivers the status of sending the message |
| 4565 | over the BUS */ |
| 4566 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4567 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4568 | function pointer will be called */ |
| 4569 | void* pUserData; |
| 4570 | }WDI_WowlDelBcPtrnReqParamsType; |
| 4571 | |
| 4572 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4573 | WDI_WowlDelBcPtrnRspParamsType |
| 4574 | Wowl Del ptrn info passed from WDI to WDA |
| 4575 | ---------------------------------------------------------------------------*/ |
| 4576 | typedef struct |
| 4577 | { |
| 4578 | /*Status of the response*/ |
| 4579 | WDI_Status wdiStatus; |
| 4580 | /*BssIDX of the session*/ |
| 4581 | wpt_uint8 bssIdx; |
| 4582 | }WDI_WowlDelBcPtrnRspParamsType; |
| 4583 | |
| 4584 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4585 | WDI_WowlEnterInfoType |
| 4586 | Wowl enter info passed to WDA form UMAC |
| 4587 | ---------------------------------------------------------------------------*/ |
| 4588 | typedef struct |
| 4589 | { |
| 4590 | /* Enables/disables magic packet filtering */ |
| 4591 | wpt_uint8 ucMagicPktEnable; |
| 4592 | |
| 4593 | /* Magic pattern */ |
| 4594 | wpt_macAddr magicPtrn; |
| 4595 | |
| 4596 | /* Enables/disables packet pattern filtering in firmware. |
| 4597 | Enabling this flag enables broadcast pattern matching |
| 4598 | in Firmware. If unicast pattern matching is also desired, |
| 4599 | ucUcastPatternFilteringEnable flag must be set tot true |
| 4600 | as well |
| 4601 | */ |
| 4602 | wpt_uint8 ucPatternFilteringEnable; |
| 4603 | |
| 4604 | /* Enables/disables unicast packet pattern filtering. |
| 4605 | This flag specifies whether we want to do pattern match |
| 4606 | on unicast packets as well and not just broadcast packets. |
| 4607 | This flag has no effect if the ucPatternFilteringEnable |
| 4608 | (main controlling flag) is set to false |
| 4609 | */ |
| 4610 | wpt_uint8 ucUcastPatternFilteringEnable; |
| 4611 | |
| 4612 | /* This configuration is valid only when magicPktEnable=1. |
| 4613 | * It requests hardware to wake up when it receives the |
| 4614 | * Channel Switch Action Frame. |
| 4615 | */ |
| 4616 | wpt_uint8 ucWowChnlSwitchRcv; |
| 4617 | |
| 4618 | /* This configuration is valid only when magicPktEnable=1. |
| 4619 | * It requests hardware to wake up when it receives the |
| 4620 | * Deauthentication Frame. |
| 4621 | */ |
| 4622 | wpt_uint8 ucWowDeauthRcv; |
| 4623 | |
| 4624 | /* This configuration is valid only when magicPktEnable=1. |
| 4625 | * It requests hardware to wake up when it receives the |
| 4626 | * Disassociation Frame. |
| 4627 | */ |
| 4628 | wpt_uint8 ucWowDisassocRcv; |
| 4629 | |
| 4630 | /* This configuration is valid only when magicPktEnable=1. |
| 4631 | * It requests hardware to wake up when it has missed |
| 4632 | * consecutive beacons. This is a hardware register |
| 4633 | * configuration (NOT a firmware configuration). |
| 4634 | */ |
| 4635 | wpt_uint8 ucWowMaxMissedBeacons; |
| 4636 | |
| 4637 | /* This configuration is valid only when magicPktEnable=1. |
| 4638 | * This is a timeout value in units of microsec. It requests |
| 4639 | * hardware to unconditionally wake up after it has stayed |
| 4640 | * in WoWLAN mode for some time. Set 0 to disable this feature. |
| 4641 | */ |
| 4642 | wpt_uint8 ucWowMaxSleepUsec; |
| 4643 | |
| 4644 | #ifdef WLAN_WAKEUP_EVENTS |
| 4645 | /* This configuration directs the WoW packet filtering to look for EAP-ID |
| 4646 | * requests embedded in EAPOL frames and use this as a wake source. |
| 4647 | */ |
| 4648 | wpt_uint8 ucWoWEAPIDRequestEnable; |
| 4649 | |
| 4650 | /* This configuration directs the WoW packet filtering to look for EAPOL-4WAY |
| 4651 | * requests and use this as a wake source. |
| 4652 | */ |
| 4653 | wpt_uint8 ucWoWEAPOL4WayEnable; |
| 4654 | |
| 4655 | /* This configuration allows a host wakeup on an network scan offload match. |
| 4656 | */ |
| 4657 | wpt_uint8 ucWowNetScanOffloadMatch; |
| 4658 | |
| 4659 | /* This configuration allows a host wakeup on any GTK rekeying error. |
| 4660 | */ |
| 4661 | wpt_uint8 ucWowGTKRekeyError; |
| 4662 | |
| 4663 | /* This configuration allows a host wakeup on BSS connection loss. |
| 4664 | */ |
| 4665 | wpt_uint8 ucWoWBSSConnLoss; |
| 4666 | #endif // WLAN_WAKEUP_EVENTS |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4667 | |
| 4668 | /* BSSIDX used to find the current session |
| 4669 | */ |
| 4670 | wpt_uint8 bssIdx; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4671 | } WDI_WowlEnterInfoType; |
| 4672 | |
| 4673 | /*--------------------------------------------------------------------------- |
| 4674 | WDI_WowlEnterReqParamsType |
| 4675 | Wowl enter info passed to WDI form WDA |
| 4676 | ---------------------------------------------------------------------------*/ |
| 4677 | typedef struct |
| 4678 | { |
| 4679 | /*Wowl delete ptrn Info Type, same as WDI_SmeWowlEnterParams */ |
| 4680 | WDI_WowlEnterInfoType wdiWowlEnterInfo; |
| 4681 | /*Request status callback offered by UMAC - it is called if the current req |
| 4682 | has returned PENDING as status; it delivers the status of sending the message |
| 4683 | over the BUS */ |
| 4684 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4685 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4686 | function pointer will be called */ |
| 4687 | void* pUserData; |
| 4688 | }WDI_WowlEnterReqParamsType; |
| 4689 | |
| 4690 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 4691 | WDI_WowlEnterRsqParamsType |
| 4692 | Wowl enter info passed from WDI to WDA |
| 4693 | ---------------------------------------------------------------------------*/ |
| 4694 | typedef struct |
| 4695 | { |
| 4696 | /*Status of the response message*/ |
| 4697 | WDI_Status status; |
| 4698 | |
| 4699 | /* BSSIDX used to find the current session |
| 4700 | */ |
| 4701 | wpt_uint8 bssIdx; |
| 4702 | }WDI_WowlEnterRspParamsType; |
| 4703 | |
| 4704 | /*--------------------------------------------------------------------------- |
| 4705 | WDI_WowlExitInfoType |
| 4706 | Wowl exit info passed to WDA form UMAC |
| 4707 | ---------------------------------------------------------------------------*/ |
| 4708 | typedef struct |
| 4709 | { |
| 4710 | /* BSSIDX used to find the current session |
| 4711 | */ |
| 4712 | wpt_uint8 bssIdx; |
| 4713 | } WDI_WowlExitInfoType; |
| 4714 | |
| 4715 | /*--------------------------------------------------------------------------- |
| 4716 | WDI_WowlExitReqParamsType |
| 4717 | Wowl exit info passed to WDI form WDA |
| 4718 | ---------------------------------------------------------------------------*/ |
| 4719 | typedef struct |
| 4720 | { |
| 4721 | /*Wowl delete ptrn Info Type, same as WDI_SmeWowlEnterParams */ |
| 4722 | WDI_WowlExitInfoType wdiWowlExitInfo; |
| 4723 | /*Request status callback offered by UMAC - it is called if the current req |
| 4724 | has returned PENDING as status; it delivers the status of sending the message |
| 4725 | over the BUS */ |
| 4726 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4727 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4728 | function pointer will be called */ |
| 4729 | void* pUserData; |
| 4730 | }WDI_WowlExitReqParamsType; |
| 4731 | |
| 4732 | /*--------------------------------------------------------------------------- |
| 4733 | WDI_WowlExitRspParamsType |
| 4734 | Wowl exit info passed from WDI to WDA |
| 4735 | ---------------------------------------------------------------------------*/ |
| 4736 | typedef struct |
| 4737 | { |
| 4738 | /*Status of the response message*/ |
| 4739 | WDI_Status status; |
| 4740 | |
| 4741 | /* BSSIDX used to find the current session |
| 4742 | */ |
| 4743 | wpt_uint8 bssIdx; |
| 4744 | }WDI_WowlExitRspParamsType; |
| 4745 | |
| 4746 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4747 | WDI_ConfigureAppsCpuWakeupStateReqParamsType |
| 4748 | Apps Cpu Wakeup State parameters passed to WDI form WDA |
| 4749 | ---------------------------------------------------------------------------*/ |
| 4750 | typedef struct |
| 4751 | { |
| 4752 | /*Depicts the state of the Apps CPU */ |
| 4753 | wpt_boolean bIsAppsAwake; |
| 4754 | /*Request status callback offered by UMAC - it is called if the current req |
| 4755 | has returned PENDING as status; it delivers the status of sending the message |
| 4756 | over the BUS */ |
| 4757 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4758 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4759 | function pointer will be called */ |
| 4760 | void* pUserData; |
| 4761 | }WDI_ConfigureAppsCpuWakeupStateReqParamsType; |
| 4762 | /*--------------------------------------------------------------------------- |
| 4763 | WDI_FlushAcReqinfoType |
| 4764 | ---------------------------------------------------------------------------*/ |
| 4765 | typedef struct |
| 4766 | { |
| 4767 | // Message Type |
| 4768 | wpt_uint16 usMesgType; |
| 4769 | |
| 4770 | // Message Length |
| 4771 | wpt_uint16 usMesgLen; |
| 4772 | |
| 4773 | // Station Index. originates from HAL |
| 4774 | wpt_uint8 ucSTAId; |
| 4775 | |
| 4776 | // TID for which the transmit queue is being flushed |
| 4777 | wpt_uint8 ucTid; |
| 4778 | |
| 4779 | }WDI_FlushAcReqinfoType; |
| 4780 | |
| 4781 | /*--------------------------------------------------------------------------- |
| 4782 | WDI_FlushAcReqParamsType |
| 4783 | ---------------------------------------------------------------------------*/ |
| 4784 | typedef struct |
| 4785 | { |
| 4786 | /*AC Info */ |
| 4787 | WDI_FlushAcReqinfoType wdiFlushAcInfo; |
| 4788 | |
| 4789 | /*Request status callback offered by UMAC - it is called if the current |
| 4790 | req has returned PENDING as status; it delivers the status of sending |
| 4791 | the message over the BUS */ |
| 4792 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4793 | |
| 4794 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4795 | function pointer will be called */ |
| 4796 | void* pUserData; |
| 4797 | }WDI_FlushAcReqParamsType; |
| 4798 | |
| 4799 | /*--------------------------------------------------------------------------- |
| 4800 | WDI_BtAmpEventinfoType |
| 4801 | BT-AMP Event Structure |
| 4802 | ---------------------------------------------------------------------------*/ |
| 4803 | typedef struct |
| 4804 | { |
| 4805 | wpt_uint8 ucBtAmpEventType; |
| 4806 | |
| 4807 | } WDI_BtAmpEventinfoType; |
| 4808 | |
| 4809 | /*--------------------------------------------------------------------------- |
| 4810 | WDI_BtAmpEventParamsType |
| 4811 | ---------------------------------------------------------------------------*/ |
| 4812 | typedef struct |
| 4813 | { |
| 4814 | /*BT AMP event Info */ |
| 4815 | WDI_BtAmpEventinfoType wdiBtAmpEventInfo; |
| 4816 | |
| 4817 | /*Request status callback offered by UMAC - it is called if the current |
| 4818 | req has returned PENDING as status; it delivers the status of sending |
| 4819 | the message over the BUS */ |
| 4820 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4821 | |
| 4822 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4823 | function pointer will be called */ |
| 4824 | void* pUserData; |
| 4825 | }WDI_BtAmpEventParamsType; |
| 4826 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4827 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 4828 | |
| 4829 | #ifndef OEM_DATA_REQ_SIZE |
Madan Mohan Koyyalamudi | 7a4d931 | 2012-12-04 17:21:36 -0800 | [diff] [blame] | 4830 | #define OEM_DATA_REQ_SIZE 134 |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4831 | #endif |
| 4832 | #ifndef OEM_DATA_RSP_SIZE |
Madan Mohan Koyyalamudi | 7a4d931 | 2012-12-04 17:21:36 -0800 | [diff] [blame] | 4833 | #define OEM_DATA_RSP_SIZE 1968 |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4834 | #endif |
| 4835 | |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 4836 | #ifndef NEW_OEM_DATA_REQ_SIZE |
| 4837 | #define NEW_OEM_DATA_REQ_SIZE 292 |
| 4838 | #endif |
| 4839 | |
| 4840 | #ifndef NEW_OEM_DATA_RSP_SIZE |
| 4841 | #define NEW_OEM_DATA_RSP_SIZE 2100 |
| 4842 | #endif |
| 4843 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4844 | /*---------------------------------------------------------------------------- |
| 4845 | WDI_oemDataReqInfoType |
| 4846 | ----------------------------------------------------------------------------*/ |
| 4847 | typedef struct |
| 4848 | { |
| 4849 | wpt_macAddr selfMacAddr; |
| 4850 | wpt_uint8 oemDataReq[OEM_DATA_REQ_SIZE]; |
| 4851 | }WDI_oemDataReqInfoType; |
| 4852 | |
| 4853 | /*---------------------------------------------------------------------------- |
| 4854 | WDI_oemDataReqParamsType |
| 4855 | ----------------------------------------------------------------------------*/ |
| 4856 | typedef struct |
| 4857 | { |
| 4858 | /*Request status callback offered by UMAC - it is called if the current |
| 4859 | req has returned PENDING as status; it delivers the status of sending |
| 4860 | the message over the BUS */ |
| 4861 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4862 | |
| 4863 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4864 | function pointer will be called */ |
| 4865 | void* pUserData; |
| 4866 | |
| 4867 | /*OEM DATA REQ Info */ |
| 4868 | WDI_oemDataReqInfoType wdiOemDataReqInfo; |
| 4869 | |
| 4870 | }WDI_oemDataReqParamsType; |
| 4871 | |
| 4872 | /*---------------------------------------------------------------------------- |
| 4873 | WDI_oemDataRspParamsType |
| 4874 | ----------------------------------------------------------------------------*/ |
| 4875 | typedef struct |
| 4876 | { |
| 4877 | wpt_uint8 oemDataRsp[OEM_DATA_RSP_SIZE]; |
| 4878 | }WDI_oemDataRspParamsType; |
| 4879 | |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 4880 | /*---------------------------------------------------------------------------- |
| 4881 | OEM DATA REQ NEW/OEM DATA RSP NEW - DATA STRUCTURES |
| 4882 | ----------------------------------------------------------------------------*/ |
| 4883 | /* Structure for defining req sent to the PE */ |
| 4884 | typedef struct |
| 4885 | { |
Padma, Santhosh Kumar | 70380cf | 2016-01-11 18:42:20 +0530 | [diff] [blame] | 4886 | wpt_macAddr selfMacAddr; |
| 4887 | wpt_uint8 reserved[2]; |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 4888 | wpt_uint8 oemDataReqNew[NEW_OEM_DATA_REQ_SIZE]; |
| 4889 | } WDI_OemDataReqNew, WDI_OemDataReqNewConfig; |
| 4890 | |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 4891 | /*************************************************************************************************************/ |
| 4892 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4893 | #endif /* FEATURE_OEM_DATA_SUPPORT */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4894 | |
| 4895 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 4896 | /*--------------------------------------------------------------------------- |
| 4897 | WDI_AggrAddTSReqInfoType |
| 4898 | ---------------------------------------------------------------------------*/ |
| 4899 | typedef struct |
| 4900 | { |
| 4901 | /*STA Index*/ |
| 4902 | wpt_uint8 ucSTAIdx; |
| 4903 | |
| 4904 | /*Identifier for TSpec*/ |
| 4905 | wpt_uint8 ucTspecIdx; |
| 4906 | |
| 4907 | /*Tspec IE negotiated OTA*/ |
| 4908 | WDI_TspecIEType wdiTspecIE[WDI_MAX_NO_AC]; |
| 4909 | |
| 4910 | /*UAPSD delivery and trigger enabled flags */ |
| 4911 | wpt_uint8 ucUapsdFlags; |
| 4912 | |
| 4913 | /*SI for each AC*/ |
| 4914 | wpt_uint8 ucServiceInterval[WDI_MAX_NO_AC]; |
| 4915 | |
| 4916 | /*Suspend Interval for each AC*/ |
| 4917 | wpt_uint8 ucSuspendInterval[WDI_MAX_NO_AC]; |
| 4918 | |
| 4919 | /*DI for each AC*/ |
| 4920 | wpt_uint8 ucDelayedInterval[WDI_MAX_NO_AC]; |
| 4921 | |
| 4922 | }WDI_AggrAddTSReqInfoType; |
| 4923 | |
| 4924 | |
| 4925 | /*--------------------------------------------------------------------------- |
| 4926 | WDI_AggrAddTSReqParamsType |
| 4927 | ---------------------------------------------------------------------------*/ |
| 4928 | typedef struct |
| 4929 | { |
| 4930 | /*TSpec Info */ |
| 4931 | WDI_AggrAddTSReqInfoType wdiAggrTsInfo; |
| 4932 | |
| 4933 | /*Request status callback offered by UMAC - it is called if the current |
| 4934 | req has returned PENDING as status; it delivers the status of sending |
| 4935 | the message over the BUS */ |
| 4936 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4937 | |
| 4938 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4939 | function pointer will be called */ |
| 4940 | void* pUserData; |
| 4941 | }WDI_AggrAddTSReqParamsType; |
| 4942 | |
| 4943 | #endif /* WLAN_FEATURE_VOWIFI_11R */ |
| 4944 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4945 | /*--------------------------------------------------------------------------- |
| 4946 | WDI_FTMCommandReqType |
| 4947 | ---------------------------------------------------------------------------*/ |
| 4948 | typedef struct |
| 4949 | { |
| 4950 | /* FTM Command Body length */ |
| 4951 | wpt_uint32 bodyLength; |
| 4952 | /* Actual FTM Command body */ |
| 4953 | void *FTMCommandBody; |
| 4954 | }WDI_FTMCommandReqType; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4955 | |
| 4956 | /*--------------------------------------------------------------------------- |
| 4957 | WDI_WlanSuspendInfoType |
| 4958 | ---------------------------------------------------------------------------*/ |
| 4959 | typedef struct |
| 4960 | { |
| 4961 | /* Mode of Mcast and Bcast filters configured */ |
| 4962 | wpt_uint8 ucConfiguredMcstBcstFilterSetting; |
| 4963 | }WDI_WlanSuspendInfoType; |
| 4964 | |
| 4965 | /*--------------------------------------------------------------------------- |
| 4966 | WDI_SuspendParamsType |
| 4967 | ---------------------------------------------------------------------------*/ |
| 4968 | typedef struct |
| 4969 | { |
| 4970 | WDI_WlanSuspendInfoType wdiSuspendParams; |
| 4971 | |
| 4972 | /*Request status callback offered by UMAC - it is called if the current |
| 4973 | req has returned PENDING as status; it delivers the status of sending |
| 4974 | the message over the BUS */ |
| 4975 | WDI_ReqStatusCb wdiReqStatusCB; |
| 4976 | |
| 4977 | /*The user data passed in by UMAC, it will be sent back when the above |
| 4978 | function pointer will be called */ |
| 4979 | void* pUserData; |
| 4980 | |
| 4981 | }WDI_SuspendParamsType; |
| 4982 | |
| 4983 | /*--------------------------------------------------------------------------- |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 4984 | WDI_TrafficStatsType - This is collected for each STA |
| 4985 | ---------------------------------------------------------------------------*/ |
| 4986 | |
| 4987 | typedef struct |
| 4988 | { |
| 4989 | /* TX stats */ |
| 4990 | wpt_uint32 txBytesPushed; |
| 4991 | wpt_uint32 txPacketsPushed; |
| 4992 | |
| 4993 | /* RX stats */ |
| 4994 | wpt_uint32 rxBytesRcvd; |
| 4995 | wpt_uint32 rxPacketsRcvd; |
| 4996 | wpt_uint32 rxTimeTotal; |
| 4997 | }WDI_TrafficStatsType; |
| 4998 | |
| 4999 | typedef struct |
| 5000 | { |
| 5001 | WDI_TrafficStatsType *pTrafficStats; |
| 5002 | wpt_uint32 length; |
| 5003 | wpt_uint32 duration; |
| 5004 | |
| 5005 | /*Request status callback offered by UMAC - it is called if the current |
| 5006 | req has returned PENDING as status; it delivers the status of sending |
| 5007 | the message over the BUS */ |
| 5008 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5009 | |
| 5010 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5011 | function pointer will be called */ |
| 5012 | void* pUserData; |
| 5013 | }WDI_TrafficStatsIndType; |
| 5014 | |
Chet Lanctot | 186b573 | 2013-03-18 10:26:30 -0700 | [diff] [blame] | 5015 | #ifdef WLAN_FEATURE_11W |
| 5016 | typedef struct |
| 5017 | { |
| 5018 | |
| 5019 | wpt_boolean bExcludeUnencrypt; |
| 5020 | wpt_macAddr bssid; |
| 5021 | /*Request status callback offered by UMAC - it is called if the current |
| 5022 | req has returned PENDING as status; it delivers the status of sending |
| 5023 | the message over the BUS */ |
| 5024 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5025 | |
| 5026 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5027 | function pointer will be called */ |
| 5028 | void* pUserData; |
| 5029 | }WDI_ExcludeUnencryptIndType; |
| 5030 | #endif |
| 5031 | |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 5032 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5033 | WDI_WlanResumeInfoType |
| 5034 | ---------------------------------------------------------------------------*/ |
| 5035 | typedef struct |
| 5036 | { |
| 5037 | /* Mode of Mcast and Bcast filters configured */ |
| 5038 | wpt_uint8 ucConfiguredMcstBcstFilterSetting; |
| 5039 | }WDI_WlanResumeInfoType; |
| 5040 | |
| 5041 | /*--------------------------------------------------------------------------- |
| 5042 | WDI_ResumeParamsType |
| 5043 | ---------------------------------------------------------------------------*/ |
| 5044 | typedef struct |
| 5045 | { |
| 5046 | WDI_WlanResumeInfoType wdiResumeParams; |
| 5047 | |
| 5048 | /*Request status callback offered by UMAC - it is called if the current |
| 5049 | req has returned PENDING as status; it delivers the status of sending |
| 5050 | the message over the BUS */ |
| 5051 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5052 | |
| 5053 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5054 | function pointer will be called */ |
| 5055 | void* pUserData; |
| 5056 | |
| 5057 | }WDI_ResumeParamsType; |
| 5058 | |
| 5059 | #ifdef WLAN_FEATURE_GTK_OFFLOAD |
| 5060 | /*--------------------------------------------------------------------------- |
| 5061 | * WDI_GTK_OFFLOAD_REQ |
| 5062 | *--------------------------------------------------------------------------*/ |
| 5063 | |
| 5064 | typedef struct |
| 5065 | { |
| 5066 | wpt_uint32 ulFlags; /* optional flags */ |
| 5067 | wpt_uint8 aKCK[16]; /* Key confirmation key */ |
| 5068 | wpt_uint8 aKEK[16]; /* key encryption key */ |
| 5069 | wpt_uint64 ullKeyReplayCounter; /* replay counter */ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5070 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5071 | } WDI_GtkOffloadReqParams; |
| 5072 | |
| 5073 | typedef struct |
| 5074 | { |
| 5075 | WDI_GtkOffloadReqParams gtkOffloadReqParams; |
| 5076 | |
| 5077 | /*Request status callback offered by UMAC - it is called if the current |
| 5078 | req has returned PENDING as status; it delivers the status of sending |
| 5079 | the message over the BUS */ |
| 5080 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5081 | |
| 5082 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5083 | function pointer will be called */ |
| 5084 | void* pUserData; |
| 5085 | } WDI_GtkOffloadReqMsg; |
| 5086 | |
| 5087 | /*--------------------------------------------------------------------------- |
| 5088 | * WDI_GTK_OFFLOAD_RSP |
| 5089 | *--------------------------------------------------------------------------*/ |
| 5090 | typedef struct |
| 5091 | { |
| 5092 | /* success or failure */ |
| 5093 | wpt_uint32 ulStatus; |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5094 | /*BssIdx of the response */ |
| 5095 | wpt_uint8 bssIdx; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5096 | } WDI_GtkOffloadRspParams; |
| 5097 | |
| 5098 | typedef struct |
| 5099 | { |
| 5100 | WDI_GtkOffloadRspParams gtkOffloadRspParams; |
| 5101 | |
| 5102 | /*Request status callback offered by UMAC - it is called if the current |
| 5103 | req has returned PENDING as status; it delivers the status of sending |
| 5104 | the message over the BUS */ |
| 5105 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5106 | |
| 5107 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5108 | function pointer will be called */ |
| 5109 | void* pUserData; |
| 5110 | } WDI_GtkOffloadRspMsg; |
| 5111 | |
| 5112 | |
| 5113 | /*--------------------------------------------------------------------------- |
| 5114 | * WDI_GTK_OFFLOAD_GETINFO_REQ |
| 5115 | *--------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5116 | typedef struct |
| 5117 | { |
| 5118 | /*BssIdx of the response */ |
| 5119 | wpt_macAddr bssId; |
| 5120 | } WDI_GtkOffloadGetInfoReqParams; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5121 | |
| 5122 | typedef struct |
| 5123 | { |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5124 | |
| 5125 | WDI_GtkOffloadGetInfoReqParams WDI_GtkOffloadGetInfoReqParams; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5126 | /*Request status callback offered by UMAC - it is called if the current |
| 5127 | req has returned PENDING as status; it delivers the status of sending |
| 5128 | the message over the BUS */ |
| 5129 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5130 | |
| 5131 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5132 | function pointer will be called */ |
| 5133 | void* pUserData; |
| 5134 | } WDI_GtkOffloadGetInfoReqMsg; |
| 5135 | |
| 5136 | /*--------------------------------------------------------------------------- |
| 5137 | * WDI_GTK_OFFLOAD_GETINFO_RSP |
| 5138 | *--------------------------------------------------------------------------*/ |
| 5139 | typedef struct |
| 5140 | { |
| 5141 | wpt_uint32 ulStatus; /* success or failure */ |
| 5142 | wpt_uint64 ullKeyReplayCounter; /* current replay counter value */ |
| 5143 | wpt_uint32 ulTotalRekeyCount; /* total rekey attempts */ |
| 5144 | wpt_uint32 ulGTKRekeyCount; /* successful GTK rekeys */ |
| 5145 | wpt_uint32 ulIGTKRekeyCount; /* successful iGTK rekeys */ |
Gopichand Nakkala | 870cbae | 2013-03-15 21:16:09 +0530 | [diff] [blame] | 5146 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5147 | } WDI_GtkOffloadGetInfoRspParams; |
| 5148 | |
| 5149 | typedef struct |
| 5150 | { |
| 5151 | WDI_GtkOffloadGetInfoRspParams gtkOffloadGetInfoRspParams; |
| 5152 | |
| 5153 | /*Request status callback offered by UMAC - it is called if the current |
| 5154 | req has returned PENDING as status; it delivers the status of sending |
| 5155 | the message over the BUS */ |
| 5156 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5157 | |
| 5158 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5159 | function pointer will be called */ |
| 5160 | void* pUserData; |
| 5161 | } WDI_GtkOffloadGetInfoRspMsg; |
| 5162 | #endif // WLAN_FEATURE_GTK_OFFLOAD |
| 5163 | |
| 5164 | /*--------------------------------------------------------------------------- |
| 5165 | WDI_SuspendResumeRspParamsType |
| 5166 | ---------------------------------------------------------------------------*/ |
| 5167 | typedef struct |
| 5168 | { |
| 5169 | /*Status of the response*/ |
| 5170 | WDI_Status wdiStatus; |
| 5171 | }WDI_SuspendResumeRspParamsType; |
| 5172 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 5173 | #ifdef FEATURE_WLAN_LPHB |
| 5174 | /*--------------------------------------------------------------------------- |
| 5175 | WDI Low Power Heart Beat Config request |
| 5176 | Copy from sirApi.h to avoid compile error |
| 5177 | ---------------------------------------------------------------------------*/ |
| 5178 | #define WDI_LPHB_FILTER_LEN 64 |
| 5179 | |
| 5180 | typedef enum |
| 5181 | { |
| 5182 | WDI_LPHB_SET_EN_PARAMS_INDID = 0x0001, |
| 5183 | WDI_LPHB_SET_TCP_PARAMS_INDID, |
| 5184 | WDI_LPHB_SET_TCP_PKT_FILTER_INDID, |
| 5185 | WDI_LPHB_SET_UDP_PARAMS_INDID, |
| 5186 | WDI_LPHB_SET_UDP_PKT_FILTER_INDID, |
| 5187 | WDI_LPHB_SET_NETWORK_INFO_INDID, |
| 5188 | } WDI_LPHBIndType; |
| 5189 | |
| 5190 | typedef struct |
| 5191 | { |
| 5192 | wpt_uint8 enable; |
| 5193 | wpt_uint8 item; |
| 5194 | wpt_uint8 session; |
| 5195 | } WDI_LPHBEnableStruct; |
| 5196 | |
| 5197 | typedef struct |
| 5198 | { |
| 5199 | wpt_uint32 srv_ip; |
| 5200 | wpt_uint32 dev_ip; |
| 5201 | wpt_uint16 src_port; |
| 5202 | wpt_uint16 dst_port; |
| 5203 | wpt_uint16 timeout; |
| 5204 | wpt_uint8 session; |
| 5205 | wpt_uint8 gateway_mac[WDI_MAC_ADDR_LEN]; |
Leo Chang | d9df8aa | 2013-09-26 13:32:26 -0700 | [diff] [blame] | 5206 | wpt_uint16 timePeriodSec; // in seconds |
| 5207 | wpt_uint32 tcpSn; |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 5208 | } WDI_LPHBTcpParamStruct; |
| 5209 | |
| 5210 | typedef struct |
| 5211 | { |
| 5212 | wpt_uint16 length; |
| 5213 | wpt_uint8 offset; |
| 5214 | wpt_uint8 session; |
| 5215 | wpt_uint8 filter[WDI_LPHB_FILTER_LEN]; |
| 5216 | } WDI_LPHBTcpFilterStruct; |
| 5217 | |
| 5218 | typedef struct |
| 5219 | { |
| 5220 | wpt_uint32 srv_ip; |
| 5221 | wpt_uint32 dev_ip; |
| 5222 | wpt_uint16 src_port; |
| 5223 | wpt_uint16 dst_port; |
| 5224 | wpt_uint16 interval; |
| 5225 | wpt_uint16 timeout; |
| 5226 | wpt_uint8 session; |
| 5227 | wpt_uint8 gateway_mac[WDI_MAC_ADDR_LEN]; |
| 5228 | } WDI_LPHBUdpParamStruct; |
| 5229 | |
| 5230 | typedef struct |
| 5231 | { |
| 5232 | wpt_uint16 length; |
| 5233 | wpt_uint8 offset; |
| 5234 | wpt_uint8 session; |
| 5235 | wpt_uint8 filter[WDI_LPHB_FILTER_LEN]; |
| 5236 | } WDI_LPHBUdpFilterStruct; |
| 5237 | |
| 5238 | typedef struct |
| 5239 | { |
| 5240 | wpt_uint16 cmd; |
| 5241 | wpt_uint16 dummy; |
| 5242 | union |
| 5243 | { |
| 5244 | WDI_LPHBEnableStruct lphbEnableReq; |
| 5245 | WDI_LPHBTcpParamStruct lphbTcpParamReq; |
| 5246 | WDI_LPHBTcpFilterStruct lphbTcpFilterReq; |
| 5247 | WDI_LPHBUdpParamStruct lphbUdpParamReq; |
| 5248 | WDI_LPHBUdpFilterStruct lphbUdpFilterReq; |
| 5249 | } params; |
| 5250 | } WDI_LPHBReq; |
| 5251 | #endif /* FEATURE_WLAN_LPHB */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5252 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5253 | /*--------------------------------------------------------------------------- |
| 5254 | WDI_AuthType |
| 5255 | ---------------------------------------------------------------------------*/ |
| 5256 | typedef enum |
| 5257 | { |
| 5258 | WDI_AUTH_TYPE_ANY = 0, |
| 5259 | |
| 5260 | WDI_AUTH_TYPE_NONE, |
| 5261 | WDI_AUTH_TYPE_OPEN_SYSTEM, |
| 5262 | WDI_AUTH_TYPE_SHARED_KEY, |
| 5263 | |
| 5264 | WDI_AUTH_TYPE_WPA, |
| 5265 | WDI_AUTH_TYPE_WPA_PSK, |
| 5266 | WDI_AUTH_TYPE_WPA_NONE, |
| 5267 | |
| 5268 | WDI_AUTH_TYPE_RSN, |
| 5269 | WDI_AUTH_TYPE_RSN_PSK, |
| 5270 | WDI_AUTH_TYPE_FT_RSN, |
| 5271 | WDI_AUTH_TYPE_FT_RSN_PSK, |
| 5272 | WDI_AUTH_TYPE_WAPI_WAI_CERTIFICATE, |
| 5273 | WDI_AUTH_TYPE_WAPI_WAI_PSK, |
| 5274 | WDI_AUTH_TYPE_MAX = 0xFFFFFFFF /*expanding the type to UINT32*/ |
| 5275 | |
| 5276 | }WDI_AuthType; |
| 5277 | |
| 5278 | /*--------------------------------------------------------------------------- |
| 5279 | WDI_EdType |
| 5280 | ---------------------------------------------------------------------------*/ |
| 5281 | typedef enum |
| 5282 | { |
| 5283 | WDI_ED_ANY = 0, |
| 5284 | WDI_ED_NONE, |
| 5285 | WDI_ED_WEP40, |
| 5286 | WDI_ED_WEP104, |
| 5287 | WDI_ED_TKIP, |
| 5288 | WDI_ED_CCMP, |
| 5289 | WDI_ED_WPI, |
| 5290 | WDI_ED_AES_128_CMAC, |
| 5291 | WDI_ED_MAX = 0xFFFFFFFF /*expanding the type to UINT32*/ |
| 5292 | } WDI_EdType; |
| 5293 | |
Manjunathappa Prakash | 4f1d5a5 | 2013-11-11 16:22:19 -0800 | [diff] [blame] | 5294 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 5295 | |
| 5296 | /*Max number of channels for a given network supported by PNO*/ |
| 5297 | #define WDI_PNO_MAX_NETW_CHANNELS 26 |
| 5298 | |
| 5299 | /*Max number of channels for a given network supported by PNO*/ |
| 5300 | #define WDI_PNO_MAX_NETW_CHANNELS_EX 60 |
| 5301 | |
| 5302 | /*The max number of programable networks for PNO*/ |
| 5303 | #define WDI_PNO_MAX_SUPP_NETWORKS 16 |
| 5304 | |
| 5305 | /*The max number of scan timers programable in Riva*/ |
| 5306 | #define WDI_PNO_MAX_SCAN_TIMERS 10 |
| 5307 | |
| 5308 | #define WDI_PNO_MAX_PROBE_SIZE 450 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5309 | |
| 5310 | /*--------------------------------------------------------------------------- |
| 5311 | WDI_PNOMode |
| 5312 | ---------------------------------------------------------------------------*/ |
| 5313 | typedef enum |
| 5314 | { |
| 5315 | /*Network offload is to start immediately*/ |
| 5316 | WDI_PNO_MODE_IMMEDIATE, |
| 5317 | |
| 5318 | /*Network offload is to start on host suspend*/ |
| 5319 | WDI_PNO_MODE_ON_SUSPEND, |
| 5320 | |
| 5321 | /*Network offload is to start on host resume*/ |
| 5322 | WDI_PNO_MODE_ON_RESUME, |
| 5323 | WDI_PNO_MODE_MAX = 0xFFFFFFFF |
| 5324 | } WDI_PNOMode; |
| 5325 | |
| 5326 | /* SSID broadcast type */ |
| 5327 | typedef enum |
| 5328 | { |
| 5329 | WDI_BCAST_UNKNOWN = 0, |
| 5330 | WDI_BCAST_NORMAL = 1, |
| 5331 | WDI_BCAST_HIDDEN = 2, |
| 5332 | |
| 5333 | WDI_BCAST_TYPE_MAX = 0xFFFFFFFF |
| 5334 | } WDI_SSIDBcastType; |
| 5335 | |
| 5336 | /*--------------------------------------------------------------------------- |
| 5337 | WDI_NetworkType |
| 5338 | ---------------------------------------------------------------------------*/ |
| 5339 | typedef struct |
| 5340 | { |
| 5341 | /*The SSID of the preferred network*/ |
| 5342 | WDI_MacSSid ssId; |
| 5343 | |
| 5344 | /*The authentication method of the preferred network*/ |
| 5345 | WDI_AuthType wdiAuth; |
| 5346 | |
| 5347 | /*The encryption method of the preferred network*/ |
| 5348 | WDI_EdType wdiEncryption; |
| 5349 | |
| 5350 | /*SSID broadcast type, normal, hidden or unknown*/ |
| 5351 | WDI_SSIDBcastType wdiBcastNetworkType; |
| 5352 | |
| 5353 | /*channel count - 0 for all channels*/ |
| 5354 | wpt_uint8 ucChannelCount; |
| 5355 | |
| 5356 | /*the actual channels*/ |
Madan Mohan Koyyalamudi | 4bb5d2e | 2013-09-26 17:36:46 +0530 | [diff] [blame] | 5357 | wpt_uint8 aChannels[WDI_PNO_MAX_NETW_CHANNELS_EX]; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5358 | |
| 5359 | /*rssi threshold that a network must meet to be considered, 0 - for any*/ |
| 5360 | wpt_uint8 rssiThreshold; |
| 5361 | } WDI_NetworkType; |
| 5362 | |
| 5363 | |
| 5364 | /*--------------------------------------------------------------------------- |
| 5365 | WDI_ScanTimer |
| 5366 | ---------------------------------------------------------------------------*/ |
| 5367 | typedef struct |
| 5368 | { |
| 5369 | /*The timer value*/ |
| 5370 | wpt_uint32 uTimerValue; |
| 5371 | |
| 5372 | /*The amount of time we should be repeating the interval*/ |
| 5373 | wpt_uint32 uTimerRepeat; |
| 5374 | } WDI_ScanTimer; |
| 5375 | |
| 5376 | /*--------------------------------------------------------------------------- |
| 5377 | WDI_ScanTimersType |
| 5378 | ---------------------------------------------------------------------------*/ |
| 5379 | typedef struct |
| 5380 | { |
| 5381 | /*The number of value pair intervals present in the array*/ |
| 5382 | wpt_uint8 ucScanTimersCount; |
| 5383 | |
| 5384 | /*The time-repeat value pairs*/ |
| 5385 | WDI_ScanTimer aTimerValues[WDI_PNO_MAX_SCAN_TIMERS]; |
| 5386 | } WDI_ScanTimersType; |
| 5387 | |
| 5388 | /*--------------------------------------------------------------------------- |
| 5389 | WDI_PNOScanReqType |
| 5390 | ---------------------------------------------------------------------------*/ |
| 5391 | typedef struct |
| 5392 | { |
| 5393 | /*Enable or disable PNO feature*/ |
| 5394 | wpt_uint8 bEnable; |
| 5395 | |
| 5396 | /*PNO mode requested*/ |
| 5397 | WDI_PNOMode wdiModePNO; |
| 5398 | |
| 5399 | /*Network count*/ |
| 5400 | wpt_uint8 ucNetworksCount; |
| 5401 | |
| 5402 | /*The networks to look for*/ |
| 5403 | WDI_NetworkType aNetworks[WDI_PNO_MAX_SUPP_NETWORKS]; |
| 5404 | |
| 5405 | /*Scan timer intervals*/ |
| 5406 | WDI_ScanTimersType scanTimers; |
| 5407 | |
| 5408 | /*Probe template for 2.4GHz band*/ |
| 5409 | wpt_uint16 us24GProbeSize; |
| 5410 | wpt_uint8 a24GProbeTemplate[WDI_PNO_MAX_PROBE_SIZE]; |
| 5411 | |
| 5412 | /*Probe template for 5GHz band*/ |
| 5413 | wpt_uint16 us5GProbeSize; |
| 5414 | wpt_uint8 a5GProbeTemplate[WDI_PNO_MAX_PROBE_SIZE]; |
| 5415 | } WDI_PNOScanReqType; |
| 5416 | |
| 5417 | /*--------------------------------------------------------------------------- |
| 5418 | WDI_PNOScanReqParamsType |
| 5419 | PNO info passed to WDI form WDA |
| 5420 | ---------------------------------------------------------------------------*/ |
| 5421 | typedef struct |
| 5422 | { |
| 5423 | /* PNO Info Type, same as tPrefNetwListParams */ |
| 5424 | WDI_PNOScanReqType wdiPNOScanInfo; |
| 5425 | /* Request status callback offered by UMAC - it is called if the current req |
| 5426 | has returned PENDING as status; it delivers the status of sending the message |
| 5427 | over the BUS */ |
| 5428 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5429 | /* The user data passed in by UMAC, it will be sent back when the above |
| 5430 | function pointer will be called */ |
| 5431 | void* pUserData; |
| 5432 | } WDI_PNOScanReqParamsType; |
| 5433 | |
Manjunathappa Prakash | 4f1d5a5 | 2013-11-11 16:22:19 -0800 | [diff] [blame] | 5434 | /*--------------------------------------------------------------------------- |
| 5435 | WDI_SetRssiFilterReqParamsType |
| 5436 | PNO info passed to WDI form WDA |
| 5437 | ---------------------------------------------------------------------------*/ |
| 5438 | typedef struct |
| 5439 | { |
| 5440 | /* RSSI Threshold */ |
| 5441 | wpt_uint8 rssiThreshold; |
| 5442 | /* Request status callback offered by UMAC - it is called if the current req |
| 5443 | has returned PENDING as status; it delivers the status of sending the message |
| 5444 | over the BUS */ |
| 5445 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5446 | /* The user data passed in by UMAC, it will be sent back when the above |
| 5447 | function pointer will be called */ |
| 5448 | void* pUserData; |
| 5449 | } WDI_SetRssiFilterReqParamsType; |
| 5450 | |
| 5451 | /*--------------------------------------------------------------------------- |
| 5452 | WDI_UpdateScanParamsInfo |
| 5453 | ---------------------------------------------------------------------------*/ |
| 5454 | typedef struct |
| 5455 | { |
| 5456 | /*Is 11d enabled*/ |
| 5457 | wpt_uint8 b11dEnabled; |
| 5458 | |
| 5459 | /*Was UMAc able to find the regulatory domain*/ |
| 5460 | wpt_uint8 b11dResolved; |
| 5461 | |
| 5462 | /*Number of channel allowed in the regulatory domain*/ |
| 5463 | wpt_uint8 ucChannelCount; |
| 5464 | |
| 5465 | /*The actual channels allowed in the regulatory domain*/ |
| 5466 | wpt_uint8 aChannels[WDI_PNO_MAX_NETW_CHANNELS_EX]; |
| 5467 | |
| 5468 | /*Passive min channel time*/ |
| 5469 | wpt_uint16 usPassiveMinChTime; |
| 5470 | |
| 5471 | /*Passive max channel time*/ |
| 5472 | wpt_uint16 usPassiveMaxChTime; |
| 5473 | |
| 5474 | /*Active min channel time*/ |
| 5475 | wpt_uint16 usActiveMinChTime; |
| 5476 | |
| 5477 | /*Active max channel time*/ |
| 5478 | wpt_uint16 usActiveMaxChTime; |
| 5479 | |
| 5480 | /*channel bonding info*/ |
| 5481 | wpt_uint8 cbState; |
| 5482 | } WDI_UpdateScanParamsInfo; |
| 5483 | |
| 5484 | /*--------------------------------------------------------------------------- |
| 5485 | WDI_UpdateScanParamsInfoType |
| 5486 | UpdateScanParams info passed to WDI form WDA |
| 5487 | ---------------------------------------------------------------------------*/ |
| 5488 | typedef struct |
| 5489 | { |
| 5490 | /* PNO Info Type, same as tUpdateScanParams */ |
| 5491 | WDI_UpdateScanParamsInfo wdiUpdateScanParamsInfo; |
| 5492 | /* Request status callback offered by UMAC - it is called if the current req |
| 5493 | has returned PENDING as status; it delivers the status of sending the message |
| 5494 | over the BUS */ |
| 5495 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5496 | /* The user data passed in by UMAC, it will be sent back when the above |
| 5497 | function pointer will be called */ |
| 5498 | void* pUserData; |
| 5499 | } WDI_UpdateScanParamsInfoType; |
| 5500 | #endif //FEATURE_WLAN_SCAN_PNO |
| 5501 | |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 5502 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 5503 | |
Varun Reddy Yeturu | 52231ea | 2014-02-06 12:00:56 -0800 | [diff] [blame] | 5504 | #define WDI_ROAM_SCAN_MAX_CHANNELS 80 |
Manjunathappa Prakash | 4f1d5a5 | 2013-11-11 16:22:19 -0800 | [diff] [blame] | 5505 | #define WDI_ROAM_SCAN_MAX_PROBE_SIZE 450 |
Manjunathappa Prakash | 4f1d5a5 | 2013-11-11 16:22:19 -0800 | [diff] [blame] | 5506 | |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 5507 | typedef struct |
| 5508 | { |
| 5509 | /*The SSID of the preferred network*/ |
| 5510 | WDI_MacSSid ssId; |
| 5511 | wpt_uint8 currAPbssid[WDI_MAC_ADDR_LEN]; |
| 5512 | |
| 5513 | /*The authentication method of the preferred network*/ |
| 5514 | WDI_AuthType authentication; |
| 5515 | |
| 5516 | /*The encryption method of the preferred network*/ |
| 5517 | WDI_EdType encryption; |
| 5518 | WDI_EdType mcencryption; |
| 5519 | |
| 5520 | /*SSID broadcast type, normal, hidden or unknown*/ |
| 5521 | //WDI_SSIDBcastType wdiBcastNetworkType; |
| 5522 | |
| 5523 | /*channel count - 0 for all channels*/ |
| 5524 | wpt_uint8 ChannelCount; |
| 5525 | |
| 5526 | /*the actual channels*/ |
| 5527 | wpt_uint8 ChannelCache[WDI_ROAM_SCAN_MAX_CHANNELS]; |
| 5528 | |
| 5529 | } WDI_RoamNetworkType; |
| 5530 | |
| 5531 | typedef struct WDIMobilityDomainInfo |
| 5532 | { |
| 5533 | wpt_uint8 mdiePresent; |
| 5534 | wpt_uint16 mobilityDomain; |
| 5535 | } WDI_MobilityDomainInfo; |
| 5536 | |
| 5537 | /*--------------------------------------------------------------------------- |
| 5538 | WDI_RoamOffloadScanInfo |
| 5539 | ---------------------------------------------------------------------------*/ |
| 5540 | typedef struct |
| 5541 | { |
| 5542 | wpt_boolean RoamScanOffloadEnabled; |
Sameer Thalappil | 4ae66ec | 2013-11-05 14:17:35 -0800 | [diff] [blame] | 5543 | wpt_boolean MAWCEnabled; |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 5544 | wpt_uint8 LookupThreshold; |
Varun Reddy Yeturu | 6c5e25c | 2014-01-09 21:55:37 -0800 | [diff] [blame] | 5545 | wpt_uint8 RxSensitivityThreshold; |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 5546 | wpt_uint8 RoamRssiDiff; |
| 5547 | wpt_uint8 ChannelCacheType; |
| 5548 | wpt_uint8 Command; |
| 5549 | wpt_uint8 StartScanReason; |
| 5550 | wpt_uint16 NeighborScanTimerPeriod; |
| 5551 | wpt_uint16 NeighborRoamScanRefreshPeriod; |
| 5552 | wpt_uint16 NeighborScanChannelMinTime; |
| 5553 | wpt_uint16 NeighborScanChannelMaxTime; |
| 5554 | wpt_uint16 EmptyRefreshScanPeriod; |
| 5555 | wpt_uint8 ValidChannelCount; |
| 5556 | wpt_uint8 ValidChannelList[WDI_ROAM_SCAN_MAX_CHANNELS]; |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 5557 | wpt_boolean IsESEEnabled; |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 5558 | /*Probe template for 2.4GHz band*/ |
| 5559 | wpt_uint16 us24GProbeSize; |
| 5560 | wpt_uint8 a24GProbeTemplate[WDI_ROAM_SCAN_MAX_PROBE_SIZE]; |
| 5561 | |
| 5562 | /*Probe template for 5GHz band*/ |
| 5563 | wpt_uint16 us5GProbeSize; |
| 5564 | wpt_uint8 a5GProbeTemplate[WDI_ROAM_SCAN_MAX_PROBE_SIZE]; |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 5565 | /*LFR BG Scan will currently look for only one network to which it is initially connected. |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 5566 | * As per requirement, later, the following structure can be used as an array of networks.*/ |
| 5567 | WDI_RoamNetworkType ConnectedNetwork; |
| 5568 | WDI_MobilityDomainInfo MDID; |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 5569 | wpt_uint8 nProbes; |
| 5570 | wpt_uint16 HomeAwayTime; |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 5571 | } WDI_RoamOffloadScanInfo; |
| 5572 | |
| 5573 | typedef struct |
| 5574 | { |
| 5575 | /* Start Roam Candidate Lookup Offload Back Ground Info Type */ |
| 5576 | WDI_RoamOffloadScanInfo wdiRoamOffloadScanInfo; |
| 5577 | /* Request status callback offered by UMAC - it is called if the current req |
| 5578 | has returned PENDING as status; it delivers the status of sending the message |
| 5579 | over the BUS */ |
| 5580 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5581 | /* The user data passed in by UMAC, it will be sent back when the above |
| 5582 | function pointer will be called */ |
| 5583 | void* pUserData; |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 5584 | } WDI_RoamScanOffloadReqParamsType; |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame] | 5585 | |
| 5586 | typedef struct |
| 5587 | { |
| 5588 | wpt_uint32 requestId; |
| 5589 | wpt_uint32 rateUpThreshold; |
| 5590 | wpt_uint32 rateDownThreshold; |
| 5591 | wpt_uint32 isPERRoamCCAEnabled; |
| 5592 | wpt_uint32 waitPeriodForNextPERScan; |
| 5593 | wpt_uint32 PERtimerThreshold; |
| 5594 | wpt_uint32 PERroamTriggerPercent; |
Kapil Gupta | c69c28a | 2016-08-25 14:11:17 +0530 | [diff] [blame^] | 5595 | wpt_int16 PERRoamFullScanThreshold; |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame] | 5596 | } WDI_PERRoamOffloadScanInfo; |
| 5597 | |
| 5598 | typedef struct |
| 5599 | { |
| 5600 | wpt_boolean roamScanReq; // Request info for all peers |
| 5601 | } WDI_PERRoamTriggerScanInfo; |
Manjunathappa Prakash | 4f1d5a5 | 2013-11-11 16:22:19 -0800 | [diff] [blame] | 5602 | #endif //WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5603 | |
| 5604 | /*--------------------------------------------------------------------------- |
Sandeep Puligilla | 8b8b74b | 2014-02-10 16:39:05 +0530 | [diff] [blame] | 5605 | WDI_HT40ObssScanIndType |
| 5606 | ---------------------------------------------------------------------------*/ |
| 5607 | typedef struct |
| 5608 | { |
| 5609 | wpt_uint8 cmdType; |
| 5610 | wpt_uint8 scanType; |
| 5611 | wpt_uint16 OBSSScanPassiveDwellTime; // In TUs |
| 5612 | wpt_uint16 OBSSScanActiveDwellTime; // In TUs |
| 5613 | wpt_uint16 BSSChannelWidthTriggerScanInterval; // In seconds |
| 5614 | wpt_uint16 OBSSScanPassiveTotalPerChannel; // In TUs |
| 5615 | wpt_uint16 OBSSScanActiveTotalPerChannel; // In TUs |
| 5616 | wpt_uint16 BSSWidthChannelTransitionDelayFactor; |
| 5617 | wpt_uint16 OBSSScanActivityThreshold; |
| 5618 | wpt_uint8 selfStaIdx; |
| 5619 | wpt_uint8 bssIdx; |
| 5620 | wpt_uint8 fortyMHZIntolerent; |
| 5621 | wpt_uint8 channelCount; |
| 5622 | wpt_uint8 channels[WDI_ROAM_SCAN_MAX_CHANNELS]; |
| 5623 | wpt_uint8 currentOperatingClass; |
| 5624 | wpt_uint16 ieFieldLen; |
| 5625 | wpt_uint8 ieField[WDI_ROAM_SCAN_MAX_PROBE_SIZE]; |
| 5626 | } WDI_HT40ObssScanIndType; |
| 5627 | |
| 5628 | |
| 5629 | /*--------------------------------------------------------------------------- |
| 5630 | WDI_OBSSScanIndParamsType |
| 5631 | ---------------------------------------------------------------------------*/ |
| 5632 | typedef struct |
| 5633 | { |
| 5634 | WDI_HT40ObssScanIndType wdiHT40ObssScanParam; |
| 5635 | |
| 5636 | /*Request status callback offered by UMAC - it is called if the current |
| 5637 | req has returned PENDING as status; it delivers the status of sending |
| 5638 | the message over the BUS */ |
| 5639 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5640 | |
| 5641 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5642 | function pointer will be called */ |
| 5643 | void* pUserData; |
| 5644 | |
| 5645 | }WDI_HT40ObssScanParamsType; |
| 5646 | |
| 5647 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5648 | WDI_UpdateScanParamsInfo |
| 5649 | ---------------------------------------------------------------------------*/ |
| 5650 | typedef struct |
| 5651 | { |
| 5652 | /* Ignore DTIM */ |
| 5653 | wpt_uint32 uIgnoreDTIM; |
| 5654 | |
| 5655 | /*DTIM Period*/ |
| 5656 | wpt_uint32 uDTIMPeriod; |
| 5657 | |
| 5658 | /* Listen Interval */ |
| 5659 | wpt_uint32 uListenInterval; |
| 5660 | |
| 5661 | /* Broadcast Multicas Filter */ |
| 5662 | wpt_uint32 uBcastMcastFilter; |
| 5663 | |
| 5664 | /* Beacon Early Termination */ |
| 5665 | wpt_uint32 uEnableBET; |
| 5666 | |
| 5667 | /* Beacon Early Termination Interval */ |
| 5668 | wpt_uint32 uBETInterval; |
| 5669 | |
Yue Ma | c24062f | 2013-05-13 17:01:29 -0700 | [diff] [blame] | 5670 | /* MAX LI for modulated DTIM */ |
| 5671 | wpt_uint32 uMaxLIModulatedDTIM; |
| 5672 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5673 | } WDI_SetPowerParamsInfo; |
| 5674 | |
| 5675 | /*--------------------------------------------------------------------------- |
| 5676 | WDI_UpdateScanParamsInfoType |
| 5677 | UpdateScanParams info passed to WDI form WDA |
| 5678 | ---------------------------------------------------------------------------*/ |
| 5679 | typedef struct |
| 5680 | { |
| 5681 | /* Power params Info Type, same as tSetPowerParamsReq */ |
| 5682 | WDI_SetPowerParamsInfo wdiSetPowerParamsInfo; |
| 5683 | /* Request status callback offered by UMAC - it is called if the current req |
| 5684 | has returned PENDING as status; it delivers the status of sending the message |
| 5685 | over the BUS */ |
| 5686 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5687 | /* The user data passed in by UMAC, it will be sent back when the above |
| 5688 | function pointer will be called */ |
| 5689 | void* pUserData; |
| 5690 | }WDI_SetPowerParamsReqParamsType; |
| 5691 | |
| 5692 | /*--------------------------------------------------------------------------- |
| 5693 | WDI_SetTxPerTrackingConfType |
| 5694 | Wowl add ptrn info passed to WDA form UMAC |
| 5695 | ---------------------------------------------------------------------------*/ |
| 5696 | typedef struct |
| 5697 | { |
| 5698 | wpt_uint8 ucTxPerTrackingEnable; /* 0: disable, 1:enable */ |
| 5699 | wpt_uint8 ucTxPerTrackingPeriod; /* Check period, unit is sec. */ |
| 5700 | wpt_uint8 ucTxPerTrackingRatio; /* (Fail TX packet)/(Total TX packet) ratio, the unit is 10%. */ |
| 5701 | wpt_uint32 uTxPerTrackingWatermark; /* A watermark of check number, once the tx packet exceed this number, we do the check, default is 5 */ |
| 5702 | } WDI_TxPerTrackingParamType; |
| 5703 | |
| 5704 | /*--------------------------------------------------------------------------- |
| 5705 | WDI_SetTxPerTrackingReqParamsType |
| 5706 | Tx PER Tracking parameters passed to WDI from WDA |
| 5707 | ---------------------------------------------------------------------------*/ |
| 5708 | typedef struct |
| 5709 | { |
| 5710 | /* Configurations for Tx PER Tracking */ |
| 5711 | WDI_TxPerTrackingParamType wdiTxPerTrackingParam; |
| 5712 | /*Request status callback offered by UMAC - it is called if the current req |
| 5713 | has returned PENDING as status; it delivers the status of sending the message |
| 5714 | over the BUS */ |
| 5715 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5716 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5717 | function pointer will be called */ |
| 5718 | void* pUserData; |
| 5719 | }WDI_SetTxPerTrackingReqParamsType; |
| 5720 | |
| 5721 | #ifdef WLAN_FEATURE_PACKET_FILTERING |
| 5722 | /*--------------------------------------------------------------------------- |
| 5723 | Packet Filtering Parameters |
| 5724 | ---------------------------------------------------------------------------*/ |
| 5725 | |
| 5726 | #define WDI_IPV4_ADDR_LEN 4 |
| 5727 | #define WDI_MAC_ADDR_LEN 6 |
| 5728 | #define WDI_MAX_FILTER_TEST_DATA_LEN 8 |
| 5729 | #define WDI_MAX_NUM_MULTICAST_ADDRESS 240 |
| 5730 | #define WDI_MAX_NUM_FILTERS 20 |
| 5731 | #define WDI_MAX_NUM_TESTS_PER_FILTER 10 |
| 5732 | |
| 5733 | // |
| 5734 | // Receive Filter Parameters |
| 5735 | // |
| 5736 | typedef enum |
| 5737 | { |
| 5738 | WDI_RCV_FILTER_TYPE_INVALID, |
| 5739 | WDI_RCV_FILTER_TYPE_FILTER_PKT, |
| 5740 | WDI_RCV_FILTER_TYPE_BUFFER_PKT, |
| 5741 | WDI_RCV_FILTER_TYPE_MAX_ENUM_SIZE |
| 5742 | }WDI_ReceivePacketFilterType; |
| 5743 | |
| 5744 | typedef enum |
| 5745 | { |
| 5746 | WDI_FILTER_HDR_TYPE_INVALID, |
| 5747 | WDI_FILTER_HDR_TYPE_MAC, |
| 5748 | WDI_FILTER_HDR_TYPE_ARP, |
| 5749 | WDI_FILTER_HDR_TYPE_IPV4, |
| 5750 | WDI_FILTER_HDR_TYPE_IPV6, |
| 5751 | WDI_FILTER_HDR_TYPE_UDP, |
| 5752 | WDI_FILTER_HDR_TYPE_MAX |
| 5753 | }WDI_RcvPktFltProtocolType; |
| 5754 | |
| 5755 | typedef enum |
| 5756 | { |
| 5757 | WDI_FILTER_CMP_TYPE_INVALID, |
| 5758 | WDI_FILTER_CMP_TYPE_EQUAL, |
| 5759 | WDI_FILTER_CMP_TYPE_MASK_EQUAL, |
| 5760 | WDI_FILTER_CMP_TYPE_NOT_EQUAL, |
| 5761 | WDI_FILTER_CMP_TYPE_MASK_NOT_EQUAL, |
| 5762 | WDI_FILTER_CMP_TYPE_MAX |
| 5763 | }WDI_RcvPktFltCmpFlagType; |
| 5764 | |
| 5765 | typedef struct |
| 5766 | { |
| 5767 | WDI_RcvPktFltProtocolType protocolLayer; |
| 5768 | WDI_RcvPktFltCmpFlagType cmpFlag; |
| 5769 | /* Length of the data to compare */ |
| 5770 | wpt_uint16 dataLength; |
| 5771 | /* from start of the respective frame header */ |
| 5772 | wpt_uint8 dataOffset; |
| 5773 | wpt_uint8 reserved; /* Reserved field */ |
| 5774 | /* Data to compare */ |
| 5775 | wpt_uint8 compareData[WDI_MAX_FILTER_TEST_DATA_LEN]; |
| 5776 | /* Mask to be applied on the received packet data before compare */ |
| 5777 | wpt_uint8 dataMask[WDI_MAX_FILTER_TEST_DATA_LEN]; |
| 5778 | }WDI_RcvPktFilterFieldParams; |
| 5779 | |
| 5780 | typedef struct |
| 5781 | { |
| 5782 | wpt_uint8 filterId; |
| 5783 | wpt_uint8 filterType; |
| 5784 | wpt_uint32 numFieldParams; |
| 5785 | wpt_uint32 coalesceTime; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 5786 | wpt_macAddr selfMacAddr; |
| 5787 | wpt_macAddr bssId; |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5788 | WDI_RcvPktFilterFieldParams paramsData[1]; |
| 5789 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5790 | }WDI_RcvPktFilterCfgType; |
| 5791 | |
| 5792 | typedef struct |
| 5793 | { |
| 5794 | /*Request status callback offered by UMAC - it is called if the current |
| 5795 | req has returned PENDING as status; it delivers the status of sending |
| 5796 | the message over the BUS */ |
| 5797 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5798 | |
| 5799 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5800 | function pointer will be called */ |
| 5801 | void* pUserData; |
| 5802 | |
| 5803 | // Variable length packet filter field params |
| 5804 | WDI_RcvPktFilterCfgType wdiPktFilterCfg; |
| 5805 | } WDI_SetRcvPktFilterReqParamsType; |
| 5806 | |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5807 | typedef struct |
| 5808 | { |
| 5809 | /*Result of the operation*/ |
| 5810 | WDI_Status wdiStatus; |
| 5811 | /* BSSIDX of the Set Receive Filter |
| 5812 | */ |
| 5813 | wpt_uint8 bssIdx; |
| 5814 | } WDI_SetRcvPktFilterRspParamsType; |
| 5815 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5816 | // |
| 5817 | // Filter Packet Match Count Parameters |
| 5818 | // |
| 5819 | typedef struct |
| 5820 | { |
| 5821 | /*Request status callback offered by UMAC - it is called if the current |
| 5822 | req has returned PENDING as status; it delivers the status of sending |
| 5823 | the message over the BUS */ |
| 5824 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5825 | |
| 5826 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5827 | function pointer will be called */ |
| 5828 | void* pUserData; |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5829 | |
| 5830 | /* BSSID of the Match count |
| 5831 | */ |
| 5832 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5833 | } WDI_RcvFltPktMatchCntReqParamsType; |
| 5834 | |
| 5835 | typedef struct |
| 5836 | { |
| 5837 | wpt_uint8 filterId; |
| 5838 | wpt_uint32 matchCnt; |
| 5839 | } WDI_RcvFltPktMatchCnt; |
| 5840 | |
| 5841 | typedef struct |
| 5842 | { |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5843 | /*Result of the operation*/ |
| 5844 | WDI_Status wdiStatus; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5845 | |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5846 | /* BSSIDX of the Match count response |
| 5847 | */ |
| 5848 | wpt_uint8 bssIdx; |
| 5849 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5850 | } WDI_RcvFltPktMatchCntRspParamsType; |
| 5851 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5852 | // |
| 5853 | // Receive Filter Clear Parameters |
| 5854 | // |
| 5855 | typedef struct |
| 5856 | { |
| 5857 | wpt_uint32 status; /* only valid for response message */ |
| 5858 | wpt_uint8 filterId; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 5859 | wpt_macAddr selfMacAddr; |
| 5860 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5861 | }WDI_RcvFltPktClearParam; |
| 5862 | |
| 5863 | typedef struct |
| 5864 | { |
| 5865 | WDI_RcvFltPktClearParam filterClearParam; |
| 5866 | /*Request status callback offered by UMAC - it is called if the current |
| 5867 | req has returned PENDING as status; it delivers the status of sending |
| 5868 | the message over the BUS */ |
| 5869 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5870 | |
| 5871 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5872 | function pointer will be called */ |
| 5873 | void* pUserData; |
| 5874 | } WDI_RcvFltPktClearReqParamsType; |
| 5875 | |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5876 | typedef struct |
| 5877 | { |
| 5878 | /*Result of the operation*/ |
| 5879 | WDI_Status wdiStatus; |
| 5880 | /* BSSIDX of the Match count response |
| 5881 | */ |
| 5882 | wpt_uint8 bssIdx; |
| 5883 | |
| 5884 | } WDI_RcvFltPktClearRspParamsType; |
| 5885 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5886 | // |
| 5887 | // Multicast Address List Parameters |
| 5888 | // |
| 5889 | typedef struct |
| 5890 | { |
| 5891 | wpt_uint32 ulMulticastAddrCnt; |
| 5892 | wpt_macAddr multicastAddr[WDI_MAX_NUM_MULTICAST_ADDRESS]; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 5893 | wpt_macAddr selfMacAddr; |
| 5894 | wpt_macAddr bssId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5895 | } WDI_RcvFltMcAddrListType; |
| 5896 | |
| 5897 | typedef struct |
| 5898 | { |
| 5899 | WDI_RcvFltMcAddrListType mcAddrList; |
| 5900 | /*Request status callback offered by UMAC - it is called if the current |
| 5901 | req has returned PENDING as status; it delivers the status of sending |
| 5902 | the message over the BUS */ |
| 5903 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5904 | |
| 5905 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5906 | function pointer will be called */ |
| 5907 | void* pUserData; |
| 5908 | } WDI_RcvFltPktSetMcListReqParamsType; |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 5909 | |
| 5910 | typedef struct |
| 5911 | { |
| 5912 | /*Result of the operation*/ |
| 5913 | WDI_Status wdiStatus; |
| 5914 | /* BSSIDX of the Match count response |
| 5915 | */ |
| 5916 | wpt_uint8 bssIdx; |
| 5917 | } WDI_RcvFltPktSetMcListRspParamsType; |
| 5918 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5919 | #endif // WLAN_FEATURE_PACKET_FILTERING |
| 5920 | |
| 5921 | /*--------------------------------------------------------------------------- |
| 5922 | WDI_HALDumpCmdReqInfoType |
| 5923 | ---------------------------------------------------------------------------*/ |
| 5924 | typedef struct |
| 5925 | { |
| 5926 | /*command*/ |
| 5927 | wpt_uint32 command; |
| 5928 | |
| 5929 | /*Arguments*/ |
| 5930 | wpt_uint32 argument1; |
| 5931 | wpt_uint32 argument2; |
| 5932 | wpt_uint32 argument3; |
| 5933 | wpt_uint32 argument4; |
| 5934 | |
| 5935 | }WDI_HALDumpCmdReqInfoType; |
| 5936 | |
| 5937 | /*--------------------------------------------------------------------------- |
| 5938 | WDI_HALDumpCmdReqParamsType |
| 5939 | ---------------------------------------------------------------------------*/ |
| 5940 | typedef struct |
| 5941 | { |
| 5942 | /*NV Blob Info*/ |
| 5943 | WDI_HALDumpCmdReqInfoType wdiHALDumpCmdInfoType; |
| 5944 | |
| 5945 | /*Request status callback offered by UMAC - it is called if the current |
| 5946 | req has returned PENDING as status; it delivers the status of sending |
| 5947 | the message over the BUS */ |
| 5948 | WDI_ReqStatusCb wdiReqStatusCB; |
| 5949 | |
| 5950 | /*The user data passed in by UMAC, it will be sent back when the above |
| 5951 | function pointer will be called */ |
| 5952 | void* pUserData; |
| 5953 | |
| 5954 | }WDI_HALDumpCmdReqParamsType; |
| 5955 | |
| 5956 | |
| 5957 | /*--------------------------------------------------------------------------- |
| 5958 | WDI_HALDumpCmdRspParamsType |
| 5959 | ---------------------------------------------------------------------------*/ |
| 5960 | typedef struct |
| 5961 | { |
| 5962 | /*Result of the operation*/ |
| 5963 | WDI_Status wdiStatus; |
| 5964 | |
| 5965 | /* length of the buffer */ |
| 5966 | wpt_uint16 usBufferLen; |
| 5967 | |
| 5968 | /* Buffer */ |
| 5969 | wpt_uint8 *pBuffer; |
| 5970 | }WDI_HALDumpCmdRspParamsType; |
| 5971 | |
| 5972 | |
| 5973 | /*--------------------------------------------------------------------------- |
| 5974 | WDI_SetTmLevelReqType |
| 5975 | ---------------------------------------------------------------------------*/ |
| 5976 | typedef struct |
| 5977 | { |
| 5978 | wpt_uint16 tmMode; |
| 5979 | wpt_uint16 tmLevel; |
| 5980 | void* pUserData; |
| 5981 | }WDI_SetTmLevelReqType; |
| 5982 | |
| 5983 | /*--------------------------------------------------------------------------- |
| 5984 | WDI_SetTmLevelRspType |
| 5985 | ---------------------------------------------------------------------------*/ |
| 5986 | typedef struct |
| 5987 | { |
| 5988 | WDI_Status wdiStatus; |
| 5989 | void* pUserData; |
| 5990 | }WDI_SetTmLevelRspType; |
| 5991 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 5992 | #ifdef FEATURE_WLAN_LPHB |
| 5993 | /*--------------------------------------------------------------------------- |
| 5994 | WDI_LPHBConfigParamsType |
| 5995 | ---------------------------------------------------------------------------*/ |
| 5996 | typedef struct |
| 5997 | { |
| 5998 | void* pLphsConfIndData; |
| 5999 | }WDI_LPHBConfigParamsType; |
| 6000 | #endif /* FEATURE_WLAN_LPHB */ |
| 6001 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 6002 | /*--------------------------------------------------------------------------- |
| 6003 | WDI_AddPeriodicTxPtrnInfoType |
| 6004 | ---------------------------------------------------------------------------*/ |
| 6005 | typedef struct |
| 6006 | { |
| 6007 | /* MAC Address for the adapter */ |
| 6008 | wpt_macAddr macAddr; |
| 6009 | |
| 6010 | wpt_uint8 ucPtrnId; // Pattern ID |
| 6011 | wpt_uint16 ucPtrnSize; // Pattern size |
| 6012 | wpt_uint32 usPtrnIntervalMs; // In msec |
| 6013 | wpt_uint8 ucPattern[PERIODIC_TX_PTRN_MAX_SIZE]; // Pattern buffer |
| 6014 | } WDI_AddPeriodicTxPtrnInfoType; |
| 6015 | |
| 6016 | /*--------------------------------------------------------------------------- |
| 6017 | WDI_DelPeriodicTxPtrnInfoType |
| 6018 | ---------------------------------------------------------------------------*/ |
| 6019 | typedef struct |
| 6020 | { |
| 6021 | /* MAC Address for the adapter */ |
| 6022 | wpt_macAddr macAddr; |
| 6023 | |
| 6024 | /* Bitmap of pattern IDs that needs to be deleted */ |
| 6025 | wpt_uint32 ucPatternIdBitmap; |
| 6026 | } WDI_DelPeriodicTxPtrnInfoType; |
| 6027 | |
| 6028 | /*--------------------------------------------------------------------------- |
| 6029 | WDI_AddPeriodicTxPtrnParamsType |
| 6030 | ---------------------------------------------------------------------------*/ |
| 6031 | typedef struct |
| 6032 | { |
| 6033 | WDI_AddPeriodicTxPtrnInfoType wdiAddPeriodicTxPtrnParams; |
| 6034 | |
| 6035 | /*Request status callback offered by UMAC - it is called if the current |
| 6036 | req has returned PENDING as status; it delivers the status of sending |
| 6037 | the message over the BUS */ |
| 6038 | WDI_ReqStatusCb wdiReqStatusCB; |
| 6039 | |
| 6040 | /*The user data passed in by UMAC, it will be sent back when the above |
| 6041 | function pointer will be called */ |
| 6042 | void* pUserData; |
| 6043 | } WDI_AddPeriodicTxPtrnParamsType; |
| 6044 | |
| 6045 | /*--------------------------------------------------------------------------- |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 6046 | WDI_NanRequestType |
| 6047 | ---------------------------------------------------------------------------*/ |
| 6048 | typedef struct |
| 6049 | { |
| 6050 | wpt_uint16 request_data_len; |
| 6051 | wpt_uint8 request_data[1]; |
| 6052 | } WDI_NanRequestType; |
| 6053 | |
| 6054 | |
| 6055 | /*--------------------------------------------------------------------------- |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 6056 | WDI_DelPeriodicTxPtrnParamsType |
| 6057 | ---------------------------------------------------------------------------*/ |
| 6058 | typedef struct |
| 6059 | { |
| 6060 | WDI_DelPeriodicTxPtrnInfoType wdiDelPeriodicTxPtrnParams; |
| 6061 | |
| 6062 | /*Request status callback offered by UMAC - it is called if the current |
| 6063 | req has returned PENDING as status; it delivers the status of sending |
| 6064 | the message over the BUS */ |
| 6065 | WDI_ReqStatusCb wdiReqStatusCB; |
| 6066 | |
| 6067 | /*The user data passed in by UMAC, it will be sent back when the above |
| 6068 | function pointer will be called */ |
| 6069 | void* pUserData; |
| 6070 | } WDI_DelPeriodicTxPtrnParamsType; |
| 6071 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 6072 | #ifdef WLAN_FEATURE_RMC |
| 6073 | /*--------------------------------------------------------------------------- |
| 6074 | WDI_IbssPeerInfoParams |
| 6075 | ---------------------------------------------------------------------------*/ |
| 6076 | typedef struct |
| 6077 | { |
| 6078 | wpt_uint8 wdiStaIdx; //StaIdx |
| 6079 | wpt_uint32 wdiTxRate; //Tx Rate |
| 6080 | wpt_uint32 wdiMcsIndex; //MCS Index |
| 6081 | wpt_uint32 wdiTxRateFlags; //TxRate Flags |
| 6082 | wpt_int8 wdiRssi; //RSSI |
| 6083 | }WDI_IbssPeerInfoParams; |
| 6084 | |
| 6085 | /*--------------------------------------------------------------------------- |
| 6086 | WDI_IbssPeerInfoRspParams |
| 6087 | ---------------------------------------------------------------------------*/ |
| 6088 | typedef struct |
| 6089 | { |
| 6090 | wpt_uint32 wdiStatus; // Return status |
| 6091 | wpt_uint8 wdiNumPeers; // Number of peers |
| 6092 | WDI_IbssPeerInfoParams *wdiPeerInfoParams; // Peer Info parameters |
| 6093 | }WDI_IbssPeerInfoRspParams; |
| 6094 | |
| 6095 | /*--------------------------------------------------------------------------- |
| 6096 | WDI_GetIbssPeerInfoRspType |
| 6097 | ---------------------------------------------------------------------------*/ |
| 6098 | typedef struct |
| 6099 | { |
| 6100 | WDI_IbssPeerInfoRspParams wdiPeerInfoRspParams; |
| 6101 | |
| 6102 | /*Request status callback offered by UMAC - it is called if the current |
| 6103 | req has returned PENDING as status; it delivers the status of sending |
| 6104 | the message over the BUS */ |
| 6105 | WDI_ReqStatusCb wdiReqStatusCB; |
| 6106 | |
| 6107 | /*The user data passed in by UMAC, it will be sent back when the above |
| 6108 | function pointer will be called */ |
| 6109 | void* pUserData; |
| 6110 | }WDI_GetIbssPeerInfoRspType; |
| 6111 | |
| 6112 | /*--------------------------------------------------------------------------- |
| 6113 | WDI_IbssPeerInfoReqType |
| 6114 | ---------------------------------------------------------------------------*/ |
| 6115 | typedef struct |
| 6116 | { |
| 6117 | wpt_boolean wdiAllPeerInfoReqd; // Request info for all peers |
| 6118 | wpt_uint8 wdiStaIdx; // STA Index |
| 6119 | wpt_uint8 wdiBssIdx; // BSS Index |
| 6120 | }WDI_IbssPeerInfoReqType; |
| 6121 | |
| 6122 | #endif /* WLAN_FEATURE_RMC */ |
| 6123 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6124 | #ifdef WLAN_FEATURE_EXTSCAN |
| 6125 | |
| 6126 | #define WDI_WLAN_EXTSCAN_MAX_CHANNELS 16 |
| 6127 | #define WDI_WLAN_EXTSCAN_MAX_BUCKETS 16 |
| 6128 | #define WDI_WLAN_EXTSCAN_MAX_HOTLIST_APS 128 |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 6129 | #define WDI_WLAN_EXTSCAN_MAX_HOTLIST_SSID 8 |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6130 | |
| 6131 | typedef enum |
| 6132 | { |
| 6133 | WDI_WIFI_BAND_UNSPECIFIED, |
| 6134 | WDI_WIFI_BAND_BG = 1, // 2.4 GHz |
| 6135 | WDI_WIFI_BAND_A = 2, // 5 GHz without DFS |
| 6136 | WDI_WIFI_BAND_ABG = 3, // 2.4 GHz + 5 GHz; no DFS |
| 6137 | WDI_WIFI_BAND_A_DFS = 4, // 5 GHz DFS only |
| 6138 | WDI_WIFI_BAND_A_WITH_DFS = 6, // 5 GHz with DFS |
| 6139 | WDI_WIFI_BAND_ABG_WITH_DFS = 7, // 2.4 GHz + 5 GHz with DFS |
| 6140 | |
| 6141 | /* Keep it last */ |
| 6142 | WDI_WIFI_BAND_MAX |
| 6143 | } WDI_WifiBand; |
| 6144 | |
| 6145 | typedef struct |
| 6146 | { |
| 6147 | wpt_uint32 channel; // frequency |
| 6148 | wpt_uint32 dwellTimeMs; // dwell time hint |
| 6149 | wpt_uint8 passive; // 0 => active, |
| 6150 | // 1 => passive scan; ignored for DFS |
| 6151 | wpt_uint8 chnlClass; |
| 6152 | } WDI_WifiScanChannelSpec; |
| 6153 | |
| 6154 | typedef struct |
| 6155 | { |
| 6156 | wpt_uint8 bucket; // bucket index, 0 based |
| 6157 | WDI_WifiBand band; // when UNSPECIFIED, use channel list |
| 6158 | |
| 6159 | /* |
| 6160 | * desired period, in millisecond; if this is too |
| 6161 | * low, the firmware should choose to generate results as fast as |
| 6162 | * it can instead of failing the command byte |
| 6163 | */ |
| 6164 | wpt_uint32 period; |
| 6165 | |
| 6166 | /* |
| 6167 | * 0 => normal reporting (reporting rssi history |
| 6168 | * only, when rssi history buffer is % full) |
| 6169 | * 1 => same as 0 + report a scan completion event after scanning |
| 6170 | * this bucket |
| 6171 | * 2 => same as 1 + forward scan results (beacons/probe responses + IEs) |
| 6172 | * in real time to HAL |
| 6173 | */ |
| 6174 | wpt_uint8 reportEvents; |
| 6175 | |
Padma, Santhosh Kumar | 7b9190d | 2015-08-17 17:45:29 +0530 | [diff] [blame] | 6176 | wpt_uint32 max_period; |
| 6177 | wpt_uint32 exponent; |
| 6178 | wpt_uint32 step_count; |
| 6179 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6180 | wpt_uint8 numChannels; |
| 6181 | |
| 6182 | /* |
| 6183 | * channels to scan; these may include DFS channels |
| 6184 | */ |
| 6185 | WDI_WifiScanChannelSpec channels[WDI_WLAN_EXTSCAN_MAX_CHANNELS]; |
| 6186 | } WDI_WifiScanBucketSpec; |
| 6187 | |
| 6188 | typedef struct |
| 6189 | { |
| 6190 | wpt_uint32 requestId; |
| 6191 | wpt_uint8 sessionId; |
| 6192 | wpt_uint32 basePeriod; // base timer period |
| 6193 | wpt_uint32 maxAPperScan; |
| 6194 | |
| 6195 | /* in %, when buffer is this much full, wake up host */ |
Padma, Santhosh Kumar | 7b9190d | 2015-08-17 17:45:29 +0530 | [diff] [blame] | 6196 | wpt_uint32 reportThresholdPercent; |
| 6197 | wpt_uint32 reportThresholdNumScans; |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6198 | |
Padma, Santhosh Kumar | 7b9190d | 2015-08-17 17:45:29 +0530 | [diff] [blame] | 6199 | wpt_uint32 homeAwayTime; //in units of milliseconds |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6200 | wpt_uint8 numBuckets; |
| 6201 | WDI_WifiScanBucketSpec buckets[WDI_WLAN_EXTSCAN_MAX_BUCKETS]; |
| 6202 | } WDI_EXTScanStartReqParams; |
| 6203 | |
| 6204 | typedef struct |
| 6205 | { |
| 6206 | wpt_uint32 requestId; |
| 6207 | wpt_uint8 sessionId; |
| 6208 | } WDI_EXTScanStopReqParams; |
| 6209 | |
| 6210 | typedef struct |
| 6211 | { |
| 6212 | wpt_uint32 requestId; |
| 6213 | wpt_uint8 sessionId; |
| 6214 | |
| 6215 | /* |
| 6216 | * 1 return cached results and flush it |
| 6217 | * 0 return cached results and do not flush |
| 6218 | */ |
| 6219 | wpt_boolean flush; |
| 6220 | } WDI_EXTScanGetCachedResultsReqParams; |
| 6221 | |
| 6222 | typedef struct |
| 6223 | { |
| 6224 | wpt_uint32 requestId; |
| 6225 | wpt_uint8 sessionId; |
| 6226 | } WDI_EXTScanGetCapabilitiesReqParams; |
| 6227 | |
| 6228 | typedef struct |
| 6229 | { |
| 6230 | wpt_uint8 bssid[6]; /* BSSID */ |
| 6231 | wpt_int32 low; // low threshold |
| 6232 | wpt_int32 high; // high threshold |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6233 | } WDI_APThresholdParam; |
| 6234 | |
| 6235 | typedef struct |
| 6236 | { |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 6237 | WDI_MacSSid ssid; /* SSID */ |
| 6238 | wpt_uint8 band; /* band */ |
| 6239 | wpt_int32 lowRssiThreshold; /* low threshold */ |
| 6240 | wpt_int32 highRssiThreshold; /* high threshold */ |
| 6241 | } WDI_SSIDThresholdParam; |
| 6242 | |
| 6243 | typedef struct |
| 6244 | { |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6245 | wpt_int32 requestId; |
| 6246 | wpt_int8 sessionId; // session Id mapped to vdev_id |
Padma, Santhosh Kumar | 37f4fd1 | 2015-08-19 14:37:37 +0530 | [diff] [blame] | 6247 | wpt_uint32 lostBssidSampleSize; |
| 6248 | wpt_int32 numBssid; // number of hotlist APs |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6249 | WDI_APThresholdParam ap[WDI_WLAN_EXTSCAN_MAX_HOTLIST_APS]; // hotlist APs |
| 6250 | } WDI_EXTScanSetBSSIDHotlistReqParams; |
| 6251 | |
| 6252 | typedef struct |
| 6253 | { |
| 6254 | wpt_uint32 requestId; |
| 6255 | wpt_uint8 sessionId; |
| 6256 | } WDI_EXTScanResetBSSIDHotlistReqParams; |
| 6257 | |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 6258 | typedef struct |
| 6259 | { |
Padma, Santhosh Kumar | c1f7f05 | 2015-08-26 12:29:01 +0530 | [diff] [blame] | 6260 | wpt_boolean pause; |
| 6261 | wpt_uint32 reserved; |
| 6262 | } WDI_HighPriorityDataInfoIndParams; |
| 6263 | |
| 6264 | typedef struct |
| 6265 | { |
| 6266 | wpt_int32 requestId; |
| 6267 | wpt_int8 sessionId; // session Id mapped to vdev_id |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 6268 | wpt_uint32 lostSsidSampleSize; |
| 6269 | wpt_uint32 numSsid; // number of hotlist APs |
| 6270 | WDI_SSIDThresholdParam ssid[WDI_WLAN_EXTSCAN_MAX_HOTLIST_SSID]; // hotlist SSIDs |
| 6271 | } WDI_EXTScanSetSSIDHotlistReqParams; |
| 6272 | |
| 6273 | typedef struct |
| 6274 | { |
| 6275 | wpt_uint32 requestId; |
| 6276 | wpt_uint8 sessionId; |
| 6277 | } WDI_EXTScanResetSSIDHotlistReqParams; |
| 6278 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6279 | #endif /* WLAN_FEATURE_EXTSCAN */ |
| 6280 | |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 6281 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 6282 | typedef struct |
| 6283 | { |
| 6284 | wpt_uint32 reqId; |
Dino Mycle | d3d5002 | 2014-07-07 12:58:25 +0530 | [diff] [blame] | 6285 | wpt_macAddr macAddr; |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 6286 | wpt_uint32 mpduSizeThreshold; |
| 6287 | wpt_uint32 aggressiveStatisticsGathering; |
| 6288 | }WDI_LLStatsSetReqType; |
| 6289 | |
| 6290 | typedef struct |
| 6291 | { |
| 6292 | wpt_uint32 reqId; |
Dino Mycle | d3d5002 | 2014-07-07 12:58:25 +0530 | [diff] [blame] | 6293 | wpt_macAddr macAddr; |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 6294 | wpt_uint32 paramIdMask; |
| 6295 | }WDI_LLStatsGetReqType; |
| 6296 | |
| 6297 | typedef struct |
| 6298 | { |
| 6299 | wpt_uint32 reqId; |
Dino Mycle | d3d5002 | 2014-07-07 12:58:25 +0530 | [diff] [blame] | 6300 | wpt_macAddr macAddr; |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 6301 | wpt_uint32 statsClearReqMask; |
| 6302 | wpt_uint8 stopReq; |
| 6303 | }WDI_LLStatsClearReqType; |
Dino Mycle | d3d5002 | 2014-07-07 12:58:25 +0530 | [diff] [blame] | 6304 | |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 6305 | #endif /* WLAN_FEATURE_LINK_LAYER_STATS */ |
| 6306 | |
Siddharth Bhal | 171788a | 2014-09-29 21:02:40 +0530 | [diff] [blame] | 6307 | /*--------------------------------------------------------------------------- |
| 6308 | WDI_SPOOF_MAC_ADDR_REQ |
| 6309 | ---------------------------------------------------------------------------*/ |
| 6310 | typedef struct |
| 6311 | { |
| 6312 | /* Spoof MAC Address for FW */ |
| 6313 | wpt_macAddr macAddr; |
| 6314 | |
| 6315 | /* Reserved Params/fields */ |
| 6316 | wpt_uint32 params; |
| 6317 | wpt_uint32 reserved; |
| 6318 | } WDI_SpoofMacAddrInfoType; |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 6319 | |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 6320 | //This is to force compiler to use the maximum of an int for enum |
| 6321 | #define SIR_MAX_ENUM_SIZE 0x7FFFFFFF |
| 6322 | // Enum to specify whether key is used |
| 6323 | // for TX only, RX only or both |
| 6324 | typedef enum |
| 6325 | { |
| 6326 | eWDI_TX_ONLY, |
| 6327 | eWDI_RX_ONLY, |
| 6328 | eWDI_TX_RX, |
| 6329 | eWDI_TX_DEFAULT, |
| 6330 | eWDI_DONOT_USE_KEY_DIRECTION = SIR_MAX_ENUM_SIZE |
| 6331 | } tWDIKeyDirection; |
| 6332 | |
| 6333 | // MAX key length when ULA is used |
| 6334 | #define SIR_MAC_MAX_KEY_LENGTH 32 |
| 6335 | /* Max key size including the WAPI and TKIP */ |
| 6336 | #define WLAN_MAX_KEY_RSC_LEN 16 |
| 6337 | // Definition for Encryption Keys |
| 6338 | //typedef struct sSirKeys |
| 6339 | typedef struct |
| 6340 | { |
| 6341 | wpt_uint8 keyId; |
| 6342 | wpt_uint8 unicast; // 0 for multicast |
| 6343 | tWDIKeyDirection keyDirection; |
| 6344 | wpt_uint8 keyRsc[WLAN_MAX_KEY_RSC_LEN]; // Usage is unknown |
| 6345 | wpt_uint8 paeRole; // =1 for authenticator, |
| 6346 | // =0 for supplicant |
| 6347 | wpt_uint16 keyLength; |
| 6348 | wpt_uint8 key[SIR_MAC_MAX_KEY_LENGTH]; |
| 6349 | } tWDIKeys, *tpWDIKeys; |
| 6350 | |
| 6351 | typedef enum |
| 6352 | { |
| 6353 | eWDI_WEP_STATIC, |
| 6354 | eWDI_WEP_DYNAMIC, |
| 6355 | } tWDIWepType; |
| 6356 | |
| 6357 | // Encryption type enum used with peer |
| 6358 | typedef enum |
| 6359 | { |
| 6360 | eWDI_ED_NONE, |
| 6361 | eWDI_ED_WEP40, |
| 6362 | eWDI_ED_WEP104, |
| 6363 | eWDI_ED_TKIP, |
| 6364 | eWDI_ED_CCMP, |
| 6365 | #if defined(FEATURE_WLAN_WAPI) |
| 6366 | eWDI_ED_WPI, |
| 6367 | #endif |
| 6368 | /* DPU HW treats encryption mode 4 plus RMF bit set in TX BD as BIP. |
| 6369 | * Thus while setting BIP encryption mode in corresponding DPU Desc |
| 6370 | * eSIR_ED_AES_128_CMAC should be set to eSIR_ED_CCMP |
| 6371 | */ |
| 6372 | eWDI_ED_AES_128_CMAC, |
| 6373 | eWDI_ED_NOT_IMPLEMENTED = SIR_MAX_ENUM_SIZE |
| 6374 | } tWDIEdType; |
| 6375 | #define SIR_WDI_MAX_NUM_OF_DEFAULT_KEYS 4 |
| 6376 | /* |
| 6377 | * This is used by PE to configure the key information on a given station. |
| 6378 | * When the secType is WEP40 or WEP104, the defWEPIdx is used to locate |
| 6379 | * a preconfigured key from a BSS the station assoicated with; otherwise |
| 6380 | * a new key descriptor is created based on the key field. |
| 6381 | */ |
| 6382 | typedef struct |
| 6383 | { |
| 6384 | wpt_uint16 staIdx; |
| 6385 | tWDIEdType encType; // Encryption/Decryption type |
| 6386 | tWDIWepType wepType; // valid only for WEP |
| 6387 | wpt_uint8 defWEPIdx; // Default WEP key, valid only for static WEP, must between 0 and 3 |
| 6388 | tWDIKeys key[SIR_WDI_MAX_NUM_OF_DEFAULT_KEYS]; // valid only for non-static WEP encyrptions |
| 6389 | wpt_uint8 singleTidRc; // 1=Single TID based Replay Count, 0=Per TID based RC |
| 6390 | wpt_uint8 sessionId; // PE session id for PE<->HAL interface |
| 6391 | } tWDISetStaKeyParams, *tpWDISetStaKeyParams; |
| 6392 | |
| 6393 | typedef struct |
| 6394 | { |
| 6395 | tWDISetStaKeyParams keyParams; |
| 6396 | wpt_uint8 pn[6]; |
| 6397 | }wpt_encConfigParams; |
| 6398 | |
| 6399 | typedef struct |
| 6400 | { |
| 6401 | wpt_uint16 length; |
| 6402 | wpt_uint8 data[WDI_DISA_MAX_PAYLOAD_SIZE]; |
| 6403 | }wpt_payload; |
| 6404 | |
| 6405 | typedef struct |
| 6406 | { |
| 6407 | wpt_80211Header macHeader; |
| 6408 | wpt_encConfigParams encParams; |
| 6409 | wpt_payload data; |
| 6410 | }wpt_pkt80211; |
| 6411 | |
Katya Nigam | f0511f6 | 2015-05-05 16:40:57 +0530 | [diff] [blame] | 6412 | #define NUM_FILTERS_SUPPORTED 1 |
| 6413 | typedef struct |
| 6414 | { |
| 6415 | wpt_macAddr macAddr; |
| 6416 | wpt_uint8 isA1filter; |
| 6417 | wpt_uint8 isA2filter; |
| 6418 | wpt_uint8 isA3filter; |
| 6419 | }WDI_filter; |
| 6420 | |
| 6421 | typedef struct |
| 6422 | { |
| 6423 | /* start or stop */ |
| 6424 | wpt_uint8 state; |
| 6425 | /*Conversion of packet required or not*/ |
| 6426 | wpt_uint8 is80211to803ConReq; |
| 6427 | wpt_uint32 ChannelNo; |
| 6428 | wpt_uint32 ChannelBW; |
| 6429 | wpt_uint8 crcCheckEnabled; |
| 6430 | wpt_uint8 numOfMacFilters; |
| 6431 | WDI_filter mmFilters[NUM_FILTERS_SUPPORTED]; |
| 6432 | wpt_uint64 typeSubtypeBitmap; |
| 6433 | wpt_uint64 rsvd; |
| 6434 | |
| 6435 | }WDI_MonStartReqType; |
| 6436 | |
Arun Khandavalli | 7eeb159 | 2015-10-19 21:36:57 +0530 | [diff] [blame] | 6437 | typedef struct |
| 6438 | { |
| 6439 | wpt_uint8 paramType; |
| 6440 | wpt_uint32 paramValue; |
| 6441 | wpt_macAddr bssId; |
| 6442 | }WDI_WifiConfigSetReqType; |
| 6443 | |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 6444 | /** |
| 6445 | * struct WDI_FwrMemDumpReqType - firmware memory dump request details. |
| 6446 | .*.@FWMemDumpReqCb - Associated Callback |
| 6447 | *.@fwMemDumpReqContext - Callback context |
| 6448 | * @reserved - reserved field 1. |
| 6449 | * |
| 6450 | * This structure carries information about the firmware |
| 6451 | * memory dump request. |
| 6452 | */ |
| 6453 | typedef struct |
| 6454 | { |
| 6455 | wpt_uint32 reserved1; |
| 6456 | }WDI_FwrMemDumpReqType; |
| 6457 | |
| 6458 | /** |
| 6459 | * struct WDI_FwrMemDumpRsp - firmware dump response details. |
| 6460 | * |
| 6461 | * This structure is used to store the firmware dump |
| 6462 | * response from the firmware. |
| 6463 | */ |
| 6464 | typedef struct |
| 6465 | { |
| 6466 | wpt_uint32 dump_status; |
| 6467 | }WDI_FwrMemDumpRsp; |
| 6468 | |
Arun Khandavalli | 7eeb159 | 2015-10-19 21:36:57 +0530 | [diff] [blame] | 6469 | typedef struct |
| 6470 | { |
| 6471 | wpt_uint32 wificonfigset_status; |
| 6472 | }WDI_WifconfigSetRsp; |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 6473 | |
Mahesh A Saptasagar | 7d43295 | 2016-02-09 14:01:03 +0530 | [diff] [blame] | 6474 | /** |
| 6475 | * struct WDI_ModifyRoamParamsReqType - Modified roam parameter details. |
| 6476 | * |
| 6477 | */ |
| 6478 | |
| 6479 | typedef struct { |
| 6480 | wpt_uint8 param; |
| 6481 | wpt_uint32 value; |
| 6482 | }WDI_ModifyRoamParamsReqType; |
| 6483 | |
Selvaraj, Sridhar | c045b8b | 2016-04-06 12:22:35 +0530 | [diff] [blame] | 6484 | /** |
| 6485 | * struct WDI_AllowedActionFramesInd - Allowed Action frames details |
| 6486 | * |
| 6487 | */ |
| 6488 | struct WDI_AllowedActionFramesInd { |
| 6489 | wpt_uint32 bitmask; |
| 6490 | wpt_uint32 reserved; |
| 6491 | }; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 6492 | /*---------------------------------------------------------------------------- |
| 6493 | * WDI callback types |
| 6494 | *--------------------------------------------------------------------------*/ |
| 6495 | |
| 6496 | /*--------------------------------------------------------------------------- |
| 6497 | WDI_StartRspCb |
| 6498 | |
| 6499 | DESCRIPTION |
| 6500 | |
| 6501 | This callback is invoked by DAL when it has received a Start response from |
| 6502 | the underlying device. |
| 6503 | |
| 6504 | PARAMETERS |
| 6505 | |
| 6506 | IN |
| 6507 | wdiRspParams: response parameters received from HAL |
| 6508 | pUserData: user data |
| 6509 | |
| 6510 | |
| 6511 | RETURN VALUE |
| 6512 | The result code associated with performing the operation |
| 6513 | ---------------------------------------------------------------------------*/ |
| 6514 | typedef void (*WDI_StartRspCb)(WDI_StartRspParamsType* pwdiRspParams, |
| 6515 | void* pUserData); |
| 6516 | |
| 6517 | /*--------------------------------------------------------------------------- |
| 6518 | WDI_StartRspCb |
| 6519 | |
| 6520 | DESCRIPTION |
| 6521 | |
| 6522 | This callback is invoked by DAL when it has received a Stop response from |
| 6523 | the underlying device. |
| 6524 | |
| 6525 | PARAMETERS |
| 6526 | |
| 6527 | IN |
| 6528 | wdiStatus: response status received from HAL |
| 6529 | pUserData: user data |
| 6530 | |
| 6531 | |
| 6532 | |
| 6533 | RETURN VALUE |
| 6534 | The result code associated with performing the operation |
| 6535 | ---------------------------------------------------------------------------*/ |
| 6536 | typedef void (*WDI_StopRspCb)(WDI_Status wdiStatus, |
| 6537 | void* pUserData); |
| 6538 | |
| 6539 | /*--------------------------------------------------------------------------- |
| 6540 | WDI_StartRspCb |
| 6541 | |
| 6542 | DESCRIPTION |
| 6543 | |
| 6544 | This callback is invoked by DAL when it has received an Init Scan response |
| 6545 | from the underlying device. |
| 6546 | |
| 6547 | PARAMETERS |
| 6548 | |
| 6549 | IN |
| 6550 | wdiStatus: response status received from HAL |
| 6551 | pUserData: user data |
| 6552 | |
| 6553 | |
| 6554 | |
| 6555 | RETURN VALUE |
| 6556 | The result code associated with performing the operation |
| 6557 | ---------------------------------------------------------------------------*/ |
| 6558 | typedef void (*WDI_InitScanRspCb)(WDI_Status wdiStatus, |
| 6559 | void* pUserData); |
| 6560 | |
| 6561 | |
| 6562 | /*--------------------------------------------------------------------------- |
| 6563 | WDI_StartRspCb |
| 6564 | |
| 6565 | DESCRIPTION |
| 6566 | |
| 6567 | This callback is invoked by DAL when it has received a StartScan response |
| 6568 | from the underlying device. |
| 6569 | |
| 6570 | PARAMETERS |
| 6571 | |
| 6572 | IN |
| 6573 | wdiParams: response params received from HAL |
| 6574 | pUserData: user data |
| 6575 | |
| 6576 | |
| 6577 | |
| 6578 | RETURN VALUE |
| 6579 | The result code associated with performing the operation |
| 6580 | ---------------------------------------------------------------------------*/ |
| 6581 | typedef void (*WDI_StartScanRspCb)(WDI_StartScanRspParamsType* wdiParams, |
| 6582 | void* pUserData); |
| 6583 | |
| 6584 | |
| 6585 | /*--------------------------------------------------------------------------- |
| 6586 | WDI_StartRspCb |
| 6587 | |
| 6588 | DESCRIPTION |
| 6589 | |
| 6590 | This callback is invoked by DAL when it has received a End Scan response |
| 6591 | from the underlying device. |
| 6592 | |
| 6593 | PARAMETERS |
| 6594 | |
| 6595 | IN |
| 6596 | wdiStatus: response status received from HAL |
| 6597 | pUserData: user data |
| 6598 | |
| 6599 | |
| 6600 | |
| 6601 | RETURN VALUE |
| 6602 | The result code associated with performing the operation |
| 6603 | ---------------------------------------------------------------------------*/ |
| 6604 | typedef void (*WDI_EndScanRspCb)(WDI_Status wdiStatus, |
| 6605 | void* pUserData); |
| 6606 | |
| 6607 | |
| 6608 | /*--------------------------------------------------------------------------- |
| 6609 | WDI_StartRspCb |
| 6610 | |
| 6611 | DESCRIPTION |
| 6612 | |
| 6613 | This callback is invoked by DAL when it has received a Finish Scan response |
| 6614 | from the underlying device. |
| 6615 | |
| 6616 | PARAMETERS |
| 6617 | |
| 6618 | IN |
| 6619 | wdiStatus: response status received from HAL |
| 6620 | pUserData: user data |
| 6621 | |
| 6622 | |
| 6623 | |
| 6624 | RETURN VALUE |
| 6625 | The result code associated with performing the operation |
| 6626 | ---------------------------------------------------------------------------*/ |
| 6627 | typedef void (*WDI_FinishScanRspCb)(WDI_Status wdiStatus, |
| 6628 | void* pUserData); |
| 6629 | |
| 6630 | |
| 6631 | /*--------------------------------------------------------------------------- |
| 6632 | WDI_StartRspCb |
| 6633 | |
| 6634 | DESCRIPTION |
| 6635 | |
| 6636 | This callback is invoked by DAL when it has received a Join response from |
| 6637 | the underlying device. |
| 6638 | |
| 6639 | PARAMETERS |
| 6640 | |
| 6641 | IN |
| 6642 | wdiStatus: response status received from HAL |
| 6643 | pUserData: user data |
| 6644 | |
| 6645 | |
| 6646 | |
| 6647 | RETURN VALUE |
| 6648 | The result code associated with performing the operation |
| 6649 | ---------------------------------------------------------------------------*/ |
| 6650 | typedef void (*WDI_JoinRspCb)(WDI_Status wdiStatus, |
| 6651 | void* pUserData); |
| 6652 | |
| 6653 | |
| 6654 | /*--------------------------------------------------------------------------- |
| 6655 | WDI_StartRspCb |
| 6656 | |
| 6657 | DESCRIPTION |
| 6658 | |
| 6659 | This callback is invoked by DAL when it has received a Config BSS response |
| 6660 | from the underlying device. |
| 6661 | |
| 6662 | PARAMETERS |
| 6663 | |
| 6664 | IN |
| 6665 | wdiConfigBSSRsp: response parameters received from HAL |
| 6666 | pUserData: user data |
| 6667 | |
| 6668 | |
| 6669 | RETURN VALUE |
| 6670 | The result code associated with performing the operation |
| 6671 | ---------------------------------------------------------------------------*/ |
| 6672 | typedef void (*WDI_ConfigBSSRspCb)( |
| 6673 | WDI_ConfigBSSRspParamsType* pwdiConfigBSSRsp, |
| 6674 | void* pUserData); |
| 6675 | |
| 6676 | |
| 6677 | /*--------------------------------------------------------------------------- |
| 6678 | WDI_StartRspCb |
| 6679 | |
| 6680 | DESCRIPTION |
| 6681 | |
| 6682 | This callback is invoked by DAL when it has received a Del BSS response from |
| 6683 | the underlying device. |
| 6684 | |
| 6685 | PARAMETERS |
| 6686 | |
| 6687 | IN |
| 6688 | wdiDelBSSRsp: response parameters received from HAL |
| 6689 | pUserData: user data |
| 6690 | |
| 6691 | |
| 6692 | RETURN VALUE |
| 6693 | The result code associated with performing the operation |
| 6694 | ---------------------------------------------------------------------------*/ |
| 6695 | typedef void (*WDI_DelBSSRspCb)(WDI_DelBSSRspParamsType* pwdiDelBSSRsp, |
| 6696 | void* pUserData); |
| 6697 | |
| 6698 | |
| 6699 | /*--------------------------------------------------------------------------- |
| 6700 | WDI_StartRspCb |
| 6701 | |
| 6702 | DESCRIPTION |
| 6703 | |
| 6704 | This callback is invoked by DAL when it has received a Post Assoc response |
| 6705 | from the underlying device. |
| 6706 | |
| 6707 | PARAMETERS |
| 6708 | |
| 6709 | IN |
| 6710 | wdiRspParams: response parameters received from HAL |
| 6711 | pUserData: user data |
| 6712 | |
| 6713 | |
| 6714 | RETURN VALUE |
| 6715 | The result code associated with performing the operation |
| 6716 | ---------------------------------------------------------------------------*/ |
| 6717 | typedef void (*WDI_PostAssocRspCb)( |
| 6718 | WDI_PostAssocRspParamsType* pwdiPostAssocRsp, |
| 6719 | void* pUserData); |
| 6720 | |
| 6721 | |
| 6722 | /*--------------------------------------------------------------------------- |
| 6723 | WDI_StartRspCb |
| 6724 | |
| 6725 | DESCRIPTION |
| 6726 | |
| 6727 | This callback is invoked by DAL when it has received a Del STA response from |
| 6728 | the underlying device. |
| 6729 | |
| 6730 | PARAMETERS |
| 6731 | |
| 6732 | IN |
| 6733 | wdiDelSTARsp: response parameters received from HAL |
| 6734 | pUserData: user data |
| 6735 | |
| 6736 | |
| 6737 | RETURN VALUE |
| 6738 | The result code associated with performing the operation |
| 6739 | ---------------------------------------------------------------------------*/ |
| 6740 | typedef void (*WDI_DelSTARspCb)(WDI_DelSTARspParamsType* pwdiDelSTARsp, |
| 6741 | void* pUserData); |
| 6742 | |
| 6743 | |
| 6744 | |
| 6745 | /*--------------------------------------------------------------------------- |
| 6746 | WDI_StartRspCb |
| 6747 | |
| 6748 | DESCRIPTION |
| 6749 | |
| 6750 | This callback is invoked by DAL when it has received a Set BSS Key response |
| 6751 | from the underlying device. |
| 6752 | |
| 6753 | PARAMETERS |
| 6754 | |
| 6755 | IN |
| 6756 | wdiStatus: response status received from HAL |
| 6757 | pUserData: user data |
| 6758 | |
| 6759 | |
| 6760 | |
| 6761 | RETURN VALUE |
| 6762 | The result code associated with performing the operation |
| 6763 | ---------------------------------------------------------------------------*/ |
| 6764 | typedef void (*WDI_SetBSSKeyRspCb)(WDI_Status wdiStatus, |
| 6765 | void* pUserData); |
| 6766 | |
| 6767 | /*--------------------------------------------------------------------------- |
| 6768 | WDI_StartRspCb |
| 6769 | |
| 6770 | DESCRIPTION |
| 6771 | |
| 6772 | This callback is invoked by DAL when it has received a Remove BSS Key |
| 6773 | response from the underlying device. |
| 6774 | |
| 6775 | PARAMETERS |
| 6776 | |
| 6777 | IN |
| 6778 | wdiStatus: response status received from HAL |
| 6779 | pUserData: user data |
| 6780 | |
| 6781 | |
| 6782 | |
| 6783 | RETURN VALUE |
| 6784 | The result code associated with performing the operation |
| 6785 | ---------------------------------------------------------------------------*/ |
| 6786 | typedef void (*WDI_RemoveBSSKeyRspCb)(WDI_Status wdiStatus, |
| 6787 | void* pUserData); |
| 6788 | |
| 6789 | /*--------------------------------------------------------------------------- |
| 6790 | WDI_StartRspCb |
| 6791 | |
| 6792 | DESCRIPTION |
| 6793 | |
| 6794 | This callback is invoked by DAL when it has received a Set STA Key response |
| 6795 | from the underlying device. |
| 6796 | |
| 6797 | PARAMETERS |
| 6798 | |
| 6799 | IN |
| 6800 | wdiStatus: response status received from HAL |
| 6801 | pUserData: user data |
| 6802 | |
| 6803 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 6804 | RETURN VALUE |
| 6805 | The result code associated with performing the operation |
| 6806 | ---------------------------------------------------------------------------*/ |
| 6807 | typedef void (*WDI_SetSTAKeyRspCb)(WDI_Status wdiStatus, |
| 6808 | void* pUserData); |
| 6809 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 6810 | /*--------------------------------------------------------------------------- |
| 6811 | WDI_StartRspCb |
| 6812 | |
| 6813 | DESCRIPTION |
| 6814 | |
| 6815 | This callback is invoked by DAL when it has received a Remove STA Key |
| 6816 | response from the underlying device. |
| 6817 | |
| 6818 | PARAMETERS |
| 6819 | |
| 6820 | IN |
| 6821 | wdiStatus: response status received from HAL |
| 6822 | pUserData: user data |
| 6823 | |
Siddharth Bhal | 171788a | 2014-09-29 21:02:40 +0530 | [diff] [blame] | 6824 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 6825 | RETURN VALUE |
| 6826 | The result code associated with performing the operation |
| 6827 | ---------------------------------------------------------------------------*/ |
| 6828 | typedef void (*WDI_RemoveSTAKeyRspCb)(WDI_Status wdiStatus, |
| 6829 | void* pUserData); |
| 6830 | |
| 6831 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 6832 | #ifdef FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 6833 | /*--------------------------------------------------------------------------- |
| 6834 | WDI_TsmRspCb |
| 6835 | |
| 6836 | DESCRIPTION |
| 6837 | |
| 6838 | This callback is invoked by DAL when it has received a TSM Stats response from the underlying device. |
| 6839 | |
| 6840 | PARAMETERS |
| 6841 | |
| 6842 | IN |
| 6843 | pTSMStats: response status received from HAL |
| 6844 | pUserData: user data |
| 6845 | |
| 6846 | |
| 6847 | |
| 6848 | RETURN VALUE |
| 6849 | The result code associated with performing the operation |
| 6850 | ---------------------------------------------------------------------------*/ |
| 6851 | typedef void (*WDI_TsmRspCb)(WDI_TSMStatsRspParamsType *pTSMStats, |
| 6852 | void* pUserData); |
| 6853 | #endif |
| 6854 | |
| 6855 | /*--------------------------------------------------------------------------- |
| 6856 | WDI_StartRspCb |
| 6857 | |
| 6858 | DESCRIPTION |
| 6859 | |
| 6860 | This callback is invoked by DAL when it has received a Add TS response from |
| 6861 | the underlying device. |
| 6862 | |
| 6863 | PARAMETERS |
| 6864 | |
| 6865 | IN |
| 6866 | wdiStatus: response status received from HAL |
| 6867 | pUserData: user data |
| 6868 | |
| 6869 | |
| 6870 | |
| 6871 | RETURN VALUE |
| 6872 | The result code associated with performing the operation |
| 6873 | ---------------------------------------------------------------------------*/ |
| 6874 | typedef void (*WDI_AddTsRspCb)(WDI_Status wdiStatus, |
| 6875 | void* pUserData); |
| 6876 | |
| 6877 | /*--------------------------------------------------------------------------- |
| 6878 | WDI_StartRspCb |
| 6879 | |
| 6880 | DESCRIPTION |
| 6881 | |
| 6882 | This callback is invoked by DAL when it has received a Del TS response from |
| 6883 | the underlying device. |
| 6884 | |
| 6885 | PARAMETERS |
| 6886 | |
| 6887 | IN |
| 6888 | wdiStatus: response status received from HAL |
| 6889 | pUserData: user data |
| 6890 | |
| 6891 | |
| 6892 | |
| 6893 | RETURN VALUE |
| 6894 | The result code associated with performing the operation |
| 6895 | ---------------------------------------------------------------------------*/ |
| 6896 | typedef void (*WDI_DelTsRspCb)(WDI_Status wdiStatus, |
| 6897 | void* pUserData); |
| 6898 | |
| 6899 | /*--------------------------------------------------------------------------- |
| 6900 | WDI_StartRspCb |
| 6901 | |
| 6902 | DESCRIPTION |
| 6903 | |
| 6904 | This callback is invoked by DAL when it has received an Update EDCA Params |
| 6905 | response from the underlying device. |
| 6906 | |
| 6907 | PARAMETERS |
| 6908 | |
| 6909 | IN |
| 6910 | wdiStatus: response status received from HAL |
| 6911 | pUserData: user data |
| 6912 | |
| 6913 | |
| 6914 | |
| 6915 | RETURN VALUE |
| 6916 | The result code associated with performing the operation |
| 6917 | ---------------------------------------------------------------------------*/ |
| 6918 | typedef void (*WDI_UpdateEDCAParamsRspCb)(WDI_Status wdiStatus, |
| 6919 | void* pUserData); |
| 6920 | |
| 6921 | /*--------------------------------------------------------------------------- |
| 6922 | WDI_StartRspCb |
| 6923 | |
| 6924 | DESCRIPTION |
| 6925 | |
| 6926 | This callback is invoked by DAL when it has received a Add BA response from |
| 6927 | the underlying device. |
| 6928 | |
| 6929 | PARAMETERS |
| 6930 | |
| 6931 | IN |
| 6932 | wdiStatus: response status received from HAL |
| 6933 | pUserData: user data |
| 6934 | |
| 6935 | |
| 6936 | |
| 6937 | RETURN VALUE |
| 6938 | The result code associated with performing the operation |
| 6939 | ---------------------------------------------------------------------------*/ |
| 6940 | typedef void (*WDI_AddBASessionRspCb)( |
| 6941 | WDI_AddBASessionRspParamsType* wdiAddBASessionRsp, |
| 6942 | void* pUserData); |
| 6943 | |
| 6944 | |
| 6945 | /*--------------------------------------------------------------------------- |
| 6946 | WDI_StartRspCb |
| 6947 | |
| 6948 | DESCRIPTION |
| 6949 | |
| 6950 | This callback is invoked by DAL when it has received a Del BA response from |
| 6951 | the underlying device. |
| 6952 | |
| 6953 | PARAMETERS |
| 6954 | |
| 6955 | IN |
| 6956 | wdiStatus: response status received from HAL |
| 6957 | pUserData: user data |
| 6958 | |
| 6959 | |
| 6960 | |
| 6961 | RETURN VALUE |
| 6962 | The result code associated with performing the operation |
| 6963 | ---------------------------------------------------------------------------*/ |
| 6964 | typedef void (*WDI_DelBARspCb)(WDI_Status wdiStatus, |
| 6965 | void* pUserData); |
| 6966 | |
| 6967 | |
| 6968 | /*--------------------------------------------------------------------------- |
| 6969 | WDI_StartRspCb |
| 6970 | |
| 6971 | DESCRIPTION |
| 6972 | |
| 6973 | This callback is invoked by DAL when it has received a Switch Ch response |
| 6974 | from the underlying device. |
| 6975 | |
| 6976 | PARAMETERS |
| 6977 | |
| 6978 | IN |
| 6979 | wdiRspParams: response parameters received from HAL |
| 6980 | pUserData: user data |
| 6981 | |
| 6982 | |
| 6983 | RETURN VALUE |
| 6984 | The result code associated with performing the operation |
| 6985 | ---------------------------------------------------------------------------*/ |
| 6986 | typedef void (*WDI_SwitchChRspCb)(WDI_SwitchCHRspParamsType* pwdiSwitchChRsp, |
| 6987 | void* pUserData); |
| 6988 | |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 6989 | typedef void (*WDI_SwitchChRspCb_V1)(WDI_SwitchChRspParamsType_V1* pwdiSwitchChRsp, |
| 6990 | void* pUserData); |
| 6991 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 6992 | |
| 6993 | /*--------------------------------------------------------------------------- |
| 6994 | WDI_StartRspCb |
| 6995 | |
| 6996 | DESCRIPTION |
| 6997 | |
| 6998 | This callback is invoked by DAL when it has received a Config STA response |
| 6999 | from the underlying device. |
| 7000 | |
| 7001 | PARAMETERS |
| 7002 | |
| 7003 | IN |
| 7004 | wdiRspParams: response parameters received from HAL |
| 7005 | pUserData: user data |
| 7006 | |
| 7007 | |
| 7008 | RETURN VALUE |
| 7009 | The result code associated with performing the operation |
| 7010 | ---------------------------------------------------------------------------*/ |
| 7011 | typedef void (*WDI_ConfigSTARspCb)( |
| 7012 | WDI_ConfigSTARspParamsType* pwdiConfigSTARsp, |
| 7013 | void* pUserData); |
| 7014 | |
| 7015 | |
| 7016 | /*--------------------------------------------------------------------------- |
| 7017 | WDI_StartRspCb |
| 7018 | |
| 7019 | DESCRIPTION |
| 7020 | |
| 7021 | This callback is invoked by DAL when it has received a Set Link State |
| 7022 | response from the underlying device. |
| 7023 | |
| 7024 | PARAMETERS |
| 7025 | |
| 7026 | IN |
| 7027 | wdiRspParams: response parameters received from HAL |
| 7028 | pUserData: user data |
| 7029 | |
| 7030 | |
| 7031 | RETURN VALUE |
| 7032 | The result code associated with performing the operation |
| 7033 | ---------------------------------------------------------------------------*/ |
| 7034 | typedef void (*WDI_SetLinkStateRspCb)( WDI_Status wdiStatus, |
| 7035 | void* pUserData); |
| 7036 | |
| 7037 | |
| 7038 | /*--------------------------------------------------------------------------- |
| 7039 | WDI_StartRspCb |
| 7040 | |
| 7041 | DESCRIPTION |
| 7042 | |
| 7043 | This callback is invoked by DAL when it has received a Get Stats response |
| 7044 | from the underlying device. |
| 7045 | |
| 7046 | PARAMETERS |
| 7047 | |
| 7048 | IN |
| 7049 | wdiRspParams: response parameters received from HAL |
| 7050 | pUserData: user data |
| 7051 | |
| 7052 | |
| 7053 | RETURN VALUE |
| 7054 | The result code associated with performing the operation |
| 7055 | ---------------------------------------------------------------------------*/ |
| 7056 | typedef void (*WDI_GetStatsRspCb)(WDI_GetStatsRspParamsType* pwdiGetStatsRsp, |
| 7057 | void* pUserData); |
| 7058 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 7059 | #if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR) |
Srinivas Girigowda | d34cedb | 2013-01-25 13:33:11 -0800 | [diff] [blame] | 7060 | /*--------------------------------------------------------------------------- |
| 7061 | WDI_GetRoamRssiRspCb |
| 7062 | |
| 7063 | DESCRIPTION |
| 7064 | |
| 7065 | This callback is invoked by DAL when it has received a Get Roam Rssi response |
| 7066 | from the underlying device. |
| 7067 | |
| 7068 | PARAMETERS |
| 7069 | |
| 7070 | IN |
| 7071 | wdiRspParams: response parameters received from HAL |
| 7072 | pUserData: user data |
| 7073 | |
| 7074 | |
| 7075 | RETURN VALUE |
| 7076 | The result code associated with performing the operation |
| 7077 | ---------------------------------------------------------------------------*/ |
| 7078 | typedef void (*WDI_GetRoamRssiRspCb)(WDI_GetRoamRssiRspParamsType* pwdiGetRoamRssiRsp, |
| 7079 | void* pUserData); |
| 7080 | #endif |
| 7081 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7082 | |
| 7083 | /*--------------------------------------------------------------------------- |
| 7084 | WDI_StartRspCb |
| 7085 | |
| 7086 | DESCRIPTION |
| 7087 | |
| 7088 | This callback is invoked by DAL when it has received a Update Cfg response |
| 7089 | from the underlying device. |
| 7090 | |
| 7091 | PARAMETERS |
| 7092 | |
| 7093 | IN |
| 7094 | wdiStatus: response status received from HAL |
| 7095 | pUserData: user data |
| 7096 | |
| 7097 | |
| 7098 | RETURN VALUE |
| 7099 | The result code associated with performing the operation |
| 7100 | ---------------------------------------------------------------------------*/ |
| 7101 | typedef void (*WDI_UpdateCfgRspCb)(WDI_Status wdiStatus, |
| 7102 | void* pUserData); |
| 7103 | |
| 7104 | /*--------------------------------------------------------------------------- |
| 7105 | WDI_AddBARspCb |
| 7106 | |
| 7107 | DESCRIPTION |
| 7108 | |
| 7109 | This callback is invoked by DAL when it has received a ADD BA response |
| 7110 | from the underlying device. |
| 7111 | |
| 7112 | PARAMETERS |
| 7113 | |
| 7114 | IN |
| 7115 | wdiStatus: response status received from HAL |
| 7116 | pUserData: user data |
| 7117 | |
| 7118 | |
| 7119 | RETURN VALUE |
| 7120 | The result code associated with performing the operation |
| 7121 | ---------------------------------------------------------------------------*/ |
| 7122 | typedef void (*WDI_AddBARspCb)(WDI_AddBARspinfoType* wdiAddBARsp, |
| 7123 | void* pUserData); |
| 7124 | |
| 7125 | /*--------------------------------------------------------------------------- |
| 7126 | WDI_TriggerBARspCb |
| 7127 | |
| 7128 | DESCRIPTION |
| 7129 | |
| 7130 | This callback is invoked by DAL when it has received a ADD BA response |
| 7131 | from the underlying device. |
| 7132 | |
| 7133 | PARAMETERS |
| 7134 | |
| 7135 | IN |
| 7136 | wdiStatus: response status received from HAL |
| 7137 | pUserData: user data |
| 7138 | |
| 7139 | |
| 7140 | RETURN VALUE |
| 7141 | The result code associated with performing the operation |
| 7142 | ---------------------------------------------------------------------------*/ |
| 7143 | typedef void (*WDI_TriggerBARspCb)(WDI_TriggerBARspParamsType* wdiTriggerBARsp, |
| 7144 | void* pUserData); |
| 7145 | |
| 7146 | |
| 7147 | /*--------------------------------------------------------------------------- |
| 7148 | WDI_UpdateBeaconParamsRspCb |
| 7149 | |
| 7150 | DESCRIPTION |
| 7151 | |
| 7152 | This callback is invoked by DAL when it has received a Update Beacon Params response from |
| 7153 | the underlying device. |
| 7154 | |
| 7155 | PARAMETERS |
| 7156 | |
| 7157 | IN |
| 7158 | wdiStatus: response status received from HAL |
| 7159 | pUserData: user data |
| 7160 | |
| 7161 | |
| 7162 | |
| 7163 | RETURN VALUE |
| 7164 | The result code associated with performing the operation |
| 7165 | ---------------------------------------------------------------------------*/ |
| 7166 | typedef void (*WDI_UpdateBeaconParamsRspCb)(WDI_Status wdiStatus, |
| 7167 | void* pUserData); |
| 7168 | |
| 7169 | /*--------------------------------------------------------------------------- |
| 7170 | WDI_SendBeaconParamsRspCb |
| 7171 | |
| 7172 | DESCRIPTION |
| 7173 | |
| 7174 | This callback is invoked by DAL when it has received a Send Beacon Params response from |
| 7175 | the underlying device. |
| 7176 | |
| 7177 | PARAMETERS |
| 7178 | |
| 7179 | IN |
| 7180 | wdiStatus: response status received from HAL |
| 7181 | pUserData: user data |
| 7182 | |
| 7183 | |
| 7184 | |
| 7185 | RETURN VALUE |
| 7186 | The result code associated with performing the operation |
| 7187 | ---------------------------------------------------------------------------*/ |
| 7188 | typedef void (*WDI_SendBeaconParamsRspCb)(WDI_Status wdiStatus, |
| 7189 | void* pUserData); |
| 7190 | |
| 7191 | /*--------------------------------------------------------------------------- |
| 7192 | WDA_SetMaxTxPowerRspCb |
| 7193 | |
| 7194 | DESCRIPTION |
| 7195 | |
| 7196 | This callback is invoked by DAL when it has received a set max Tx Power response from |
| 7197 | the underlying device. |
| 7198 | |
| 7199 | PARAMETERS |
| 7200 | |
| 7201 | IN |
| 7202 | wdiStatus: response status received from HAL |
| 7203 | pUserData: user data |
| 7204 | |
| 7205 | |
| 7206 | |
| 7207 | RETURN VALUE |
| 7208 | The result code associated with performing the operation |
| 7209 | ---------------------------------------------------------------------------*/ |
| 7210 | typedef void (*WDA_SetMaxTxPowerRspCb)(WDI_SetMaxTxPowerRspMsg *wdiSetMaxTxPowerRsp, |
| 7211 | void* pUserData); |
| 7212 | |
| 7213 | /*--------------------------------------------------------------------------- |
Arif Hussain | a5ebce0 | 2013-08-09 15:09:58 -0700 | [diff] [blame] | 7214 | WDA_SetMaxTxPowerPerBandRspCb |
| 7215 | |
| 7216 | DESCRIPTION |
| 7217 | |
| 7218 | This callback is invoked by DAL when it has received a |
| 7219 | set max Tx Power Per Band response from the underlying device. |
| 7220 | |
| 7221 | PARAMETERS |
| 7222 | |
| 7223 | IN |
| 7224 | wdiSetMaxTxPowerPerBandRsp: response status received from HAL |
| 7225 | pUserData: user data |
| 7226 | |
| 7227 | RETURN VALUE |
| 7228 | The result code associated with performing the operation |
| 7229 | ---------------------------------------------------------------------------*/ |
| 7230 | typedef void (*WDA_SetMaxTxPowerPerBandRspCb)(WDI_SetMaxTxPowerPerBandRspMsg |
| 7231 | *wdiSetMaxTxPowerPerBandRsp, |
| 7232 | void* pUserData); |
| 7233 | |
| 7234 | /*--------------------------------------------------------------------------- |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 7235 | WDA_SetTxPowerRspCb |
| 7236 | |
| 7237 | DESCRIPTION |
| 7238 | |
| 7239 | This callback is invoked by DAL when it has received a set max Tx Power response from |
| 7240 | the underlying device. |
| 7241 | |
| 7242 | PARAMETERS |
| 7243 | |
| 7244 | IN |
| 7245 | wdiStatus: response status received from HAL |
| 7246 | pUserData: user data |
| 7247 | |
| 7248 | RETURN VALUE |
| 7249 | The result code associated with performing the operation |
| 7250 | ---------------------------------------------------------------------------*/ |
| 7251 | typedef void (*WDA_SetTxPowerRspCb)(WDI_SetTxPowerRspMsg *wdiSetTxPowerRsp, |
| 7252 | void* pUserData); |
| 7253 | |
| 7254 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7255 | WDI_UpdateProbeRspTemplateRspCb |
| 7256 | |
| 7257 | DESCRIPTION |
| 7258 | |
| 7259 | This callback is invoked by DAL when it has received a Probe RSP Template |
| 7260 | Update response from the underlying device. |
| 7261 | |
| 7262 | PARAMETERS |
| 7263 | |
| 7264 | IN |
| 7265 | wdiStatus: response status received from HAL |
| 7266 | pUserData: user data |
| 7267 | |
| 7268 | |
| 7269 | |
| 7270 | RETURN VALUE |
| 7271 | The result code associated with performing the operation |
| 7272 | ---------------------------------------------------------------------------*/ |
| 7273 | typedef void (*WDI_UpdateProbeRspTemplateRspCb)(WDI_Status wdiStatus, |
| 7274 | void* pUserData); |
| 7275 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7276 | /*--------------------------------------------------------------------------- |
| 7277 | WDI_SetP2PGONOAReqParamsRspCb |
| 7278 | |
| 7279 | DESCRIPTION |
| 7280 | |
| 7281 | This callback is invoked by DAL when it has received a P2P GO NOA Params response from |
| 7282 | the underlying device. |
| 7283 | |
| 7284 | PARAMETERS |
| 7285 | |
| 7286 | IN |
| 7287 | wdiStatus: response status received from HAL |
| 7288 | pUserData: user data |
| 7289 | |
| 7290 | |
| 7291 | |
| 7292 | RETURN VALUE |
| 7293 | The result code associated with performing the operation |
| 7294 | ---------------------------------------------------------------------------*/ |
| 7295 | typedef void (*WDI_SetP2PGONOAReqParamsRspCb)(WDI_Status wdiStatus, |
| 7296 | void* pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7297 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 7298 | /*--------------------------------------------------------------------------- |
| 7299 | WDI_SetTDLSLinkEstablishReqParamsRspCb |
| 7300 | |
| 7301 | DESCRIPTION |
| 7302 | |
| 7303 | This callback is invoked by DAL when it has received a TDLS Link Establish Req response from |
| 7304 | the underlying device. |
| 7305 | |
| 7306 | PARAMETERS |
| 7307 | |
| 7308 | IN |
| 7309 | wdiStatus: response status received from HAL |
| 7310 | pUserData: user data |
| 7311 | |
| 7312 | |
| 7313 | |
| 7314 | RETURN VALUE |
| 7315 | The result code associated with performing the operation |
| 7316 | ---------------------------------------------------------------------------*/ |
Gopichand Nakkala | 574f6d1 | 2013-06-27 19:38:43 +0530 | [diff] [blame] | 7317 | typedef void (*WDI_SetTDLSLinkEstablishReqParamsRspCb)(WDI_SetTdlsLinkEstablishReqResp * |
| 7318 | wdiSetTdlsLinkEstablishReqRsp, |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 7319 | void* pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7320 | |
| 7321 | /*--------------------------------------------------------------------------- |
Atul Mittal | c0f739f | 2014-07-31 13:47:47 +0530 | [diff] [blame] | 7322 | WDI_SetTDLSChanSwitchReqParamsRspCb |
| 7323 | |
| 7324 | DESCRIPTION |
| 7325 | |
| 7326 | This callback is invoked by DAL when it has received a TDLS Link Establish Req response from |
| 7327 | the underlying device. |
| 7328 | |
| 7329 | PARAMETERS |
| 7330 | |
| 7331 | IN |
| 7332 | wdiStatus: response status received from HAL |
| 7333 | pUserData: user data |
| 7334 | |
| 7335 | |
| 7336 | |
| 7337 | RETURN VALUE |
| 7338 | The result code associated with performing the operation |
| 7339 | ---------------------------------------------------------------------------*/ |
| 7340 | typedef void (*WDI_SetTDLSChanSwitchReqParamsRspCb)(WDI_SetTdlsChanSwitchReqResp * |
| 7341 | wdiSetTdlsChanSwitchReqRsp, |
| 7342 | void* pUserData); |
| 7343 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7344 | WDI_SetPwrSaveCfgCb |
| 7345 | |
| 7346 | DESCRIPTION |
| 7347 | |
| 7348 | This callback is invoked by DAL when it has received a set Power Save CFG |
| 7349 | response from the underlying device. |
| 7350 | |
| 7351 | PARAMETERS |
| 7352 | |
| 7353 | IN |
| 7354 | wdiStatus: response status received from HAL |
| 7355 | pUserData: user data |
| 7356 | |
| 7357 | |
| 7358 | |
| 7359 | RETURN VALUE |
| 7360 | The result code associated with performing the operation |
| 7361 | ---------------------------------------------------------------------------*/ |
| 7362 | typedef void (*WDI_SetPwrSaveCfgCb)(WDI_Status wdiStatus, |
| 7363 | void* pUserData); |
| 7364 | |
| 7365 | /*--------------------------------------------------------------------------- |
| 7366 | WDI_SetUapsdAcParamsCb |
| 7367 | |
| 7368 | DESCRIPTION |
| 7369 | |
| 7370 | This callback is invoked by DAL when it has received a set UAPSD params |
| 7371 | response from the underlying device. |
| 7372 | |
| 7373 | PARAMETERS |
| 7374 | |
| 7375 | IN |
| 7376 | wdiStatus: response status received from HAL |
| 7377 | pUserData: user data |
| 7378 | |
| 7379 | |
| 7380 | |
| 7381 | RETURN VALUE |
| 7382 | The result code associated with performing the operation |
| 7383 | ---------------------------------------------------------------------------*/ |
| 7384 | typedef void (*WDI_SetUapsdAcParamsCb)(WDI_Status wdiStatus, |
| 7385 | void* pUserData); |
| 7386 | |
| 7387 | /*--------------------------------------------------------------------------- |
| 7388 | WDI_EnterImpsRspCb |
| 7389 | |
| 7390 | DESCRIPTION |
| 7391 | |
| 7392 | This callback is invoked by DAL when it has received a Enter IMPS response |
| 7393 | from the underlying device. |
| 7394 | |
| 7395 | PARAMETERS |
| 7396 | |
| 7397 | IN |
| 7398 | wdiStatus: response status received from HAL |
| 7399 | pUserData: user data |
| 7400 | |
| 7401 | |
| 7402 | |
| 7403 | RETURN VALUE |
| 7404 | The result code associated with performing the operation |
| 7405 | ---------------------------------------------------------------------------*/ |
| 7406 | typedef void (*WDI_EnterImpsRspCb)(WDI_Status wdiStatus, |
| 7407 | void* pUserData); |
| 7408 | |
| 7409 | /*--------------------------------------------------------------------------- |
| 7410 | WDI_ExitImpsRspCb |
| 7411 | |
| 7412 | DESCRIPTION |
| 7413 | |
| 7414 | This callback is invoked by DAL when it has received a Exit IMPS response |
| 7415 | from the underlying device. |
| 7416 | |
| 7417 | PARAMETERS |
| 7418 | |
| 7419 | IN |
| 7420 | wdiStatus: response status received from HAL |
| 7421 | pUserData: user data |
| 7422 | |
| 7423 | |
| 7424 | |
| 7425 | RETURN VALUE |
| 7426 | The result code associated with performing the operation |
| 7427 | ---------------------------------------------------------------------------*/ |
| 7428 | typedef void (*WDI_ExitImpsRspCb)(WDI_Status wdiStatus, |
| 7429 | void* pUserData); |
| 7430 | |
| 7431 | /*--------------------------------------------------------------------------- |
| 7432 | WDI_EnterBmpsRspCb |
| 7433 | |
| 7434 | DESCRIPTION |
| 7435 | |
| 7436 | This callback is invoked by DAL when it has received a enter BMPS response |
| 7437 | from the underlying device. |
| 7438 | |
| 7439 | PARAMETERS |
| 7440 | |
| 7441 | IN |
| 7442 | wdiStatus: response status received from HAL |
| 7443 | pUserData: user data |
| 7444 | |
| 7445 | |
| 7446 | |
| 7447 | RETURN VALUE |
| 7448 | The result code associated with performing the operation |
| 7449 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7450 | typedef void (*WDI_EnterBmpsRspCb)(WDI_EnterBmpsRspParamsType *pwdiEnterBmpsRsp, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7451 | void* pUserData); |
| 7452 | |
| 7453 | /*--------------------------------------------------------------------------- |
| 7454 | WDI_ExitBmpsRspCb |
| 7455 | |
| 7456 | DESCRIPTION |
| 7457 | |
| 7458 | This callback is invoked by DAL when it has received a exit BMPS response |
| 7459 | from the underlying device. |
| 7460 | |
| 7461 | PARAMETERS |
| 7462 | |
| 7463 | IN |
| 7464 | wdiStatus: response status received from HAL |
| 7465 | pUserData: user data |
| 7466 | |
| 7467 | |
| 7468 | |
| 7469 | RETURN VALUE |
| 7470 | The result code associated with performing the operation |
| 7471 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7472 | typedef void (*WDI_ExitBmpsRspCb)( WDI_ExitBmpsRspParamsType *pwdiExitBmpsRspParams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7473 | void* pUserData); |
| 7474 | |
| 7475 | /*--------------------------------------------------------------------------- |
| 7476 | WDI_EnterUapsdRspCb |
| 7477 | |
| 7478 | DESCRIPTION |
| 7479 | |
| 7480 | This callback is invoked by DAL when it has received a enter UAPSD response |
| 7481 | from the underlying device. |
| 7482 | |
| 7483 | PARAMETERS |
| 7484 | |
| 7485 | IN |
| 7486 | wdiStatus: response status received from HAL |
| 7487 | pUserData: user data |
| 7488 | |
| 7489 | |
| 7490 | |
| 7491 | RETURN VALUE |
| 7492 | The result code associated with performing the operation |
| 7493 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7494 | typedef void (*WDI_EnterUapsdRspCb)( WDI_EnterUapsdRspParamsType *pwdiEnterUapsdRspParam, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7495 | void* pUserData); |
| 7496 | |
| 7497 | /*--------------------------------------------------------------------------- |
| 7498 | WDI_ExitUapsdRspCb |
| 7499 | |
| 7500 | DESCRIPTION |
| 7501 | |
| 7502 | This callback is invoked by DAL when it has received a exit UAPSD response |
| 7503 | from the underlying device. |
| 7504 | |
| 7505 | PARAMETERS |
| 7506 | |
| 7507 | IN |
| 7508 | wdiStatus: response status received from HAL |
| 7509 | pUserData: user data |
| 7510 | |
| 7511 | |
| 7512 | |
| 7513 | RETURN VALUE |
| 7514 | The result code associated with performing the operation |
| 7515 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7516 | typedef void (*WDI_ExitUapsdRspCb)(WDI_ExitUapsdRspParamsType *pwidExitUapsdRsp, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7517 | void* pUserData); |
| 7518 | |
| 7519 | /*--------------------------------------------------------------------------- |
| 7520 | WDI_UpdateUapsdParamsCb |
| 7521 | |
| 7522 | DESCRIPTION |
| 7523 | |
| 7524 | This callback is invoked by DAL when it has received a update UAPSD params |
| 7525 | response from the underlying device. |
| 7526 | |
| 7527 | PARAMETERS |
| 7528 | |
| 7529 | IN |
| 7530 | wdiStatus: response status received from HAL |
| 7531 | pUserData: user data |
| 7532 | |
| 7533 | |
| 7534 | |
| 7535 | RETURN VALUE |
| 7536 | The result code associated with performing the operation |
| 7537 | ---------------------------------------------------------------------------*/ |
| 7538 | typedef void (*WDI_UpdateUapsdParamsCb)(WDI_Status wdiStatus, |
| 7539 | void* pUserData); |
| 7540 | |
| 7541 | /*--------------------------------------------------------------------------- |
| 7542 | WDI_ConfigureRxpFilterCb |
| 7543 | |
| 7544 | DESCRIPTION |
| 7545 | |
| 7546 | This callback is invoked by DAL when it has received a config RXP filter |
| 7547 | response from the underlying device. |
| 7548 | |
| 7549 | PARAMETERS |
| 7550 | |
| 7551 | IN |
| 7552 | wdiStatus: response status received from HAL |
| 7553 | pUserData: user data |
| 7554 | |
| 7555 | |
| 7556 | |
| 7557 | RETURN VALUE |
| 7558 | The result code associated with performing the operation |
| 7559 | ---------------------------------------------------------------------------*/ |
| 7560 | typedef void (*WDI_ConfigureRxpFilterCb)(WDI_Status wdiStatus, |
| 7561 | void* pUserData); |
| 7562 | |
| 7563 | /*--------------------------------------------------------------------------- |
| 7564 | WDI_SetBeaconFilterCb |
| 7565 | |
| 7566 | DESCRIPTION |
| 7567 | |
| 7568 | This callback is invoked by DAL when it has received a set beacon filter |
| 7569 | response from the underlying device. |
| 7570 | |
| 7571 | PARAMETERS |
| 7572 | |
| 7573 | IN |
| 7574 | wdiStatus: response status received from HAL |
| 7575 | pUserData: user data |
| 7576 | |
| 7577 | |
| 7578 | |
| 7579 | RETURN VALUE |
| 7580 | The result code associated with performing the operation |
| 7581 | ---------------------------------------------------------------------------*/ |
| 7582 | typedef void (*WDI_SetBeaconFilterCb)(WDI_Status wdiStatus, |
| 7583 | void* pUserData); |
| 7584 | |
| 7585 | /*--------------------------------------------------------------------------- |
| 7586 | WDI_RemBeaconFilterCb |
| 7587 | |
| 7588 | DESCRIPTION |
| 7589 | |
| 7590 | This callback is invoked by DAL when it has received a remove beacon filter |
| 7591 | response from the underlying device. |
| 7592 | |
| 7593 | PARAMETERS |
| 7594 | |
| 7595 | IN |
| 7596 | wdiStatus: response status received from HAL |
| 7597 | pUserData: user data |
| 7598 | |
| 7599 | |
| 7600 | |
| 7601 | RETURN VALUE |
| 7602 | The result code associated with performing the operation |
| 7603 | ---------------------------------------------------------------------------*/ |
| 7604 | typedef void (*WDI_RemBeaconFilterCb)(WDI_Status wdiStatus, |
| 7605 | void* pUserData); |
| 7606 | |
| 7607 | /*--------------------------------------------------------------------------- |
| 7608 | WDI_SetRSSIThresholdsCb |
| 7609 | |
| 7610 | DESCRIPTION |
| 7611 | |
| 7612 | This callback is invoked by DAL when it has received a set RSSI thresholds |
| 7613 | response from the underlying device. |
| 7614 | |
| 7615 | PARAMETERS |
| 7616 | |
| 7617 | IN |
| 7618 | wdiStatus: response status received from HAL |
| 7619 | pUserData: user data |
| 7620 | |
| 7621 | |
| 7622 | |
| 7623 | RETURN VALUE |
| 7624 | The result code associated with performing the operation |
| 7625 | ---------------------------------------------------------------------------*/ |
| 7626 | typedef void (*WDI_SetRSSIThresholdsCb)(WDI_Status wdiStatus, |
| 7627 | void* pUserData); |
| 7628 | |
| 7629 | /*--------------------------------------------------------------------------- |
| 7630 | WDI_HostOffloadCb |
| 7631 | |
| 7632 | DESCRIPTION |
| 7633 | |
| 7634 | This callback is invoked by DAL when it has received a host offload |
| 7635 | response from the underlying device. |
| 7636 | |
| 7637 | PARAMETERS |
| 7638 | |
| 7639 | IN |
| 7640 | wdiStatus: response status received from HAL |
| 7641 | pUserData: user data |
| 7642 | |
| 7643 | |
| 7644 | |
| 7645 | RETURN VALUE |
| 7646 | The result code associated with performing the operation |
| 7647 | ---------------------------------------------------------------------------*/ |
| 7648 | typedef void (*WDI_HostOffloadCb)(WDI_Status wdiStatus, |
| 7649 | void* pUserData); |
| 7650 | |
| 7651 | /*--------------------------------------------------------------------------- |
| 7652 | WDI_KeepAliveCb |
| 7653 | |
| 7654 | DESCRIPTION |
| 7655 | |
| 7656 | This callback is invoked by DAL when it has received a Keep Alive |
| 7657 | response from the underlying device. |
| 7658 | |
| 7659 | PARAMETERS |
| 7660 | |
| 7661 | IN |
| 7662 | wdiStatus: response status received from HAL |
| 7663 | pUserData: user data |
| 7664 | |
| 7665 | |
| 7666 | |
| 7667 | RETURN VALUE |
| 7668 | The result code associated with performing the operation |
| 7669 | ---------------------------------------------------------------------------*/ |
| 7670 | typedef void (*WDI_KeepAliveCb)(WDI_Status wdiStatus, |
| 7671 | void* pUserData); |
| 7672 | |
| 7673 | /*--------------------------------------------------------------------------- |
| 7674 | WDI_WowlAddBcPtrnCb |
| 7675 | |
| 7676 | DESCRIPTION |
| 7677 | |
| 7678 | This callback is invoked by DAL when it has received a Wowl add Bcast ptrn |
| 7679 | response from the underlying device. |
| 7680 | |
| 7681 | PARAMETERS |
| 7682 | |
| 7683 | IN |
| 7684 | wdiStatus: response status received from HAL |
| 7685 | pUserData: user data |
| 7686 | |
| 7687 | |
| 7688 | |
| 7689 | RETURN VALUE |
| 7690 | The result code associated with performing the operation |
| 7691 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7692 | typedef void (*WDI_WowlAddBcPtrnCb)( WDI_WowlAddBcPtrnRspParamsType *pwdiWowlAddBcPtrnParams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7693 | void* pUserData); |
| 7694 | |
| 7695 | /*--------------------------------------------------------------------------- |
| 7696 | WDI_WowlDelBcPtrnCb |
| 7697 | |
| 7698 | DESCRIPTION |
| 7699 | |
| 7700 | This callback is invoked by DAL when it has received a Wowl delete Bcast ptrn |
| 7701 | response from the underlying device. |
| 7702 | |
| 7703 | PARAMETERS |
| 7704 | |
| 7705 | IN |
| 7706 | wdiStatus: response status received from HAL |
| 7707 | pUserData: user data |
| 7708 | |
| 7709 | |
| 7710 | |
| 7711 | RETURN VALUE |
| 7712 | The result code associated with performing the operation |
| 7713 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7714 | typedef void (*WDI_WowlDelBcPtrnCb)( WDI_WowlDelBcPtrnRspParamsType *pwdiWowlDelBcstPtrRsp, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7715 | void* pUserData); |
| 7716 | |
| 7717 | /*--------------------------------------------------------------------------- |
| 7718 | WDI_WowlEnterReqCb |
| 7719 | |
| 7720 | DESCRIPTION |
| 7721 | |
| 7722 | This callback is invoked by DAL when it has received a Wowl enter |
| 7723 | response from the underlying device. |
| 7724 | |
| 7725 | PARAMETERS |
| 7726 | |
| 7727 | IN |
| 7728 | wdiStatus: response status received from HAL |
| 7729 | pUserData: user data |
| 7730 | |
| 7731 | |
| 7732 | |
| 7733 | RETURN VALUE |
| 7734 | The result code associated with performing the operation |
| 7735 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7736 | typedef void (*WDI_WowlEnterReqCb)( WDI_WowlEnterRspParamsType *pwdiwowlEnterRsp, |
| 7737 | void* pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7738 | |
| 7739 | /*--------------------------------------------------------------------------- |
| 7740 | WDI_WowlExitReqCb |
| 7741 | |
| 7742 | DESCRIPTION |
| 7743 | |
| 7744 | This callback is invoked by DAL when it has received a Wowl exit |
| 7745 | response from the underlying device. |
| 7746 | |
| 7747 | PARAMETERS |
| 7748 | |
| 7749 | IN |
| 7750 | wdiStatus: response status received from HAL |
| 7751 | pUserData: user data |
| 7752 | |
| 7753 | |
| 7754 | |
| 7755 | RETURN VALUE |
| 7756 | The result code associated with performing the operation |
| 7757 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 7758 | typedef void (*WDI_WowlExitReqCb)( WDI_WowlExitRspParamsType *pwdiWowlExitRsp, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7759 | void* pUserData); |
| 7760 | |
| 7761 | /*--------------------------------------------------------------------------- |
| 7762 | WDI_ConfigureAppsCpuWakeupStateCb |
| 7763 | |
| 7764 | DESCRIPTION |
| 7765 | |
| 7766 | This callback is invoked by DAL when it has received a config Apps Cpu Wakeup |
| 7767 | State response from the underlying device. |
| 7768 | |
| 7769 | PARAMETERS |
| 7770 | |
| 7771 | IN |
| 7772 | wdiStatus: response status received from HAL |
| 7773 | pUserData: user data |
| 7774 | |
| 7775 | |
| 7776 | |
| 7777 | RETURN VALUE |
| 7778 | The result code associated with performing the operation |
| 7779 | ---------------------------------------------------------------------------*/ |
| 7780 | typedef void (*WDI_ConfigureAppsCpuWakeupStateCb)(WDI_Status wdiStatus, |
| 7781 | void* pUserData); |
| 7782 | /*--------------------------------------------------------------------------- |
| 7783 | WDI_NvDownloadRspCb |
| 7784 | |
| 7785 | DESCRIPTION |
| 7786 | |
| 7787 | This callback is invoked by DAL when it has received a NV Download response |
| 7788 | from the underlying device. |
| 7789 | |
| 7790 | PARAMETERS |
| 7791 | |
| 7792 | IN |
| 7793 | wdiStatus:response status received from HAL |
| 7794 | pUserData:user data |
| 7795 | |
| 7796 | RETURN VALUE |
| 7797 | The result code associated with performing the operation |
| 7798 | ---------------------------------------------------------------------------*/ |
| 7799 | typedef void (*WDI_NvDownloadRspCb)(WDI_NvDownloadRspInfoType* wdiNvDownloadRsp, |
| 7800 | void* pUserData); |
| 7801 | /*--------------------------------------------------------------------------- |
| 7802 | WDI_FlushAcRspCb |
| 7803 | |
| 7804 | DESCRIPTION |
| 7805 | |
| 7806 | This callback is invoked by DAL when it has received a Flush AC response from |
| 7807 | the underlying device. |
| 7808 | |
| 7809 | PARAMETERS |
| 7810 | |
| 7811 | IN |
| 7812 | wdiStatus: response status received from HAL |
| 7813 | pUserData: user data |
| 7814 | |
| 7815 | |
| 7816 | |
| 7817 | RETURN VALUE |
| 7818 | The result code associated with performing the operation |
| 7819 | ---------------------------------------------------------------------------*/ |
| 7820 | typedef void (*WDI_FlushAcRspCb)(WDI_Status wdiStatus, |
| 7821 | void* pUserData); |
| 7822 | |
| 7823 | /*--------------------------------------------------------------------------- |
| 7824 | WDI_BtAmpEventRspCb |
| 7825 | |
| 7826 | DESCRIPTION |
| 7827 | |
| 7828 | This callback is invoked by DAL when it has received a Bt AMP event response |
| 7829 | from the underlying device. |
| 7830 | |
| 7831 | PARAMETERS |
| 7832 | |
| 7833 | IN |
| 7834 | wdiStatus: response status received from HAL |
| 7835 | pUserData: user data |
| 7836 | |
| 7837 | |
| 7838 | |
| 7839 | RETURN VALUE |
| 7840 | The result code associated with performing the operation |
| 7841 | ---------------------------------------------------------------------------*/ |
| 7842 | typedef void (*WDI_BtAmpEventRspCb)(WDI_Status wdiStatus, |
| 7843 | void* pUserData); |
| 7844 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 7845 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 7846 | /*--------------------------------------------------------------------------- |
| 7847 | WDI_oemDataRspCb |
| 7848 | |
| 7849 | DESCRIPTION |
| 7850 | |
| 7851 | This callback is invoked by DAL when it has received a Start oem data response from |
| 7852 | the underlying device. |
| 7853 | |
| 7854 | PARAMETERS |
| 7855 | |
| 7856 | IN |
| 7857 | wdiStatus: response status received from HAL |
| 7858 | pUserData: user data |
| 7859 | |
| 7860 | |
| 7861 | |
| 7862 | RETURN VALUE |
| 7863 | The result code associated with performing the operation |
| 7864 | ---------------------------------------------------------------------------*/ |
| 7865 | typedef void (*WDI_oemDataRspCb)(WDI_oemDataRspParamsType* wdiOemDataRspParams, |
| 7866 | void* pUserData); |
| 7867 | |
| 7868 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7869 | |
| 7870 | /*--------------------------------------------------------------------------- |
| 7871 | WDI_HostResumeEventRspCb |
| 7872 | |
| 7873 | DESCRIPTION |
| 7874 | |
| 7875 | This callback is invoked by DAL when it has received a Bt AMP event response |
| 7876 | from the underlying device. |
| 7877 | |
| 7878 | PARAMETERS |
| 7879 | |
| 7880 | IN |
| 7881 | wdiStatus: response status received from HAL |
| 7882 | pUserData: user data |
| 7883 | |
| 7884 | |
| 7885 | |
| 7886 | RETURN VALUE |
| 7887 | The result code associated with performing the operation |
| 7888 | ---------------------------------------------------------------------------*/ |
| 7889 | typedef void (*WDI_HostResumeEventRspCb)( |
| 7890 | WDI_SuspendResumeRspParamsType *resumeRspParams, |
| 7891 | void* pUserData); |
| 7892 | |
| 7893 | |
| 7894 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 7895 | /*--------------------------------------------------------------------------- |
| 7896 | WDI_AggrAddTsRspCb |
| 7897 | |
| 7898 | DESCRIPTION |
| 7899 | |
| 7900 | This callback is invoked by DAL when it has received a Aggregated Add TS |
| 7901 | response from the underlying device. |
| 7902 | |
| 7903 | PARAMETERS |
| 7904 | |
| 7905 | IN |
| 7906 | wdiStatus: response status received from HAL |
| 7907 | pUserData: user data |
| 7908 | |
| 7909 | |
| 7910 | |
| 7911 | RETURN VALUE |
| 7912 | The result code associated with performing the operation |
| 7913 | ---------------------------------------------------------------------------*/ |
| 7914 | typedef void (*WDI_AggrAddTsRspCb)(WDI_Status wdiStatus, |
| 7915 | void* pUserData); |
| 7916 | #endif /* WLAN_FEATURE_VOWIFI_11R */ |
| 7917 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7918 | /*--------------------------------------------------------------------------- |
| 7919 | WDI_FTMCommandRspCb |
| 7920 | |
| 7921 | DESCRIPTION |
| 7922 | |
| 7923 | FTM Command response CB |
| 7924 | |
| 7925 | PARAMETERS |
| 7926 | |
| 7927 | IN |
| 7928 | ftmCMDRspdata: FTM response data from HAL |
| 7929 | pUserData: user data |
| 7930 | |
| 7931 | |
| 7932 | RETURN VALUE |
| 7933 | NONE |
| 7934 | ---------------------------------------------------------------------------*/ |
| 7935 | typedef void (*WDI_FTMCommandRspCb)(void *ftmCMDRspdata, |
| 7936 | void *pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7937 | |
| 7938 | /*--------------------------------------------------------------------------- |
| 7939 | WDI_AddSTASelfParamsRspCb |
| 7940 | |
| 7941 | DESCRIPTION |
| 7942 | |
| 7943 | This callback is invoked by DAL when it has received a Add Sta Self Params |
| 7944 | response from the underlying device. |
| 7945 | |
| 7946 | PARAMETERS |
| 7947 | |
| 7948 | IN |
| 7949 | wdiAddSelfSTARsp: response status received from HAL |
| 7950 | pUserData: user data |
| 7951 | |
| 7952 | |
| 7953 | |
| 7954 | RETURN VALUE |
| 7955 | The result code associated with performing the operation |
| 7956 | ---------------------------------------------------------------------------*/ |
| 7957 | typedef void (*WDI_AddSTASelfParamsRspCb)( |
| 7958 | WDI_AddSTASelfRspParamsType* pwdiAddSelfSTARsp, |
| 7959 | void* pUserData); |
| 7960 | |
| 7961 | |
| 7962 | /*--------------------------------------------------------------------------- |
| 7963 | WDI_DelSTASelfRspCb |
| 7964 | |
| 7965 | DESCRIPTION |
| 7966 | |
| 7967 | This callback is invoked by DAL when it has received a host offload |
| 7968 | response from the underlying device. |
| 7969 | |
| 7970 | PARAMETERS |
| 7971 | |
| 7972 | IN |
| 7973 | wdiStatus: response status received from HAL |
| 7974 | pUserData: user data |
| 7975 | |
| 7976 | |
| 7977 | |
| 7978 | RETURN VALUE |
| 7979 | The result code associated with performing the operation |
| 7980 | ---------------------------------------------------------------------------*/ |
| 7981 | typedef void (*WDI_DelSTASelfRspCb) |
| 7982 | ( |
| 7983 | WDI_DelSTASelfRspParamsType* wdiDelStaSelfRspParams, |
| 7984 | void* pUserData |
| 7985 | ); |
| 7986 | |
| 7987 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 7988 | /*--------------------------------------------------------------------------- |
| 7989 | WDI_PNOScanCb |
| 7990 | |
| 7991 | DESCRIPTION |
| 7992 | |
| 7993 | This callback is invoked by DAL when it has received a Set PNO |
| 7994 | response from the underlying device. |
| 7995 | |
| 7996 | PARAMETERS |
| 7997 | |
| 7998 | IN |
| 7999 | wdiStatus: response status received from HAL |
| 8000 | pUserData: user data |
| 8001 | |
| 8002 | |
| 8003 | |
| 8004 | RETURN VALUE |
| 8005 | The result code associated with performing the operation |
| 8006 | ---------------------------------------------------------------------------*/ |
| 8007 | typedef void (*WDI_PNOScanCb)(WDI_Status wdiStatus, |
| 8008 | void* pUserData); |
| 8009 | |
| 8010 | /*--------------------------------------------------------------------------- |
| 8011 | WDI_PNOScanCb |
| 8012 | |
| 8013 | DESCRIPTION |
| 8014 | |
| 8015 | This callback is invoked by DAL when it has received a Set PNO |
| 8016 | response from the underlying device. |
| 8017 | |
| 8018 | PARAMETERS |
| 8019 | |
| 8020 | IN |
| 8021 | wdiStatus: response status received from HAL |
| 8022 | pUserData: user data |
| 8023 | |
| 8024 | |
| 8025 | |
| 8026 | RETURN VALUE |
| 8027 | The result code associated with performing the operation |
| 8028 | ---------------------------------------------------------------------------*/ |
| 8029 | typedef void (*WDI_RssiFilterCb)(WDI_Status wdiStatus, |
| 8030 | void* pUserData); |
| 8031 | |
| 8032 | /*--------------------------------------------------------------------------- |
| 8033 | WDI_UpdateScanParamsCb |
| 8034 | |
| 8035 | DESCRIPTION |
| 8036 | |
| 8037 | This callback is invoked by DAL when it has received a Update Scan Params |
| 8038 | response from the underlying device. |
| 8039 | |
| 8040 | PARAMETERS |
| 8041 | |
| 8042 | IN |
| 8043 | wdiStatus: response status received from HAL |
| 8044 | pUserData: user data |
| 8045 | |
| 8046 | |
| 8047 | |
| 8048 | RETURN VALUE |
| 8049 | The result code associated with performing the operation |
| 8050 | ---------------------------------------------------------------------------*/ |
| 8051 | typedef void (*WDI_UpdateScanParamsCb)(WDI_Status wdiStatus, |
| 8052 | void* pUserData); |
| 8053 | #endif // FEATURE_WLAN_SCAN_PNO |
| 8054 | |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 8055 | typedef void (*WDI_UpdateChannelRspCb)(WDI_Status wdiStatus, |
| 8056 | void* pUserData); |
| 8057 | |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 8058 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 8059 | /*--------------------------------------------------------------------------- |
| 8060 | WDI_RoamOffloadScanCb |
| 8061 | |
| 8062 | DESCRIPTION |
| 8063 | |
| 8064 | This callback is invoked by DAL when it has received a Start Roam Candidate Lookup Req |
| 8065 | response from the underlying device. |
| 8066 | |
| 8067 | PARAMETERS |
| 8068 | |
| 8069 | IN |
| 8070 | wdiStatus: response status received from HAL |
| 8071 | pUserData: user data |
| 8072 | |
| 8073 | |
| 8074 | |
| 8075 | RETURN VALUE |
| 8076 | The result code associated with performing the operation |
| 8077 | ---------------------------------------------------------------------------*/ |
| 8078 | typedef void (*WDI_RoamOffloadScanCb)(WDI_Status wdiStatus, |
| 8079 | void* pUserData); |
| 8080 | |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame] | 8081 | typedef void (*WDI_PERRoamOffloadScanCb)(WDI_Status wdiStatus, void *pUserData); |
| 8082 | typedef void (*WDI_PERRoamTriggerScanCb)(WDI_Status wdiStatus, void *pUserData); |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 8083 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8084 | /*--------------------------------------------------------------------------- |
| 8085 | WDI_SetTxPerTrackingRspCb |
| 8086 | |
| 8087 | DESCRIPTION |
| 8088 | |
| 8089 | This callback is invoked by DAL when it has received a Tx PER Tracking |
| 8090 | response from the underlying device. |
| 8091 | |
| 8092 | PARAMETERS |
| 8093 | |
| 8094 | IN |
| 8095 | wdiStatus: response status received from HAL |
| 8096 | pUserData: user data |
| 8097 | |
| 8098 | |
| 8099 | |
| 8100 | RETURN VALUE |
| 8101 | The result code associated with performing the operation |
| 8102 | ---------------------------------------------------------------------------*/ |
| 8103 | typedef void (*WDI_SetTxPerTrackingRspCb)(WDI_Status wdiStatus, |
| 8104 | void* pUserData); |
| 8105 | |
| 8106 | #ifdef WLAN_FEATURE_PACKET_FILTERING |
| 8107 | /*--------------------------------------------------------------------------- |
| 8108 | WDI_8023MulticastListCb |
| 8109 | |
| 8110 | DESCRIPTION |
| 8111 | |
| 8112 | This callback is invoked by DAL when it has received a 8023 Multicast List |
| 8113 | response from the underlying device. |
| 8114 | |
| 8115 | PARAMETERS |
| 8116 | |
| 8117 | IN |
| 8118 | wdiStatus: response status received from HAL |
| 8119 | pUserData: user data |
| 8120 | |
| 8121 | |
| 8122 | |
| 8123 | RETURN VALUE |
| 8124 | The result code associated with performing the operation |
| 8125 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 8126 | typedef void (*WDI_8023MulticastListCb)( |
| 8127 | WDI_RcvFltPktSetMcListRspParamsType *pwdiRcvFltPktSetMcListRspInfo, |
| 8128 | void* pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8129 | |
| 8130 | /*--------------------------------------------------------------------------- |
| 8131 | WDI_ReceiveFilterSetFilterCb |
| 8132 | |
| 8133 | DESCRIPTION |
| 8134 | |
| 8135 | This callback is invoked by DAL when it has received a Receive Filter Set Filter |
| 8136 | response from the underlying device. |
| 8137 | |
| 8138 | PARAMETERS |
| 8139 | |
| 8140 | IN |
| 8141 | wdiStatus: response status received from HAL |
| 8142 | pUserData: user data |
| 8143 | |
| 8144 | |
| 8145 | |
| 8146 | RETURN VALUE |
| 8147 | The result code associated with performing the operation |
| 8148 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 8149 | typedef void (*WDI_ReceiveFilterSetFilterCb)( |
| 8150 | WDI_SetRcvPktFilterRspParamsType *pwdiSetRcvPktFilterRspInfo, |
| 8151 | void* pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8152 | |
| 8153 | /*--------------------------------------------------------------------------- |
| 8154 | WDI_FilterMatchCountCb |
| 8155 | |
| 8156 | DESCRIPTION |
| 8157 | |
| 8158 | This callback is invoked by DAL when it has received a Do PC Filter Match Count |
| 8159 | response from the underlying device. |
| 8160 | |
| 8161 | PARAMETERS |
| 8162 | |
| 8163 | IN |
| 8164 | wdiStatus: response status received from HAL |
| 8165 | pUserData: user data |
| 8166 | |
| 8167 | |
| 8168 | |
| 8169 | RETURN VALUE |
| 8170 | The result code associated with performing the operation |
| 8171 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 8172 | typedef void (*WDI_FilterMatchCountCb)( |
| 8173 | WDI_RcvFltPktMatchCntRspParamsType *pwdiRcvFltPktMatchRspParams, |
| 8174 | void* pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8175 | |
| 8176 | /*--------------------------------------------------------------------------- |
| 8177 | WDI_ReceiveFilterClearFilterCb |
| 8178 | |
| 8179 | DESCRIPTION |
| 8180 | |
| 8181 | This callback is invoked by DAL when it has received a Receive Filter Clear Filter |
| 8182 | response from the underlying device. |
| 8183 | |
| 8184 | PARAMETERS |
| 8185 | |
| 8186 | IN |
| 8187 | wdiStatus: response status received from HAL |
| 8188 | pUserData: user data |
| 8189 | |
| 8190 | |
| 8191 | |
| 8192 | RETURN VALUE |
| 8193 | The result code associated with performing the operation |
| 8194 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 8195 | typedef void (*WDI_ReceiveFilterClearFilterCb)( |
| 8196 | WDI_RcvFltPktClearRspParamsType *pwdiRcvFltPktClearRspParamsType, |
| 8197 | void* pUserData); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8198 | #endif // WLAN_FEATURE_PACKET_FILTERING |
| 8199 | |
| 8200 | /*--------------------------------------------------------------------------- |
| 8201 | WDI_HALDumpCmdRspCb |
| 8202 | |
| 8203 | DESCRIPTION |
| 8204 | |
| 8205 | This callback is invoked by DAL when it has received a HAL DUMP Command |
| 8206 | response from |
| 8207 | the HAL layer. |
| 8208 | |
| 8209 | PARAMETERS |
| 8210 | |
| 8211 | IN |
| 8212 | wdiHalDumpCmdRsp: response status received from HAL |
| 8213 | pUserData: user data |
| 8214 | |
| 8215 | |
| 8216 | |
| 8217 | RETURN VALUE |
| 8218 | The result code associated with performing the operation |
| 8219 | ---------------------------------------------------------------------------*/ |
| 8220 | typedef void (*WDI_HALDumpCmdRspCb)(WDI_HALDumpCmdRspParamsType* wdiHalDumpCmdRsp, |
| 8221 | void* pUserData); |
| 8222 | |
| 8223 | /*--------------------------------------------------------------------------- |
| 8224 | WDI_SetPowerParamsCb |
| 8225 | |
| 8226 | DESCRIPTION |
| 8227 | |
| 8228 | This callback is invoked by DAL when it has received a Set Power Param |
| 8229 | response from the underlying device. |
| 8230 | |
| 8231 | PARAMETERS |
| 8232 | |
| 8233 | IN |
| 8234 | wdiStatus: response status received from HAL |
| 8235 | pUserData: user data |
| 8236 | |
| 8237 | |
| 8238 | |
| 8239 | RETURN VALUE |
| 8240 | The result code associated with performing the operation |
| 8241 | ---------------------------------------------------------------------------*/ |
| 8242 | typedef void (*WDI_SetPowerParamsCb)(WDI_Status wdiStatus, |
| 8243 | void* pUserData); |
| 8244 | |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 8245 | |
| 8246 | /*--------------------------------------------------------------------------- |
| 8247 | WDA_FwrMemDumpRespCallback |
| 8248 | |
| 8249 | DESCRIPTION |
| 8250 | |
| 8251 | This callback is invoked by DAL when it has received a Fwr Mem dump |
| 8252 | response from the underlying device. |
| 8253 | |
| 8254 | PARAMETERS |
| 8255 | |
| 8256 | IN |
| 8257 | wdiStatus: response status received from HAL |
| 8258 | pUserData: user data |
| 8259 | ---------------------------------------------------------------------------*/ |
| 8260 | typedef void (* WDI_FwrMemDumpCb) (WDI_FwrMemDumpRsp* wdiRsp, |
| 8261 | void* pUserData); |
| 8262 | |
| 8263 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8264 | #ifdef WLAN_FEATURE_GTK_OFFLOAD |
| 8265 | /*--------------------------------------------------------------------------- |
| 8266 | WDI_GtkOffloadCb |
| 8267 | |
| 8268 | DESCRIPTION |
| 8269 | |
| 8270 | This callback is invoked by DAL when it has received a GTK offload |
| 8271 | response from the underlying device. |
| 8272 | |
| 8273 | PARAMETERS |
| 8274 | |
| 8275 | IN |
| 8276 | wdiStatus: response status received from HAL |
| 8277 | pUserData: user data |
| 8278 | |
| 8279 | |
| 8280 | |
| 8281 | RETURN VALUE |
| 8282 | The result code associated with performing the operation |
| 8283 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 8284 | typedef void (*WDI_GtkOffloadCb)( WDI_GtkOffloadRspParams *pwdiGtkOffloadRsparams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8285 | void* pUserData); |
| 8286 | |
| 8287 | /*--------------------------------------------------------------------------- |
| 8288 | WDI_GtkOffloadGetInfoCb |
| 8289 | |
| 8290 | DESCRIPTION |
| 8291 | |
| 8292 | This callback is invoked by DAL when it has received a GTK offload |
| 8293 | information response from the underlying device. |
| 8294 | |
| 8295 | PARAMETERS |
| 8296 | |
| 8297 | IN |
| 8298 | wdiStatus: response status received from HAL |
| 8299 | pUserData: user data |
| 8300 | |
| 8301 | |
| 8302 | |
| 8303 | RETURN VALUE |
| 8304 | The result code associated with performing the operation |
| 8305 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 8306 | typedef void (*WDI_GtkOffloadGetInfoCb)( WDI_GtkOffloadGetInfoRspParams *pwdiGtkOffloadGetInfoRsparams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8307 | void* pUserData); |
| 8308 | #endif // WLAN_FEATURE_GTK_OFFLOAD |
| 8309 | |
| 8310 | /*--------------------------------------------------------------------------- |
| 8311 | WDI_SetTmLevelCb |
| 8312 | |
| 8313 | DESCRIPTION |
| 8314 | |
| 8315 | This callback is invoked by DAL when it has received a Set New TM Level |
| 8316 | done response from the underlying device. |
| 8317 | |
| 8318 | PARAMETERS |
| 8319 | |
| 8320 | IN |
| 8321 | wdiStatus: response status received from HAL |
| 8322 | pUserData: user data |
| 8323 | |
| 8324 | |
| 8325 | |
| 8326 | RETURN VALUE |
| 8327 | The result code associated with performing the operation |
| 8328 | ---------------------------------------------------------------------------*/ |
| 8329 | typedef void (*WDI_SetTmLevelCb)(WDI_Status wdiStatus, |
| 8330 | void* pUserData); |
| 8331 | |
| 8332 | /*--------------------------------------------------------------------------- |
| 8333 | WDI_featureCapsExchangeCb |
| 8334 | |
| 8335 | DESCRIPTION |
| 8336 | |
| 8337 | This callback is invoked by DAL when it has received a HAL Feature Capbility |
| 8338 | Exchange Response the HAL layer. This callback is put to mantain code |
| 8339 | similarity and is not being used right now. |
| 8340 | |
| 8341 | PARAMETERS |
| 8342 | |
| 8343 | IN |
| 8344 | wdiFeatCapRspParams: response parameters received from HAL |
| 8345 | pUserData: user data |
| 8346 | |
| 8347 | RETURN VALUE |
| 8348 | The result code associated with performing the operation |
| 8349 | ---------------------------------------------------------------------------*/ |
| 8350 | typedef void (*WDI_featureCapsExchangeCb)(void* wdiFeatCapRspParams, |
| 8351 | void* pUserData); |
| 8352 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 8353 | #ifdef WLAN_FEATURE_11AC |
| 8354 | typedef void (*WDI_UpdateVHTOpModeCb)(WDI_Status wdiStatus, |
| 8355 | void* pUserData); |
| 8356 | #endif |
| 8357 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 8358 | #ifdef FEATURE_WLAN_LPHB |
| 8359 | typedef void (*WDI_LphbCfgCb)(WDI_Status wdiStatus, |
| 8360 | void* pUserData); |
| 8361 | #endif /* FEATURE_WLAN_LPHB */ |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 8362 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 8363 | #ifdef WLAN_FEATURE_RMC |
| 8364 | typedef void (*WDI_RmcRulerRspCb)(WDI_RmcRspParamsType *wdiRmcResponse, |
| 8365 | void* pUserData); |
| 8366 | |
| 8367 | typedef void (*WDI_IbssPeerInfoReqCb)(WDI_IbssPeerInfoRspParams *pInfoRspParams, |
| 8368 | void* pUserData); |
| 8369 | |
| 8370 | #endif /* WLAN_FEATURE_RMC */ |
| 8371 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 8372 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 8373 | /*--------------------------------------------------------------------------- |
| 8374 | WDI_SetBatchScanCb |
| 8375 | |
| 8376 | DESCRIPTION |
| 8377 | |
| 8378 | This callback is invoked by DAL when it has received a get batch scan |
| 8379 | response from the underlying device. |
| 8380 | |
| 8381 | PARAMETERS |
| 8382 | |
| 8383 | IN |
| 8384 | wdiStatus: response status received from HAL |
| 8385 | pUserData: user data |
| 8386 | |
| 8387 | |
| 8388 | |
| 8389 | RETURN VALUE |
| 8390 | The result code associated with performing the operation |
| 8391 | ---------------------------------------------------------------------------*/ |
| 8392 | typedef void (*WDI_SetBatchScanCb)(void *pData, WDI_SetBatchScanRspType *pRsp); |
| 8393 | |
| 8394 | #endif |
| 8395 | |
c_hpothu | 9236791 | 2014-05-01 15:18:17 +0530 | [diff] [blame] | 8396 | typedef void (*WDI_GetBcnMissRateCb)(wpt_uint8 status, wpt_uint32 bcnMissRate, |
| 8397 | void* pUserData); |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 8398 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 8399 | #ifdef WLAN_FEATURE_EXTSCAN |
| 8400 | typedef void (*WDI_EXTScanStartRspCb)(void *pEventData, |
| 8401 | void *pUserData); |
| 8402 | typedef void (*WDI_EXTScanStopRspCb)(void *pEventData, |
| 8403 | void *pUserData); |
| 8404 | typedef void (*WDI_EXTScanGetCachedResultsRspCb)(void *pEventData, |
| 8405 | void *pUserData); |
| 8406 | typedef void (*WDI_EXTScanGetCapabilitiesRspCb)(void *pEventData, |
| 8407 | void *pUserData); |
| 8408 | typedef void (*WDI_EXTScanSetBSSIDHotlistRspCb)(void *pEventData, |
| 8409 | void *pUserData); |
| 8410 | typedef void (*WDI_EXTScanResetBSSIDHotlistRspCb)(void *pEventData, |
| 8411 | void *pUserData); |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 8412 | typedef void (*WDI_EXTScanSetSSIDHotlistRspCb)(void *pEventData, |
| 8413 | void *pUserData); |
| 8414 | typedef void (*WDI_EXTScanResetSSIDHotlistRspCb)(void *pEventData, |
| 8415 | void *pUserData); |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 8416 | #endif /* WLAN_FEATURE_EXTSCAN */ |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 8417 | |
| 8418 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 8419 | typedef void (*WDI_LLStatsSetRspCb)(void *pEventData, |
| 8420 | void *pUserData); |
| 8421 | typedef void (*WDI_LLStatsGetRspCb)(void *pEventData, |
| 8422 | void *pUserData); |
| 8423 | typedef void (*WDI_LLStatsClearRspCb)(void *pEventData, |
| 8424 | void *pUserData); |
| 8425 | #endif /* WLAN_FEATURE_LINK_LAYER_STATS */ |
Siddharth Bhal | 171788a | 2014-09-29 21:02:40 +0530 | [diff] [blame] | 8426 | |
| 8427 | typedef void (*WDI_SetSpoofMacAddrRspCb)( |
| 8428 | WDI_SpoofMacAddrRspParamType* wdiRsp, void *pUserData); |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 8429 | |
Abhishek Singh | 85b7471 | 2014-10-08 11:38:19 +0530 | [diff] [blame] | 8430 | typedef void (*WDI_FWStatsGetRspCb)(WDI_Status status,void *fwStatsResp, |
| 8431 | void *pUserData); |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 8432 | |
| 8433 | typedef void (*WDI_EncryptMsgRspCb)(wpt_uint8 status, void *pEventData, void* pUserData); |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 8434 | typedef void (*WDI_FWLoggingInitRspCb)( |
| 8435 | WDI_FWLoggingInitRspParamType *wdiRsp, void *pUserData); |
Siddharth Bhal | 6424617 | 2015-02-27 01:04:37 +0530 | [diff] [blame] | 8436 | typedef void (*WDI_GetFrameLogRspCb)( |
| 8437 | WDI_GetFrameLogRspParamType *wdiRsp, void *pUserData); |
Sachin Ahuja | 715aafc | 2015-07-21 23:35:10 +0530 | [diff] [blame] | 8438 | typedef void (*WDI_FatalEventLogsRspCb)( |
| 8439 | WDI_FatalEventLogsRspParamType *wdiRsp, void *pUserData); |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 8440 | |
Hanumantha Reddy Pothula | 91cdd7f | 2015-09-03 21:25:16 +0530 | [diff] [blame] | 8441 | typedef void (*WDI_MonModeRspCb)(void *pEventData,void *pUserData); |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 8442 | typedef void (*WDI_RssiMonitorStartRspCb)(void *pEventData,void *pUserData); |
| 8443 | typedef void (*WDI_RssiMonitorStopRspCb)(void *pEventData,void *pUserData); |
Katya Nigam | f0511f6 | 2015-05-05 16:40:57 +0530 | [diff] [blame] | 8444 | |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 8445 | typedef void (*WDI_FwrMemDumpRspCb)(WDI_FwrMemDumpRsp *wdiRsp, void *pUserData); |
| 8446 | |
Arun Khandavalli | 7eeb159 | 2015-10-19 21:36:57 +0530 | [diff] [blame] | 8447 | typedef void (*WDI_WifiConfigSetRspCb) (WDI_WifconfigSetRsp *wdiRsp, void *pUserData); |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 8448 | |
Mahesh A Saptasagar | cfc65ae | 2015-12-22 15:06:10 +0530 | [diff] [blame] | 8449 | typedef void (*WDI_AntennaDivSelRspCb)(WDI_Status status, |
| 8450 | void *resp, void *pUserData); |
| 8451 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8452 | /*======================================================================== |
| 8453 | * Function Declarations and Documentation |
| 8454 | ==========================================================================*/ |
| 8455 | |
| 8456 | /*======================================================================== |
| 8457 | |
| 8458 | INITIALIZATION APIs |
| 8459 | |
| 8460 | ==========================================================================*/ |
| 8461 | |
| 8462 | /** |
| 8463 | @brief WDI_Init is used to initialize the DAL. |
| 8464 | |
| 8465 | DAL will allocate all the resources it needs. It will open PAL, it will also |
| 8466 | open both the data and the control transport which in their turn will open |
| 8467 | DXE/SMD or any other drivers that they need. |
| 8468 | |
Arun Kumar Khandavalli | ebb1948 | 2014-03-25 13:56:53 +0530 | [diff] [blame] | 8469 | @param devHandle: pointer to the OS specific device handle |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8470 | ppWDIGlobalCtx: output pointer of Global Context |
| 8471 | pWdiDevCapability: output pointer of device capability |
| 8472 | |
| 8473 | @return Result of the function call |
| 8474 | */ |
| 8475 | WDI_Status |
| 8476 | WDI_Init |
| 8477 | ( |
Arun Kumar Khandavalli | ebb1948 | 2014-03-25 13:56:53 +0530 | [diff] [blame] | 8478 | void* devHandle, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 8479 | void** ppWDIGlobalCtx, |
| 8480 | WDI_DeviceCapabilityType* pWdiDevCapability, |
| 8481 | unsigned int driverType |
| 8482 | ); |
| 8483 | |
| 8484 | /** |
| 8485 | @brief WDI_Start will be called when the upper MAC is ready to |
| 8486 | commence operation with the WLAN Device. Upon the call |
| 8487 | of this API the WLAN DAL will pack and send a HAL Start |
| 8488 | message to the lower RIVA sub-system if the SMD channel |
| 8489 | has been fully opened and the RIVA subsystem is up. |
| 8490 | |
| 8491 | If the RIVA sub-system is not yet up and running DAL |
| 8492 | will queue the request for Open and will wait for the |
| 8493 | SMD notification before attempting to send down the |
| 8494 | message to HAL. |
| 8495 | |
| 8496 | WDI_Init must have been called. |
| 8497 | |
| 8498 | @param wdiStartParams: the start parameters as specified by |
| 8499 | the Device Interface |
| 8500 | |
| 8501 | wdiStartRspCb: callback for passing back the response of |
| 8502 | the start operation received from the device |
| 8503 | |
| 8504 | pUserData: user data will be passed back with the |
| 8505 | callback |
| 8506 | |
| 8507 | @see WDI_Start |
| 8508 | @return Result of the function call |
| 8509 | */ |
| 8510 | WDI_Status |
| 8511 | WDI_Start |
| 8512 | ( |
| 8513 | WDI_StartReqParamsType* pwdiStartParams, |
| 8514 | WDI_StartRspCb wdiStartRspCb, |
| 8515 | void* pUserData |
| 8516 | ); |
| 8517 | |
| 8518 | |
| 8519 | /** |
| 8520 | @brief WDI_Stop will be called when the upper MAC is ready to |
| 8521 | stop any operation with the WLAN Device. Upon the call |
| 8522 | of this API the WLAN DAL will pack and send a HAL Stop |
| 8523 | message to the lower RIVA sub-system if the DAL Core is |
| 8524 | in started state. |
| 8525 | |
| 8526 | In state BUSY this request will be queued. |
| 8527 | |
| 8528 | Request will not be accepted in any other state. |
| 8529 | |
| 8530 | WDI_Start must have been called. |
| 8531 | |
| 8532 | @param wdiStopParams: the stop parameters as specified by |
| 8533 | the Device Interface |
| 8534 | |
| 8535 | wdiStopRspCb: callback for passing back the response of |
| 8536 | the stop operation received from the device |
| 8537 | |
| 8538 | pUserData: user data will be passed back with the |
| 8539 | callback |
| 8540 | |
| 8541 | @see WDI_Start |
| 8542 | @return Result of the function call |
| 8543 | */ |
| 8544 | WDI_Status |
| 8545 | WDI_Stop |
| 8546 | ( |
| 8547 | WDI_StopReqParamsType* pwdiStopParams, |
| 8548 | WDI_StopRspCb wdiStopRspCb, |
| 8549 | void* pUserData |
| 8550 | ); |
| 8551 | |
| 8552 | /** |
| 8553 | @brief WDI_Close will be called when the upper MAC no longer |
| 8554 | needs to interract with DAL. DAL will free its control |
| 8555 | block. |
| 8556 | |
| 8557 | It is only accepted in state STOPPED. |
| 8558 | |
| 8559 | WDI_Stop must have been called. |
| 8560 | |
| 8561 | @param none |
| 8562 | |
| 8563 | @see WDI_Stop |
| 8564 | @return Result of the function call |
| 8565 | */ |
| 8566 | WDI_Status |
| 8567 | WDI_Close |
| 8568 | ( |
| 8569 | void |
| 8570 | ); |
| 8571 | |
| 8572 | |
| 8573 | /** |
| 8574 | @brief WDI_Shutdown will be called during 'SSR shutdown' operation. |
| 8575 | This will do most of the WDI stop & close |
| 8576 | operations without doing any handshake with Riva |
| 8577 | |
| 8578 | This will also make sure that the control transport |
| 8579 | will NOT be closed. |
| 8580 | |
| 8581 | This request will not be queued. |
| 8582 | |
| 8583 | |
| 8584 | WDI_Start must have been called. |
| 8585 | |
| 8586 | @param closeTransport: Close control channel if this is set |
| 8587 | |
| 8588 | @return Result of the function call |
| 8589 | */ |
| 8590 | WDI_Status |
| 8591 | WDI_Shutdown |
| 8592 | ( |
| 8593 | wpt_boolean closeTransport |
| 8594 | ); |
| 8595 | |
| 8596 | /*======================================================================== |
| 8597 | |
| 8598 | SCAN APIs |
| 8599 | |
| 8600 | ==========================================================================*/ |
| 8601 | |
| 8602 | /** |
| 8603 | @brief WDI_InitScanReq will be called when the upper MAC wants |
| 8604 | the WLAN Device to get ready for a scan procedure. Upon |
| 8605 | the call of this API the WLAN DAL will pack and send a |
| 8606 | HAL Init Scan request message to the lower RIVA |
| 8607 | sub-system if DAL is in state STARTED. |
| 8608 | |
| 8609 | In state BUSY this request will be queued. Request won't |
| 8610 | be allowed in any other state. |
| 8611 | |
| 8612 | WDI_Start must have been called. |
| 8613 | |
| 8614 | @param wdiInitScanParams: the init scan parameters as specified |
| 8615 | by the Device Interface |
| 8616 | |
| 8617 | wdiInitScanRspCb: callback for passing back the response |
| 8618 | of the init scan operation received from the device |
| 8619 | |
| 8620 | pUserData: user data will be passed back with the |
| 8621 | callback |
| 8622 | |
| 8623 | @see WDI_Start |
| 8624 | @return Result of the function call |
| 8625 | */ |
| 8626 | WDI_Status |
| 8627 | WDI_InitScanReq |
| 8628 | ( |
| 8629 | WDI_InitScanReqParamsType* pwdiInitScanParams, |
| 8630 | WDI_InitScanRspCb wdiInitScanRspCb, |
| 8631 | void* pUserData |
| 8632 | ); |
| 8633 | |
| 8634 | /** |
| 8635 | @brief WDI_StartScanReq will be called when the upper MAC |
| 8636 | wishes to change the Scan channel on the WLAN Device. |
| 8637 | Upon the call of this API the WLAN DAL will pack and |
| 8638 | send a HAL Start Scan request message to the lower RIVA |
| 8639 | sub-system if DAL is in state STARTED. |
| 8640 | |
| 8641 | In state BUSY this request will be queued. Request won't |
| 8642 | be allowed in any other state. |
| 8643 | |
| 8644 | WDI_InitScanReq must have been called. |
| 8645 | |
| 8646 | @param wdiStartScanParams: the start scan parameters as |
| 8647 | specified by the Device Interface |
| 8648 | |
| 8649 | wdiStartScanRspCb: callback for passing back the |
| 8650 | response of the start scan operation received from the |
| 8651 | device |
| 8652 | |
| 8653 | pUserData: user data will be passed back with the |
| 8654 | callback |
| 8655 | |
| 8656 | @see WDI_InitScanReq |
| 8657 | @return Result of the function call |
| 8658 | */ |
| 8659 | WDI_Status |
| 8660 | WDI_StartScanReq |
| 8661 | ( |
| 8662 | WDI_StartScanReqParamsType* pwdiStartScanParams, |
| 8663 | WDI_StartScanRspCb wdiStartScanRspCb, |
| 8664 | void* pUserData |
| 8665 | ); |
| 8666 | |
| 8667 | |
| 8668 | /** |
| 8669 | @brief WDI_EndScanReq will be called when the upper MAC is |
| 8670 | wants to end scanning for a particular channel that it |
| 8671 | had set before by calling Scan Start on the WLAN Device. |
| 8672 | Upon the call of this API the WLAN DAL will pack and |
| 8673 | send a HAL End Scan request message to the lower RIVA |
| 8674 | sub-system if DAL is in state STARTED. |
| 8675 | |
| 8676 | In state BUSY this request will be queued. Request won't |
| 8677 | be allowed in any other state. |
| 8678 | |
| 8679 | WDI_StartScanReq must have been called. |
| 8680 | |
| 8681 | @param wdiEndScanParams: the end scan parameters as specified |
| 8682 | by the Device Interface |
| 8683 | |
| 8684 | wdiEndScanRspCb: callback for passing back the response |
| 8685 | of the end scan operation received from the device |
| 8686 | |
| 8687 | pUserData: user data will be passed back with the |
| 8688 | callback |
| 8689 | |
| 8690 | @see WDI_StartScanReq |
| 8691 | @return Result of the function call |
| 8692 | */ |
| 8693 | WDI_Status |
| 8694 | WDI_EndScanReq |
| 8695 | ( |
| 8696 | WDI_EndScanReqParamsType* pwdiEndScanParams, |
| 8697 | WDI_EndScanRspCb wdiEndScanRspCb, |
| 8698 | void* pUserData |
| 8699 | ); |
| 8700 | |
| 8701 | |
| 8702 | /** |
| 8703 | @brief WDI_FinishScanReq will be called when the upper MAC has |
| 8704 | completed the scan process on the WLAN Device. Upon the |
| 8705 | call of this API the WLAN DAL will pack and send a HAL |
| 8706 | Finish Scan Request request message to the lower RIVA |
| 8707 | sub-system if DAL is in state STARTED. |
| 8708 | |
| 8709 | In state BUSY this request will be queued. Request won't |
| 8710 | be allowed in any other state. |
| 8711 | |
| 8712 | WDI_InitScanReq must have been called. |
| 8713 | |
| 8714 | @param wdiFinishScanParams: the finish scan parameters as |
| 8715 | specified by the Device Interface |
| 8716 | |
| 8717 | wdiFinishScanRspCb: callback for passing back the |
| 8718 | response of the finish scan operation received from the |
| 8719 | device |
| 8720 | |
| 8721 | pUserData: user data will be passed back with the |
| 8722 | callback |
| 8723 | |
| 8724 | @see WDI_InitScanReq |
| 8725 | @return Result of the function call |
| 8726 | */ |
| 8727 | WDI_Status |
| 8728 | WDI_FinishScanReq |
| 8729 | ( |
| 8730 | WDI_FinishScanReqParamsType* pwdiFinishScanParams, |
| 8731 | WDI_FinishScanRspCb wdiFinishScanRspCb, |
| 8732 | void* pUserData |
| 8733 | ); |
| 8734 | |
| 8735 | /*======================================================================== |
| 8736 | |
| 8737 | ASSOCIATION APIs |
| 8738 | |
| 8739 | ==========================================================================*/ |
| 8740 | |
| 8741 | /** |
| 8742 | @brief WDI_JoinReq will be called when the upper MAC is ready |
| 8743 | to start an association procedure to a BSS. Upon the |
| 8744 | call of this API the WLAN DAL will pack and send a HAL |
| 8745 | Join request message to the lower RIVA sub-system if |
| 8746 | DAL is in state STARTED. |
| 8747 | |
| 8748 | In state BUSY this request will be queued. Request won't |
| 8749 | be allowed in any other state. |
| 8750 | |
| 8751 | WDI_Start must have been called. |
| 8752 | |
| 8753 | @param wdiJoinParams: the join parameters as specified by |
| 8754 | the Device Interface |
| 8755 | |
| 8756 | wdiJoinRspCb: callback for passing back the response of |
| 8757 | the join operation received from the device |
| 8758 | |
| 8759 | pUserData: user data will be passed back with the |
| 8760 | callback |
| 8761 | |
| 8762 | @see WDI_Start |
| 8763 | @return Result of the function call |
| 8764 | */ |
| 8765 | WDI_Status |
| 8766 | WDI_JoinReq |
| 8767 | ( |
| 8768 | WDI_JoinReqParamsType* pwdiJoinParams, |
| 8769 | WDI_JoinRspCb wdiJoinRspCb, |
| 8770 | void* pUserData |
| 8771 | ); |
| 8772 | |
| 8773 | /** |
| 8774 | @brief WDI_ConfigBSSReq will be called when the upper MAC |
| 8775 | wishes to configure the newly acquired or in process of |
| 8776 | being acquired BSS to the HW . Upon the call of this API |
| 8777 | the WLAN DAL will pack and send a HAL Config BSS request |
| 8778 | message to the lower RIVA sub-system if DAL is in state |
| 8779 | STARTED. |
| 8780 | |
| 8781 | In state BUSY this request will be queued. Request won't |
| 8782 | be allowed in any other state. |
| 8783 | |
| 8784 | WDI_JoinReq must have been called. |
| 8785 | |
| 8786 | @param wdiConfigBSSParams: the config BSS parameters as |
| 8787 | specified by the Device Interface |
| 8788 | |
| 8789 | wdiConfigBSSRspCb: callback for passing back the |
| 8790 | response of the config BSS operation received from the |
| 8791 | device |
| 8792 | |
| 8793 | pUserData: user data will be passed back with the |
| 8794 | callback |
| 8795 | |
| 8796 | @see WDI_JoinReq |
| 8797 | @return Result of the function call |
| 8798 | */ |
| 8799 | WDI_Status |
| 8800 | WDI_ConfigBSSReq |
| 8801 | ( |
| 8802 | WDI_ConfigBSSReqParamsType* pwdiConfigBSSParams, |
| 8803 | WDI_ConfigBSSRspCb wdiConfigBSSRspCb, |
| 8804 | void* pUserData |
| 8805 | ); |
| 8806 | |
| 8807 | /** |
| 8808 | @brief WDI_DelBSSReq will be called when the upper MAC is |
| 8809 | dissasociating from the BSS and wishes to notify HW. |
| 8810 | Upon the call of this API the WLAN DAL will pack and |
| 8811 | send a HAL Del BSS request message to the lower RIVA |
| 8812 | sub-system if DAL is in state STARTED. |
| 8813 | |
| 8814 | In state BUSY this request will be queued. Request won't |
| 8815 | be allowed in any other state. |
| 8816 | |
| 8817 | WDI_ConfigBSSReq or WDI_PostAssocReq must have been called. |
| 8818 | |
| 8819 | @param wdiDelBSSParams: the del BSS parameters as specified by |
| 8820 | the Device Interface |
| 8821 | |
| 8822 | wdiDelBSSRspCb: callback for passing back the response |
| 8823 | of the del bss operation received from the device |
| 8824 | |
| 8825 | pUserData: user data will be passed back with the |
| 8826 | callback |
| 8827 | |
| 8828 | @see WDI_ConfigBSSReq, WDI_PostAssocReq |
| 8829 | @return Result of the function call |
| 8830 | */ |
| 8831 | WDI_Status |
| 8832 | WDI_DelBSSReq |
| 8833 | ( |
| 8834 | WDI_DelBSSReqParamsType* pwdiDelBSSParams, |
| 8835 | WDI_DelBSSRspCb wdiDelBSSRspCb, |
| 8836 | void* pUserData |
| 8837 | ); |
| 8838 | |
| 8839 | /** |
| 8840 | @brief WDI_PostAssocReq will be called when the upper MAC has |
| 8841 | associated to a BSS and wishes to configure HW for |
| 8842 | associated state. Upon the call of this API the WLAN DAL |
| 8843 | will pack and send a HAL Post Assoc request message to |
| 8844 | the lower RIVA sub-system if DAL is in state STARTED. |
| 8845 | |
| 8846 | In state BUSY this request will be queued. Request won't |
| 8847 | be allowed in any other state. |
| 8848 | |
| 8849 | WDI_JoinReq must have been called. |
| 8850 | |
| 8851 | @param wdiPostAssocReqParams: the assoc parameters as specified |
| 8852 | by the Device Interface |
| 8853 | |
| 8854 | wdiPostAssocRspCb: callback for passing back the |
| 8855 | response of the post assoc operation received from the |
| 8856 | device |
| 8857 | |
| 8858 | pUserData: user data will be passed back with the |
| 8859 | callback |
| 8860 | |
| 8861 | @see WDI_JoinReq |
| 8862 | @return Result of the function call |
| 8863 | */ |
| 8864 | WDI_Status |
| 8865 | WDI_PostAssocReq |
| 8866 | ( |
| 8867 | WDI_PostAssocReqParamsType* pwdiPostAssocReqParams, |
| 8868 | WDI_PostAssocRspCb wdiPostAssocRspCb, |
| 8869 | void* pUserData |
| 8870 | ); |
| 8871 | |
| 8872 | /** |
| 8873 | @brief WDI_DelSTAReq will be called when the upper MAC when an |
| 8874 | association with another STA has ended and the station |
| 8875 | must be deleted from HW. Upon the call of this API the |
| 8876 | WLAN DAL will pack and send a HAL Del STA request |
| 8877 | message to the lower RIVA sub-system if DAL is in state |
| 8878 | STARTED. |
| 8879 | |
| 8880 | In state BUSY this request will be queued. Request won't |
| 8881 | be allowed in any other state. |
| 8882 | |
| 8883 | WDI_PostAssocReq must have been called. |
| 8884 | |
| 8885 | @param wdiDelSTAParams: the Del STA parameters as specified by |
| 8886 | the Device Interface |
| 8887 | |
| 8888 | wdiDelSTARspCb: callback for passing back the response |
| 8889 | of the del STA operation received from the device |
| 8890 | |
| 8891 | pUserData: user data will be passed back with the |
| 8892 | callback |
| 8893 | |
| 8894 | @see WDI_PostAssocReq |
| 8895 | @return Result of the function call |
| 8896 | */ |
| 8897 | WDI_Status |
| 8898 | WDI_DelSTAReq |
| 8899 | ( |
| 8900 | WDI_DelSTAReqParamsType* pwdiDelSTAParams, |
| 8901 | WDI_DelSTARspCb wdiDelSTARspCb, |
| 8902 | void* pUserData |
| 8903 | ); |
| 8904 | |
| 8905 | /*======================================================================== |
| 8906 | |
| 8907 | SECURITY APIs |
| 8908 | |
| 8909 | ==========================================================================*/ |
| 8910 | |
| 8911 | /** |
| 8912 | @brief WDI_SetBSSKeyReq will be called when the upper MAC ito |
| 8913 | install a BSS encryption key on the HW. Upon the call of |
| 8914 | this API the WLAN DAL will pack and send a HAL Start |
| 8915 | request message to the lower RIVA sub-system if DAL is |
| 8916 | in state STARTED. |
| 8917 | |
| 8918 | In state BUSY this request will be queued. Request won't |
| 8919 | be allowed in any other state. |
| 8920 | |
| 8921 | WDI_PostAssocReq must have been called. |
| 8922 | |
| 8923 | @param wdiSetBSSKeyParams: the BSS Key set parameters as |
| 8924 | specified by the Device Interface |
| 8925 | |
| 8926 | wdiSetBSSKeyRspCb: callback for passing back the |
| 8927 | response of the set BSS Key operation received from the |
| 8928 | device |
| 8929 | |
| 8930 | pUserData: user data will be passed back with the |
| 8931 | callback |
| 8932 | |
| 8933 | @see WDI_PostAssocReq |
| 8934 | @return Result of the function call |
| 8935 | */ |
| 8936 | WDI_Status |
| 8937 | WDI_SetBSSKeyReq |
| 8938 | ( |
| 8939 | WDI_SetBSSKeyReqParamsType* pwdiSetBSSKeyParams, |
| 8940 | WDI_SetBSSKeyRspCb wdiSetBSSKeyRspCb, |
| 8941 | void* pUserData |
| 8942 | ); |
| 8943 | |
| 8944 | |
| 8945 | /** |
| 8946 | @brief WDI_RemoveBSSKeyReq will be called when the upper MAC to |
| 8947 | uninstall a BSS key from HW. Upon the call of this API |
| 8948 | the WLAN DAL will pack and send a HAL Remove BSS Key |
| 8949 | request message to the lower RIVA sub-system if DAL is |
| 8950 | in state STARTED. |
| 8951 | |
| 8952 | In state BUSY this request will be queued. Request won't |
| 8953 | be allowed in any other state. |
| 8954 | |
| 8955 | WDI_SetBSSKeyReq must have been called. |
| 8956 | |
| 8957 | @param wdiRemoveBSSKeyParams: the remove BSS key parameters as |
| 8958 | specified by the Device Interface |
| 8959 | |
| 8960 | wdiRemoveBSSKeyRspCb: callback for passing back the |
| 8961 | response of the remove BSS key operation received from |
| 8962 | the device |
| 8963 | |
| 8964 | pUserData: user data will be passed back with the |
| 8965 | callback |
| 8966 | |
| 8967 | @see WDI_SetBSSKeyReq |
| 8968 | @return Result of the function call |
| 8969 | */ |
| 8970 | WDI_Status |
| 8971 | WDI_RemoveBSSKeyReq |
| 8972 | ( |
| 8973 | WDI_RemoveBSSKeyReqParamsType* pwdiRemoveBSSKeyParams, |
| 8974 | WDI_RemoveBSSKeyRspCb wdiRemoveBSSKeyRspCb, |
| 8975 | void* pUserData |
| 8976 | ); |
| 8977 | |
| 8978 | |
| 8979 | /** |
| 8980 | @brief WDI_SetSTAKeyReq will be called when the upper MAC is |
| 8981 | ready to install a STA(ast) encryption key in HW. Upon |
| 8982 | the call of this API the WLAN DAL will pack and send a |
| 8983 | HAL Set STA Key request message to the lower RIVA |
| 8984 | sub-system if DAL is in state STARTED. |
| 8985 | |
| 8986 | In state BUSY this request will be queued. Request won't |
| 8987 | be allowed in any other state. |
| 8988 | |
| 8989 | WDI_PostAssocReq must have been called. |
| 8990 | |
| 8991 | @param wdiSetSTAKeyParams: the set STA key parameters as |
| 8992 | specified by the Device Interface |
| 8993 | |
| 8994 | wdiSetSTAKeyRspCb: callback for passing back the |
| 8995 | response of the set STA key operation received from the |
| 8996 | device |
| 8997 | |
| 8998 | pUserData: user data will be passed back with the |
| 8999 | callback |
| 9000 | |
| 9001 | @see WDI_PostAssocReq |
| 9002 | @return Result of the function call |
| 9003 | */ |
| 9004 | WDI_Status |
| 9005 | WDI_SetSTAKeyReq |
| 9006 | ( |
| 9007 | WDI_SetSTAKeyReqParamsType* pwdiSetSTAKeyParams, |
| 9008 | WDI_SetSTAKeyRspCb wdiSetSTAKeyRspCb, |
| 9009 | void* pUserData |
| 9010 | ); |
| 9011 | |
| 9012 | |
| 9013 | /** |
| 9014 | @brief WDI_RemoveSTAKeyReq will be called when the upper MAC |
| 9015 | wants to unistall a previously set STA key in HW. Upon |
| 9016 | the call of this API the WLAN DAL will pack and send a |
| 9017 | HAL Remove STA Key request message to the lower RIVA |
| 9018 | sub-system if DAL is in state STARTED. |
| 9019 | |
| 9020 | In state BUSY this request will be queued. Request won't |
| 9021 | be allowed in any other state. |
| 9022 | |
| 9023 | WDI_SetSTAKeyReq must have been called. |
| 9024 | |
| 9025 | @param wdiRemoveSTAKeyParams: the remove STA key parameters as |
| 9026 | specified by the Device Interface |
| 9027 | |
| 9028 | wdiRemoveSTAKeyRspCb: callback for passing back the |
| 9029 | response of the remove STA key operation received from |
| 9030 | the device |
| 9031 | |
| 9032 | pUserData: user data will be passed back with the |
| 9033 | callback |
| 9034 | |
| 9035 | @see WDI_SetSTAKeyReq |
| 9036 | @return Result of the function call |
| 9037 | */ |
| 9038 | WDI_Status |
| 9039 | WDI_RemoveSTAKeyReq |
| 9040 | ( |
| 9041 | WDI_RemoveSTAKeyReqParamsType* pwdiRemoveSTAKeyParams, |
| 9042 | WDI_RemoveSTAKeyRspCb wdiRemoveSTAKeyRspCb, |
| 9043 | void* pUserData |
| 9044 | ); |
| 9045 | |
| 9046 | /** |
| 9047 | @brief WDI_SetSTABcastKeyReq will be called when the upper MAC |
| 9048 | wants to install a STA Bcast encryption key on the HW. |
| 9049 | Upon the call of this API the WLAN DAL will pack and |
| 9050 | send a HAL Start request message to the lower RIVA |
| 9051 | sub-system if DAL is in state STARTED. |
| 9052 | |
| 9053 | In state BUSY this request will be queued. Request won't |
| 9054 | be allowed in any other state. |
| 9055 | |
| 9056 | WDI_PostAssocReq must have been called. |
| 9057 | |
| 9058 | @param pwdiSetSTABcastKeyParams: the BSS Key set parameters as |
| 9059 | specified by the Device Interface |
| 9060 | |
| 9061 | wdiSetSTABcastKeyRspCb: callback for passing back the |
| 9062 | response of the set BSS Key operation received from the |
| 9063 | device |
| 9064 | |
| 9065 | pUserData: user data will be passed back with the |
| 9066 | callback |
| 9067 | |
| 9068 | @see WDI_PostAssocReq |
| 9069 | @return Result of the function call |
| 9070 | */ |
| 9071 | WDI_Status |
| 9072 | WDI_SetSTABcastKeyReq |
| 9073 | ( |
| 9074 | WDI_SetSTAKeyReqParamsType* pwdiSetSTABcastKeyParams, |
| 9075 | WDI_SetSTAKeyRspCb wdiSetSTABcastKeyRspCb, |
| 9076 | void* pUserData |
| 9077 | ); |
| 9078 | |
| 9079 | |
| 9080 | /** |
| 9081 | @brief WDI_RemoveSTABcastKeyReq will be called when the upper |
| 9082 | MAC to uninstall a STA Bcast key from HW. Upon the call |
| 9083 | of this API the WLAN DAL will pack and send a HAL Remove |
| 9084 | STA Bcast Key request message to the lower RIVA |
| 9085 | sub-system if DAL is in state STARTED. |
| 9086 | |
| 9087 | In state BUSY this request will be queued. Request won't |
| 9088 | be allowed in any other state. |
| 9089 | |
| 9090 | WDI_SetSTABcastKeyReq must have been called. |
| 9091 | |
| 9092 | @param pwdiRemoveSTABcastKeyParams: the remove BSS key |
| 9093 | parameters as specified by the Device |
| 9094 | Interface |
| 9095 | |
| 9096 | wdiRemoveSTABcastKeyRspCb: callback for passing back the |
| 9097 | response of the remove STA Bcast key operation received |
| 9098 | from the device |
| 9099 | |
| 9100 | pUserData: user data will be passed back with the |
| 9101 | callback |
| 9102 | |
| 9103 | @see WDI_SetSTABcastKeyReq |
| 9104 | @return Result of the function call |
| 9105 | */ |
| 9106 | WDI_Status |
| 9107 | WDI_RemoveSTABcastKeyReq |
| 9108 | ( |
| 9109 | WDI_RemoveSTAKeyReqParamsType* pwdiRemoveSTABcastKeyParams, |
| 9110 | WDI_RemoveSTAKeyRspCb wdiRemoveSTABcastKeyRspCb, |
| 9111 | void* pUserData |
| 9112 | ); |
| 9113 | |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 9114 | |
| 9115 | /** |
| 9116 | @brief WDI_SetTxPowerReq will be called when the upper |
| 9117 | MAC wants to set Tx Power to HW. |
| 9118 | In state BUSY this request will be queued. Request won't |
| 9119 | be allowed in any other state. |
| 9120 | |
| 9121 | |
| 9122 | @param pwdiSetTxPowerParams: set TS Power parameters |
| 9123 | BSSID and target TX Power with dbm included |
| 9124 | |
| 9125 | wdiReqStatusCb: callback for passing back the response |
| 9126 | |
| 9127 | pUserData: user data will be passed back with the |
| 9128 | callback |
| 9129 | |
| 9130 | @return Result of the function call |
| 9131 | */ |
| 9132 | WDI_Status |
| 9133 | WDI_SetTxPowerReq |
| 9134 | ( |
| 9135 | WDI_SetTxPowerParamsType* pwdiSetTxPowerParams, |
| 9136 | WDA_SetTxPowerRspCb wdiReqStatusCb, |
| 9137 | void* pUserData |
| 9138 | ); |
| 9139 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9140 | /** |
| 9141 | @brief WDI_SetMaxTxPowerReq will be called when the upper |
| 9142 | MAC wants to set Max Tx Power to HW. Upon the |
| 9143 | call of this API the WLAN DAL will pack and send a HAL |
| 9144 | Remove STA Bcast Key request message to the lower RIVA |
| 9145 | sub-system if DAL is in state STARTED. |
| 9146 | |
| 9147 | In state BUSY this request will be queued. Request won't |
| 9148 | be allowed in any other state. |
| 9149 | |
| 9150 | WDI_SetSTABcastKeyReq must have been called. |
| 9151 | |
| 9152 | @param pwdiRemoveSTABcastKeyParams: the remove BSS key |
| 9153 | parameters as specified by the Device |
| 9154 | Interface |
| 9155 | |
| 9156 | wdiRemoveSTABcastKeyRspCb: callback for passing back the |
| 9157 | response of the remove STA Bcast key operation received |
| 9158 | from the device |
| 9159 | |
| 9160 | pUserData: user data will be passed back with the |
| 9161 | callback |
| 9162 | |
| 9163 | @see WDI_SetMaxTxPowerReq |
| 9164 | @return Result of the function call |
| 9165 | */ |
| 9166 | WDI_Status |
| 9167 | WDI_SetMaxTxPowerReq |
| 9168 | ( |
| 9169 | WDI_SetMaxTxPowerParamsType* pwdiSetMaxTxPowerParams, |
| 9170 | WDA_SetMaxTxPowerRspCb wdiReqStatusCb, |
| 9171 | void* pUserData |
| 9172 | ); |
| 9173 | |
Arif Hussain | a5ebce0 | 2013-08-09 15:09:58 -0700 | [diff] [blame] | 9174 | /** |
| 9175 | @brief WDI_SetMaxTxPowerPerBandReq will be called when the upper |
| 9176 | MAC wants to set Max Tx Power to HW for specific band. Upon the |
| 9177 | call of this API the WLAN DAL will pack and send a HAL |
| 9178 | Set Max Tx Power Per Band request message to the lower RIVA |
| 9179 | sub-system if DAL is in state STARTED. |
| 9180 | |
| 9181 | In state BUSY this request will be queued. Request won't |
| 9182 | be allowed in any other state. |
| 9183 | |
| 9184 | |
| 9185 | @param WDI_SetMaxTxPowerPerBandParamsType: Max Tx Per Band Info |
| 9186 | |
| 9187 | WDA_SetMaxTxPowerPerBandRspCb: This callback is invoked by DAL |
| 9188 | when it has received a set max Tx Power Per Band response from |
| 9189 | the underlying device. |
| 9190 | |
| 9191 | pUserData: user data will be passed back with the |
| 9192 | callback |
| 9193 | |
| 9194 | @see WDI_SetMaxTxPowerPerBandReq |
| 9195 | @return Result of the function call |
| 9196 | */ |
| 9197 | WDI_Status |
| 9198 | WDI_SetMaxTxPowerPerBandReq |
| 9199 | ( |
| 9200 | WDI_SetMaxTxPowerPerBandParamsType* pwdiSetMaxTxPowerPerBandParams, |
| 9201 | WDA_SetMaxTxPowerPerBandRspCb wdiReqStatusCb, |
| 9202 | void* pUserData |
| 9203 | ); |
| 9204 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 9205 | #ifdef FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9206 | /** |
| 9207 | @brief WDI_TSMStatsReq will be called by the upper MAC to fetch |
| 9208 | Traffic Stream metrics. |
| 9209 | In state BUSY this request will be queued. Request won't |
| 9210 | be allowed in any other state. |
| 9211 | |
| 9212 | @param wdiAddTsReqParams: the add TS parameters as specified by |
| 9213 | the Device Interface |
| 9214 | |
| 9215 | wdiAddTsRspCb: callback for passing back the response of |
| 9216 | the add TS operation received from the device |
| 9217 | |
| 9218 | pUserData: user data will be passed back with the |
| 9219 | callback |
| 9220 | |
| 9221 | @see WDI_PostAssocReq |
| 9222 | @return Result of the function call |
| 9223 | */ |
| 9224 | WDI_Status |
| 9225 | WDI_TSMStatsReq |
| 9226 | ( |
| 9227 | WDI_TSMStatsReqParamsType* pwdiTsmStatsReqParams, |
| 9228 | WDI_TsmRspCb wdiTsmStatsRspCb, |
| 9229 | void* pUserData |
| 9230 | ); |
| 9231 | |
| 9232 | |
| 9233 | #endif |
| 9234 | |
| 9235 | /*======================================================================== |
| 9236 | |
| 9237 | QoS and BA APIs |
| 9238 | |
| 9239 | ==========================================================================*/ |
| 9240 | |
| 9241 | /** |
| 9242 | @brief WDI_AddTSReq will be called when the upper MAC to inform |
| 9243 | the device of a successful add TSpec negotiation. HW |
| 9244 | needs to receive the TSpec Info from the UMAC in order |
| 9245 | to configure properly the QoS data traffic. Upon the |
| 9246 | call of this API the WLAN DAL will pack and send a HAL |
| 9247 | Add TS request message to the lower RIVA sub-system if |
| 9248 | DAL is in state STARTED. |
| 9249 | |
| 9250 | In state BUSY this request will be queued. Request won't |
| 9251 | be allowed in any other state. |
| 9252 | |
| 9253 | WDI_PostAssocReq must have been called. |
| 9254 | |
| 9255 | @param wdiAddTsReqParams: the add TS parameters as specified by |
| 9256 | the Device Interface |
| 9257 | |
| 9258 | wdiAddTsRspCb: callback for passing back the response of |
| 9259 | the add TS operation received from the device |
| 9260 | |
| 9261 | pUserData: user data will be passed back with the |
| 9262 | callback |
| 9263 | |
| 9264 | @see WDI_PostAssocReq |
| 9265 | @return Result of the function call |
| 9266 | */ |
| 9267 | WDI_Status |
| 9268 | WDI_AddTSReq |
| 9269 | ( |
| 9270 | WDI_AddTSReqParamsType* pwdiAddTsReqParams, |
| 9271 | WDI_AddTsRspCb wdiAddTsRspCb, |
| 9272 | void* pUserData |
| 9273 | ); |
| 9274 | |
| 9275 | |
| 9276 | |
| 9277 | /** |
| 9278 | @brief WDI_DelTSReq will be called when the upper MAC has ended |
| 9279 | admission on a specific AC. This is to inform HW that |
| 9280 | QoS traffic parameters must be rest. Upon the call of |
| 9281 | this API the WLAN DAL will pack and send a HAL Del TS |
| 9282 | request message to the lower RIVA sub-system if DAL is |
| 9283 | in state STARTED. |
| 9284 | |
| 9285 | In state BUSY this request will be queued. Request won't |
| 9286 | be allowed in any other state. |
| 9287 | |
| 9288 | WDI_AddTSReq must have been called. |
| 9289 | |
| 9290 | @param wdiDelTsReqParams: the del TS parameters as specified by |
| 9291 | the Device Interface |
| 9292 | |
| 9293 | wdiDelTsRspCb: callback for passing back the response of |
| 9294 | the del TS operation received from the device |
| 9295 | |
| 9296 | pUserData: user data will be passed back with the |
| 9297 | callback |
| 9298 | |
| 9299 | @see WDI_AddTSReq |
| 9300 | @return Result of the function call |
| 9301 | */ |
| 9302 | WDI_Status |
| 9303 | WDI_DelTSReq |
| 9304 | ( |
| 9305 | WDI_DelTSReqParamsType* pwdiDelTsReqParams, |
| 9306 | WDI_DelTsRspCb wdiDelTsRspCb, |
| 9307 | void* pUserData |
| 9308 | ); |
| 9309 | |
| 9310 | |
| 9311 | |
| 9312 | /** |
| 9313 | @brief WDI_UpdateEDCAParams will be called when the upper MAC |
| 9314 | wishes to update the EDCA parameters used by HW for QoS |
| 9315 | data traffic. Upon the call of this API the WLAN DAL |
| 9316 | will pack and send a HAL Update EDCA Params request |
| 9317 | message to the lower RIVA sub-system if DAL is in state |
| 9318 | STARTED. |
| 9319 | |
| 9320 | In state BUSY this request will be queued. Request won't |
| 9321 | be allowed in any other state. |
| 9322 | |
| 9323 | WDI_PostAssocReq must have been called. |
| 9324 | |
| 9325 | @param wdiUpdateEDCAParams: the start parameters as specified |
| 9326 | by the Device Interface |
| 9327 | |
| 9328 | wdiUpdateEDCAParamsRspCb: callback for passing back the |
| 9329 | response of the start operation received from the device |
| 9330 | |
| 9331 | pUserData: user data will be passed back with the |
| 9332 | callback |
| 9333 | |
| 9334 | @see WDI_PostAssocReq |
| 9335 | @return Result of the function call |
| 9336 | */ |
| 9337 | WDI_Status |
| 9338 | WDI_UpdateEDCAParams |
| 9339 | ( |
| 9340 | WDI_UpdateEDCAParamsType* pwdiUpdateEDCAParams, |
| 9341 | WDI_UpdateEDCAParamsRspCb wdiUpdateEDCAParamsRspCb, |
| 9342 | void* pUserData |
| 9343 | ); |
| 9344 | |
| 9345 | |
| 9346 | |
| 9347 | /** |
| 9348 | @brief WDI_AddBASessionReq will be called when the upper MAC has setup |
| 9349 | successfully a BA session and needs to notify the HW for |
| 9350 | the appropriate settings to take place. Upon the call of |
| 9351 | this API the WLAN DAL will pack and send a HAL Add BA |
| 9352 | request message to the lower RIVA sub-system if DAL is |
| 9353 | in state STARTED. |
| 9354 | |
| 9355 | In state BUSY this request will be queued. Request won't |
| 9356 | be allowed in any other state. |
| 9357 | |
| 9358 | WDI_PostAssocReq must have been called. |
| 9359 | |
| 9360 | @param wdiAddBAReqParams: the add BA parameters as specified by |
| 9361 | the Device Interface |
| 9362 | |
| 9363 | wdiAddBARspCb: callback for passing back the response of |
| 9364 | the add BA operation received from the device |
| 9365 | |
| 9366 | pUserData: user data will be passed back with the |
| 9367 | callback |
| 9368 | |
| 9369 | @see WDI_PostAssocReq |
| 9370 | @return Result of the function call |
| 9371 | */ |
| 9372 | WDI_Status |
| 9373 | WDI_AddBASessionReq |
| 9374 | ( |
| 9375 | WDI_AddBASessionReqParamsType* pwdiAddBASessionReqParams, |
| 9376 | WDI_AddBASessionRspCb wdiAddBASessionRspCb, |
| 9377 | void* pUserData |
| 9378 | ); |
| 9379 | |
| 9380 | |
| 9381 | /** |
| 9382 | @brief WDI_DelBAReq will be called when the upper MAC wants to |
| 9383 | inform HW that it has deleted a previously created BA |
| 9384 | session. Upon the call of this API the WLAN DAL will |
| 9385 | pack and send a HAL Del BA request message to the lower |
| 9386 | RIVA sub-system if DAL is in state STARTED. |
| 9387 | |
| 9388 | In state BUSY this request will be queued. Request won't |
| 9389 | be allowed in any other state. |
| 9390 | |
| 9391 | WDI_AddBAReq must have been called. |
| 9392 | |
| 9393 | @param wdiDelBAReqParams: the del BA parameters as specified by |
| 9394 | the Device Interface |
| 9395 | |
| 9396 | wdiDelBARspCb: callback for passing back the response of |
| 9397 | the del BA operation received from the device |
| 9398 | |
| 9399 | pUserData: user data will be passed back with the |
| 9400 | callback |
| 9401 | |
| 9402 | @see WDI_AddBAReq |
| 9403 | @return Result of the function call |
| 9404 | */ |
| 9405 | WDI_Status |
| 9406 | WDI_DelBAReq |
| 9407 | ( |
| 9408 | WDI_DelBAReqParamsType* pwdiDelBAReqParams, |
| 9409 | WDI_DelBARspCb wdiDelBARspCb, |
| 9410 | void* pUserData |
| 9411 | ); |
| 9412 | |
| 9413 | /** |
| 9414 | @brief WDI_UpdateBeaconParamsReq will be called when the upper MAC wants to |
| 9415 | inform HW that there is a change in the beacon parameters |
| 9416 | Upon the call of this API the WLAN DAL will |
| 9417 | pack and send a UpdateBeacon Params message to the lower |
| 9418 | RIVA sub-system if DAL is in state STARTED. |
| 9419 | |
| 9420 | In state BUSY this request will be queued. Request won't |
| 9421 | be allowed in any other state. |
| 9422 | |
| 9423 | WDI_UpdateBeaconParamsReq must have been called. |
| 9424 | |
| 9425 | @param WDI_UpdateBeaconParamsType: the Update Beacon parameters as specified by |
| 9426 | the Device Interface |
| 9427 | |
| 9428 | WDI_UpdateBeaconParamsRspCb: callback for passing back the response of |
| 9429 | the Update Beacon Params operation received from the device |
| 9430 | |
| 9431 | pUserData: user data will be passed back with the |
| 9432 | callback |
| 9433 | |
| 9434 | @see WDI_AddBAReq |
| 9435 | @return Result of the function call |
| 9436 | */ |
| 9437 | |
| 9438 | WDI_Status |
| 9439 | WDI_UpdateBeaconParamsReq |
| 9440 | ( |
| 9441 | WDI_UpdateBeaconParamsType * pwdiUpdateBeaconParams, |
| 9442 | WDI_UpdateBeaconParamsRspCb wdiUpdateBeaconParamsRspCb, |
| 9443 | void* pUserData |
| 9444 | ); |
| 9445 | |
| 9446 | |
| 9447 | /** |
| 9448 | @brief WDI_SendBeaconParamsReq will be called when the upper MAC wants to |
| 9449 | update the beacon template to be transmitted as BT MAP STA/IBSS/Soft AP |
| 9450 | Upon the call of this API the WLAN DAL will |
| 9451 | pack and send the beacon Template message to the lower |
| 9452 | RIVA sub-system if DAL is in state STARTED. |
| 9453 | |
| 9454 | In state BUSY this request will be queued. Request won't |
| 9455 | be allowed in any other state. |
| 9456 | |
| 9457 | WDI_SendBeaconParamsReq must have been called. |
| 9458 | |
| 9459 | @param WDI_SendBeaconParamsType: the Update Beacon parameters as specified by |
| 9460 | the Device Interface |
| 9461 | |
| 9462 | WDI_SendBeaconParamsRspCb: callback for passing back the response of |
| 9463 | the Send Beacon Params operation received from the device |
| 9464 | |
| 9465 | pUserData: user data will be passed back with the |
| 9466 | callback |
| 9467 | |
| 9468 | @see WDI_AddBAReq |
| 9469 | @return Result of the function call |
| 9470 | */ |
| 9471 | |
| 9472 | WDI_Status |
| 9473 | WDI_SendBeaconParamsReq |
| 9474 | ( |
| 9475 | WDI_SendBeaconParamsType* pwdiSendBeaconParams, |
| 9476 | WDI_SendBeaconParamsRspCb wdiSendBeaconParamsRspCb, |
| 9477 | void* pUserData |
| 9478 | ); |
| 9479 | |
| 9480 | |
| 9481 | /** |
| 9482 | @brief WDI_UpdateProbeRspTemplateReq will be called when the |
| 9483 | upper MAC wants to update the probe response template to |
| 9484 | be transmitted as Soft AP |
| 9485 | Upon the call of this API the WLAN DAL will |
| 9486 | pack and send the probe rsp template message to the |
| 9487 | lower RIVA sub-system if DAL is in state STARTED. |
| 9488 | |
| 9489 | In state BUSY this request will be queued. Request won't |
| 9490 | be allowed in any other state. |
| 9491 | |
| 9492 | |
| 9493 | @param pwdiUpdateProbeRspParams: the Update Beacon parameters as |
| 9494 | specified by the Device Interface |
| 9495 | |
| 9496 | wdiSendBeaconParamsRspCb: callback for passing back the |
| 9497 | response of the Send Beacon Params operation received |
| 9498 | from the device |
| 9499 | |
| 9500 | pUserData: user data will be passed back with the |
| 9501 | callback |
| 9502 | |
| 9503 | @see WDI_AddBAReq |
| 9504 | @return Result of the function call |
| 9505 | */ |
| 9506 | |
| 9507 | WDI_Status |
| 9508 | WDI_UpdateProbeRspTemplateReq |
| 9509 | ( |
| 9510 | WDI_UpdateProbeRspTemplateParamsType* pwdiUpdateProbeRspParams, |
| 9511 | WDI_UpdateProbeRspTemplateRspCb wdiSendBeaconParamsRspCb, |
| 9512 | void* pUserData |
| 9513 | ); |
| 9514 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9515 | /** |
| 9516 | @brief WDI_SetP2PGONOAReq will be called when the |
| 9517 | upper MAC wants to send Notice of Absence |
| 9518 | Upon the call of this API the WLAN DAL will |
| 9519 | pack and send the probe rsp template message to the |
| 9520 | lower RIVA sub-system if DAL is in state STARTED. |
| 9521 | |
| 9522 | In state BUSY this request will be queued. Request won't |
| 9523 | be allowed in any other state. |
| 9524 | |
| 9525 | |
| 9526 | @param pwdiUpdateProbeRspParams: the Update Beacon parameters as |
| 9527 | specified by the Device Interface |
| 9528 | |
| 9529 | wdiSendBeaconParamsRspCb: callback for passing back the |
| 9530 | response of the Send Beacon Params operation received |
| 9531 | from the device |
| 9532 | |
| 9533 | pUserData: user data will be passed back with the |
| 9534 | callback |
| 9535 | |
| 9536 | @see WDI_AddBAReq |
| 9537 | @return Result of the function call |
| 9538 | */ |
| 9539 | WDI_Status |
| 9540 | WDI_SetP2PGONOAReq |
| 9541 | ( |
| 9542 | WDI_SetP2PGONOAReqParamsType* pwdiP2PGONOAReqParams, |
| 9543 | WDI_SetP2PGONOAReqParamsRspCb wdiP2PGONOAReqParamsRspCb, |
| 9544 | void* pUserData |
| 9545 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9546 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 9547 | /** |
| 9548 | @brief WDI_SetTDLSLinkEstablishReq will be called when the |
| 9549 | upper MAC wants to send TDLS Link Establish Request Parameters |
| 9550 | Upon the call of this API the WLAN DAL will |
| 9551 | pack and send the TDLS Link Establish Request message to the |
| 9552 | lower RIVA sub-system if DAL is in state STARTED. |
| 9553 | |
| 9554 | In state BUSY this request will be queued. Request won't |
| 9555 | be allowed in any other state. |
| 9556 | |
| 9557 | |
| 9558 | @param pwdiTDLSLinkEstablishReqParams: TDLS Peer Parameters |
| 9559 | for Link Establishment (Used for PUAPSD , TDLS Off Channel ...) |
| 9560 | |
| 9561 | wdiTDLSLinkEstablishReqRspCb: callback for passing back the |
| 9562 | response of the TDLS Link Establish request received |
| 9563 | from the device |
| 9564 | |
| 9565 | pUserData: user data will be passed back with the |
| 9566 | callback |
| 9567 | |
| 9568 | @see |
| 9569 | @return Result of the function call |
| 9570 | */ |
| 9571 | WDI_Status |
| 9572 | WDI_SetTDLSLinkEstablishReq |
| 9573 | ( |
| 9574 | WDI_SetTDLSLinkEstablishReqParamsType* pwdiTDLSLinkEstablishReqParams, |
| 9575 | WDI_SetTDLSLinkEstablishReqParamsRspCb wdiTDLSLinkEstablishReqRspCb, |
| 9576 | void* pUserData |
| 9577 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9578 | |
Atul Mittal | c0f739f | 2014-07-31 13:47:47 +0530 | [diff] [blame] | 9579 | WDI_Status |
| 9580 | WDI_SetTDLSChanSwitchReq |
| 9581 | ( |
| 9582 | WDI_SetTDLSChanSwitchReqParamsType* pwdiTDLSChanSwitchReqParams, |
| 9583 | WDI_SetTDLSChanSwitchReqParamsRspCb wdiTDLSChanSwitchRReqRspCb, |
| 9584 | void* pUserData |
| 9585 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9586 | /*======================================================================== |
| 9587 | |
| 9588 | Power Save APIs |
| 9589 | |
| 9590 | ==========================================================================*/ |
| 9591 | |
| 9592 | /** |
| 9593 | @brief WDI_SetPwrSaveCfgReq will be called when the upper MAC |
| 9594 | wants to set the power save related configurations of |
| 9595 | the WLAN Device. Upon the call of this API the WLAN DAL |
| 9596 | will pack and send a HAL Update CFG request message to |
| 9597 | the lower RIVA sub-system if DAL is in state STARTED. |
| 9598 | |
| 9599 | In state BUSY this request will be queued. Request won't |
| 9600 | be allowed in any other state. |
| 9601 | |
| 9602 | WDI_Start must have been called. |
| 9603 | |
| 9604 | @param pwdiPowerSaveCfg: the power save cfg parameters as |
| 9605 | specified by the Device Interface |
| 9606 | |
| 9607 | wdiSetPwrSaveCfgCb: callback for passing back the |
| 9608 | response of the set power save cfg operation received |
| 9609 | from the device |
| 9610 | |
| 9611 | pUserData: user data will be passed back with the |
| 9612 | callback |
| 9613 | |
| 9614 | @see WDI_Start |
| 9615 | @return Result of the function call |
| 9616 | */ |
| 9617 | WDI_Status |
| 9618 | WDI_SetPwrSaveCfgReq |
| 9619 | ( |
| 9620 | WDI_UpdateCfgReqParamsType* pwdiPowerSaveCfg, |
| 9621 | WDI_SetPwrSaveCfgCb wdiSetPwrSaveCfgCb, |
| 9622 | void* pUserData |
| 9623 | ); |
| 9624 | |
| 9625 | /** |
| 9626 | @brief WDI_EnterImpsReq will be called when the upper MAC to |
| 9627 | request the device to get into IMPS power state. Upon |
| 9628 | the call of this API the WLAN DAL will send a HAL Enter |
| 9629 | IMPS request message to the lower RIVA sub-system if DAL |
| 9630 | is in state STARTED. |
| 9631 | |
| 9632 | In state BUSY this request will be queued. Request won't |
| 9633 | be allowed in any other state. |
| 9634 | |
| 9635 | |
| 9636 | @param wdiEnterImpsRspCb: callback for passing back the |
| 9637 | response of the Enter IMPS operation received from the |
| 9638 | device |
| 9639 | |
| 9640 | pUserData: user data will be passed back with the |
| 9641 | callback |
| 9642 | |
| 9643 | @see WDI_Start |
| 9644 | @return Result of the function call |
| 9645 | */ |
| 9646 | WDI_Status |
| 9647 | WDI_EnterImpsReq |
| 9648 | ( |
Mihir Shete | a430605 | 2014-03-25 00:02:54 +0530 | [diff] [blame] | 9649 | WDI_EnterImpsReqParamsType *pwdiEnterImpsReqParams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9650 | WDI_EnterImpsRspCb wdiEnterImpsRspCb, |
| 9651 | void* pUserData |
| 9652 | ); |
| 9653 | |
| 9654 | /** |
| 9655 | @brief WDI_ExitImpsReq will be called when the upper MAC to |
| 9656 | request the device to get out of IMPS power state. Upon |
| 9657 | the call of this API the WLAN DAL will send a HAL Exit |
| 9658 | IMPS request message to the lower RIVA sub-system if DAL |
| 9659 | is in state STARTED. |
| 9660 | |
| 9661 | In state BUSY this request will be queued. Request won't |
| 9662 | be allowed in any other state. |
| 9663 | |
| 9664 | |
| 9665 | |
| 9666 | @param wdiExitImpsRspCb: callback for passing back the response |
| 9667 | of the Exit IMPS operation received from the device |
| 9668 | |
| 9669 | pUserData: user data will be passed back with the |
| 9670 | callback |
| 9671 | |
| 9672 | @see WDI_Start |
| 9673 | @return Result of the function call |
| 9674 | */ |
| 9675 | WDI_Status |
| 9676 | WDI_ExitImpsReq |
| 9677 | ( |
Mahesh A Saptasagar | 329813b | 2014-12-15 12:16:51 +0530 | [diff] [blame] | 9678 | WDI_ExitImpsReqParamsType *pwdiExitImpsReqParams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9679 | WDI_ExitImpsRspCb wdiExitImpsRspCb, |
| 9680 | void* pUserData |
| 9681 | ); |
| 9682 | |
| 9683 | /** |
| 9684 | @brief WDI_EnterBmpsReq will be called when the upper MAC to |
| 9685 | request the device to get into BMPS power state. Upon |
| 9686 | the call of this API the WLAN DAL will pack and send a |
| 9687 | HAL Enter BMPS request message to the lower RIVA |
| 9688 | sub-system if DAL is in state STARTED. |
| 9689 | |
| 9690 | In state BUSY this request will be queued. Request won't |
| 9691 | be allowed in any other state. |
| 9692 | |
| 9693 | WDI_PostAssocReq must have been called. |
| 9694 | |
| 9695 | @param pwdiEnterBmpsReqParams: the Enter BMPS parameters as |
| 9696 | specified by the Device Interface |
| 9697 | |
| 9698 | wdiEnterBmpsRspCb: callback for passing back the |
| 9699 | response of the Enter BMPS operation received from the |
| 9700 | device |
| 9701 | |
| 9702 | pUserData: user data will be passed back with the |
| 9703 | callback |
| 9704 | |
| 9705 | @see WDI_PostAssocReq |
| 9706 | @return Result of the function call |
| 9707 | */ |
| 9708 | WDI_Status |
| 9709 | WDI_EnterBmpsReq |
| 9710 | ( |
| 9711 | WDI_EnterBmpsReqParamsType *pwdiEnterBmpsReqParams, |
| 9712 | WDI_EnterBmpsRspCb wdiEnterBmpsRspCb, |
| 9713 | void* pUserData |
| 9714 | ); |
| 9715 | |
| 9716 | /** |
| 9717 | @brief WDI_ExitBmpsReq will be called when the upper MAC to |
| 9718 | request the device to get out of BMPS power state. Upon |
| 9719 | the call of this API the WLAN DAL will pack and send a |
| 9720 | HAL Exit BMPS request message to the lower RIVA |
| 9721 | sub-system if DAL is in state STARTED. |
| 9722 | |
| 9723 | In state BUSY this request will be queued. Request won't |
| 9724 | be allowed in any other state. |
| 9725 | |
| 9726 | WDI_PostAssocReq must have been called. |
| 9727 | |
| 9728 | @param pwdiExitBmpsReqParams: the Exit BMPS parameters as |
| 9729 | specified by the Device Interface |
| 9730 | |
| 9731 | wdiExitBmpsRspCb: callback for passing back the response |
| 9732 | of the Exit BMPS operation received from the device |
| 9733 | |
| 9734 | pUserData: user data will be passed back with the |
| 9735 | callback |
| 9736 | |
| 9737 | @see WDI_PostAssocReq |
| 9738 | @return Result of the function call |
| 9739 | */ |
| 9740 | WDI_Status |
| 9741 | WDI_ExitBmpsReq |
| 9742 | ( |
| 9743 | WDI_ExitBmpsReqParamsType *pwdiExitBmpsReqParams, |
| 9744 | WDI_ExitBmpsRspCb wdiExitBmpsRspCb, |
| 9745 | void* pUserData |
| 9746 | ); |
| 9747 | |
| 9748 | /** |
| 9749 | @brief WDI_EnterUapsdReq will be called when the upper MAC to |
| 9750 | request the device to get into UAPSD power state. Upon |
| 9751 | the call of this API the WLAN DAL will pack and send a |
| 9752 | HAL Enter UAPSD request message to the lower RIVA |
| 9753 | sub-system if DAL is in state STARTED. |
| 9754 | |
| 9755 | In state BUSY this request will be queued. Request won't |
| 9756 | be allowed in any other state. |
| 9757 | |
| 9758 | WDI_PostAssocReq must have been called. |
| 9759 | WDI_SetUapsdAcParamsReq must have been called. |
| 9760 | |
| 9761 | @param pwdiEnterUapsdReqParams: the Enter UAPSD parameters as |
| 9762 | specified by the Device Interface |
| 9763 | |
| 9764 | wdiEnterUapsdRspCb: callback for passing back the |
| 9765 | response of the Enter UAPSD operation received from the |
| 9766 | device |
| 9767 | |
| 9768 | pUserData: user data will be passed back with the |
| 9769 | callback |
| 9770 | |
| 9771 | @see WDI_PostAssocReq, WDI_SetUapsdAcParamsReq |
| 9772 | @return Result of the function call |
| 9773 | */ |
| 9774 | WDI_Status |
| 9775 | WDI_EnterUapsdReq |
| 9776 | ( |
| 9777 | WDI_EnterUapsdReqParamsType *pwdiEnterUapsdReqParams, |
| 9778 | WDI_EnterUapsdRspCb wdiEnterUapsdRspCb, |
| 9779 | void* pUserData |
| 9780 | ); |
| 9781 | |
| 9782 | /** |
| 9783 | @brief WDI_ExitUapsdReq will be called when the upper MAC to |
| 9784 | request the device to get out of UAPSD power state. Upon |
| 9785 | the call of this API the WLAN DAL will send a HAL Exit |
| 9786 | UAPSD request message to the lower RIVA sub-system if |
| 9787 | DAL is in state STARTED. |
| 9788 | |
| 9789 | In state BUSY this request will be queued. Request won't |
| 9790 | be allowed in any other state. |
| 9791 | |
| 9792 | WDI_PostAssocReq must have been called. |
| 9793 | |
| 9794 | @param wdiExitUapsdRspCb: callback for passing back the |
| 9795 | response of the Exit UAPSD operation received from the |
| 9796 | device |
| 9797 | |
| 9798 | pUserData: user data will be passed back with the |
| 9799 | callback |
| 9800 | |
| 9801 | @see WDI_PostAssocReq |
| 9802 | @return Result of the function call |
| 9803 | */ |
| 9804 | WDI_Status |
| 9805 | WDI_ExitUapsdReq |
| 9806 | ( |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 9807 | WDI_ExitUapsdReqParamsType *pwdiExitUapsdReqParams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9808 | WDI_ExitUapsdRspCb wdiExitUapsdRspCb, |
| 9809 | void* pUserData |
| 9810 | ); |
| 9811 | |
| 9812 | /** |
| 9813 | @brief WDI_UpdateUapsdParamsReq will be called when the upper |
| 9814 | MAC wants to set the UAPSD related configurations |
| 9815 | of an associated STA (while acting as an AP) to the WLAN |
| 9816 | Device. Upon the call of this API the WLAN DAL will pack |
| 9817 | and send a HAL Update UAPSD params request message to |
| 9818 | the lower RIVA sub-system if DAL is in state STARTED. |
| 9819 | |
| 9820 | In state BUSY this request will be queued. Request won't |
| 9821 | be allowed in any other state. |
| 9822 | |
| 9823 | WDI_ConfigBSSReq must have been called. |
| 9824 | |
| 9825 | @param pwdiUpdateUapsdReqParams: the UAPSD parameters |
| 9826 | as specified by the Device Interface |
| 9827 | |
| 9828 | wdiUpdateUapsdParamsCb: callback for passing back the |
| 9829 | response of the update UAPSD params operation received |
| 9830 | from the device |
| 9831 | |
| 9832 | pUserData: user data will be passed back with the |
| 9833 | callback |
| 9834 | |
| 9835 | @see WDI_ConfigBSSReq |
| 9836 | @return Result of the function call |
| 9837 | */ |
| 9838 | WDI_Status |
| 9839 | WDI_UpdateUapsdParamsReq |
| 9840 | ( |
| 9841 | WDI_UpdateUapsdReqParamsType *pwdiUpdateUapsdReqParams, |
| 9842 | WDI_UpdateUapsdParamsCb wdiUpdateUapsdParamsCb, |
| 9843 | void* pUserData |
| 9844 | ); |
| 9845 | |
| 9846 | /** |
| 9847 | @brief WDI_SetUapsdAcParamsReq will be called when the upper |
| 9848 | MAC wants to set the UAPSD related configurations before |
| 9849 | requesting for enter UAPSD power state to the WLAN |
| 9850 | Device. Upon the call of this API the WLAN DAL will pack |
| 9851 | and send a HAL Set UAPSD params request message to |
| 9852 | the lower RIVA sub-system if DAL is in state STARTED. |
| 9853 | |
| 9854 | In state BUSY this request will be queued. Request won't |
| 9855 | be allowed in any other state. |
| 9856 | |
| 9857 | WDI_PostAssocReq must have been called. |
| 9858 | |
| 9859 | @param pwdiUapsdInfo: the UAPSD parameters as specified by |
| 9860 | the Device Interface |
| 9861 | |
| 9862 | wdiSetUapsdAcParamsCb: callback for passing back the |
| 9863 | response of the set UAPSD params operation received from |
| 9864 | the device |
| 9865 | |
| 9866 | pUserData: user data will be passed back with the |
| 9867 | callback |
| 9868 | |
| 9869 | @see WDI_PostAssocReq |
| 9870 | @return Result of the function call |
| 9871 | */ |
| 9872 | WDI_Status |
| 9873 | WDI_SetUapsdAcParamsReq |
| 9874 | ( |
| 9875 | WDI_SetUapsdAcParamsReqParamsType* pwdiPowerSaveCfg, |
| 9876 | WDI_SetUapsdAcParamsCb wdiSetUapsdAcParamsCb, |
| 9877 | void* pUserData |
| 9878 | ); |
Sachin Ahuja | 715aafc | 2015-07-21 23:35:10 +0530 | [diff] [blame] | 9879 | |
| 9880 | |
| 9881 | /** |
| 9882 | @brief WDI_FatalEventLogsReq will be called when the upper |
| 9883 | MAC wants to send the fatal event req. Upon the call of |
| 9884 | this API the WLAN DAL will pack and send a HAL |
| 9885 | Fatal event request message to the lower RIVA sub-system. |
| 9886 | |
| 9887 | In state BUSY this request will be queued. Request won't |
| 9888 | be allowed in any other state. |
| 9889 | |
| 9890 | |
| 9891 | @param pwdiFatalEventLogsReqInfo: the Fatal event logs params |
| 9892 | as specified by the Device Interface |
| 9893 | |
| 9894 | wdiFatalEventLogsRspCb: callback for passing back the |
| 9895 | response of the fatal event operation received |
| 9896 | from the device |
| 9897 | |
| 9898 | pUserData: user data will be passed back with the |
| 9899 | callback |
| 9900 | |
| 9901 | @return Result of the function call |
| 9902 | */ |
| 9903 | |
| 9904 | WDI_Status |
| 9905 | WDI_FatalEventLogsReq |
| 9906 | ( |
| 9907 | WDI_FatalEventLogsReqInfoType *pwdiFatalEventLogsReqInfo, |
| 9908 | WDI_FatalEventLogsRspCb wdiFatalEventLogsRspCb, |
| 9909 | void* pUserData |
| 9910 | ); |
| 9911 | |
Siddharth Bhal | 6424617 | 2015-02-27 01:04:37 +0530 | [diff] [blame] | 9912 | /** |
| 9913 | @brief WDI_GetFrameLogReq will be called when the upper |
| 9914 | MAC wants to initialize frame logging. Upon the call of |
| 9915 | this API the WLAN DAL will pack and send a HAL |
| 9916 | Frame logging init request message to |
| 9917 | the lower RIVA sub-system. |
| 9918 | |
| 9919 | In state BUSY this request will be queued. Request won't |
| 9920 | be allowed in any other state. |
| 9921 | |
| 9922 | |
| 9923 | @param pwdiGetFrameLogReqInfo: the Frame Logging params |
| 9924 | as specified by the Device Interface |
| 9925 | |
| 9926 | wdiGetFrameLogReqCb: callback for passing back the |
| 9927 | response of the frame logging init operation received |
| 9928 | from the device |
| 9929 | |
| 9930 | pUserData: user data will be passed back with the |
| 9931 | callback |
| 9932 | |
| 9933 | @return Result of the function call |
| 9934 | */ |
| 9935 | WDI_Status |
| 9936 | WDI_GetFrameLogReq |
| 9937 | ( |
| 9938 | WDI_GetFrameLogReqInfoType *pwdiGetFrameLogReqInfo, |
| 9939 | WDI_GetFrameLogRspCb wdiGetFrameLogReqCb, |
| 9940 | void* pUserData |
| 9941 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 9942 | |
| 9943 | /** |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 9944 | @brief WDI_FWLoggingInitReq will be called when the upper |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 9945 | MAC wants to initialize frame logging. Upon the call of |
| 9946 | this API the WLAN DAL will pack and send a HAL |
| 9947 | Frame logging init request message to |
| 9948 | the lower RIVA sub-system. |
| 9949 | |
| 9950 | In state BUSY this request will be queued. Request won't |
| 9951 | be allowed in any other state. |
| 9952 | |
| 9953 | |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 9954 | @param pwdiFWLoggingInitReqParams: the Frame Logging params |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 9955 | as specified by the Device Interface |
| 9956 | |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 9957 | wdiFWLoggingInitReqCb: callback for passing back the |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 9958 | response of the frame logging init operation received |
| 9959 | from the device |
| 9960 | |
| 9961 | pUserData: user data will be passed back with the |
| 9962 | callback |
| 9963 | |
| 9964 | @return Result of the function call |
| 9965 | */ |
| 9966 | WDI_Status |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 9967 | WDI_FWLoggingInitReq |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 9968 | ( |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 9969 | WDI_FWLoggingInitReqInfoType *pwdiFWLoggingInitReqInfo, |
| 9970 | WDI_FWLoggingInitRspCb wdiFWLoggingInitReqCb, |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 9971 | void* pUserData |
| 9972 | ); |
| 9973 | |
| 9974 | /** |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 9975 | @brief WDI_StartRssiMonitorReq will be called when the upper |
| 9976 | MAC wants to initialize Rssi Monitor on a bssid. |
| 9977 | Upon the call of this API the WLAN DAL will pack and |
| 9978 | send a HAL Rssi Monitor init request message to |
| 9979 | the lower RIVA sub-system. |
| 9980 | |
| 9981 | In state BUSY this request will be queued. Request won't |
| 9982 | be allowed in any other state. |
| 9983 | |
| 9984 | |
| 9985 | @param pwdiRssiMonitorInfo: the Rssi Monitor params |
| 9986 | as specified by the Device Interface |
| 9987 | |
| 9988 | wdiRssiMonitorStartRspCb: callback for passing back the |
| 9989 | response of the rssi monitor operation received |
| 9990 | from the device |
| 9991 | |
| 9992 | pUserData: user data will be passed back with the |
| 9993 | callback |
| 9994 | |
| 9995 | @return Result of the function call |
| 9996 | */ |
| 9997 | WDI_Status |
| 9998 | WDI_StartRssiMonitorReq |
| 9999 | ( |
| 10000 | WDI_RssiMonitorReqInfoType *pwdiRssiMonitorInfo, |
| 10001 | WDI_RssiMonitorStartRspCb wdiRssiMonitorStartRspCb, |
| 10002 | void* pUserData |
| 10003 | ); |
| 10004 | |
| 10005 | |
| 10006 | /** |
| 10007 | @brief WDI_StopRssiMonitorReq will be called when the upper |
| 10008 | MAC wants to stop Rssi Monitor on a bssid. |
| 10009 | Upon the call of this API the WLAN DAL will pack and |
| 10010 | send a HAL Rssi Monitor stop request message to |
| 10011 | the lower RIVA sub-system. |
| 10012 | |
| 10013 | In state BUSY this request will be queued. Request won't |
| 10014 | be allowed in any other state. |
| 10015 | |
| 10016 | |
| 10017 | @param pwdiRssiMonitorInfo: the Rssi Monitor params |
| 10018 | as specified by the Device Interface |
| 10019 | |
| 10020 | wdiRssiMonitorStopRspCb: callback for passing back the |
| 10021 | response of the rssi monitor operation received |
| 10022 | from the device |
| 10023 | |
| 10024 | pUserData: user data will be passed back with the |
| 10025 | callback |
| 10026 | |
| 10027 | @return Result of the function call |
| 10028 | */ |
| 10029 | WDI_Status |
| 10030 | WDI_StopRssiMonitorReq |
| 10031 | ( |
| 10032 | WDI_RssiMonitorReqInfoType *pwdiRssiMonitorInfo, |
| 10033 | WDI_RssiMonitorStopRspCb wdiRssiMonitorStopRspCb, |
| 10034 | void* pUserData |
| 10035 | ); |
| 10036 | |
| 10037 | /** |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10038 | @brief WDI_ConfigureRxpFilterReq will be called when the upper |
| 10039 | MAC wants to set/reset the RXP filters for received pkts |
| 10040 | (MC, BC etc.). Upon the call of this API the WLAN DAL will pack |
| 10041 | and send a HAL configure RXP filter request message to |
| 10042 | the lower RIVA sub-system. |
| 10043 | |
| 10044 | In state BUSY this request will be queued. Request won't |
| 10045 | be allowed in any other state. |
| 10046 | |
| 10047 | |
| 10048 | @param pwdiConfigureRxpFilterReqParams: the RXP |
| 10049 | filter as specified by the Device |
| 10050 | Interface |
| 10051 | |
| 10052 | wdiConfigureRxpFilterCb: callback for passing back the |
| 10053 | response of the configure RXP filter operation received |
| 10054 | from the device |
| 10055 | |
| 10056 | pUserData: user data will be passed back with the |
| 10057 | callback |
| 10058 | |
| 10059 | @return Result of the function call |
| 10060 | */ |
| 10061 | WDI_Status |
| 10062 | WDI_ConfigureRxpFilterReq |
| 10063 | ( |
| 10064 | WDI_ConfigureRxpFilterReqParamsType *pwdiConfigureRxpFilterReqParams, |
| 10065 | WDI_ConfigureRxpFilterCb wdiConfigureRxpFilterCb, |
| 10066 | void* pUserData |
| 10067 | ); |
| 10068 | |
| 10069 | /** |
| 10070 | @brief WDI_SetBeaconFilterReq will be called when the upper MAC |
| 10071 | wants to set the beacon filters while in power save. |
| 10072 | Upon the call of this API the WLAN DAL will pack and |
| 10073 | send a Beacon filter request message to the |
| 10074 | lower RIVA sub-system. |
| 10075 | |
| 10076 | In state BUSY this request will be queued. Request won't |
| 10077 | be allowed in any other state. |
| 10078 | |
| 10079 | |
| 10080 | @param pwdiBeaconFilterReqParams: the beacon |
| 10081 | filter as specified by the Device |
| 10082 | Interface |
| 10083 | |
| 10084 | wdiBeaconFilterCb: callback for passing back the |
| 10085 | response of the set beacon filter operation received |
| 10086 | from the device |
| 10087 | |
| 10088 | pUserData: user data will be passed back with the |
| 10089 | callback |
| 10090 | |
| 10091 | @return Result of the function call |
| 10092 | */ |
| 10093 | WDI_Status |
| 10094 | WDI_SetBeaconFilterReq |
| 10095 | ( |
| 10096 | WDI_BeaconFilterReqParamsType *pwdiBeaconFilterReqParams, |
| 10097 | WDI_SetBeaconFilterCb wdiBeaconFilterCb, |
| 10098 | void* pUserData |
| 10099 | ); |
| 10100 | |
| 10101 | /** |
| 10102 | @brief WDI_RemBeaconFilterReq will be called when the upper MAC |
| 10103 | wants to remove the beacon filter for perticular IE |
| 10104 | while in power save. Upon the call of this API the WLAN |
| 10105 | DAL will pack and send a remove Beacon filter request |
| 10106 | message to the lower RIVA sub-system. |
| 10107 | |
| 10108 | In state BUSY this request will be queued. Request won't |
| 10109 | be allowed in any other state. |
| 10110 | |
| 10111 | |
| 10112 | @param pwdiBeaconFilterReqParams: the beacon |
| 10113 | filter as specified by the Device |
| 10114 | Interface |
| 10115 | |
| 10116 | wdiBeaconFilterCb: callback for passing back the |
| 10117 | response of the remove beacon filter operation received |
| 10118 | from the device |
| 10119 | |
| 10120 | pUserData: user data will be passed back with the |
| 10121 | callback |
| 10122 | |
| 10123 | @return Result of the function call |
| 10124 | */ |
| 10125 | WDI_Status |
| 10126 | WDI_RemBeaconFilterReq |
| 10127 | ( |
| 10128 | WDI_RemBeaconFilterReqParamsType *pwdiBeaconFilterReqParams, |
| 10129 | WDI_RemBeaconFilterCb wdiBeaconFilterCb, |
| 10130 | void* pUserData |
| 10131 | ); |
| 10132 | |
| 10133 | /** |
| 10134 | @brief WDI_SetRSSIThresholdsReq will be called when the upper |
| 10135 | MAC wants to set the RSSI thresholds related |
| 10136 | configurations while in power save. Upon the call of |
| 10137 | this API the WLAN DAL will pack and send a HAL Set RSSI |
| 10138 | thresholds request message to the lower RIVA |
| 10139 | sub-system if DAL is in state STARTED. |
| 10140 | |
| 10141 | In state BUSY this request will be queued. Request won't |
| 10142 | be allowed in any other state. |
| 10143 | |
| 10144 | WDI_PostAssocReq must have been called. |
| 10145 | |
| 10146 | @param pwdiUapsdInfo: the UAPSD parameters as specified by |
| 10147 | the Device Interface |
| 10148 | |
| 10149 | wdiSetUapsdAcParamsCb: callback for passing back the |
| 10150 | response of the set UAPSD params operation received from |
| 10151 | the device |
| 10152 | |
| 10153 | pUserData: user data will be passed back with the |
| 10154 | callback |
| 10155 | |
| 10156 | @see WDI_PostAssocReq |
| 10157 | @return Result of the function call |
| 10158 | */ |
| 10159 | WDI_Status |
| 10160 | WDI_SetRSSIThresholdsReq |
| 10161 | ( |
| 10162 | WDI_SetRSSIThresholdsReqParamsType* pwdiRSSIThresholdsParams, |
| 10163 | WDI_SetRSSIThresholdsCb wdiSetRSSIThresholdsCb, |
| 10164 | void* pUserData |
| 10165 | ); |
| 10166 | |
| 10167 | /** |
| 10168 | @brief WDI_HostOffloadReq will be called when the upper MAC |
| 10169 | wants to set the filter to minimize unnecessary host |
| 10170 | wakeup due to broadcast traffic while in power save. |
| 10171 | Upon the call of this API the WLAN DAL will pack and |
| 10172 | send a HAL host offload request message to the |
| 10173 | lower RIVA sub-system if DAL is in state STARTED. |
| 10174 | |
| 10175 | In state BUSY this request will be queued. Request won't |
| 10176 | be allowed in any other state. |
| 10177 | |
| 10178 | WDI_PostAssocReq must have been called. |
| 10179 | |
| 10180 | @param pwdiHostOffloadParams: the host offload as specified |
| 10181 | by the Device Interface |
| 10182 | |
| 10183 | wdiHostOffloadCb: callback for passing back the response |
| 10184 | of the host offload operation received from the |
| 10185 | device |
| 10186 | |
| 10187 | pUserData: user data will be passed back with the |
| 10188 | callback |
| 10189 | |
| 10190 | @see WDI_PostAssocReq |
| 10191 | @return Result of the function call |
| 10192 | */ |
| 10193 | WDI_Status |
| 10194 | WDI_HostOffloadReq |
| 10195 | ( |
| 10196 | WDI_HostOffloadReqParamsType* pwdiHostOffloadParams, |
| 10197 | WDI_HostOffloadCb wdiHostOffloadCb, |
| 10198 | void* pUserData |
| 10199 | ); |
| 10200 | |
| 10201 | /** |
| 10202 | @brief WDI_KeepAliveReq will be called when the upper MAC |
| 10203 | wants to set the filter to send NULL or unsolicited ARP responses |
| 10204 | and minimize unnecessary host wakeups due to while in power save. |
| 10205 | Upon the call of this API the WLAN DAL will pack and |
| 10206 | send a HAL Keep Alive request message to the |
| 10207 | lower RIVA sub-system if DAL is in state STARTED. |
| 10208 | |
| 10209 | In state BUSY this request will be queued. Request won't |
| 10210 | be allowed in any other state. |
| 10211 | |
| 10212 | WDI_PostAssocReq must have been called. |
| 10213 | |
| 10214 | @param pwdiKeepAliveParams: the Keep Alive as specified |
| 10215 | by the Device Interface |
| 10216 | |
| 10217 | wdiKeepAliveCb: callback for passing back the response |
| 10218 | of the Keep Alive operation received from the |
| 10219 | device |
| 10220 | |
| 10221 | pUserData: user data will be passed back with the |
| 10222 | callback |
| 10223 | |
| 10224 | @see WDI_PostAssocReq |
| 10225 | @return Result of the function call |
| 10226 | */ |
| 10227 | WDI_Status |
| 10228 | WDI_KeepAliveReq |
| 10229 | ( |
| 10230 | WDI_KeepAliveReqParamsType* pwdiKeepAliveParams, |
| 10231 | WDI_KeepAliveCb wdiKeepAliveCb, |
| 10232 | void* pUserData |
| 10233 | ); |
| 10234 | |
| 10235 | /** |
| 10236 | @brief WDI_WowlAddBcPtrnReq will be called when the upper MAC |
| 10237 | wants to set the Wowl Bcast ptrn to minimize unnecessary |
| 10238 | host wakeup due to broadcast traffic while in power |
| 10239 | save. Upon the call of this API the WLAN DAL will pack |
| 10240 | and send a HAL Wowl Bcast ptrn request message to the |
| 10241 | lower RIVA sub-system if DAL is in state STARTED. |
| 10242 | |
| 10243 | In state BUSY this request will be queued. Request won't |
| 10244 | be allowed in any other state. |
| 10245 | |
| 10246 | WDI_PostAssocReq must have been called. |
| 10247 | |
| 10248 | @param pwdiWowlAddBcPtrnParams: the Wowl bcast ptrn as |
| 10249 | specified by the Device Interface |
| 10250 | |
| 10251 | wdiWowlAddBcPtrnCb: callback for passing back the |
| 10252 | response of the add Wowl bcast ptrn operation received |
| 10253 | from the device |
| 10254 | |
| 10255 | pUserData: user data will be passed back with the |
| 10256 | callback |
| 10257 | |
| 10258 | @see WDI_PostAssocReq |
| 10259 | @return Result of the function call |
| 10260 | */ |
| 10261 | WDI_Status |
| 10262 | WDI_WowlAddBcPtrnReq |
| 10263 | ( |
| 10264 | WDI_WowlAddBcPtrnReqParamsType* pwdiWowlAddBcPtrnParams, |
| 10265 | WDI_WowlAddBcPtrnCb wdiWowlAddBcPtrnCb, |
| 10266 | void* pUserData |
| 10267 | ); |
| 10268 | |
| 10269 | /** |
| 10270 | @brief WDI_WowlDelBcPtrnReq will be called when the upper MAC |
| 10271 | wants to clear the Wowl Bcast ptrn. Upon the call of |
| 10272 | this API the WLAN DAL will pack and send a HAL delete |
| 10273 | Wowl Bcast ptrn request message to the lower RIVA |
| 10274 | sub-system if DAL is in state STARTED. |
| 10275 | |
| 10276 | In state BUSY this request will be queued. Request won't |
| 10277 | be allowed in any other state. |
| 10278 | |
| 10279 | WDI_WowlAddBcPtrnReq must have been called. |
| 10280 | |
| 10281 | @param pwdiWowlDelBcPtrnParams: the Wowl bcast ptrn as |
| 10282 | specified by the Device Interface |
| 10283 | |
| 10284 | wdiWowlDelBcPtrnCb: callback for passing back the |
| 10285 | response of the del Wowl bcast ptrn operation received |
| 10286 | from the device |
| 10287 | |
| 10288 | pUserData: user data will be passed back with the |
| 10289 | callback |
| 10290 | |
| 10291 | @see WDI_WowlAddBcPtrnReq |
| 10292 | @return Result of the function call |
| 10293 | */ |
| 10294 | WDI_Status |
| 10295 | WDI_WowlDelBcPtrnReq |
| 10296 | ( |
| 10297 | WDI_WowlDelBcPtrnReqParamsType* pwdiWowlDelBcPtrnParams, |
| 10298 | WDI_WowlDelBcPtrnCb wdiWowlDelBcPtrnCb, |
| 10299 | void* pUserData |
| 10300 | ); |
| 10301 | |
| 10302 | /** |
| 10303 | @brief WDI_WowlEnterReq will be called when the upper MAC |
| 10304 | wants to enter the Wowl state to minimize unnecessary |
| 10305 | host wakeup while in power save. Upon the call of this |
| 10306 | API the WLAN DAL will pack and send a HAL Wowl enter |
| 10307 | request message to the lower RIVA sub-system if DAL is |
| 10308 | in state STARTED. |
| 10309 | |
| 10310 | In state BUSY this request will be queued. Request won't |
| 10311 | be allowed in any other state. |
| 10312 | |
| 10313 | WDI_PostAssocReq must have been called. |
| 10314 | |
| 10315 | @param pwdiWowlEnterReqParams: the Wowl enter info as |
| 10316 | specified by the Device Interface |
| 10317 | |
| 10318 | wdiWowlEnterReqCb: callback for passing back the |
| 10319 | response of the enter Wowl operation received from the |
| 10320 | device |
| 10321 | |
| 10322 | pUserData: user data will be passed back with the |
| 10323 | callback |
| 10324 | |
| 10325 | @see WDI_PostAssocReq |
| 10326 | @return Result of the function call |
| 10327 | */ |
| 10328 | WDI_Status |
| 10329 | WDI_WowlEnterReq |
| 10330 | ( |
| 10331 | WDI_WowlEnterReqParamsType* pwdiWowlEnterParams, |
| 10332 | WDI_WowlEnterReqCb wdiWowlEnterCb, |
| 10333 | void* pUserData |
| 10334 | ); |
| 10335 | |
| 10336 | /** |
| 10337 | @brief WDI_WowlExitReq will be called when the upper MAC |
| 10338 | wants to exit the Wowl state. Upon the call of this API |
| 10339 | the WLAN DAL will pack and send a HAL Wowl exit request |
| 10340 | message to the lower RIVA sub-system if DAL is in state |
| 10341 | STARTED. |
| 10342 | |
| 10343 | In state BUSY this request will be queued. Request won't |
| 10344 | be allowed in any other state. |
| 10345 | |
| 10346 | WDI_WowlEnterReq must have been called. |
| 10347 | |
| 10348 | @param pwdiWowlExitReqParams: the Wowl exit info as |
| 10349 | specified by the Device Interface |
| 10350 | |
| 10351 | wdiWowlExitReqCb: callback for passing back the response |
| 10352 | of the exit Wowl operation received from the device |
| 10353 | |
| 10354 | pUserData: user data will be passed back with the |
| 10355 | callback |
| 10356 | |
| 10357 | @see WDI_WowlEnterReq |
| 10358 | @return Result of the function call |
| 10359 | */ |
| 10360 | WDI_Status |
| 10361 | WDI_WowlExitReq |
| 10362 | ( |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 10363 | WDI_WowlExitReqParamsType* pwdiWowlExitParams, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10364 | WDI_WowlExitReqCb wdiWowlExitCb, |
| 10365 | void* pUserData |
| 10366 | ); |
| 10367 | |
| 10368 | /** |
| 10369 | @brief WDI_ConfigureAppsCpuWakeupStateReq will be called when |
| 10370 | the upper MAC wants to dynamically adjusts the listen |
| 10371 | interval based on the WLAN/MSM activity. Upon the call |
| 10372 | of this API the WLAN DAL will pack and send a HAL |
| 10373 | configure Apps Cpu Wakeup State request message to the |
| 10374 | lower RIVA sub-system. |
| 10375 | |
| 10376 | In state BUSY this request will be queued. Request won't |
| 10377 | be allowed in any other state. |
| 10378 | |
| 10379 | |
| 10380 | @param pwdiConfigureAppsCpuWakeupStateReqParams: the |
| 10381 | Apps Cpu Wakeup State as specified by the |
| 10382 | Device Interface |
| 10383 | |
| 10384 | wdiConfigureAppsCpuWakeupStateCb: callback for passing |
| 10385 | back the response of the configure Apps Cpu Wakeup State |
| 10386 | operation received from the device |
| 10387 | |
| 10388 | pUserData: user data will be passed back with the |
| 10389 | callback |
| 10390 | |
| 10391 | @return Result of the function call |
| 10392 | */ |
| 10393 | WDI_Status |
| 10394 | WDI_ConfigureAppsCpuWakeupStateReq |
| 10395 | ( |
| 10396 | WDI_ConfigureAppsCpuWakeupStateReqParamsType *pwdiConfigureAppsCpuWakeupStateReqParams, |
| 10397 | WDI_ConfigureAppsCpuWakeupStateCb wdiConfigureAppsCpuWakeupStateCb, |
| 10398 | void* pUserData |
| 10399 | ); |
| 10400 | /** |
| 10401 | @brief WDI_FlushAcReq will be called when the upper MAC wants |
| 10402 | to to perform a flush operation on a given AC. Upon the |
| 10403 | call of this API the WLAN DAL will pack and send a HAL |
| 10404 | Flush AC request message to the lower RIVA sub-system if |
| 10405 | DAL is in state STARTED. |
| 10406 | |
| 10407 | In state BUSY this request will be queued. Request won't |
| 10408 | be allowed in any other state. |
| 10409 | |
| 10410 | |
| 10411 | @param pwdiFlushAcReqParams: the Flush AC parameters as |
| 10412 | specified by the Device Interface |
| 10413 | |
| 10414 | wdiFlushAcRspCb: callback for passing back the response |
| 10415 | of the Flush AC operation received from the device |
| 10416 | |
| 10417 | pUserData: user data will be passed back with the |
| 10418 | callback |
| 10419 | |
| 10420 | @return Result of the function call |
| 10421 | */ |
| 10422 | WDI_Status |
| 10423 | WDI_FlushAcReq |
| 10424 | ( |
| 10425 | WDI_FlushAcReqParamsType* pwdiFlushAcReqParams, |
| 10426 | WDI_FlushAcRspCb wdiFlushAcRspCb, |
| 10427 | void* pUserData |
| 10428 | ); |
| 10429 | |
| 10430 | /** |
| 10431 | @brief WDI_BtAmpEventReq will be called when the upper MAC |
| 10432 | wants to notify the lower mac on a BT AMP event. This is |
| 10433 | to inform BTC-SLM that some BT AMP event occurred. Upon |
| 10434 | the call of this API the WLAN DAL will pack and send a |
| 10435 | HAL BT AMP event request message to the lower RIVA |
| 10436 | sub-system if DAL is in state STARTED. |
| 10437 | |
| 10438 | In state BUSY this request will be queued. Request won't |
| 10439 | be allowed in any other state. |
| 10440 | |
| 10441 | |
| 10442 | @param wdiBtAmpEventReqParams: the BT AMP event parameters as |
| 10443 | specified by the Device Interface |
| 10444 | |
| 10445 | wdiBtAmpEventRspCb: callback for passing back the |
| 10446 | response of the BT AMP event operation received from the |
| 10447 | device |
| 10448 | |
| 10449 | pUserData: user data will be passed back with the |
| 10450 | callback |
| 10451 | |
| 10452 | @return Result of the function call |
| 10453 | */ |
| 10454 | WDI_Status |
| 10455 | WDI_BtAmpEventReq |
| 10456 | ( |
| 10457 | WDI_BtAmpEventParamsType* pwdiBtAmpEventReqParams, |
| 10458 | WDI_BtAmpEventRspCb wdiBtAmpEventRspCb, |
| 10459 | void* pUserData |
| 10460 | ); |
| 10461 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 10462 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 10463 | /** |
| 10464 | @brief WDI_Start oem data Req will be called when the upper MAC |
| 10465 | wants to notify the lower mac on a oem data Req event.Upon |
| 10466 | the call of this API the WLAN DAL will pack and send a |
| 10467 | HAL OEM Data Req event request message to the lower RIVA |
| 10468 | sub-system if DAL is in state STARTED. |
| 10469 | |
| 10470 | In state BUSY this request will be queued. Request won't |
| 10471 | be allowed in any other state. |
| 10472 | |
| 10473 | |
| 10474 | @param pWdiOemDataReqParams: the oem data req parameters as |
| 10475 | specified by the Device Interface |
| 10476 | |
| 10477 | wdiStartOemDataRspCb: callback for passing back the |
| 10478 | response of the Oem Data Req received from the |
| 10479 | device |
| 10480 | |
| 10481 | pUserData: user data will be passed back with the |
| 10482 | callback |
| 10483 | |
| 10484 | @return Result of the function call |
| 10485 | */ |
| 10486 | WDI_Status |
| 10487 | WDI_StartOemDataReq |
| 10488 | ( |
| 10489 | WDI_oemDataReqParamsType* pWdiOemDataReqParams, |
| 10490 | WDI_oemDataRspCb wdiOemDataRspCb, |
| 10491 | void* pUserData |
| 10492 | ); |
| 10493 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10494 | |
| 10495 | /*======================================================================== |
| 10496 | |
| 10497 | CONTROL APIs |
| 10498 | |
| 10499 | ==========================================================================*/ |
| 10500 | /** |
| 10501 | @brief WDI_SwitchChReq will be called when the upper MAC wants |
| 10502 | the WLAN HW to change the current channel of operation. |
| 10503 | Upon the call of this API the WLAN DAL will pack and |
| 10504 | send a HAL Start request message to the lower RIVA |
| 10505 | sub-system if DAL is in state STARTED. |
| 10506 | |
| 10507 | In state BUSY this request will be queued. Request won't |
| 10508 | be allowed in any other state. |
| 10509 | |
| 10510 | WDI_Start must have been called. |
| 10511 | |
| 10512 | @param wdiSwitchChReqParams: the switch ch parameters as |
| 10513 | specified by the Device Interface |
| 10514 | |
| 10515 | wdiSwitchChRspCb: callback for passing back the response |
| 10516 | of the switch ch operation received from the device |
| 10517 | |
| 10518 | pUserData: user data will be passed back with the |
| 10519 | callback |
| 10520 | |
| 10521 | @see WDI_Start |
| 10522 | @return Result of the function call |
| 10523 | */ |
| 10524 | WDI_Status |
| 10525 | WDI_SwitchChReq |
| 10526 | ( |
| 10527 | WDI_SwitchChReqParamsType* pwdiSwitchChReqParams, |
| 10528 | WDI_SwitchChRspCb wdiSwitchChRspCb, |
| 10529 | void* pUserData |
| 10530 | ); |
| 10531 | |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 10532 | /** |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 10533 | @brief WDI_SwitchChReq_V1 is similar to WDI_SwitchChReq except |
| 10534 | it also send type source for the channel change. |
| 10535 | WDI_Start must have been called. |
| 10536 | |
| 10537 | @param wdiSwitchChReqParams: the switch ch parameters as |
| 10538 | specified by the Device Interface |
| 10539 | |
| 10540 | wdiSwitchChRspCb: callback for passing back the response |
| 10541 | of the switch ch operation received from the device |
| 10542 | |
| 10543 | pUserData: user data will be passed back with the |
| 10544 | callback |
| 10545 | |
| 10546 | @see WDI_Start |
| 10547 | @return Result of the function call |
| 10548 | */ |
| 10549 | |
| 10550 | WDI_Status |
| 10551 | WDI_SwitchChReq_V1 |
| 10552 | ( |
| 10553 | WDI_SwitchChReqParamsType_V1* pwdiSwitchChReqParams, |
| 10554 | WDI_SwitchChRspCb_V1 wdiSwitchChRspCb, |
| 10555 | void* pUserData |
| 10556 | ); |
| 10557 | |
| 10558 | /** |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 10559 | @brief WDI_UpdateChannelReq will be called when the upper MAC |
| 10560 | wants to update the channel list on change in country code. |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 10561 | In state BUSY this request will be queued. Request won't |
| 10562 | be allowed in any other state. |
| 10563 | |
| 10564 | WDI_UpdateChannelReq must have been called. |
| 10565 | |
| 10566 | @param wdiUpdateChannelReqParams: the updated channel parameters |
| 10567 | as specified by the Device Interface |
| 10568 | |
| 10569 | wdiUpdateChannelRspCb: callback for passing back the |
| 10570 | response of the update channel operation received from |
| 10571 | the device |
| 10572 | |
| 10573 | pUserData: user data will be passed back with the |
| 10574 | callback |
| 10575 | |
| 10576 | @return Result of the function call |
| 10577 | */ |
| 10578 | WDI_Status |
| 10579 | WDI_UpdateChannelReq |
| 10580 | ( |
| 10581 | WDI_UpdateChReqParamsType *pwdiUpdateChannelReqParams, |
| 10582 | WDI_UpdateChannelRspCb wdiUpdateChannelRspCb, |
| 10583 | void* pUserData |
| 10584 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10585 | |
| 10586 | /** |
| 10587 | @brief WDI_ConfigSTAReq will be called when the upper MAC |
| 10588 | wishes to add or update a STA in HW. Upon the call of |
| 10589 | this API the WLAN DAL will pack and send a HAL Start |
| 10590 | message request message to the lower RIVA sub-system if |
| 10591 | DAL is in state STARTED. |
| 10592 | |
| 10593 | In state BUSY this request will be queued. Request won't |
| 10594 | be allowed in any other state. |
| 10595 | |
| 10596 | WDI_Start must have been called. |
| 10597 | |
| 10598 | @param wdiConfigSTAReqParams: the config STA parameters as |
| 10599 | specified by the Device Interface |
| 10600 | |
| 10601 | wdiConfigSTARspCb: callback for passing back the |
| 10602 | response of the config STA operation received from the |
| 10603 | device |
| 10604 | |
| 10605 | pUserData: user data will be passed back with the |
| 10606 | callback |
| 10607 | |
| 10608 | @see WDI_Start |
| 10609 | @return Result of the function call |
| 10610 | */ |
| 10611 | WDI_Status |
| 10612 | WDI_ConfigSTAReq |
| 10613 | ( |
| 10614 | WDI_ConfigSTAReqParamsType* pwdiConfigSTAReqParams, |
| 10615 | WDI_ConfigSTARspCb wdiConfigSTARspCb, |
| 10616 | void* pUserData |
| 10617 | ); |
| 10618 | |
| 10619 | /** |
| 10620 | @brief WDI_SetLinkStateReq will be called when the upper MAC |
| 10621 | wants to change the state of an ongoing link. Upon the |
| 10622 | call of this API the WLAN DAL will pack and send a HAL |
| 10623 | Start message request message to the lower RIVA |
| 10624 | sub-system if DAL is in state STARTED. |
| 10625 | |
| 10626 | In state BUSY this request will be queued. Request won't |
| 10627 | be allowed in any other state. |
| 10628 | |
| 10629 | WDI_JoinReq must have been called. |
| 10630 | |
| 10631 | @param wdiSetLinkStateReqParams: the set link state parameters |
| 10632 | as specified by the Device Interface |
| 10633 | |
| 10634 | wdiSetLinkStateRspCb: callback for passing back the |
| 10635 | response of the set link state operation received from |
| 10636 | the device |
| 10637 | |
| 10638 | pUserData: user data will be passed back with the |
| 10639 | callback |
| 10640 | |
| 10641 | @see WDI_JoinStartReq |
| 10642 | @return Result of the function call |
| 10643 | */ |
| 10644 | WDI_Status |
| 10645 | WDI_SetLinkStateReq |
| 10646 | ( |
| 10647 | WDI_SetLinkReqParamsType* pwdiSetLinkStateReqParams, |
| 10648 | WDI_SetLinkStateRspCb wdiSetLinkStateRspCb, |
| 10649 | void* pUserData |
| 10650 | ); |
| 10651 | |
| 10652 | |
| 10653 | /** |
| 10654 | @brief WDI_GetStatsReq will be called when the upper MAC wants |
| 10655 | to get statistics (MIB counters) from the device. Upon |
| 10656 | the call of this API the WLAN DAL will pack and send a |
| 10657 | HAL Start request message to the lower RIVA sub-system |
| 10658 | if DAL is in state STARTED. |
| 10659 | |
| 10660 | In state BUSY this request will be queued. Request won't |
| 10661 | be allowed in any other state. |
| 10662 | |
| 10663 | WDI_Start must have been called. |
| 10664 | |
| 10665 | @param wdiGetStatsReqParams: the stats parameters to get as |
| 10666 | specified by the Device Interface |
| 10667 | |
| 10668 | wdiGetStatsRspCb: callback for passing back the response |
| 10669 | of the get stats operation received from the device |
| 10670 | |
| 10671 | pUserData: user data will be passed back with the |
| 10672 | callback |
| 10673 | |
| 10674 | @see WDI_Start |
| 10675 | @return Result of the function call |
| 10676 | */ |
| 10677 | WDI_Status |
| 10678 | WDI_GetStatsReq |
| 10679 | ( |
| 10680 | WDI_GetStatsReqParamsType* pwdiGetStatsReqParams, |
| 10681 | WDI_GetStatsRspCb wdiGetStatsRspCb, |
| 10682 | void* pUserData |
| 10683 | ); |
| 10684 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 10685 | #if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR) |
Srinivas Girigowda | d34cedb | 2013-01-25 13:33:11 -0800 | [diff] [blame] | 10686 | /** |
| 10687 | @brief WDI_GetRoamRssiReq will be called when the upper MAC wants |
| 10688 | to get roam rssi from the device. Upon |
| 10689 | the call of this API the WLAN DAL will pack and send a |
| 10690 | HAL Start request message to the lower RIVA sub-system |
| 10691 | if DAL is in state STARTED. |
| 10692 | |
| 10693 | In state BUSY this request will be queued. Request won't |
| 10694 | be allowed in any other state. |
| 10695 | |
| 10696 | WDI_Start must have been called. |
| 10697 | |
| 10698 | @param wdiGetRoamRssiReqParams: the stats parameters to get as |
| 10699 | specified by the Device Interface |
| 10700 | |
| 10701 | wdiGetRoamRssispCb: callback for passing back the response |
| 10702 | of the get stats operation received from the device |
| 10703 | |
| 10704 | pUserData: user data will be passed back with the |
| 10705 | callback |
| 10706 | |
| 10707 | @see WDI_Start |
| 10708 | @return Result of the function call |
| 10709 | */ |
| 10710 | WDI_Status |
| 10711 | WDI_GetRoamRssiReq |
| 10712 | ( |
| 10713 | WDI_GetRoamRssiReqParamsType* pwdiGetRoamRssiReqParams, |
| 10714 | WDI_GetRoamRssiRspCb wdiGetRoamRssiRspCb, |
| 10715 | void* pUserData |
| 10716 | ); |
| 10717 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10718 | |
| 10719 | /** |
| 10720 | @brief WDI_UpdateCfgReq will be called when the upper MAC when |
| 10721 | it wishes to change the configuration of the WLAN |
| 10722 | Device. Upon the call of this API the WLAN DAL will pack |
| 10723 | and send a HAL Update CFG request message to the lower |
| 10724 | RIVA sub-system if DAL is in state STARTED. |
| 10725 | |
| 10726 | In state BUSY this request will be queued. Request won't |
| 10727 | be allowed in any other state. |
| 10728 | |
| 10729 | WDI_Start must have been called. |
| 10730 | |
| 10731 | @param wdiUpdateCfgReqParams: the update cfg parameters as |
| 10732 | specified by the Device Interface |
| 10733 | |
| 10734 | wdiUpdateCfgsRspCb: callback for passing back the |
| 10735 | response of the update cfg operation received from the |
| 10736 | device |
| 10737 | |
| 10738 | pUserData: user data will be passed back with the |
| 10739 | callback |
| 10740 | |
| 10741 | @see WDI_Start |
| 10742 | @return Result of the function call |
| 10743 | */ |
| 10744 | WDI_Status |
| 10745 | WDI_UpdateCfgReq |
| 10746 | ( |
| 10747 | WDI_UpdateCfgReqParamsType* pwdiUpdateCfgReqParams, |
| 10748 | WDI_UpdateCfgRspCb wdiUpdateCfgsRspCb, |
| 10749 | void* pUserData |
| 10750 | ); |
| 10751 | |
| 10752 | /** |
| 10753 | @brief WDI_NvDownloadReq will be called by the UMAC to dowload the NV blob |
| 10754 | to the NV memory. |
| 10755 | |
| 10756 | @param wdiNvDownloadReqParams: the NV Download parameters as specified by |
| 10757 | the Device Interface |
| 10758 | |
| 10759 | wdiNvDownloadRspCb: callback for passing back the response of |
| 10760 | the NV Download operation received from the device |
| 10761 | |
| 10762 | pUserData: user data will be passed back with the |
| 10763 | callback |
| 10764 | |
| 10765 | @see WDI_PostAssocReq |
| 10766 | @return Result of the function call |
| 10767 | */ |
| 10768 | WDI_Status |
| 10769 | WDI_NvDownloadReq |
| 10770 | ( |
| 10771 | WDI_NvDownloadReqParamsType* pwdiNvDownloadReqParams, |
| 10772 | WDI_NvDownloadRspCb wdiNvDownloadRspCb, |
| 10773 | void* pUserData |
| 10774 | ); |
| 10775 | /** |
| 10776 | @brief WDI_AddBAReq will be called when the upper MAC has setup |
| 10777 | successfully a BA session and needs to notify the HW for |
| 10778 | the appropriate settings to take place. Upon the call of |
| 10779 | this API the WLAN DAL will pack and send a HAL Add BA |
| 10780 | request message to the lower RIVA sub-system if DAL is |
| 10781 | in state STARTED. |
| 10782 | |
| 10783 | In state BUSY this request will be queued. Request won't |
| 10784 | be allowed in any other state. |
| 10785 | |
| 10786 | WDI_PostAssocReq must have been called. |
| 10787 | |
| 10788 | @param wdiAddBAReqParams: the add BA parameters as specified by |
| 10789 | the Device Interface |
| 10790 | |
| 10791 | wdiAddBARspCb: callback for passing back the response of |
| 10792 | the add BA operation received from the device |
| 10793 | |
| 10794 | pUserData: user data will be passed back with the |
| 10795 | callback |
| 10796 | |
| 10797 | @see WDI_PostAssocReq |
| 10798 | @return Result of the function call |
| 10799 | */ |
| 10800 | WDI_Status |
| 10801 | WDI_AddBAReq |
| 10802 | ( |
| 10803 | WDI_AddBAReqParamsType* pwdiAddBAReqParams, |
| 10804 | WDI_AddBARspCb wdiAddBARspCb, |
| 10805 | void* pUserData |
| 10806 | ); |
| 10807 | |
| 10808 | /** |
| 10809 | @brief WDI_TriggerBAReq will be called when the upper MAC has setup |
| 10810 | successfully a BA session and needs to notify the HW for |
| 10811 | the appropriate settings to take place. Upon the call of |
| 10812 | this API the WLAN DAL will pack and send a HAL Add BA |
| 10813 | request message to the lower RIVA sub-system if DAL is |
| 10814 | in state STARTED. |
| 10815 | |
| 10816 | In state BUSY this request will be queued. Request won't |
| 10817 | be allowed in any other state. |
| 10818 | |
| 10819 | WDI_PostAssocReq must have been called. |
| 10820 | |
| 10821 | @param wdiAddBAReqParams: the add BA parameters as specified by |
| 10822 | the Device Interface |
Abhishek Singh | ac9abe6 | 2016-02-05 18:07:41 +0530 | [diff] [blame] | 10823 | baReqParamUserDataSize: user data size of wdiAddBAReqParams |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10824 | wdiAddBARspCb: callback for passing back the response of |
| 10825 | the add BA operation received from the device |
| 10826 | |
| 10827 | pUserData: user data will be passed back with the |
| 10828 | callback |
| 10829 | |
| 10830 | @see WDI_PostAssocReq |
| 10831 | @return Result of the function call |
| 10832 | */ |
| 10833 | WDI_Status |
| 10834 | WDI_TriggerBAReq |
| 10835 | ( |
| 10836 | WDI_TriggerBAReqParamsType* pwdiTriggerBAReqParams, |
Abhishek Singh | ac9abe6 | 2016-02-05 18:07:41 +0530 | [diff] [blame] | 10837 | wpt_uint8 baReqParamUserDataSize, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10838 | WDI_TriggerBARspCb wdiTriggerBARspCb, |
| 10839 | void* pUserData |
| 10840 | ); |
| 10841 | |
| 10842 | |
| 10843 | /** |
| 10844 | @brief WDI_IsHwFrameTxTranslationCapable checks to see if HW |
| 10845 | frame xtl is enabled for a particular STA. |
| 10846 | |
| 10847 | WDI_PostAssocReq must have been called. |
| 10848 | |
| 10849 | @param uSTAIdx: STA index |
| 10850 | |
| 10851 | @see WDI_PostAssocReq |
| 10852 | @return Result of the function call |
| 10853 | */ |
| 10854 | wpt_boolean WDI_IsHwFrameTxTranslationCapable |
| 10855 | ( |
| 10856 | wpt_uint8 uSTAIdx |
| 10857 | ); |
| 10858 | |
Katya Nigam | 6201c3e | 2014-05-27 17:51:42 +0530 | [diff] [blame] | 10859 | |
| 10860 | /** |
| 10861 | @brief WDI_IsSelfSTA - check if staid is self sta index |
| 10862 | |
| 10863 | @param pWDICtx: pointer to the WLAN DAL context |
| 10864 | ucSTAIdx: station index |
| 10865 | |
| 10866 | @return Result of the function call |
| 10867 | */ |
| 10868 | |
| 10869 | wpt_boolean |
| 10870 | WDI_IsSelfSTA |
| 10871 | ( |
| 10872 | void* pWDICtx, |
| 10873 | wpt_uint8 ucSTAIdx |
| 10874 | ); |
| 10875 | |
| 10876 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10877 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 10878 | /** |
| 10879 | @brief WDI_AggrAddTSReq will be called when the upper MAC to inform |
| 10880 | the device of a successful add TSpec negotiation for 11r. HW |
| 10881 | needs to receive the TSpec Info from the UMAC in order |
| 10882 | to configure properly the QoS data traffic. Upon the |
| 10883 | call of this API the WLAN DAL will pack and send a HAL |
| 10884 | Aggregated Add TS request message to the lower RIVA sub-system if |
| 10885 | DAL is in state STARTED. |
| 10886 | |
| 10887 | In state BUSY this request will be queued. Request won't |
| 10888 | be allowed in any other state. |
| 10889 | |
| 10890 | WDI_PostAssocReq must have been called. |
| 10891 | |
| 10892 | @param wdiAggrAddTsReqParams: the add TS parameters as specified by |
| 10893 | the Device Interface |
| 10894 | |
| 10895 | wdiAggrAddTsRspCb: callback for passing back the response of |
| 10896 | the add TS operation received from the device |
| 10897 | |
| 10898 | pUserData: user data will be passed back with the |
| 10899 | callback |
| 10900 | |
| 10901 | @see WDI_PostAssocReq |
| 10902 | @return Result of the function call |
| 10903 | */ |
| 10904 | WDI_Status |
| 10905 | WDI_AggrAddTSReq |
| 10906 | ( |
| 10907 | WDI_AggrAddTSReqParamsType* pwdiAddTsReqParams, |
| 10908 | WDI_AggrAddTsRspCb wdiAggrAddTsRspCb, |
| 10909 | void* pUserData |
| 10910 | ); |
| 10911 | #endif /* WLAN_FEATURE_VOWIFI_11R */ |
| 10912 | /** |
| 10913 | @brief WDI_STATableInit - Initializes the STA tables. |
| 10914 | Allocates the necesary memory. |
| 10915 | |
| 10916 | |
| 10917 | @param pWDICtx: pointer to the WLAN DAL context |
| 10918 | |
| 10919 | @see |
| 10920 | @return Result of the function call |
| 10921 | */ |
| 10922 | |
| 10923 | WDI_Status WDI_StubRunTest |
| 10924 | ( |
| 10925 | wpt_uint8 ucTestNo |
| 10926 | ); |
| 10927 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10928 | /** |
| 10929 | @brief WDI_FTMCommandReq - |
| 10930 | Route FTMRequest Command to HAL |
| 10931 | |
| 10932 | @param ftmCommandReq: FTM request command body |
| 10933 | @param ftmCommandRspCb: Response CB |
| 10934 | @param pUserData: User data will be included with CB |
| 10935 | |
| 10936 | @return Result of the function call |
| 10937 | */ |
| 10938 | WDI_Status WDI_FTMCommandReq |
| 10939 | ( |
| 10940 | WDI_FTMCommandReqType *ftmCommandReq, |
| 10941 | WDI_FTMCommandRspCb ftmCommandRspCb, |
| 10942 | void *pUserData |
| 10943 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 10944 | |
| 10945 | /** |
| 10946 | @brief WDI_HostResumeReq will be called |
| 10947 | |
| 10948 | In state BUSY this request will be queued. Request won't |
| 10949 | be allowed in any other state. |
| 10950 | |
| 10951 | |
| 10952 | @param pwdiResumeReqParams: as specified by |
| 10953 | the Device Interface |
| 10954 | |
| 10955 | wdiResumeReqRspCb: callback for passing back the response of |
| 10956 | the Resume Req received from the device |
| 10957 | |
| 10958 | pUserData: user data will be passed back with the |
| 10959 | callback |
| 10960 | |
| 10961 | @see WDI_PostAssocReq |
| 10962 | @return Result of the function call |
| 10963 | */ |
| 10964 | WDI_Status |
| 10965 | WDI_HostResumeReq |
| 10966 | ( |
| 10967 | WDI_ResumeParamsType* pwdiResumeReqParams, |
| 10968 | WDI_HostResumeEventRspCb wdiResumeReqRspCb, |
| 10969 | void* pUserData |
| 10970 | ); |
| 10971 | |
| 10972 | /** |
| 10973 | @brief WDI_GetAvailableResCount - Function to get the available resource |
| 10974 | for data and managemnt frames. |
| 10975 | |
| 10976 | @param pContext: pointer to the WDI context |
| 10977 | @param wdiResPool: type of resource pool requesting |
| 10978 | @see |
| 10979 | @return Result of the function call |
| 10980 | */ |
| 10981 | |
| 10982 | wpt_uint32 WDI_GetAvailableResCount |
| 10983 | ( |
| 10984 | void *pContext, |
| 10985 | WDI_ResPoolType wdiResPool |
| 10986 | ); |
| 10987 | |
| 10988 | /** |
| 10989 | @brief WDI_SetAddSTASelfReq will be called when the |
| 10990 | UMAC wanted to add self STA while opening any new session |
| 10991 | In state BUSY this request will be queued. Request won't |
| 10992 | be allowed in any other state. |
| 10993 | |
| 10994 | |
| 10995 | @param pwdiAddSTASelfParams: the add self sta parameters as |
| 10996 | specified by the Device Interface |
| 10997 | |
| 10998 | pUserData: user data will be passed back with the |
| 10999 | callback |
| 11000 | |
| 11001 | @see |
| 11002 | @return Result of the function call |
| 11003 | */ |
| 11004 | WDI_Status |
| 11005 | WDI_AddSTASelfReq |
| 11006 | ( |
| 11007 | WDI_AddSTASelfReqParamsType* pwdiAddSTASelfReqParams, |
| 11008 | WDI_AddSTASelfParamsRspCb wdiAddSTASelfReqParamsRspCb, |
| 11009 | void* pUserData |
| 11010 | ); |
| 11011 | |
| 11012 | |
| 11013 | /** |
| 11014 | @brief WDI_DelSTASelfReq will be called . |
| 11015 | |
| 11016 | @param WDI_DelSTASelfReqParamsType |
| 11017 | |
| 11018 | WDI_DelSTASelfRspCb: callback for passing back the |
| 11019 | response of the del sta self operation received from the |
| 11020 | device |
| 11021 | |
| 11022 | pUserData: user data will be passed back with the |
| 11023 | callback |
| 11024 | |
| 11025 | @see WDI_PostAssocReq |
| 11026 | @return Result of the function call |
| 11027 | */ |
| 11028 | WDI_Status |
| 11029 | WDI_DelSTASelfReq |
| 11030 | ( |
| 11031 | WDI_DelSTASelfReqParamsType* pwdiDelStaSelfParams, |
| 11032 | WDI_DelSTASelfRspCb wdiDelStaSelfRspCb, |
| 11033 | void* pUserData |
| 11034 | ); |
| 11035 | |
| 11036 | /** |
| 11037 | @brief WDI_HostSuspendInd |
| 11038 | |
| 11039 | Suspend Indication from the upper layer will be sent |
| 11040 | down to HAL |
| 11041 | |
| 11042 | @param WDI_SuspendParamsType |
| 11043 | |
| 11044 | @see |
| 11045 | |
| 11046 | @return Status of the request |
| 11047 | */ |
| 11048 | WDI_Status |
| 11049 | WDI_HostSuspendInd |
| 11050 | ( |
| 11051 | WDI_SuspendParamsType* pwdiSuspendIndParams |
| 11052 | ); |
| 11053 | |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 11054 | /** |
| 11055 | @brief WDI_TrafficStatsInd |
| 11056 | |
| 11057 | Traffic Stats from the upper layer will be sent |
| 11058 | down to HAL |
| 11059 | |
| 11060 | @param WDI_TrafficStatsIndType |
| 11061 | |
| 11062 | @see |
| 11063 | |
| 11064 | @return Status of the request |
| 11065 | */ |
| 11066 | WDI_Status |
| 11067 | WDI_TrafficStatsInd |
| 11068 | ( |
| 11069 | WDI_TrafficStatsIndType *pWdiTrafficStatsIndParams |
| 11070 | ); |
| 11071 | |
Chet Lanctot | 186b573 | 2013-03-18 10:26:30 -0700 | [diff] [blame] | 11072 | #ifdef WLAN_FEATURE_11W |
| 11073 | /** |
| 11074 | @brief WDI_ExcludeUnencryptedInd |
| 11075 | Register with HAL to receive/drop unencrypted frames |
| 11076 | |
| 11077 | @param WDI_ExcludeUnencryptIndType |
| 11078 | |
| 11079 | @see |
| 11080 | |
| 11081 | @return Status of the request |
| 11082 | */ |
| 11083 | WDI_Status |
| 11084 | WDI_ExcludeUnencryptedInd |
| 11085 | ( |
| 11086 | WDI_ExcludeUnencryptIndType *pWdiExcUnencParams |
| 11087 | ); |
| 11088 | #endif |
| 11089 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 11090 | /** |
| 11091 | @brief WDI_AddPeriodicTxPtrnInd |
| 11092 | |
| 11093 | @param WDI_AddPeriodicTxPtrnParamsType |
| 11094 | |
| 11095 | @see |
| 11096 | |
| 11097 | @return Status of the request |
| 11098 | */ |
| 11099 | WDI_Status |
| 11100 | WDI_AddPeriodicTxPtrnInd |
| 11101 | ( |
| 11102 | WDI_AddPeriodicTxPtrnParamsType *addPeriodicTxPtrnParams |
| 11103 | ); |
| 11104 | |
| 11105 | /** |
| 11106 | @brief WDI_DelPeriodicTxPtrnInd |
| 11107 | |
| 11108 | @param WDI_DelPeriodicTxPtrnParamsType |
| 11109 | |
| 11110 | @see |
| 11111 | |
| 11112 | @return Status of the request |
| 11113 | */ |
| 11114 | WDI_Status |
| 11115 | WDI_DelPeriodicTxPtrnInd |
| 11116 | ( |
| 11117 | WDI_DelPeriodicTxPtrnParamsType *delPeriodicTxPtrnParams |
| 11118 | ); |
| 11119 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 11120 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 11121 | /** |
| 11122 | @brief WDI_SetPreferredNetworkList |
| 11123 | |
| 11124 | @param pwdiPNOScanReqParams: the Set PNO as specified |
| 11125 | by the Device Interface |
| 11126 | |
| 11127 | wdiPNOScanCb: callback for passing back the response |
| 11128 | of the Set PNO operation received from the |
| 11129 | device |
| 11130 | |
| 11131 | pUserData: user data will be passed back with the |
| 11132 | callback |
| 11133 | |
| 11134 | @see WDI_PostAssocReq |
| 11135 | @return Result of the function call |
| 11136 | */ |
| 11137 | WDI_Status |
| 11138 | WDI_SetPreferredNetworkReq |
| 11139 | ( |
| 11140 | WDI_PNOScanReqParamsType* pwdiPNOScanReqParams, |
| 11141 | WDI_PNOScanCb wdiPNOScanCb, |
| 11142 | void* pUserData |
| 11143 | ); |
| 11144 | |
| 11145 | /** |
| 11146 | @brief WDI_SetRssiFilterReq |
| 11147 | |
| 11148 | @param pwdiRssiFilterReqParams: the Set RSSI Filter as |
| 11149 | specified by the Device Interface |
| 11150 | |
| 11151 | wdiRssiFilterCb: callback for passing back the response |
| 11152 | of the Set RSSI Filter operation received from the |
| 11153 | device |
| 11154 | |
| 11155 | pUserData: user data will be passed back with the |
| 11156 | callback |
| 11157 | |
| 11158 | @see WDI_PostAssocReq |
| 11159 | @return Result of the function call |
| 11160 | */ |
| 11161 | WDI_Status |
| 11162 | WDI_SetRssiFilterReq |
| 11163 | ( |
| 11164 | WDI_SetRssiFilterReqParamsType* pwdiRssiFilterReqParams, |
| 11165 | WDI_RssiFilterCb wdiRssiFilterCb, |
| 11166 | void* pUserData |
| 11167 | ); |
| 11168 | |
| 11169 | /** |
| 11170 | @brief WDI_UpdateScanParams |
| 11171 | |
| 11172 | @param pwdiUpdateScanParamsInfoType: the Update Scan Params as specified |
| 11173 | by the Device Interface |
| 11174 | |
| 11175 | wdiUpdateScanParamsCb: callback for passing back the response |
| 11176 | of the Set PNO operation received from the |
| 11177 | device |
| 11178 | |
| 11179 | pUserData: user data will be passed back with the |
| 11180 | callback |
| 11181 | |
| 11182 | @see WDI_PostAssocReq |
| 11183 | @return Result of the function call |
| 11184 | */ |
| 11185 | WDI_Status |
| 11186 | WDI_UpdateScanParamsReq |
| 11187 | ( |
| 11188 | WDI_UpdateScanParamsInfoType* pwdiUpdateScanParamsInfoType, |
| 11189 | WDI_UpdateScanParamsCb wdiUpdateScanParamsCb, |
| 11190 | void* pUserData |
| 11191 | ); |
| 11192 | #endif // FEATURE_WLAN_SCAN_PNO |
| 11193 | |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 11194 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 11195 | /** |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 11196 | @brief WDI_RoamScanOffloadReq |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 11197 | |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 11198 | @param pwdiRoamScanOffloadReqParams: Start Roam Candidate Lookup Req as specified |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 11199 | by the Device Interface |
| 11200 | |
| 11201 | wdiRoamOffloadScanCb: callback for passing back the response |
| 11202 | of the Start Roam Candidate Lookup operation received from the |
| 11203 | device |
| 11204 | |
| 11205 | pUserData: user data will be passed back with the |
| 11206 | callback |
| 11207 | |
| 11208 | @return Result of the function call |
| 11209 | */ |
| 11210 | WDI_Status |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 11211 | WDI_RoamScanOffloadReq |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 11212 | ( |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 11213 | WDI_RoamScanOffloadReqParamsType *pwdiRoamScanOffloadReqParams, |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 11214 | WDI_RoamOffloadScanCb wdiRoamOffloadScancb, |
| 11215 | void* pUserData |
| 11216 | ); |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame] | 11217 | |
| 11218 | WDI_Status |
| 11219 | WDI_PERRoamScanOffloadReq |
| 11220 | ( |
| 11221 | WDI_PERRoamOffloadScanInfo *pwdiRoamScanOffloadReqParams, |
| 11222 | WDI_PERRoamOffloadScanCb wdiRoamOffloadScancb, |
| 11223 | void* pUserData |
| 11224 | ); |
| 11225 | |
| 11226 | WDI_Status |
| 11227 | WDI_PERRoamScanTriggerReq |
| 11228 | ( |
| 11229 | WDI_PERRoamTriggerScanInfo *pwdiRoamScanTriggerReqParams, |
| 11230 | WDI_PERRoamTriggerScanCb wdiRoamTriggerScancb, |
| 11231 | void* pUserData |
| 11232 | ); |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 11233 | #endif |
| 11234 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 11235 | /** |
| 11236 | @brief WDI_SetTxPerTrackingReq will be called when the upper MAC |
| 11237 | wants to set the Tx Per Tracking configurations. |
| 11238 | Upon the call of this API the WLAN DAL will pack |
| 11239 | and send a HAL Set Tx Per Tracking request message to the |
| 11240 | lower RIVA sub-system if DAL is in state STARTED. |
| 11241 | |
| 11242 | In state BUSY this request will be queued. Request won't |
| 11243 | be allowed in any other state. |
| 11244 | |
| 11245 | @param wdiSetTxPerTrackingConf: the Set Tx PER Tracking configurations as |
| 11246 | specified by the Device Interface |
| 11247 | |
| 11248 | wdiSetTxPerTrackingCb: callback for passing back the |
| 11249 | response of the set Tx PER Tracking configurations operation received |
| 11250 | from the device |
| 11251 | |
| 11252 | pUserData: user data will be passed back with the |
| 11253 | callback |
| 11254 | |
| 11255 | @return Result of the function call |
| 11256 | */ |
| 11257 | WDI_Status |
| 11258 | WDI_SetTxPerTrackingReq |
| 11259 | ( |
| 11260 | WDI_SetTxPerTrackingReqParamsType* pwdiSetTxPerTrackingReqParams, |
| 11261 | WDI_SetTxPerTrackingRspCb pwdiSetTxPerTrackingRspCb, |
| 11262 | void* pUserData |
| 11263 | ); |
| 11264 | |
| 11265 | /** |
| 11266 | @brief WDI_SetTmLevelReq |
| 11267 | If HW Thermal condition changed, driver should react based on new |
| 11268 | HW thermal condition. |
| 11269 | |
| 11270 | @param pwdiSetTmLevelReq: New thermal condition information |
| 11271 | |
| 11272 | pwdiSetTmLevelRspCb: callback |
| 11273 | |
| 11274 | usrData: user data will be passed back with the |
| 11275 | callback |
| 11276 | |
| 11277 | @return Result of the function call |
| 11278 | */ |
| 11279 | WDI_Status |
| 11280 | WDI_SetTmLevelReq |
| 11281 | ( |
| 11282 | WDI_SetTmLevelReqType *pwdiSetTmLevelReq, |
| 11283 | WDI_SetTmLevelCb pwdiSetTmLevelRspCb, |
| 11284 | void *usrData |
| 11285 | ); |
| 11286 | |
| 11287 | #ifdef WLAN_FEATURE_PACKET_FILTERING |
| 11288 | /** |
| 11289 | @brief WDI_8023MulticastListReq |
| 11290 | |
| 11291 | @param pwdiRcvFltPktSetMcListReqInfo: the Set 8023 Multicast |
| 11292 | List as specified by the Device Interface |
| 11293 | |
| 11294 | wdi8023MulticastListCallback: callback for passing back |
| 11295 | the response of the Set 8023 Multicast List operation |
| 11296 | received from the device |
| 11297 | |
| 11298 | pUserData: user data will be passed back with the |
| 11299 | callback |
| 11300 | |
| 11301 | @see WDI_PostAssocReq |
| 11302 | @return Result of the function call |
| 11303 | */ |
| 11304 | WDI_Status |
| 11305 | WDI_8023MulticastListReq |
| 11306 | ( |
| 11307 | WDI_RcvFltPktSetMcListReqParamsType* pwdiRcvFltPktSetMcListReqInfo, |
| 11308 | WDI_8023MulticastListCb wdi8023MulticastListCallback, |
| 11309 | void* pUserData |
| 11310 | ); |
| 11311 | |
| 11312 | /** |
| 11313 | @brief WDI_ReceiveFilterSetFilterReq |
| 11314 | |
| 11315 | @param pwdiSetRcvPktFilterReqInfo: the Set Receive Filter as |
| 11316 | specified by the Device Interface |
| 11317 | |
| 11318 | wdiReceiveFilterSetFilterReqCallback: callback for |
| 11319 | passing back the response of the Set Receive Filter |
| 11320 | operation received from the device |
| 11321 | |
| 11322 | pUserData: user data will be passed back with the |
| 11323 | callback |
| 11324 | |
| 11325 | @see WDI_PostAssocReq |
| 11326 | @return Result of the function call |
| 11327 | */ |
| 11328 | WDI_Status |
| 11329 | WDI_ReceiveFilterSetFilterReq |
| 11330 | ( |
| 11331 | WDI_SetRcvPktFilterReqParamsType* pwdiSetRcvPktFilterReqInfo, |
| 11332 | WDI_ReceiveFilterSetFilterCb wdiReceiveFilterSetFilterReqCallback, |
| 11333 | void* pUserData |
| 11334 | ); |
| 11335 | |
| 11336 | /** |
| 11337 | @brief WDI_PCFilterMatchCountReq |
| 11338 | |
| 11339 | @param pwdiRcvFltPktMatchCntReqInfo: get D0 PC Filter Match |
| 11340 | Count |
| 11341 | |
| 11342 | wdiPCFilterMatchCountCallback: callback for passing back |
| 11343 | the response of the D0 PC Filter Match Count operation |
| 11344 | received from the device |
| 11345 | |
| 11346 | pUserData: user data will be passed back with the |
| 11347 | callback |
| 11348 | |
| 11349 | @see WDI_PostAssocReq |
| 11350 | @return Result of the function call |
| 11351 | */ |
| 11352 | WDI_Status |
| 11353 | WDI_FilterMatchCountReq |
| 11354 | ( |
| 11355 | WDI_RcvFltPktMatchCntReqParamsType* pwdiRcvFltPktMatchCntReqInfo, |
| 11356 | WDI_FilterMatchCountCb wdiFilterMatchCountCallback, |
| 11357 | void* pUserData |
| 11358 | ); |
| 11359 | |
| 11360 | /** |
| 11361 | @brief WDI_ReceiveFilterClearFilterReq |
| 11362 | |
| 11363 | @param pwdiRcvFltPktClearReqInfo: the Clear Filter as |
| 11364 | specified by the Device Interface |
| 11365 | |
| 11366 | wdiReceiveFilterClearFilterCallback: callback for |
| 11367 | passing back the response of the Clear Filter |
| 11368 | operation received from the device |
| 11369 | |
| 11370 | pUserData: user data will be passed back with the |
| 11371 | callback |
| 11372 | |
| 11373 | @see WDI_PostAssocReq |
| 11374 | @return Result of the function call |
| 11375 | */ |
| 11376 | WDI_Status |
| 11377 | WDI_ReceiveFilterClearFilterReq |
| 11378 | ( |
| 11379 | WDI_RcvFltPktClearReqParamsType* pwdiRcvFltPktClearReqInfo, |
| 11380 | WDI_ReceiveFilterClearFilterCb wdiReceiveFilterClearFilterCallback, |
| 11381 | void* pUserData |
| 11382 | ); |
| 11383 | #endif // WLAN_FEATURE_PACKET_FILTERING |
| 11384 | |
| 11385 | /** |
| 11386 | @brief WDI_HALDumpCmdReq |
| 11387 | Post HAL DUMP Command Event |
| 11388 | |
| 11389 | @param halDumpCmdReqParams: Hal Dump Command Body |
| 11390 | @param halDumpCmdRspCb: callback for passing back the |
| 11391 | response |
| 11392 | @param pUserData: Client Data |
| 11393 | |
| 11394 | @see |
| 11395 | @return Result of the function call |
| 11396 | */ |
| 11397 | WDI_Status WDI_HALDumpCmdReq( |
| 11398 | WDI_HALDumpCmdReqParamsType *halDumpCmdReqParams, |
| 11399 | WDI_HALDumpCmdRspCb halDumpCmdRspCb, |
| 11400 | void *pUserData |
| 11401 | ); |
| 11402 | |
| 11403 | |
| 11404 | /** |
| 11405 | @brief WDI_SetPowerParamsReq |
| 11406 | |
| 11407 | @param pwdiPowerParamsReqParams: the Set Power Params as |
| 11408 | specified by the Device Interface |
| 11409 | |
| 11410 | wdiPowerParamsCb: callback for passing back the response |
| 11411 | of the Set Power Params operation received from the |
| 11412 | device |
| 11413 | |
| 11414 | pUserData: user data will be passed back with the |
| 11415 | callback |
| 11416 | |
| 11417 | @return Result of the function call |
| 11418 | */ |
| 11419 | WDI_Status |
| 11420 | WDI_SetPowerParamsReq |
| 11421 | ( |
| 11422 | WDI_SetPowerParamsReqParamsType* pwdiPowerParamsReqParams, |
| 11423 | WDI_SetPowerParamsCb wdiPowerParamsCb, |
| 11424 | void* pUserData |
| 11425 | ); |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 11426 | /** |
| 11427 | @brief WDI_dhcpStartInd |
| 11428 | Forward the DHCP Start event |
| 11429 | |
| 11430 | @param |
| 11431 | |
| 11432 | wdiDHCPInd: device mode and MAC address is passed |
| 11433 | |
| 11434 | @see |
| 11435 | @return Result of the function call |
| 11436 | */ |
| 11437 | |
| 11438 | WDI_Status |
| 11439 | WDI_dhcpStartInd |
| 11440 | ( |
| 11441 | WDI_DHCPInd *wdiDHCPInd |
| 11442 | ); |
| 11443 | /** |
| 11444 | @brief WDI_dhcpStopReq |
| 11445 | Forward the DHCP Stop event |
| 11446 | |
| 11447 | @param |
| 11448 | |
| 11449 | wdiDHCPInd: device mode and MAC address is passed |
| 11450 | |
| 11451 | @see |
| 11452 | @return Result of the function call |
| 11453 | */ |
| 11454 | |
| 11455 | WDI_Status |
| 11456 | WDI_dhcpStopInd |
| 11457 | ( |
| 11458 | WDI_DHCPInd *wdiDHCPInd |
| 11459 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 11460 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 11461 | #ifdef WLAN_FEATURE_RMC |
| 11462 | WDI_Status |
| 11463 | WDI_RmcRulerReq |
| 11464 | ( |
| 11465 | WDI_RmcRulerReqParams *wdiRmcRulerReqParams, |
| 11466 | WDI_RmcRulerRspCb rmcRulerRspCb, |
| 11467 | void *usrData |
| 11468 | ); |
| 11469 | |
| 11470 | WDI_Status |
| 11471 | WDI_RmcUpdateInd |
| 11472 | ( |
| 11473 | WDI_RmcUpdateIndParams *wdiRmcUpdateIndParams |
| 11474 | ); |
| 11475 | #endif /* WLAN_FEATURE_RMC */ |
| 11476 | |
Chittajit Mitra | f5413a4 | 2013-10-18 14:20:08 -0700 | [diff] [blame] | 11477 | /** |
| 11478 | @brief WDI_RateUpdateInd will be called when the upper MAC |
| 11479 | requests the device to update rates. |
| 11480 | |
| 11481 | In state BUSY this request will be queued. Request won't |
| 11482 | be allowed in any other state. |
| 11483 | |
| 11484 | |
| 11485 | @param wdiRateUpdateIndParams |
| 11486 | |
| 11487 | |
| 11488 | @see WDI_Start |
| 11489 | @return Result of the function call |
| 11490 | */ |
| 11491 | WDI_Status |
| 11492 | WDI_RateUpdateInd |
| 11493 | ( |
| 11494 | WDI_RateUpdateIndParams *wdiRateUpdateIndParams |
| 11495 | ); |
| 11496 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 11497 | #ifdef WLAN_FEATURE_RMC |
| 11498 | /** |
| 11499 | @brief WDI_TXFailMonitorStartStopInd |
| 11500 | Forward TX monitor start/stop event |
| 11501 | |
| 11502 | @param |
| 11503 | |
| 11504 | WDI_TXFailMonitorInd |
| 11505 | |
| 11506 | @see |
| 11507 | @return Result of the function call |
| 11508 | */ |
| 11509 | |
| 11510 | WDI_Status |
| 11511 | WDI_TXFailMonitorStartStopInd |
| 11512 | ( |
| 11513 | WDI_TXFailMonitorInd *wdiTXFailMonitorInd |
| 11514 | ); |
| 11515 | #endif /* WLAN_FEATURE_RMC */ |
| 11516 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 11517 | #ifdef WLAN_FEATURE_GTK_OFFLOAD |
| 11518 | /** |
| 11519 | @brief WDI_GTKOffloadReq will be called when the upper MAC |
| 11520 | wants to set GTK Rekey Counter while in power save. Upon |
| 11521 | the call of this API the WLAN DAL will pack and send a |
| 11522 | HAL GTK offload request message to the lower RIVA |
| 11523 | sub-system if DAL is in state STARTED. |
| 11524 | |
| 11525 | In state BUSY this request will be queued. Request won't |
| 11526 | be allowed in any other state. |
| 11527 | |
| 11528 | WDI_PostAssocReq must have been called. |
| 11529 | |
| 11530 | @param pwdiGtkOffloadParams: the GTK offload as specified |
| 11531 | by the Device Interface |
| 11532 | |
| 11533 | wdiGtkOffloadCb: callback for passing back the response |
| 11534 | of the GTK offload operation received from the device |
| 11535 | |
| 11536 | pUserData: user data will be passed back with the |
| 11537 | callback |
| 11538 | |
| 11539 | @see WDI_PostAssocReq |
| 11540 | @return Result of the function call |
| 11541 | */ |
| 11542 | WDI_Status |
| 11543 | WDI_GTKOffloadReq |
| 11544 | ( |
| 11545 | WDI_GtkOffloadReqMsg* pwdiGtkOffloadReqMsg, |
| 11546 | WDI_GtkOffloadCb wdiGtkOffloadCb, |
| 11547 | void* pUserData |
| 11548 | ); |
| 11549 | |
| 11550 | /** |
| 11551 | @brief WDI_GTKOffloadGetInfoReq will be called when the upper |
| 11552 | MAC wants to get GTK Rekey Counter while in power save. |
| 11553 | Upon the call of this API the WLAN DAL will pack and |
| 11554 | send a HAL GTK offload request message to the lower RIVA |
| 11555 | sub-system if DAL is in state STARTED. |
| 11556 | |
| 11557 | In state BUSY this request will be queued. Request won't |
| 11558 | be allowed in any other state. |
| 11559 | |
| 11560 | WDI_PostAssocReq must have been called. |
| 11561 | |
| 11562 | @param pwdiGtkOffloadGetInfoReqMsg: the GTK Offload |
| 11563 | Information Message as specified by the |
| 11564 | Device Interface |
| 11565 | |
| 11566 | wdiGtkOffloadGetInfoCb: callback for passing back the |
| 11567 | response of the GTK offload operation received from the |
| 11568 | device |
| 11569 | |
| 11570 | pUserData: user data will be passed back with the |
| 11571 | callback |
| 11572 | |
| 11573 | @see WDI_PostAssocReq |
| 11574 | @return Result of the function call |
| 11575 | */ |
| 11576 | WDI_Status |
| 11577 | WDI_GTKOffloadGetInfoReq |
| 11578 | ( |
| 11579 | WDI_GtkOffloadGetInfoReqMsg* pwdiGtkOffloadGetInfoReqMsg, |
| 11580 | WDI_GtkOffloadGetInfoCb wdiGtkOffloadGetInfoCb, |
| 11581 | void* pUserData |
| 11582 | ); |
| 11583 | #endif // WLAN_FEATURE_GTK_OFFLOAD |
| 11584 | |
| 11585 | /** |
| 11586 | @brief WDI_featureCapsExchangeReq |
| 11587 | Post feature capability bitmap exchange event. |
| 11588 | Host will send its own capability to FW in this req and |
| 11589 | expect FW to send its capability back as a bitmap in Response |
| 11590 | |
| 11591 | @param |
| 11592 | |
| 11593 | wdiFeatCapsExcRspCb: callback called on getting the response. |
| 11594 | It is kept to mantain similarity between WDI reqs and if needed, can |
| 11595 | be used in future. Currently, It is set to NULL |
| 11596 | |
| 11597 | pUserData: user data will be passed back with the |
| 11598 | callback |
| 11599 | |
| 11600 | @see |
| 11601 | @return Result of the function call |
| 11602 | */ |
| 11603 | WDI_Status |
| 11604 | WDI_featureCapsExchangeReq |
| 11605 | ( |
| 11606 | WDI_featureCapsExchangeCb wdiFeatureCapsExchangeCb, |
| 11607 | void* pUserData |
| 11608 | ); |
| 11609 | |
| 11610 | /** |
Yathish | 9f22e66 | 2012-12-10 14:21:35 -0800 | [diff] [blame] | 11611 | @brief Disable Active mode offload in Host |
| 11612 | |
| 11613 | @param void |
| 11614 | @see |
| 11615 | @return void |
| 11616 | */ |
| 11617 | void |
| 11618 | WDI_disableCapablityFeature(wpt_uint8 feature_index); |
| 11619 | |
| 11620 | |
| 11621 | /** |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 11622 | @brief WDI_getHostWlanFeatCaps |
| 11623 | WDI API that returns whether the feature passed to it as enum value in |
| 11624 | "placeHolderInCapBitmap" is supported by Host or not. It uses WDI global |
| 11625 | variable storing host capability bitmap to find this. This can be used by |
| 11626 | other moduels to decide certain things like call different APIs based on |
| 11627 | whether a particular feature is supported. |
| 11628 | |
| 11629 | @param |
| 11630 | |
| 11631 | feat_enum_value: enum value for the feature as in placeHolderInCapBitmap in wlan_hal_msg.h. |
| 11632 | |
| 11633 | @see |
| 11634 | @return |
| 11635 | 0 - if the feature is NOT supported in host |
| 11636 | any non-zero value - if the feature is SUPPORTED in host. |
| 11637 | */ |
| 11638 | wpt_uint8 WDI_getHostWlanFeatCaps(wpt_uint8 feat_enum_value); |
| 11639 | |
| 11640 | /** |
| 11641 | @brief WDI_getFwWlanFeatCaps |
| 11642 | WDI API that returns whether the feature passed to it as enum value in |
| 11643 | "placeHolderInCapBitmap" is supported by FW or not. It uses WDI global |
| 11644 | variable storing host capability bitmap to find this. This can be used by |
| 11645 | other moduels to decide certain things like call different APIs based on |
| 11646 | whether a particular feature is supported. |
| 11647 | |
| 11648 | @param |
| 11649 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 11650 | feat_enum_value: enum value for the feature as in placeHolderInCapBitmap |
| 11651 | in wlan_hal_msg.h. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 11652 | |
| 11653 | @see |
| 11654 | @return |
| 11655 | 0 - if the feature is NOT supported in FW |
| 11656 | any non-zero value - if the feature is SUPPORTED in FW. |
| 11657 | */ |
| 11658 | wpt_uint8 WDI_getFwWlanFeatCaps(wpt_uint8 feat_enum_value); |
| 11659 | |
| 11660 | /** |
| 11661 | @brief WDI_GetWcnssCompiledApiVersion - Function to get wcnss compiled |
| 11662 | api version |
| 11663 | |
| 11664 | @param WDI_WlanVersionType: Wlan version structure |
| 11665 | @see |
| 11666 | @return none |
| 11667 | */ |
| 11668 | |
| 11669 | void WDI_GetWcnssCompiledApiVersion |
| 11670 | ( |
| 11671 | WDI_WlanVersionType *pWcnssApiVersion |
| 11672 | ); |
| 11673 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 11674 | #ifdef WLAN_FEATURE_11AC |
| 11675 | WDI_Status |
| 11676 | WDI_UpdateVHTOpModeReq |
| 11677 | ( |
| 11678 | WDI_UpdateVHTOpMode *pData, |
| 11679 | WDI_UpdateVHTOpModeCb wdiUpdateVHTOpModeCb, |
| 11680 | void* pUserData |
| 11681 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 11682 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 11683 | #endif |
Madan Mohan Koyyalamudi | 8cb5398 | 2012-09-28 14:34:47 -0700 | [diff] [blame] | 11684 | |
| 11685 | /** |
| 11686 | @brief WDI_TransportChannelDebug - |
| 11687 | Display DXE Channel debugging information |
| 11688 | User may request to display DXE channel snapshot |
| 11689 | Or if host driver detects any abnormal stcuk may display |
| 11690 | |
Jeff Johnson | b88db98 | 2012-12-10 13:34:59 -0800 | [diff] [blame] | 11691 | @param displaySnapshot : Display DXE snapshot option |
Mihir Shete | 40a5565 | 2014-03-02 14:14:47 +0530 | [diff] [blame] | 11692 | @param debugFlags : Enable stall detect features |
| 11693 | defined by WPAL_DeviceDebugFlags |
| 11694 | These features may effect |
| 11695 | data performance. |
Madan Mohan Koyyalamudi | 8cb5398 | 2012-09-28 14:34:47 -0700 | [diff] [blame] | 11696 | @see |
| 11697 | @return none |
| 11698 | */ |
| 11699 | void WDI_TransportChannelDebug |
| 11700 | ( |
| 11701 | wpt_boolean displaySnapshot, |
Mihir Shete | 40a5565 | 2014-03-02 14:14:47 +0530 | [diff] [blame] | 11702 | wpt_uint8 debugFlags |
Madan Mohan Koyyalamudi | 8cb5398 | 2012-09-28 14:34:47 -0700 | [diff] [blame] | 11703 | ); |
| 11704 | |
Madan Mohan Koyyalamudi | 0bfd000 | 2012-10-24 14:39:37 -0700 | [diff] [blame] | 11705 | /** |
Sravan Kumar Kairam | e9d186c | 2015-11-27 23:37:02 +0530 | [diff] [blame] | 11706 | @brief WDI_TransportKickDxe - |
| 11707 | Request Kick DXE when first HDD TX time out |
| 11708 | happens |
| 11709 | @param none |
| 11710 | @see |
| 11711 | @return none |
| 11712 | */ |
| 11713 | void WDI_TransportKickDxe(void); |
| 11714 | |
| 11715 | /** |
Madan Mohan Koyyalamudi | 0bfd000 | 2012-10-24 14:39:37 -0700 | [diff] [blame] | 11716 | @brief WDI_SsrTimerCB |
| 11717 | Callback function for SSR timer, if this is called then the graceful |
| 11718 | shutdown for Riva did not happen. |
| 11719 | |
| 11720 | @param pUserData : user data to timer |
| 11721 | |
| 11722 | @see |
| 11723 | @return none |
| 11724 | */ |
| 11725 | void |
| 11726 | WDI_SsrTimerCB |
| 11727 | ( |
| 11728 | void *pUserData |
| 11729 | ); |
| 11730 | |
Gopichand Nakkala | e620d5a | 2013-04-26 05:45:57 -0700 | [diff] [blame] | 11731 | /** |
| 11732 | @brief WDI_SetEnableSSR - |
| 11733 | This API is called to enable/disable SSR on WDI timeout. |
| 11734 | |
| 11735 | @param enableSSR : enable/disable SSR |
| 11736 | |
| 11737 | @see |
| 11738 | @return none |
| 11739 | */ |
| 11740 | void WDI_SetEnableSSR(wpt_boolean enableSSR); |
| 11741 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 11742 | #ifdef FEATURE_WLAN_LPHB |
| 11743 | /** |
| 11744 | @brief WDI_LPHBConfReq |
| 11745 | This API is called to config FW LPHB rule |
| 11746 | |
| 11747 | @param lphbconfParam : LPHB rule should config to FW |
| 11748 | usrData : Client context |
| 11749 | lphbCfgCb : Configuration status callback |
| 11750 | @see |
| 11751 | @return SUCCESS or FAIL |
| 11752 | */ |
| 11753 | WDI_Status WDI_LPHBConfReq |
| 11754 | ( |
| 11755 | void *lphbconfParam, |
| 11756 | void *usrData, |
| 11757 | WDI_LphbCfgCb lphbCfgCb |
| 11758 | ); |
| 11759 | #endif /* FEATURE_WLAN_LPHB */ |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 11760 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 11761 | #ifdef WLAN_FEATURE_EXTSCAN |
| 11762 | /** |
| 11763 | @brief WDI_EXTScanStartReq |
| 11764 | This API is called to send EXTScan start request to FW |
| 11765 | |
| 11766 | @param pwdiEXTScanStartReqParams : pointer to the request params. |
| 11767 | wdiEXTScanStartRspCb : callback on getting the response. |
| 11768 | usrData : Client context |
| 11769 | @see |
| 11770 | @return SUCCESS or FAIL |
| 11771 | */ |
| 11772 | WDI_Status WDI_EXTScanStartReq |
| 11773 | ( |
| 11774 | WDI_EXTScanStartReqParams* pwdiEXTScanStartReqParams, |
| 11775 | WDI_EXTScanStartRspCb wdiEXTScanStartRspCb, |
| 11776 | void* pUserData |
| 11777 | ); |
| 11778 | |
| 11779 | /** |
| 11780 | @brief WDI_EXTScanStopReq |
| 11781 | This API is called to stop the EXTScan operations in the FW |
| 11782 | |
| 11783 | @param pwdiEXTScanStopReqParams : pointer to the request params. |
| 11784 | wdiEXTScanStopRspCb : callback on getting the response. |
| 11785 | usrData : Client context |
| 11786 | @see |
| 11787 | @return SUCCESS or FAIL |
| 11788 | */ |
| 11789 | WDI_Status WDI_EXTScanStopReq |
| 11790 | ( |
| 11791 | WDI_EXTScanStopReqParams* pwdiEXTScanStopReqParams, |
| 11792 | WDI_EXTScanStopRspCb wdiEXTScanStopRspCb, |
| 11793 | void* pUserData |
| 11794 | ); |
| 11795 | |
| 11796 | /** |
| 11797 | @brief WDI_EXTScanGetCachedResultsReq |
| 11798 | This API is called to send get link layer stats request in FW |
| 11799 | |
| 11800 | @param pwdiEXTScanGetCachedResultsReqParams : pointer to the request params. |
| 11801 | wdiEXTScanGetCachedResultsRspCb : callback on getting the response. |
| 11802 | usrData : Client context |
| 11803 | @see |
| 11804 | @return SUCCESS or FAIL |
| 11805 | */ |
| 11806 | WDI_Status WDI_EXTScanGetCachedResultsReq |
| 11807 | ( |
| 11808 | WDI_EXTScanGetCachedResultsReqParams* pwdiEXTScanGetCachedResultsReqParams, |
| 11809 | WDI_EXTScanGetCachedResultsRspCb wdiEXTScanGetCachedResultsRspCb, |
| 11810 | void* pUserData |
| 11811 | ); |
| 11812 | |
| 11813 | /** |
| 11814 | @brief WDI_EXTScanGetCapabilitiesReq |
| 11815 | This API is called to send get EXTScan capabilities from FW |
| 11816 | |
| 11817 | @param pwdiEXTScanGetCachedResultsReqParams : pointer to the request params. |
| 11818 | wdiEXTScanGetCachedResultsRspCb : callback on getting the response. |
| 11819 | usrData : Client context |
| 11820 | @see |
| 11821 | @return SUCCESS or FAIL |
| 11822 | */ |
| 11823 | WDI_Status WDI_EXTScanGetCapabilitiesReq |
| 11824 | ( |
| 11825 | WDI_EXTScanGetCapabilitiesReqParams* pwdiEXTScanGetCapabilitiesReqParams, |
| 11826 | WDI_EXTScanGetCapabilitiesRspCb wdiEXTScanGetCapabilitiesRspCb, |
| 11827 | void* pUserData |
| 11828 | ); |
| 11829 | |
| 11830 | /** |
| 11831 | @brief WDI_EXTScanSetBSSIDHotlistReq |
| 11832 | This API is called to send Set BSSID Hotlist Request FW |
| 11833 | |
| 11834 | @param pwdiEXTScanSetBssidHotlistReqParams : pointer to the request params. |
| 11835 | wdiEXTScanSetBSSIDHotlistRspCb : callback on getting the response. |
| 11836 | usrData : Client context |
| 11837 | @see |
| 11838 | @return SUCCESS or FAIL |
| 11839 | */ |
| 11840 | WDI_Status WDI_EXTScanSetBSSIDHotlistReq |
| 11841 | ( |
| 11842 | WDI_EXTScanSetBSSIDHotlistReqParams* pwdiEXTScanSetBSSIDHotlistReqParams, |
| 11843 | WDI_EXTScanSetBSSIDHotlistRspCb wdiEXTScanSetBSSIDHotlistRspCb, |
| 11844 | void* pUserData |
| 11845 | ); |
| 11846 | |
| 11847 | /** |
| 11848 | @brief WDI_EXTScanResetBSSIDHotlistReq |
| 11849 | This API is called to send Reset BSSID Hotlist Request FW |
| 11850 | |
| 11851 | @param pwdiEXTScanResetBssidHotlistReqParams : pointer to the request params. |
| 11852 | wdiEXTScanGetCachedResultsRspCb : callback on getting the response. |
| 11853 | usrData : Client context |
| 11854 | @see |
| 11855 | @return SUCCESS or FAIL |
| 11856 | */ |
| 11857 | WDI_Status WDI_EXTScanResetBSSIDHotlistReq |
| 11858 | ( |
| 11859 | WDI_EXTScanResetBSSIDHotlistReqParams* pwdiEXTScanResetBSSIDHotlistReqParams, |
| 11860 | WDI_EXTScanResetBSSIDHotlistRspCb wdiEXTScanResetBSSIDHotlistRspCb, |
| 11861 | void* pUserData |
| 11862 | ); |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 11863 | |
| 11864 | /** |
| 11865 | @brief WDI_EXTScanSetSSIDHotlistReq |
| 11866 | This API is called to send Set SSID Hotlist Request FW |
| 11867 | |
| 11868 | @param pwdiEXTScanSetBssidHotlistReqParams : pointer to the request params. |
| 11869 | wdiEXTScanSetBSSIDHotlistRspCb : callback on getting the response. |
| 11870 | usrData : Client context |
| 11871 | @see |
| 11872 | @return SUCCESS or FAIL |
| 11873 | */ |
| 11874 | WDI_Status WDI_EXTScanSetSSIDHotlistReq |
| 11875 | ( |
| 11876 | WDI_EXTScanSetSSIDHotlistReqParams* pwdiEXTScanSetSSIDHotlistReqParams, |
| 11877 | WDI_EXTScanSetSSIDHotlistRspCb wdiEXTScanSetSSIDHotlistRspCb, |
| 11878 | void* pUserData |
| 11879 | ); |
| 11880 | |
| 11881 | /** |
| 11882 | @brief WDI_EXTScanResetSSIDHotlistReq |
| 11883 | This API is called to send Reset SSID Hotlist Request FW |
| 11884 | |
| 11885 | @param pwdiEXTScanResetSsidHotlistReqParams : pointer to the request params. |
| 11886 | wdiEXTScanGetCachedResultsRspCb : callback on getting the response. |
| 11887 | usrData : Client context |
| 11888 | @see |
| 11889 | @return SUCCESS or FAIL |
| 11890 | */ |
| 11891 | WDI_Status WDI_EXTScanResetSSIDHotlistReq |
| 11892 | ( |
| 11893 | WDI_EXTScanResetSSIDHotlistReqParams* pwdiEXTScanResetSSIDHotlistReqParams, |
| 11894 | WDI_EXTScanResetSSIDHotlistRspCb wdiEXTScanResetSSIDHotlistRspCb, |
| 11895 | void* pUserData |
| 11896 | ); |
| 11897 | |
Padma, Santhosh Kumar | c1f7f05 | 2015-08-26 12:29:01 +0530 | [diff] [blame] | 11898 | /** |
| 11899 | @brief WDI_HighPriorityDataInfoInd |
| 11900 | |
| 11901 | @param pHighPriorityDataInfoIndParams: Req parameter for the FW |
| 11902 | |
| 11903 | @return SUCCESS or FAIL |
| 11904 | */ |
| 11905 | WDI_Status |
| 11906 | WDI_HighPriorityDataInfoInd |
| 11907 | ( |
| 11908 | WDI_HighPriorityDataInfoIndParams* pHighPriorityDataInfoIndParams |
| 11909 | ); |
| 11910 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 11911 | #endif /* WLAN_FEATURE_EXTSCAN */ |
| 11912 | |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 11913 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 11914 | /** |
| 11915 | @brief WDI_LLStatsSetReq |
| 11916 | This API is called to send set link layer stats request to FW |
| 11917 | |
| 11918 | @param pwdiLLStatsSetReqParams : pointer to set link layer stats params |
| 11919 | wdiLLStatsSetRspCb : set link layer stats response callback |
| 11920 | usrData : Client context |
| 11921 | @see |
| 11922 | @return SUCCESS or FAIL |
| 11923 | */ |
| 11924 | WDI_Status WDI_LLStatsSetReq |
| 11925 | ( |
| 11926 | WDI_LLStatsSetReqType* pwdiLLStatsSetReqParams, |
| 11927 | WDI_LLStatsSetRspCb wdiLLStatsSetRspCb, |
| 11928 | void* pUserData |
| 11929 | ); |
| 11930 | |
| 11931 | /** |
| 11932 | @brief WDI_LLStatsGetReq |
| 11933 | This API is called to send get link layer stats request in FW |
| 11934 | |
| 11935 | @param pwdiLLStatsGetParams : pointer to get link layer stats params |
| 11936 | wdiLLStatsGetRspCb : get link layer stats response callback |
| 11937 | usrData : Client context |
| 11938 | @see |
| 11939 | @return SUCCESS or FAIL |
| 11940 | */ |
| 11941 | WDI_Status WDI_LLStatsGetReq |
| 11942 | ( |
| 11943 | WDI_LLStatsGetReqType* pwdiLLStatsGetReqParams, |
| 11944 | WDI_LLStatsGetRspCb wdiLLStatsGetRspCb, |
| 11945 | void* pUserData |
| 11946 | ); |
| 11947 | |
| 11948 | /** |
| 11949 | @brief WDI_LLStatsClearReq |
| 11950 | This API is called to set clear link layer stats request in FW |
| 11951 | |
| 11952 | @param pwdiLLStatsClearReqParams : pointer to clear link layer stats params |
| 11953 | iwdiLLStatsClearRspCb : clear link layer stats response callback |
| 11954 | usrData : Client context |
| 11955 | @see |
| 11956 | @return SUCCESS or FAIL |
| 11957 | */ |
| 11958 | WDI_Status WDI_LLStatsClearReq |
| 11959 | ( |
| 11960 | WDI_LLStatsClearReqType* pwdiLLStatsClearReqParams, |
| 11961 | WDI_LLStatsClearRspCb wdiLLStatsClearRspCb, |
| 11962 | void* pUserData |
| 11963 | ); |
| 11964 | #endif /* WLAN_FEATURE_LINK_LAYER_STATS */ |
| 11965 | |
Abhishek Singh | 85b7471 | 2014-10-08 11:38:19 +0530 | [diff] [blame] | 11966 | WDI_Status WDI_FWStatsGetReq |
| 11967 | ( |
| 11968 | void* pwdiFWStatsGetReqParams, |
| 11969 | WDI_FWStatsGetRspCb wdiFWStatsGetRspCb, |
| 11970 | wpt_uint32 pUserData |
| 11971 | ); |
| 11972 | |
Katya Nigam | f0511f6 | 2015-05-05 16:40:57 +0530 | [diff] [blame] | 11973 | WDI_Status WDI_MonStartReq |
| 11974 | ( |
| 11975 | WDI_MonStartReqType* pwdiMonStartReqParams, |
Hanumantha Reddy Pothula | 91cdd7f | 2015-09-03 21:25:16 +0530 | [diff] [blame] | 11976 | WDI_MonModeRspCb wdiMonModeRspCb, |
Katya Nigam | f0511f6 | 2015-05-05 16:40:57 +0530 | [diff] [blame] | 11977 | void* pUserData |
| 11978 | ); |
| 11979 | |
| 11980 | WDI_Status WDI_MonStopReq |
| 11981 | ( |
Hanumantha Reddy Pothula | 91cdd7f | 2015-09-03 21:25:16 +0530 | [diff] [blame] | 11982 | WDI_MonModeRspCb wdiMonModeRspCb, |
Katya Nigam | f0511f6 | 2015-05-05 16:40:57 +0530 | [diff] [blame] | 11983 | void* pUserData |
| 11984 | ); |
| 11985 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 11986 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 11987 | /** |
| 11988 | @brief WDI_SetBatchScanReq |
| 11989 | This API is called to set batch scan request in FW |
| 11990 | |
| 11991 | @param pBatchScanReqParam : pointer to set batch scan re param |
| 11992 | usrData : Client context |
| 11993 | setBatchScanRspCb : set batch scan resp callback |
| 11994 | @see |
| 11995 | @return SUCCESS or FAIL |
| 11996 | */ |
| 11997 | WDI_Status WDI_SetBatchScanReq |
| 11998 | ( |
| 11999 | void *pBatchScanReqParam, |
| 12000 | void *usrData, |
| 12001 | WDI_SetBatchScanCb setBatchScanRspCb |
| 12002 | ); |
| 12003 | |
| 12004 | /** |
| 12005 | @brief WDI_StopBatchScanInd |
| 12006 | |
| 12007 | @param none |
| 12008 | |
| 12009 | @see |
| 12010 | |
| 12011 | @return Status of the request |
| 12012 | */ |
| 12013 | WDI_Status |
| 12014 | WDI_StopBatchScanInd(WDI_StopBatchScanIndType *pWdiReq); |
| 12015 | |
| 12016 | /** |
| 12017 | @brief WDI_TriggerBatchScanResultInd |
| 12018 | This API is called to pull batch scan result from FW |
| 12019 | |
| 12020 | @param pBatchScanReqParam : pointer to trigger batch scan ind param |
| 12021 | usrData : Client context |
| 12022 | setBatchScanRspCb : get batch scan resp callback |
| 12023 | @see |
| 12024 | @return SUCCESS or FAIL |
| 12025 | */ |
| 12026 | WDI_Status |
| 12027 | WDI_TriggerBatchScanResultInd(WDI_TriggerBatchScanResultIndType *pWdiReq); |
| 12028 | |
| 12029 | |
| 12030 | #endif /*FEATURE_WLAN_BATCH_SCAN*/ |
| 12031 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 12032 | #ifdef WLAN_FEATURE_RMC |
| 12033 | /** |
| 12034 | @brief Process peer info req |
| 12035 | |
| 12036 | @param pWDICtx: pointer to the WLAN DAL context |
| 12037 | pEventData: pointer to the event information structure |
| 12038 | |
| 12039 | @see |
| 12040 | @return Result of the function call |
| 12041 | */ |
| 12042 | |
| 12043 | WDI_Status |
| 12044 | WDI_IbssPeerInfoReq |
| 12045 | ( |
| 12046 | WDI_IbssPeerInfoReqType* wdiPeerInfoReqParams, |
| 12047 | WDI_IbssPeerInfoReqCb wdiIbssPeerInfoReqCb, |
| 12048 | void* pUserData |
| 12049 | ); |
| 12050 | #endif /* WLAN_FEATURE_RMC */ |
| 12051 | |
Sandeep Puligilla | 8b8b74b | 2014-02-10 16:39:05 +0530 | [diff] [blame] | 12052 | /** |
| 12053 | @brief wdi_HT40OBSSScanInd |
| 12054 | This API is called to start OBSS scan |
| 12055 | |
| 12056 | @param pWdiReq : pointer to get ind param |
| 12057 | @see |
| 12058 | @return SUCCESS or FAIL |
| 12059 | */ |
| 12060 | |
| 12061 | WDI_Status WDI_HT40OBSSScanInd(WDI_HT40ObssScanParamsType *pWdiReq); |
| 12062 | |
| 12063 | /** |
| 12064 | @brief wdi_HT40OBSSStopScanInd |
| 12065 | This API is called to stop OBSS scan |
| 12066 | |
| 12067 | @param bssIdx : bssIdx to stop |
| 12068 | @see |
| 12069 | @return SUCCESS or FAIL |
| 12070 | */ |
| 12071 | |
| 12072 | WDI_Status WDI_HT40OBSSStopScanInd(wpt_uint8 bssIdx); |
| 12073 | |
c_hpothu | 9236791 | 2014-05-01 15:18:17 +0530 | [diff] [blame] | 12074 | |
| 12075 | WDI_Status WDI_GetBcnMissRate( void *pUserData, |
| 12076 | WDI_GetBcnMissRateCb wdiGetBcnMissRateCb, |
| 12077 | wpt_uint8 *bssid |
| 12078 | ); |
Siddharth Bhal | 171788a | 2014-09-29 21:02:40 +0530 | [diff] [blame] | 12079 | WDI_Status |
| 12080 | WDI_SetSpoofMacAddrReq |
| 12081 | ( |
| 12082 | WDI_SpoofMacAddrInfoType *pWdiReq, |
| 12083 | WDI_SetSpoofMacAddrRspCb setSpoofMacAddrRspCb, |
| 12084 | void* pUserData |
| 12085 | ); |
c_hpothu | 9236791 | 2014-05-01 15:18:17 +0530 | [diff] [blame] | 12086 | |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 12087 | WDI_Status |
| 12088 | WDI_EncryptMsgReq(void* pwdiEncryptMsgParams, |
| 12089 | WDI_EncryptMsgRspCb wdiEncryptMsgCbRsp, |
| 12090 | void* pUserData |
| 12091 | ); |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 12092 | |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 12093 | WDI_Status |
| 12094 | WDI_FwrMemDumpReq |
| 12095 | |
| 12096 | ( |
| 12097 | WDI_FwrMemDumpReqType *pwdiFwrMemDumpReqInfo, |
| 12098 | WDI_FwrMemDumpCb wdiFwrMemDumpRspCb, |
| 12099 | void* pUserData |
| 12100 | ); |
| 12101 | |
| 12102 | |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 12103 | /** |
| 12104 | @brief WDI_NanRequest |
| 12105 | NAN request |
| 12106 | |
| 12107 | @param pwdiNanRequest: data |
| 12108 | |
| 12109 | pwdiNanCb: callback |
| 12110 | |
| 12111 | usrData: user data will be passed back with the |
| 12112 | callback |
| 12113 | |
| 12114 | @return Result of the function call |
| 12115 | */ |
| 12116 | WDI_Status |
| 12117 | WDI_NanRequest |
| 12118 | ( |
| 12119 | WDI_NanRequestType *pwdiNanRequest, |
| 12120 | void *usrData |
| 12121 | ); |
| 12122 | |
Abhishek Singh | 41988ba | 2015-05-25 19:42:29 +0530 | [diff] [blame] | 12123 | /** |
| 12124 | @brief WDI_SetRtsCtsHTVhtInd |
| 12125 | Set RTS/CTS indication for diff modes. |
| 12126 | |
| 12127 | @param rtsCtsVal: Bit mask value to enable RTS/CTS for different modes |
| 12128 | |
| 12129 | @return Result of the function call |
| 12130 | */ |
| 12131 | |
| 12132 | WDI_Status |
| 12133 | WDI_SetRtsCtsHTVhtInd |
| 12134 | ( |
| 12135 | wpt_uint32 rtsCtsVal |
| 12136 | ); |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 12137 | |
Mihir Shete | 5affadc | 2015-05-29 20:54:57 +0530 | [diff] [blame] | 12138 | WDI_Status |
| 12139 | WDI_FWLoggingDXEdoneInd |
| 12140 | ( |
Hanumantha Reddy Pothula | e00a7e2 | 2015-09-15 20:11:30 +0530 | [diff] [blame] | 12141 | wpt_uint32 logType |
Mihir Shete | 5affadc | 2015-05-29 20:54:57 +0530 | [diff] [blame] | 12142 | ); |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 12143 | |
Mahesh A Saptasagar | beca12c | 2015-09-07 16:21:06 +0530 | [diff] [blame] | 12144 | /** |
| 12145 | @brief WDI_EnableDisableCAEventInd |
| 12146 | Enable/Disable Chan Avoidance indication |
| 12147 | |
| 12148 | @param val: Enable/Disable Chan Avoidance indication |
| 12149 | |
| 12150 | @return Result of the function call |
| 12151 | */ |
| 12152 | |
| 12153 | WDI_Status |
| 12154 | WDI_EnableDisableCAEventInd |
| 12155 | ( |
| 12156 | wpt_uint32 val |
| 12157 | ); |
| 12158 | |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 12159 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 12160 | |
| 12161 | /** |
| 12162 | @brief WDI_HighPriorityDataInfoInd |
| 12163 | |
| 12164 | @param pHighPriorityDataInfoIndParams: Req parameter for the FW |
| 12165 | |
| 12166 | @return SUCCESS or FAIL |
| 12167 | */ |
| 12168 | WDI_Status |
| 12169 | WDI_StartOemDataReqIndNew |
| 12170 | ( |
| 12171 | WDI_OemDataReqNewConfig *pOemDataReqNewConfig |
| 12172 | ); |
| 12173 | #endif |
| 12174 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 12175 | #ifdef __cplusplus |
| 12176 | } |
| 12177 | #endif |
| 12178 | |
Arun Khandavalli | 7eeb159 | 2015-10-19 21:36:57 +0530 | [diff] [blame] | 12179 | /** |
| 12180 | @brief WDI_WifiConfigSetReq |
| 12181 | This API is called to send WifiConfig request to FW |
| 12182 | |
| 12183 | @param pwdiWifConfigSetReqParams : pointer to wificonfig params |
| 12184 | wdiLLStatsSetRspCb : set wificonfig response callback |
| 12185 | usrData : Client context |
| 12186 | @see |
| 12187 | @return SUCCESS or FAIL |
| 12188 | */ |
| 12189 | WDI_Status |
| 12190 | WDI_WifiConfigSetReq |
| 12191 | (WDI_WifiConfigSetReqType* pwdiWifConfigSetReqParams, |
| 12192 | WDI_WifiConfigSetRspCb wdiWifiConfigSetRspCb, |
| 12193 | void* pUserData); |
| 12194 | |
Mahesh A Saptasagar | cfc65ae | 2015-12-22 15:06:10 +0530 | [diff] [blame] | 12195 | /** |
| 12196 | @brief WDI_GetCurrentAntennaIndex |
| 12197 | This API is called to send getCurretAntennaIndex request to FW |
| 12198 | |
| 12199 | @param pUserData: pointer to request params |
| 12200 | wdiLLStatsSetRspCb : set wificonfig response callback |
| 12201 | reserved: request parameter |
| 12202 | @see |
| 12203 | @return SUCCESS or FAIL |
| 12204 | */ |
| 12205 | WDI_Status |
| 12206 | WDI_GetCurrentAntennaIndex |
| 12207 | ( |
| 12208 | void *pUserData, |
| 12209 | WDI_AntennaDivSelRspCb wdiAntennaDivSelRspCb, |
| 12210 | wpt_uint32 reserved |
| 12211 | ); |
| 12212 | |
Mahesh A Saptasagar | 7d43295 | 2016-02-09 14:01:03 +0530 | [diff] [blame] | 12213 | /** |
| 12214 | @brief WDI_SetBcnMissPenaltyCount |
| 12215 | This API is called to send modified roam parameters to FW |
Mahesh A Saptasagar | cfc65ae | 2015-12-22 15:06:10 +0530 | [diff] [blame] | 12216 | |
Mahesh A Saptasagar | 7d43295 | 2016-02-09 14:01:03 +0530 | [diff] [blame] | 12217 | @param params: pointer to request params |
| 12218 | @see |
| 12219 | @return SUCCESS or FAIL |
| 12220 | */ |
| 12221 | WDI_Status |
| 12222 | WDI_SetBcnMissPenaltyCount |
| 12223 | ( |
| 12224 | WDI_ModifyRoamParamsReqType *params |
| 12225 | ); |
Agrawal Ashish | 0552be0 | 2016-03-02 18:03:43 +0530 | [diff] [blame] | 12226 | |
Selvaraj, Sridhar | c045b8b | 2016-04-06 12:22:35 +0530 | [diff] [blame] | 12227 | /** |
| 12228 | * WDI_SetAllowedActionFramesInd - This API is called to send Allowed |
| 12229 | * Action frame details to FW |
| 12230 | * @allowed_action_frames: Pointer to WDI_AllowedActionFramesInd structure |
| 12231 | * which holds bitmask of allowed action frames |
| 12232 | * |
| 12233 | */ |
| 12234 | WDI_Status |
| 12235 | WDI_SetAllowedActionFramesInd( |
| 12236 | struct WDI_AllowedActionFramesInd *allowed_action_frames |
| 12237 | ); |
| 12238 | |
Agrawal Ashish | 0552be0 | 2016-03-02 18:03:43 +0530 | [diff] [blame] | 12239 | void WDI_SetMgmtPktViaWQ5(wpt_boolean sendMgmtPktViaWQ5); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 12240 | #endif /* #ifndef WLAN_QCT_WDI_H */ |