Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Agrawal Ashish | 0552be0 | 2016-03-02 18:03:43 +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. |
Gopichand Nakkala | 92f07d8 | 2013-01-08 21:16:34 -0800 | [diff] [blame] | 26 | */ |
Kiet Lam | 1ed83fc | 2014-02-19 01:15:45 -0800 | [diff] [blame] | 27 | |
| 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_I_H |
| 32 | #define WLAN_QCT_WDI_I_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 | I N T E R N A L A P I F O R T H E |
| 38 | D A T A P A T H |
| 39 | |
| 40 | |
| 41 | DESCRIPTION |
| 42 | This file contains the internal API exposed by the DAL Control Path Core |
Kiet Lam | 1ed83fc | 2014-02-19 01:15:45 -0800 | [diff] [blame] | 43 | module to be used by the DAL Data Path Core. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 44 | ===========================================================================*/ |
| 45 | |
| 46 | |
| 47 | /*=========================================================================== |
| 48 | |
| 49 | EDIT HISTORY FOR FILE |
| 50 | |
| 51 | |
| 52 | This section contains comments describing changes made to the module. |
| 53 | Notice that changes are listed in reverse chronological order. |
| 54 | |
| 55 | |
| 56 | $Header:$ $DateTime: $ $Author: $ |
| 57 | |
| 58 | |
| 59 | when who what, where, why |
| 60 | -------- --- ---------------------------------------------------------- |
| 61 | 10/05/11 hap Adding support for Keep Alive |
| 62 | 08/19/10 lti Created module. |
| 63 | |
| 64 | ===========================================================================*/ |
| 65 | |
| 66 | #include "wlan_qct_pal_type.h" |
| 67 | #include "wlan_qct_pal_api.h" |
| 68 | #include "wlan_qct_pal_list.h" |
| 69 | #include "wlan_qct_pal_sync.h" |
| 70 | #include "wlan_qct_pal_timer.h" |
| 71 | #include "wlan_qct_wdi_cts.h" |
| 72 | #include "wlan_qct_wdi_bd.h" |
| 73 | |
| 74 | #include "wlan_hal_msg.h" |
| 75 | #include "wlan_status_code.h" |
| 76 | #include "wlan_qct_dev_defs.h" |
| 77 | /*---------------------------------------------------------------------------- |
| 78 | * Preprocessor Definitions and Constants |
| 79 | * -------------------------------------------------------------------------*/ |
| 80 | |
| 81 | /*Assert macro - redefined for WDI so it is more flexible in disabling*/ |
| 82 | #define WDI_ASSERT(_cond) WPAL_ASSERT(_cond) |
| 83 | |
| 84 | /*Error codes that can be returned by WDI - the HAL Error codes are not |
| 85 | propagated outside WDI because they are too explicit when refering to RIVA |
| 86 | HW errors - they are masked under dev internal failure*/ |
| 87 | #define WDI_ERR_BASIC_OP_FAILURE 0 |
| 88 | #define WDI_ERR_TRANSPORT_FAILURE 1 |
| 89 | #define WDI_ERR_INVALID_RSP_FMT 2 |
| 90 | #define WDI_ERR_RSP_TIMEOUT 3 |
| 91 | #define WDI_ERR_DEV_INTERNAL_FAILURE 4 |
| 92 | |
| 93 | /*In prima 12 HW stations are supported including BCAST STA(staId 0) |
| 94 | and SELF STA(staId 1) so total ASSOC stations which can connect to Prima |
| 95 | SoftAP = 12 - 1(Self STa) - 1(Bcast Sta) = 10 Stations. */ |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 96 | |
| 97 | #ifdef WLAN_SOFTAP_VSTA_FEATURE |
Yathish Hanumapuradoddi Shivanna | 64dfc47 | 2013-03-08 10:48:34 -0800 | [diff] [blame] | 98 | #define WDI_MAX_SUPPORTED_STAS 41 |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 99 | #define WDI_MAX_IBSS_PEER_SUPPORED_STAS 32 |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 100 | #else |
Yathish Hanumapuradoddi Shivanna | 64dfc47 | 2013-03-08 10:48:34 -0800 | [diff] [blame] | 101 | #define WDI_MAX_SUPPORTED_STAS 12 |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 102 | #define WDI_MAX_IBSS_PEER_SUPPORED_STAS 11 |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 103 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 104 | #define WDI_MAX_SUPPORTED_BSS 5 |
| 105 | |
| 106 | /* Control transport channel size*/ |
| 107 | #define WDI_CT_CHANNEL_SIZE 4096 |
| 108 | |
| 109 | /*Invalid BSS index ! TO DO: Must come from the HAL header file*/ |
| 110 | #define WDI_BSS_INVALID_IDX 0xFF |
| 111 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 112 | #define WDI_FTM_MAX_RECEIVE_BUFFER 6500 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 113 | |
| 114 | /*--------------------------------------------------------------------------- |
| 115 | DAL Control Path Main States |
| 116 | ---------------------------------------------------------------------------*/ |
| 117 | typedef enum |
| 118 | { |
| 119 | /* Transition in this state made upon creation and when a close request is |
| 120 | received*/ |
| 121 | WDI_INIT_ST = 0, |
| 122 | |
| 123 | /* Transition happens after a Start response was received from HAL (as a |
| 124 | result of a previously sent HAL Request)*/ |
| 125 | WDI_STARTED_ST, |
| 126 | |
| 127 | /* Transition happens when a Stop request was received */ |
| 128 | WDI_STOPPED_ST, |
| 129 | |
| 130 | /* Transition happens when a request is being sent down to HAL and we are |
| 131 | waiting for the response */ |
| 132 | WDI_BUSY_ST, |
| 133 | |
| 134 | /* Transition happens when 'SSR' shutdown request is recieved.*/ |
| 135 | WDI_SHUTDOWN_ST, |
| 136 | |
| 137 | WDI_MAX_ST |
| 138 | }WDI_MainStateType; |
| 139 | |
| 140 | |
| 141 | /*--------------------------------------------------------------------------- |
| 142 | DAL Control Path Scan States |
| 143 | ---------------------------------------------------------------------------*/ |
| 144 | typedef enum |
| 145 | { |
| 146 | /*The flag will be set to this state when init is called. Once the flag has |
| 147 | this value the only two scanning API calls allowed are Scan Start and |
| 148 | Scan Finished*/ |
| 149 | WDI_SCAN_INITIALIZED_ST = 0, |
| 150 | |
| 151 | /*The flag will be set to this value once the Start Scan API is called. |
| 152 | When the flag has this value only Scan End API will be allowed. */ |
| 153 | WDI_SCAN_STARTED_ST = 1, |
| 154 | |
| 155 | /*The flag will be set to this value when End Scan API is called. When the |
| 156 | flag is set to this value the only two Scan APIs allowed are Start and |
| 157 | Finish. */ |
| 158 | WDI_SCAN_ENDED_ST = 2, |
| 159 | |
| 160 | /*The flag will be set to this value in the beginning before init is called |
| 161 | and after the Finish API is called. No other scan APIs will be allowed |
| 162 | in this state until Scan Init is called again. */ |
| 163 | WDI_SCAN_FINISHED_ST = 3, |
| 164 | |
| 165 | WDI_SCAN_MAX_ST |
| 166 | }WDI_ScanStateType; |
| 167 | |
| 168 | /*--------------------------------------------------------------------------- |
| 169 | WLAN DAL BSS Session Type - used to allow simulatneous association |
| 170 | and keep track of each associated session |
| 171 | ---------------------------------------------------------------------------*/ |
| 172 | #define WDI_MAX_BSS_SESSIONS 10 |
| 173 | |
| 174 | typedef enum |
| 175 | { |
| 176 | /*Init state*/ |
| 177 | WDI_ASSOC_INIT_ST, |
| 178 | |
| 179 | /*Joining State*/ |
| 180 | WDI_ASSOC_JOINING_ST, |
| 181 | |
| 182 | /*Associated state*/ |
| 183 | WDI_ASSOC_POST_ST, |
| 184 | |
| 185 | WDI_ASSOC_MAX_ST |
| 186 | }WDI_AssocStateType; |
| 187 | |
| 188 | /*--------------------------------------------------------------------------- |
| 189 | WLAN DAL Supported Request Types |
| 190 | ---------------------------------------------------------------------------*/ |
| 191 | typedef enum |
| 192 | { |
| 193 | /*WLAN DAL START Request*/ |
| 194 | WDI_START_REQ = 0, |
| 195 | |
| 196 | /*WLAN DAL STOP Request*/ |
| 197 | WDI_STOP_REQ = 1, |
| 198 | |
| 199 | /*WLAN DAL STOP Request*/ |
| 200 | WDI_CLOSE_REQ = 2, |
| 201 | |
| 202 | |
| 203 | /*SCAN*/ |
| 204 | /*WLAN DAL Init Scan Request*/ |
| 205 | WDI_INIT_SCAN_REQ = 3, |
| 206 | |
| 207 | /*WLAN DAL Start Scan Request*/ |
| 208 | WDI_START_SCAN_REQ = 4, |
| 209 | |
| 210 | /*WLAN DAL End Scan Request*/ |
| 211 | WDI_END_SCAN_REQ = 5, |
| 212 | |
| 213 | /*WLAN DAL Finish Scan Request*/ |
| 214 | WDI_FINISH_SCAN_REQ = 6, |
| 215 | |
| 216 | |
| 217 | /*ASSOCIATION*/ |
| 218 | /*WLAN DAL Join Request*/ |
| 219 | WDI_JOIN_REQ = 7, |
| 220 | |
| 221 | /*WLAN DAL Config BSS Request*/ |
| 222 | WDI_CONFIG_BSS_REQ = 8, |
| 223 | |
| 224 | /*WLAN DAL Del BSS Request*/ |
| 225 | WDI_DEL_BSS_REQ = 9, |
| 226 | |
| 227 | /*WLAN DAL Post Assoc Request*/ |
| 228 | WDI_POST_ASSOC_REQ = 10, |
| 229 | |
| 230 | /*WLAN DAL Del STA Request*/ |
| 231 | WDI_DEL_STA_REQ = 11, |
| 232 | |
| 233 | /*Security*/ |
| 234 | /*WLAN DAL Set BSS Key Request*/ |
| 235 | WDI_SET_BSS_KEY_REQ = 12, |
| 236 | |
| 237 | /*WLAN DAL Remove BSS Key Request*/ |
| 238 | WDI_RMV_BSS_KEY_REQ = 13, |
| 239 | |
| 240 | /*WLAN DAL Set STA Key Request*/ |
| 241 | WDI_SET_STA_KEY_REQ = 14, |
| 242 | |
| 243 | /*WLAN DAL Remove STA Key Request*/ |
| 244 | WDI_RMV_STA_KEY_REQ = 15, |
| 245 | |
| 246 | /*QOS and BA*/ |
| 247 | /*WLAN DAL Add TSpec Request*/ |
| 248 | WDI_ADD_TS_REQ = 16, |
| 249 | |
| 250 | /*WLAN DAL Delete TSpec Request*/ |
| 251 | WDI_DEL_TS_REQ = 17, |
| 252 | |
| 253 | /*WLAN DAL Update EDCA Params Request*/ |
| 254 | WDI_UPD_EDCA_PRMS_REQ = 18, |
| 255 | |
| 256 | /*WLAN DAL Add BA Session Request*/ |
| 257 | WDI_ADD_BA_SESSION_REQ = 19, |
| 258 | |
| 259 | /*WLAN DAL Delete BA Request*/ |
| 260 | WDI_DEL_BA_REQ = 20, |
| 261 | |
| 262 | /* Miscellaneous Control */ |
| 263 | /*WLAN DAL Channel Switch Request*/ |
| 264 | WDI_CH_SWITCH_REQ = 21, |
| 265 | |
| 266 | /*WLAN DAL Config STA Request*/ |
| 267 | WDI_CONFIG_STA_REQ = 22, |
| 268 | |
| 269 | /*WLAN DAL Set Link State Request*/ |
| 270 | WDI_SET_LINK_ST_REQ = 23, |
| 271 | |
| 272 | /*WLAN DAL Get Stats Request*/ |
| 273 | WDI_GET_STATS_REQ = 24, |
| 274 | |
| 275 | /*WLAN DAL Update Config Request*/ |
| 276 | WDI_UPDATE_CFG_REQ = 25, |
| 277 | |
| 278 | /* WDI ADD BA Request */ |
| 279 | WDI_ADD_BA_REQ = 26, |
| 280 | |
| 281 | /* WDI Trigger BA Request */ |
| 282 | WDI_TRIGGER_BA_REQ = 27, |
| 283 | |
| 284 | /*WLAN DAL Update Beacon Params Request*/ |
| 285 | WDI_UPD_BCON_PRMS_REQ = 28, |
| 286 | |
| 287 | /*WLAN DAL Send Beacon template Request*/ |
| 288 | WDI_SND_BCON_REQ = 29, |
| 289 | |
| 290 | /*WLAN DAL Send Probe Response Template Request*/ |
| 291 | WDI_UPD_PROBE_RSP_TEMPLATE_REQ = 30, |
| 292 | |
| 293 | /*WLAN DAL Set STA Bcast Key Request*/ |
| 294 | WDI_SET_STA_BCAST_KEY_REQ = 31, |
| 295 | |
| 296 | /*WLAN DAL Remove STA Bcast Key Request*/ |
| 297 | WDI_RMV_STA_BCAST_KEY_REQ = 32, |
| 298 | |
| 299 | /*WLAN DAL Set Max Tx Power Request*/ |
| 300 | WDI_SET_MAX_TX_POWER_REQ = 33, |
| 301 | |
| 302 | /* WLAN DAL P2P GO Notice Of Absence Request */ |
| 303 | WDI_P2P_GO_NOTICE_OF_ABSENCE_REQ = 34, |
| 304 | |
| 305 | /*WLAN DAL Enter IMPS Request*/ |
| 306 | WDI_ENTER_IMPS_REQ = 35, |
| 307 | |
| 308 | /*WLAN DAL Exit IMPS Request*/ |
| 309 | WDI_EXIT_IMPS_REQ = 36, |
| 310 | |
| 311 | /*WLAN DAL Enter BMPS Request*/ |
| 312 | WDI_ENTER_BMPS_REQ = 37, |
| 313 | |
| 314 | /*WLAN DAL Exit BMPS Request*/ |
| 315 | WDI_EXIT_BMPS_REQ = 38, |
| 316 | |
| 317 | /*WLAN DAL Enter UAPSD Request*/ |
| 318 | WDI_ENTER_UAPSD_REQ = 39, |
| 319 | |
| 320 | /*WLAN DAL Exit UAPSD Request*/ |
| 321 | WDI_EXIT_UAPSD_REQ = 40, |
| 322 | |
| 323 | /*WLAN DAL Set UAPSD Param Request*/ |
| 324 | WDI_SET_UAPSD_PARAM_REQ = 41, |
| 325 | |
| 326 | /*WLAN DAL Update UAPSD Param (SoftAP mode) Request*/ |
| 327 | WDI_UPDATE_UAPSD_PARAM_REQ = 42, |
| 328 | |
| 329 | /*WLAN DAL Configure RXP filter Request*/ |
| 330 | WDI_CONFIGURE_RXP_FILTER_REQ = 43, |
| 331 | |
| 332 | /*WLAN DAL Configure Beacon filter Request*/ |
| 333 | WDI_SET_BEACON_FILTER_REQ = 44, |
| 334 | |
| 335 | /*WLAN DAL Remove Beacon filter Request*/ |
| 336 | WDI_REM_BEACON_FILTER_REQ = 45, |
| 337 | |
| 338 | /*WLAN DAL Set RSSI thresholds Request*/ |
| 339 | WDI_SET_RSSI_THRESHOLDS_REQ = 46, |
| 340 | |
| 341 | /*WLAN DAL host offload Request*/ |
| 342 | WDI_HOST_OFFLOAD_REQ = 47, |
| 343 | |
| 344 | /*WLAN DAL add wowl bc ptrn Request*/ |
| 345 | WDI_WOWL_ADD_BC_PTRN_REQ = 48, |
| 346 | |
| 347 | /*WLAN DAL delete wowl bc ptrn Request*/ |
| 348 | WDI_WOWL_DEL_BC_PTRN_REQ = 49, |
| 349 | |
| 350 | /*WLAN DAL enter wowl Request*/ |
| 351 | WDI_WOWL_ENTER_REQ = 50, |
| 352 | |
| 353 | /*WLAN DAL exit wowl Request*/ |
| 354 | WDI_WOWL_EXIT_REQ = 51, |
| 355 | |
| 356 | /*WLAN DAL Configure Apps CPU Wakeup state Request*/ |
| 357 | WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_REQ = 52, |
| 358 | |
| 359 | /* WLAN NV Download Request */ |
| 360 | WDI_NV_DOWNLOAD_REQ = 53, |
| 361 | /*WLAN DAL Flush AC Request*/ |
| 362 | WDI_FLUSH_AC_REQ = 54, |
| 363 | |
| 364 | /*WLAN DAL BT AMP event Request*/ |
| 365 | WDI_BTAMP_EVENT_REQ = 55, |
| 366 | /*WLAN DAL Aggregated Add TSpec Request*/ |
| 367 | WDI_AGGR_ADD_TS_REQ = 56, |
| 368 | |
| 369 | WDI_ADD_STA_SELF_REQ = 57, |
| 370 | |
| 371 | WDI_DEL_STA_SELF_REQ = 58, |
| 372 | |
| 373 | /* WLAN FTM Command request */ |
| 374 | WDI_FTM_CMD_REQ = 59, |
| 375 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 376 | /*WLAN START OEM_DATA MEAS Request*/ |
| 377 | WDI_START_OEM_DATA_REQ = 60, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 378 | /* WLAN host resume request */ |
| 379 | WDI_HOST_RESUME_REQ = 61, |
| 380 | |
| 381 | WDI_KEEP_ALIVE_REQ = 62, |
| 382 | |
| 383 | /* Set PNO */ |
| 384 | WDI_SET_PREF_NETWORK_REQ = 63, |
| 385 | |
| 386 | /*RSSI Filter Request*/ |
| 387 | WDI_SET_RSSI_FILTER_REQ = 64, |
| 388 | |
| 389 | /* Update Scan Parameters*/ |
| 390 | WDI_UPDATE_SCAN_PARAMS_REQ = 65, |
| 391 | |
| 392 | WDI_SET_TX_PER_TRACKING_REQ = 66, |
| 393 | |
| 394 | WDI_8023_MULTICAST_LIST_REQ = 67, |
| 395 | WDI_RECEIVE_FILTER_SET_FILTER_REQ = 68, |
| 396 | WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ = 69, |
| 397 | WDI_RECEIVE_FILTER_CLEAR_FILTER_REQ = 70, |
| 398 | |
| 399 | /*This is temp fix. Should be removed once |
| 400 | * Host and Riva code is in sync*/ |
| 401 | WDI_INIT_SCAN_CON_REQ = 71, |
| 402 | |
| 403 | /* WLAN HAL DUMP Command request */ |
| 404 | WDI_HAL_DUMP_CMD_REQ = 72, |
| 405 | |
| 406 | /* WLAN DAL Shutdown Request */ |
| 407 | WDI_SHUTDOWN_REQ = 73, |
| 408 | |
| 409 | /*Set power parameters on the device*/ |
| 410 | WDI_SET_POWER_PARAMS_REQ = 74, |
| 411 | |
| 412 | /* Traffic Stream Metrics statistic request */ |
| 413 | WDI_TSM_STATS_REQ = 75, |
| 414 | /* GTK Rekey Offload */ |
| 415 | WDI_GTK_OFFLOAD_REQ = 76, |
| 416 | WDI_GTK_OFFLOAD_GETINFO_REQ = 77, |
| 417 | |
| 418 | /*Set Thermal Migration level to RIVA*/ |
| 419 | WDI_SET_TM_LEVEL_REQ = 78, |
| 420 | |
| 421 | /* Send a capability exchange message to HAL */ |
| 422 | WDI_FEATURE_CAPS_EXCHANGE_REQ = 79, |
| 423 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 424 | #ifdef WLAN_FEATURE_11AC |
| 425 | /* Send a capability exchange message to HAL */ |
| 426 | WDI_UPDATE_VHT_OP_MODE_REQ = 80, |
| 427 | #endif |
| 428 | |
Srinivas Girigowda | d34cedb | 2013-01-25 13:33:11 -0800 | [diff] [blame] | 429 | /*WLAN DAL Get Roam Rssi Request*/ |
| 430 | WDI_GET_ROAM_RSSI_REQ = 81, |
| 431 | |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 432 | /*WLAN DAL Set Tx Power Request*/ |
| 433 | WDI_SET_TX_POWER_REQ = 82, |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 434 | WDI_ROAM_SCAN_OFFLOAD_REQ = 83, |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 435 | |
| 436 | WDI_TDLS_LINK_ESTABLISH_REQ = 84, |
| 437 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 438 | /* WLAN FW LPHB config request */ |
| 439 | WDI_LPHB_CFG_REQ = 85, |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 440 | #ifdef WLAN_FEATURE_RMC |
| 441 | WDI_RMC_RULER_REQ = 86, |
| 442 | WDI_HAL_IBSS_PEER_INFO_REQ = 87, |
| 443 | #endif /* WLAN_FEATURE_RMC */ |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 444 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 445 | /* WLAN FW set batch scan request */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 446 | WDI_SET_BATCH_SCAN_REQ = 88, |
Rajeev Kumar | 58c7d51 | 2013-12-26 14:42:24 -0800 | [diff] [blame] | 447 | |
Arif Hussain | a5ebce0 | 2013-08-09 15:09:58 -0700 | [diff] [blame] | 448 | /*WLAN DAL Set Max Tx Power Per band Request*/ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 449 | WDI_SET_MAX_TX_POWER_PER_BAND_REQ = 89, |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 450 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 451 | WDI_UPDATE_CHAN_REQ = 90, |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 452 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 453 | WDI_GET_BCN_MISS_RATE_REQ = 91, |
c_hpothu | 9236791 | 2014-05-01 15:18:17 +0530 | [diff] [blame] | 454 | |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 455 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 456 | WDI_LL_STATS_SET_REQ = 92, |
| 457 | WDI_LL_STATS_GET_REQ = 93, |
| 458 | WDI_LL_STATS_CLEAR_REQ = 94, |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 459 | #endif |
| 460 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 461 | #ifdef WLAN_FEATURE_EXTSCAN |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 462 | WDI_EXTSCAN_START_REQ = 95, |
| 463 | WDI_EXTSCAN_STOP_REQ = 96, |
| 464 | WDI_EXTSCAN_GET_CACHED_RESULTS_REQ = 97, |
| 465 | WDI_EXTSCAN_GET_CAPABILITIES_REQ = 98, |
| 466 | WDI_EXTSCAN_SET_BSSID_HOTLIST_REQ = 99, |
| 467 | WDI_EXTSCAN_RESET_BSSID_HOTLIST_REQ = 100, |
| 468 | WDI_EXTSCAN_SET_SSID_HOTLIST_REQ = 101, |
| 469 | WDI_EXTSCAN_RESET_SSID_HOTLIST_REQ = 102, |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 470 | #endif |
Atul Mittal | c0f739f | 2014-07-31 13:47:47 +0530 | [diff] [blame] | 471 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 472 | WDI_SPOOF_MAC_ADDR_REQ = 103, |
Siddharth Bhal | 171788a | 2014-09-29 21:02:40 +0530 | [diff] [blame] | 473 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 474 | WDI_GET_FW_STATS_REQ = 104, |
Abhishek Singh | 85b7471 | 2014-10-08 11:38:19 +0530 | [diff] [blame] | 475 | |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 476 | /* Send command to encrypt the given message */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 477 | WDI_ENCRYPT_MSG_REQ = 105, |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 478 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 479 | WDI_FW_LOGGING_INIT_REQ = 106, |
| 480 | WDI_GET_FRAME_LOG_REQ = 107, |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 481 | /* NAN Request */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 482 | WDI_NAN_REQUEST = 108, |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 483 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 484 | WDI_MON_START_REQ = 109, |
| 485 | WDI_MON_STOP_REQ = 110, |
| 486 | WDI_FATAL_EVENT_LOGGING_REQ = 111, |
| 487 | WDI_FWR_MEM_DUMP_REQ = 112, |
| 488 | WDI_START_RSSI_MONITOR_REQ = 113, |
| 489 | WDI_STOP_RSSI_MONITOR_REQ = 114, |
| 490 | WDI_WIFI_CONFIG_SET_REQ = 115, |
Arun Khandavalli | 7eeb159 | 2015-10-19 21:36:57 +0530 | [diff] [blame] | 491 | |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame^] | 492 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 493 | WDI_PER_ROAM_SCAN_OFFLOAD_REQ = 116, |
| 494 | WDI_PER_ROAM_SCAN_TRIGGER_REQ = 117, |
| 495 | #endif |
| 496 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 497 | WDI_MAX_REQ, |
| 498 | |
| 499 | /*Send a suspend Indication down to HAL*/ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 500 | WDI_HOST_SUSPEND_IND = WDI_MAX_REQ, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 501 | |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 502 | /* Send a traffic stats indication to HAL */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 503 | WDI_TRAFFIC_STATS_IND = WDI_MAX_REQ + 1, |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 504 | |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 505 | /* DHCP Start Indication */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 506 | WDI_DHCP_START_IND = WDI_MAX_REQ + 2, |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 507 | |
| 508 | /* DHCP Stop Indication */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 509 | WDI_DHCP_STOP_IND = WDI_MAX_REQ + 3, |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 510 | |
Chet Lanctot | 186b573 | 2013-03-18 10:26:30 -0700 | [diff] [blame] | 511 | /* Drop/Receive unencrypted frames indication to HAL */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 512 | WDI_EXCLUDE_UNENCRYPTED_IND = WDI_MAX_REQ + 4, |
Chet Lanctot | 186b573 | 2013-03-18 10:26:30 -0700 | [diff] [blame] | 513 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 514 | /* Send an add periodic Tx pattern indication to HAL */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 515 | WDI_ADD_PERIODIC_TX_PATTERN_IND = WDI_MAX_REQ + 5, |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 516 | |
| 517 | /* Send a delete periodic Tx pattern indicationto HAL */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 518 | WDI_DEL_PERIODIC_TX_PATTERN_IND = WDI_MAX_REQ + 6, |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 519 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 520 | #ifdef WLAN_FEATURE_RMC |
| 521 | /* Send RMC Update Indication */ |
| 522 | WDI_RMC_UPDATE_IND = WDI_MAX_REQ + 7, |
| 523 | #endif |
Manjunathappa Prakash | 5c7d636 | 2014-02-20 12:59:51 -0800 | [diff] [blame] | 524 | /* Send Rate Update Indication */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 525 | WDI_RATE_UPDATE_IND = WDI_MAX_REQ + 8, |
Manjunathappa Prakash | 5c7d636 | 2014-02-20 12:59:51 -0800 | [diff] [blame] | 526 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 527 | /*Send stop batch scan indication to FW*/ |
| 528 | WDI_STOP_BATCH_SCAN_IND = WDI_MAX_REQ + 9, |
| 529 | |
| 530 | /*Send stop batch scan indication to FW*/ |
| 531 | WDI_TRIGGER_BATCH_SCAN_RESULT_IND = WDI_MAX_REQ + 10, |
| 532 | |
| 533 | #ifdef WLAN_FEATURE_RMC |
| 534 | /* TX Monitor start/stop indication */ |
| 535 | WDI_TX_FAIL_MONITOR_IND = WDI_MAX_REQ + 11, |
| 536 | #endif |
| 537 | WDI_START_HT40_OBSS_SCAN_IND = WDI_MAX_REQ +12, |
| 538 | WDI_STOP_HT40_OBSS_SCAN_IND = WDI_MAX_REQ +13, |
Rajeev Kumar | 58c7d51 | 2013-12-26 14:42:24 -0800 | [diff] [blame] | 539 | |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 540 | /* csa channel switch req*/ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 541 | WDI_CH_SWITCH_REQ_V1 = WDI_MAX_REQ + 14, |
| 542 | WDI_TDLS_CHAN_SWITCH_REQ = WDI_MAX_REQ + 15, |
| 543 | WDI_SET_RTS_CTS_HTVHT_IND = WDI_MAX_REQ + 16, |
| 544 | WDI_FW_LOGGING_DXE_DONE_IND = WDI_MAX_REQ + 17, |
| 545 | WDI_SEND_FREQ_RANGE_CONTROL_IND = WDI_MAX_REQ + 18, |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 546 | |
Padma, Santhosh Kumar | c1f7f05 | 2015-08-26 12:29:01 +0530 | [diff] [blame] | 547 | #ifdef WLAN_FEATURE_EXTSCAN |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 548 | WDI_HIGH_PRIORITY_DATA_INFO_IND = WDI_MAX_REQ + 19, |
Padma, Santhosh Kumar | c1f7f05 | 2015-08-26 12:29:01 +0530 | [diff] [blame] | 549 | #endif |
| 550 | |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 551 | #ifdef FEATURE_OEM_DATA_SUPPORT |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 552 | WDI_START_OEM_DATA_REQ_IND_NEW = WDI_MAX_REQ + 20, |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 553 | #endif |
| 554 | |
Rajeev Kumar | 58c7d51 | 2013-12-26 14:42:24 -0800 | [diff] [blame] | 555 | /*Keep adding the indications to the max request |
Mahesh A Saptasagar | beca12c | 2015-09-07 16:21:06 +0530 | [diff] [blame] | 556 | such that we keep them separate */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 557 | WDI_ANTENNA_DIVERSITY_SELECTION_REQ = WDI_MAX_REQ + 21, |
| 558 | WDI_MODIFY_ROAM_PARAMS_IND = WDI_MAX_REQ + 22, |
Selvaraj, Sridhar | c045b8b | 2016-04-06 12:22:35 +0530 | [diff] [blame] | 559 | WDI_SET_ALLOWED_ACTION_FRAMES_IND = WDI_MAX_REQ + 23, |
| 560 | |
| 561 | WDI_MAX_UMAC_IND = WDI_MAX_REQ + 24 |
| 562 | |
Sandeep Puligilla | 8b8b74b | 2014-02-10 16:39:05 +0530 | [diff] [blame] | 563 | }WDI_RequestEnumType; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 564 | |
| 565 | /*--------------------------------------------------------------------------- |
| 566 | WLAN DAL Supported Response Types |
| 567 | ---------------------------------------------------------------------------*/ |
| 568 | typedef enum |
| 569 | { |
| 570 | /*WLAN DAL START Response*/ |
| 571 | WDI_START_RESP = 0, |
| 572 | |
| 573 | /*WLAN DAL STOP Response*/ |
| 574 | WDI_STOP_RESP = 1, |
| 575 | |
| 576 | /*WLAN DAL STOP Response*/ |
| 577 | WDI_CLOSE_RESP = 2, |
| 578 | |
| 579 | /*SCAN*/ |
| 580 | /*WLAN DAL Init Scan Response*/ |
| 581 | WDI_INIT_SCAN_RESP = 3, |
| 582 | |
| 583 | /*WLAN DAL Start Scan Response*/ |
| 584 | WDI_START_SCAN_RESP = 4, |
| 585 | |
| 586 | /*WLAN DAL End Scan Response*/ |
| 587 | WDI_END_SCAN_RESP = 5, |
| 588 | |
| 589 | /*WLAN DAL Finish Scan Response*/ |
| 590 | WDI_FINISH_SCAN_RESP = 6, |
| 591 | |
| 592 | |
| 593 | /*ASSOCIATION*/ |
| 594 | /*WLAN DAL Join Response*/ |
| 595 | WDI_JOIN_RESP = 7, |
| 596 | |
| 597 | /*WLAN DAL Config BSS Response*/ |
| 598 | WDI_CONFIG_BSS_RESP = 8, |
| 599 | |
| 600 | /*WLAN DAL Del BSS Response*/ |
| 601 | WDI_DEL_BSS_RESP = 9, |
| 602 | |
| 603 | /*WLAN DAL Post Assoc Response*/ |
| 604 | WDI_POST_ASSOC_RESP = 10, |
| 605 | |
| 606 | /*WLAN DAL Del STA Response*/ |
| 607 | WDI_DEL_STA_RESP = 11, |
| 608 | |
| 609 | /*WLAN DAL Set BSS Key Response*/ |
| 610 | WDI_SET_BSS_KEY_RESP = 12, |
| 611 | |
| 612 | /*WLAN DAL Remove BSS Key Response*/ |
| 613 | WDI_RMV_BSS_KEY_RESP = 13, |
| 614 | |
| 615 | /*WLAN DAL Set STA Key Response*/ |
| 616 | WDI_SET_STA_KEY_RESP = 14, |
| 617 | |
| 618 | /*WLAN DAL Remove STA Key Response*/ |
| 619 | WDI_RMV_STA_KEY_RESP = 15, |
| 620 | |
| 621 | /*WLAN DAL Add TSpec Response*/ |
| 622 | WDI_ADD_TS_RESP = 16, |
| 623 | |
| 624 | /*WLAN DAL Delete TSpec Response*/ |
| 625 | WDI_DEL_TS_RESP = 17, |
| 626 | |
| 627 | /*WLAN DAL Update EDCA Params Response*/ |
| 628 | WDI_UPD_EDCA_PRMS_RESP = 18, |
| 629 | |
| 630 | /*WLAN DAL Add BA Session Response*/ |
| 631 | WDI_ADD_BA_SESSION_RESP = 19, |
| 632 | |
| 633 | /*WLAN DAL Delete BA Response*/ |
| 634 | WDI_DEL_BA_RESP = 20, |
| 635 | |
| 636 | /*WLAN DAL Channel Switch Response*/ |
| 637 | WDI_CH_SWITCH_RESP = 21, |
| 638 | |
| 639 | /*WLAN DAL Config STA Response*/ |
| 640 | WDI_CONFIG_STA_RESP = 22, |
| 641 | |
| 642 | /*WLAN DAL Set Link State Response*/ |
| 643 | WDI_SET_LINK_ST_RESP = 23, |
| 644 | |
| 645 | /*WLAN DAL Get Stats Response*/ |
| 646 | WDI_GET_STATS_RESP = 24, |
| 647 | |
| 648 | /*WLAN DAL Update Config Response*/ |
| 649 | WDI_UPDATE_CFG_RESP = 25, |
| 650 | |
| 651 | /* WDI ADD BA Response */ |
| 652 | WDI_ADD_BA_RESP = 26, |
| 653 | |
| 654 | /* WDI Trigger BA Response */ |
| 655 | WDI_TRIGGER_BA_RESP = 27, |
| 656 | |
| 657 | /*WLAN DAL Update beacon params Response*/ |
| 658 | WDI_UPD_BCON_PRMS_RESP = 28, |
| 659 | |
| 660 | /*WLAN DAL Send beacon template Response*/ |
| 661 | WDI_SND_BCON_RESP = 29, |
| 662 | |
| 663 | /*WLAN DAL Update Probe Response Template Response*/ |
| 664 | WDI_UPD_PROBE_RSP_TEMPLATE_RESP = 30, |
| 665 | |
| 666 | /*WLAN DAL Set STA Key Response*/ |
| 667 | WDI_SET_STA_BCAST_KEY_RESP = 31, |
| 668 | |
| 669 | /*WLAN DAL Remove STA Key Response*/ |
| 670 | WDI_RMV_STA_BCAST_KEY_RESP = 32, |
| 671 | |
| 672 | /*WLAN DAL Set Max Tx Power Response*/ |
| 673 | WDI_SET_MAX_TX_POWER_RESP = 33, |
| 674 | |
| 675 | /*WLAN DAL Enter IMPS Response*/ |
| 676 | WDI_ENTER_IMPS_RESP = 34, |
| 677 | |
| 678 | /*WLAN DAL Exit IMPS Response*/ |
| 679 | WDI_EXIT_IMPS_RESP = 35, |
| 680 | |
| 681 | /*WLAN DAL Enter BMPS Response*/ |
| 682 | WDI_ENTER_BMPS_RESP = 36, |
| 683 | |
| 684 | /*WLAN DAL Exit BMPS Response*/ |
| 685 | WDI_EXIT_BMPS_RESP = 37, |
| 686 | |
| 687 | /*WLAN DAL Enter UAPSD Response*/ |
| 688 | WDI_ENTER_UAPSD_RESP = 38, |
| 689 | |
| 690 | /*WLAN DAL Exit UAPSD Response*/ |
| 691 | WDI_EXIT_UAPSD_RESP = 39, |
| 692 | |
| 693 | /*WLAN DAL Set UAPSD Param Response*/ |
| 694 | WDI_SET_UAPSD_PARAM_RESP = 40, |
| 695 | |
| 696 | /*WLAN DAL Update UAPSD Param (SoftAP mode) Response*/ |
| 697 | WDI_UPDATE_UAPSD_PARAM_RESP = 41, |
| 698 | |
| 699 | /*WLAN DAL Configure RXP filter Response*/ |
| 700 | WDI_CONFIGURE_RXP_FILTER_RESP = 42, |
| 701 | |
| 702 | /*WLAN DAL Set Beacon filter Response*/ |
| 703 | WDI_SET_BEACON_FILTER_RESP = 43, |
| 704 | |
| 705 | /*WLAN DAL Remove Beacon filter Response*/ |
| 706 | WDI_REM_BEACON_FILTER_RESP = 44, |
| 707 | |
| 708 | /*WLAN DAL Set RSSI thresholds Response*/ |
| 709 | WDI_SET_RSSI_THRESHOLDS_RESP = 45, |
| 710 | |
| 711 | /*WLAN DAL Set RSSI thresholds Response*/ |
| 712 | WDI_HOST_OFFLOAD_RESP = 46, |
| 713 | |
| 714 | /*WLAN DAL add wowl bc ptrn Response*/ |
| 715 | WDI_WOWL_ADD_BC_PTRN_RESP = 47, |
| 716 | |
| 717 | /*WLAN DAL delete wowl bc ptrn Response*/ |
| 718 | WDI_WOWL_DEL_BC_PTRN_RESP = 48, |
| 719 | |
| 720 | /*WLAN DAL enter wowl Response*/ |
| 721 | WDI_WOWL_ENTER_RESP = 49, |
| 722 | |
| 723 | /*WLAN DAL exit wowl Response*/ |
| 724 | WDI_WOWL_EXIT_RESP = 50, |
| 725 | |
| 726 | /*WLAN DAL Configure Apps CPU Wakeup state Response*/ |
| 727 | WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_RESP = 51, |
| 728 | |
| 729 | /* WLAN NV Download responce */ |
| 730 | WDI_NV_DOWNLOAD_RESP = 52, |
| 731 | |
| 732 | /*WLAN DAL Flush AC Response*/ |
| 733 | WDI_FLUSH_AC_RESP = 53, |
| 734 | |
| 735 | /*WLAN DAL Flush AC Response*/ |
| 736 | WDI_BTAMP_EVENT_RESP = 54, |
| 737 | |
| 738 | /*WLAN DAL Add Aggregated TSpec Response*/ |
| 739 | WDI_AGGR_ADD_TS_RESP = 55, |
| 740 | |
| 741 | /*Add Self STA Response*/ |
| 742 | WDI_ADD_STA_SELF_RESP = 56, |
| 743 | |
| 744 | /*Delete Self STA Response*/ |
| 745 | WDI_DEL_STA_SELF_RESP = 57, |
| 746 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 747 | /*WLAN START OEM_DATA Response*/ |
| 748 | WDI_START_OEM_DATA_RESP = 58, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 749 | |
| 750 | /* WLAN host resume request */ |
| 751 | WDI_HOST_RESUME_RESP = 59, |
| 752 | |
| 753 | /* WLAN DAL P2P GO Notice Of Absence Response */ |
| 754 | WDI_P2P_GO_NOTICE_OF_ABSENCE_RESP = 60, |
| 755 | |
| 756 | /* FTM Response from HAL */ |
| 757 | WDI_FTM_CMD_RESP = 61, |
| 758 | |
| 759 | /*Keep alive response */ |
| 760 | WDI_KEEP_ALIVE_RESP = 62, |
| 761 | |
| 762 | /* Set PNO Response */ |
| 763 | WDI_SET_PREF_NETWORK_RESP = 63, |
| 764 | |
| 765 | /* Set RSSI Filter Response */ |
| 766 | WDI_SET_RSSI_FILTER_RESP = 64, |
| 767 | |
| 768 | /* Update Scan Parameters Resp */ |
| 769 | WDI_UPDATE_SCAN_PARAMS_RESP = 65, |
| 770 | |
| 771 | //Tx PER Tracking |
| 772 | WDI_SET_TX_PER_TRACKING_RESP = 66, |
| 773 | |
| 774 | |
| 775 | |
| 776 | /* Packet Filtering Response */ |
| 777 | WDI_8023_MULTICAST_LIST_RESP = 67, |
| 778 | |
| 779 | WDI_RECEIVE_FILTER_SET_FILTER_RESP = 68, |
| 780 | |
| 781 | WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_RESP = 69, |
| 782 | |
| 783 | WDI_RECEIVE_FILTER_CLEAR_FILTER_RESP = 70, |
| 784 | |
| 785 | |
| 786 | /* WLAN HAL DUMP Command Response */ |
| 787 | WDI_HAL_DUMP_CMD_RESP = 71, |
| 788 | |
| 789 | /* WLAN Shutdown Response */ |
| 790 | WDI_SHUTDOWN_RESP = 72, |
| 791 | |
| 792 | /*Set power parameters response */ |
| 793 | WDI_SET_POWER_PARAMS_RESP = 73, |
| 794 | |
| 795 | WDI_TSM_STATS_RESP = 74, |
| 796 | /* GTK Rekey Offload */ |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 797 | WDI_GTK_OFFLOAD_RESP = 75, |
| 798 | WDI_GTK_OFFLOAD_GETINFO_RESP = 76, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 799 | |
| 800 | WDI_SET_TM_LEVEL_RESP = 77, |
| 801 | |
| 802 | /* FW sends its capability bitmap as a response */ |
| 803 | WDI_FEATURE_CAPS_EXCHANGE_RESP = 78, |
| 804 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 805 | #ifdef WLAN_FEATURE_11AC |
| 806 | WDI_UPDATE_VHT_OP_MODE_RESP = 79, |
| 807 | #endif |
| 808 | |
Srinivas Girigowda | d34cedb | 2013-01-25 13:33:11 -0800 | [diff] [blame] | 809 | /* WLAN DAL Get Roam Rssi Response*/ |
| 810 | WDI_GET_ROAM_RSSI_RESP = 80, |
| 811 | |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 812 | WDI_SET_TX_POWER_RESP = 81, |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 813 | WDI_ROAM_SCAN_OFFLOAD_RESP = 82, |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 814 | |
| 815 | WDI_TDLS_LINK_ESTABLISH_REQ_RESP = 83, |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 816 | |
| 817 | /* WLAN FW LPHB Config response */ |
| 818 | WDI_LPHB_CFG_RESP = 84, |
| 819 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 820 | #ifdef WLAN_FEATURE_RMC |
| 821 | WDI_RMC_RULER_RESP = 85, |
| 822 | WDI_HAL_IBSS_PEER_INFO_RSP = 86, |
| 823 | #endif /* WLAN_FEATURE_RMC */ |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 824 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 825 | WDI_SET_BATCH_SCAN_RESP = 87, |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 826 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 827 | WDI_SET_MAX_TX_POWER_PER_BAND_RSP = 88, |
| 828 | |
| 829 | WDI_UPDATE_CHAN_RESP = 89, |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 830 | /* channel switch resp v1*/ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 831 | WDI_CH_SWITCH_RESP_V1 = 90, |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 832 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 833 | WDI_GET_BCN_MISS_RATE_RSP = 91, |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 834 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 835 | WDI_LL_STATS_SET_RSP = 92, |
| 836 | WDI_LL_STATS_GET_RSP = 93, |
| 837 | WDI_LL_STATS_CLEAR_RSP = 94, |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 838 | #endif |
| 839 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 840 | #ifdef WLAN_FEATURE_EXTSCAN |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 841 | WDI_EXTSCAN_START_RSP = 95, |
| 842 | WDI_EXTSCAN_STOP_RSP = 96, |
| 843 | WDI_EXTSCAN_GET_CACHED_RESULTS_RSP = 97, |
| 844 | WDI_EXTSCAN_GET_CAPABILITIES_RSP = 98, |
| 845 | WDI_EXTSCAN_SET_HOTLIST_BSSID_RSP = 99, |
| 846 | WDI_EXTSCAN_RESET_HOTLIST_BSSID_RSP = 100, |
| 847 | WDI_EXTSCAN_SET_HOTLIST_SSID_RSP = 101, |
| 848 | WDI_EXTSCAN_RESET_HOTLIST_SSID_RSP = 102, |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 849 | #endif |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 850 | WDI_SPOOF_MAC_ADDR_RSP = 103, |
| 851 | WDI_GET_FW_STATS_RSP = 104, |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 852 | |
| 853 | /* Send command to encrypt the given message */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 854 | WDI_ENCRYPT_MSG_RSP = 105, |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 855 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 856 | WDI_FW_LOGGING_INIT_RSP = 106, |
| 857 | WDI_GET_FRAME_LOG_RSP = 107, |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 858 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 859 | WDI_NAN_RESPONSE = 108, |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 860 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 861 | WDI_MON_START_RSP = 109, |
| 862 | WDI_MON_STOP_RSP = 110, |
| 863 | WDI_FATAL_EVENT_LOGGING_RSP = 111, |
| 864 | WDI_FWR_MEM_DUMP_RSP = 112, |
| 865 | WDI_START_RSSI_MONITOR_RSP = 113, |
| 866 | WDI_STOP_RSSI_MONITOR_RSP = 114, |
Katya Nigam | f0511f6 | 2015-05-05 16:40:57 +0530 | [diff] [blame] | 867 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 868 | WDI_WIFI_CONFIG_SET_RSP = 115, |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame^] | 869 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 870 | WDI_PER_ROAM_SCAN_OFFLOAD_RSP = 116, |
| 871 | WDI_PER_ROAM_SCAN_TRIGGER_RSP = 117, |
| 872 | #endif |
Arun Khandavalli | 7eeb159 | 2015-10-19 21:36:57 +0530 | [diff] [blame] | 873 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 874 | /*------------------------------------------------------------------------- |
| 875 | Indications |
| 876 | !! Keep these last in the enum if possible |
| 877 | -------------------------------------------------------------------------*/ |
| 878 | WDI_HAL_IND_MIN , |
| 879 | /*When RSSI monitoring is enabled of the Lower MAC and a threshold has been |
| 880 | passed. */ |
| 881 | WDI_HAL_RSSI_NOTIFICATION_IND = WDI_HAL_IND_MIN, |
| 882 | |
| 883 | /*Link loss in the low MAC */ |
| 884 | WDI_HAL_MISSED_BEACON_IND = WDI_HAL_IND_MIN + 1, |
| 885 | |
| 886 | /*When hardware has signaled an unknown addr2 frames. The indication will |
| 887 | contain info from frames to be passed to the UMAC, this may use this info to |
| 888 | deauth the STA*/ |
| 889 | WDI_HAL_UNKNOWN_ADDR2_FRAME_RX_IND = WDI_HAL_IND_MIN + 2, |
| 890 | |
| 891 | /*MIC Failure detected by HW*/ |
| 892 | WDI_HAL_MIC_FAILURE_IND = WDI_HAL_IND_MIN + 3, |
| 893 | |
| 894 | /*Fatal Error Ind*/ |
| 895 | WDI_HAL_FATAL_ERROR_IND = WDI_HAL_IND_MIN + 4, |
| 896 | |
| 897 | /*Received when the RIVA SW decides to autonomously delete an associate |
| 898 | station (e.g. Soft AP TIM based dissassoc) */ |
| 899 | WDI_HAL_DEL_STA_IND = WDI_HAL_IND_MIN + 5, |
| 900 | |
| 901 | /*Coex indication*/ |
| 902 | WDI_HAL_COEX_IND = WDI_HAL_IND_MIN + 6, |
| 903 | |
| 904 | /* Tx Complete Indication */ |
| 905 | WDI_HAL_TX_COMPLETE_IND = WDI_HAL_IND_MIN + 7, |
| 906 | |
| 907 | WDI_HAL_P2P_NOA_ATTR_IND = WDI_HAL_IND_MIN + 8, |
| 908 | |
| 909 | /* Preferred Network Found Indication */ |
| 910 | WDI_HAL_PREF_NETWORK_FOUND_IND = WDI_HAL_IND_MIN + 9, |
| 911 | |
| 912 | /* Wakeup Reason Indication */ |
| 913 | WDI_HAL_WAKE_REASON_IND = WDI_HAL_IND_MIN + 10, |
| 914 | |
| 915 | /* Tx PER Hit Indication */ |
| 916 | WDI_HAL_TX_PER_HIT_IND = WDI_HAL_IND_MIN + 11, |
Viral Modi | d86bde2 | 2012-12-10 13:09:21 -0800 | [diff] [blame] | 917 | |
| 918 | /* NOA Start Indication from FW to Host */ |
| 919 | WDI_HAL_P2P_NOA_START_IND = WDI_HAL_IND_MIN + 12, |
| 920 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 921 | /* TDLS Indication from FW to Host */ |
| 922 | WDI_HAL_TDLS_IND = WDI_HAL_IND_MIN + 13, |
| 923 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 924 | /* LPHB timeout indication */ |
Leo Chang | d9df8aa | 2013-09-26 13:32:26 -0700 | [diff] [blame] | 925 | WDI_HAL_LPHB_IND = WDI_HAL_IND_MIN + 14, |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 926 | |
| 927 | /* IBSS Peer Inactivity Indication from FW to Host */ |
| 928 | WDI_HAL_IBSS_PEER_INACTIVITY_IND = WDI_HAL_IND_MIN + 15, |
| 929 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 930 | /* Periodic Tx Pattern Indication from FW to Host */ |
| 931 | WDI_HAL_PERIODIC_TX_PTRN_FW_IND = WDI_HAL_IND_MIN + 16, |
| 932 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 933 | #ifdef WLAN_FEATURE_RMC |
| 934 | /* Update Indication from FW to Host */ |
| 935 | WDI_RMC_UPDATE_IND_TO_HOST = WDI_HAL_IND_MIN + 17, |
| 936 | #endif |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 937 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 938 | WDI_BATCHSCAN_RESULT_IND = WDI_HAL_IND_MIN + 18, |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 939 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 940 | #ifdef WLAN_FEATURE_RMC |
| 941 | WDI_HAL_TX_FAIL_IND = WDI_HAL_IND_MIN + 19, |
| 942 | #endif |
| 943 | |
| 944 | WDI_HAL_CH_AVOID_IND = WDI_HAL_IND_MIN + 20, |
c_hpothu | 8604100 | 2014-04-14 19:06:51 +0530 | [diff] [blame] | 945 | |
| 946 | /* print register values indication from FW to Host */ |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 947 | WDI_PRINT_REG_INFO_IND = WDI_HAL_IND_MIN + 21, |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 948 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 949 | WDI_HAL_LL_STATS_RESULTS_IND = WDI_HAL_IND_MIN + 22, |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 950 | #endif |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 951 | #ifdef WLAN_FEATURE_EXTSCAN |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 952 | WDI_HAL_EXTSCAN_PROGRESS_IND = WDI_HAL_IND_MIN + 23, |
| 953 | WDI_HAL_EXTSCAN_SCAN_AVAILABLE_IND = WDI_HAL_IND_MIN + 24, |
| 954 | WDI_HAL_EXTSCAN_RESULT_IND = WDI_HAL_IND_MIN + 25, |
| 955 | WDI_HAL_EXTSCAN_BSSID_HOTLIST_RESULT_IND = WDI_HAL_IND_MIN + 26, |
| 956 | WDI_HAL_EXTSCAN_SSID_HOTLIST_RESULT_IND = WDI_HAL_IND_MIN + 27, |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 957 | #endif |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 958 | WDI_TDLS_CHAN_SWITCH_REQ_RESP = WDI_HAL_IND_MIN + 28, |
| 959 | WDI_HAL_DEL_BA_IND = WDI_HAL_IND_MIN + 29, |
| 960 | WDI_HAL_NAN_EVENT = WDI_HAL_IND_MIN + 30, |
| 961 | WDI_HAL_LOST_LINK_PARAMS_IND = WDI_HAL_IND_MIN + 31, |
| 962 | WDI_HAL_RSSI_BREACHED_IND = WDI_HAL_IND_MIN + 32, |
| 963 | WDI_HAL_START_OEM_DATA_RSP_IND_NEW = WDI_HAL_IND_MIN + 33, |
| 964 | WDI_ANTENNA_DIVERSITY_SELECTION_RSP = WDI_HAL_IND_MIN + 34, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 965 | WDI_MAX_RESP |
| 966 | }WDI_ResponseEnumType; |
| 967 | |
| 968 | typedef struct |
| 969 | { |
| 970 | /*Flag that marks a session as being in use*/ |
| 971 | wpt_boolean bInUse; |
| 972 | |
| 973 | /*Flag that keeps track if a series of assoc requests for this BSS are |
| 974 | currently pending in the queue or processed |
| 975 | - the flag is set to true when the Join request ends up being queued |
| 976 | - and reset to false when the Pending queue is empty */ |
| 977 | wpt_boolean bAssocReqQueued; |
| 978 | |
| 979 | /*BSSID of the session*/ |
| 980 | wpt_macAddr macBSSID; |
| 981 | |
| 982 | /*BSS Index associated with this BSSID*/ |
| 983 | wpt_uint8 ucBSSIdx; |
| 984 | |
| 985 | /*Associated state of the current BSS*/ |
| 986 | WDI_AssocStateType wdiAssocState; |
| 987 | |
| 988 | /*WDI Pending Request Queue*/ |
| 989 | wpt_list wptPendingQueue; |
| 990 | |
| 991 | /*DPU Information for this BSS*/ |
| 992 | wpt_uint8 bcastDpuIndex; |
| 993 | wpt_uint8 bcastDpuSignature; |
| 994 | wpt_uint8 bcastMgmtDpuIndex; |
| 995 | wpt_uint8 bcastMgmtDpuSignature; |
| 996 | |
| 997 | /*RMF enabled/disabled*/ |
| 998 | wpt_uint8 ucRmfEnabled; |
| 999 | |
| 1000 | /*Bcast STA ID associated with this BSS session */ |
| 1001 | wpt_uint8 bcastStaIdx; |
| 1002 | |
| 1003 | /*The type of the BSS in the session */ |
| 1004 | WDI_BssType wdiBssType; |
| 1005 | }WDI_BSSSessionType; |
| 1006 | |
| 1007 | /*--------------------------------------------------------------------------- |
| 1008 | WDI_ConfigBSSRspInfoType |
| 1009 | ---------------------------------------------------------------------------*/ |
| 1010 | typedef WPT_PACK_PRE struct |
| 1011 | { |
| 1012 | /*BSS index allocated by HAL*/ |
| 1013 | wpt_uint8 ucBSSIdx; |
| 1014 | |
| 1015 | /*BSSID of the BSS*/ |
| 1016 | wpt_macAddr macBSSID; |
| 1017 | |
| 1018 | /*Broadcast DPU descriptor index allocated by HAL and used for |
| 1019 | broadcast/multicast packets.*/ |
| 1020 | wpt_uint8 ucBcastDpuDescIndx; |
| 1021 | |
| 1022 | /*DPU signature to be used for broadcast/multicast packets*/ |
| 1023 | wpt_uint8 ucBcastDpuSignature; |
| 1024 | |
| 1025 | /*DPU descriptor index allocated by HAL, used for bcast/mcast management |
| 1026 | packets*/ |
| 1027 | wpt_uint8 ucMgmtDpuDescIndx; |
| 1028 | |
| 1029 | /*DPU signature to be used for bcast/mcast management packets*/ |
| 1030 | wpt_uint8 ucMgmtDpuSignature; |
| 1031 | |
| 1032 | /*Status of the request received from HAL */ |
| 1033 | eHalStatus halStatus; |
| 1034 | }WPT_PACK_POST WDI_ConfigBSSRspInfoType; |
| 1035 | |
| 1036 | |
| 1037 | /*--------------------------------------------------------------------------- |
| 1038 | WDI_PostAssocRspInfoType |
| 1039 | ---------------------------------------------------------------------------*/ |
| 1040 | typedef WPT_PACK_PRE struct |
| 1041 | { |
| 1042 | /*STA Index allocated by HAL.*/ |
| 1043 | wpt_uint16 usSTAIdx; |
| 1044 | |
| 1045 | /*MAC Address of STA*/ |
| 1046 | wpt_macAddr macSTA; |
| 1047 | |
| 1048 | /*Unicast DPU signature*/ |
| 1049 | wpt_uint8 ucUcastSig; |
| 1050 | |
| 1051 | /*Broadcast DPU Signature*/ |
| 1052 | wpt_uint8 ucBcastSig; |
| 1053 | |
| 1054 | /*BSSID of the BSS*/ |
| 1055 | wpt_macAddr macBSSID; |
| 1056 | |
| 1057 | /*HAL Status */ |
| 1058 | eHalStatus halStatus; |
| 1059 | }WPT_PACK_POST WDI_PostAssocRspInfoType; |
| 1060 | |
Dino Mycle | d3d5002 | 2014-07-07 12:58:25 +0530 | [diff] [blame] | 1061 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 1062 | /*--------------------------------------------------------------------------- |
| 1063 | WDI_LLStatsResultsType |
| 1064 | ---------------------------------------------------------------------------*/ |
| 1065 | typedef WPT_PACK_PRE struct |
| 1066 | { |
| 1067 | wpt_uint32 param_id; |
| 1068 | wpt_uint8 iface_id; |
| 1069 | wpt_uint32 resp_id; |
| 1070 | wpt_uint32 more_result_to_follow; |
| 1071 | wpt_uint8 result[1]; |
| 1072 | }WPT_PACK_POST WDI_LLstatsResultsType; |
| 1073 | |
| 1074 | #endif |
| 1075 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1076 | /*--------------------------------------------------------------------------- |
| 1077 | WLAN DAL FSM Event Info Type |
| 1078 | ---------------------------------------------------------------------------*/ |
| 1079 | typedef struct |
| 1080 | { |
| 1081 | /*Events can be linked in a list - put a node in front for that, it will be |
| 1082 | used by wpt to link them*/ |
| 1083 | wpt_list_node wptListNode; |
| 1084 | |
| 1085 | /*Request Received */ |
| 1086 | WDI_RequestEnumType wdiRequest; |
| 1087 | |
| 1088 | /*Response Received */ |
| 1089 | WDI_ResponseEnumType wdiResponse; |
| 1090 | |
| 1091 | /*Data associated with the request */ |
| 1092 | void* pEventData; |
| 1093 | |
| 1094 | /*Data Size*/ |
| 1095 | wpt_uint32 uEventDataSize; |
| 1096 | |
| 1097 | /*Callback function for receiving the response to the event*/ |
| 1098 | void* pCBfnc; |
| 1099 | |
| 1100 | /*User data to be sent along with the CB function call*/ |
| 1101 | void* pUserData; |
| 1102 | }WDI_EventInfoType; |
| 1103 | |
| 1104 | /*--------------------------------------------------------------------------- |
| 1105 | WLAN DAL Session Index Type |
| 1106 | ---------------------------------------------------------------------------*/ |
| 1107 | typedef struct |
| 1108 | { |
| 1109 | /*Events can be linked in a list - put a node in front for that, it will be |
| 1110 | used by wpt to link them*/ |
| 1111 | wpt_list_node wptListNode; |
| 1112 | |
| 1113 | /*Session id for the new association to be processed*/ |
| 1114 | wpt_uint8 ucIndex; |
| 1115 | |
| 1116 | }WDI_NextSessionIdType; |
| 1117 | |
| 1118 | #define WDI_CONTROL_BLOCK_MAGIC 0x67736887 /* WDIC in little endian */ |
| 1119 | /*--------------------------------------------------------------------------- |
| 1120 | WLAN DAL Control Block Type |
| 1121 | ---------------------------------------------------------------------------*/ |
| 1122 | typedef struct |
| 1123 | { |
| 1124 | /*magic number so callbacks can validate their context pointers*/ |
| 1125 | wpt_uint32 magic; |
| 1126 | |
| 1127 | /*Ptr to the OS Context received from the UMAC*/ |
| 1128 | void* pOSContext; |
| 1129 | |
| 1130 | /*Ptr to the PAL Context received from PAL*/ |
| 1131 | void* pPALContext; |
| 1132 | |
| 1133 | /*Ptr to the Datapath Context received from PAL*/ |
| 1134 | void* pDPContext; |
| 1135 | |
| 1136 | /*Ptr to the Datapath Transport Driver Context received from PAL*/ |
| 1137 | void* pDTDriverContext; |
| 1138 | |
| 1139 | /*Hanlde to the control transport service*/ |
| 1140 | WCTS_HandleType wctsHandle; |
| 1141 | |
| 1142 | /*Flag that keeps track if CT is Opened or not*/ |
| 1143 | wpt_boolean bCTOpened; |
| 1144 | |
| 1145 | /*The global state of the DAL Control Path*/ |
| 1146 | WDI_MainStateType uGlobalState; |
| 1147 | |
| 1148 | /*Flag to keep track of the expected state transition after processing |
| 1149 | of a response */ |
| 1150 | WDI_MainStateType ucExpectedStateTransition; |
| 1151 | |
| 1152 | /*Main Synchronization Object for the WDI CB*/ |
| 1153 | wpt_mutex wptMutex; |
| 1154 | |
| 1155 | /*WDI response timer*/ |
| 1156 | wpt_timer wptResponseTimer; |
| 1157 | |
| 1158 | /*WDI Pending Request Queue*/ |
| 1159 | wpt_list wptPendingQueue; |
| 1160 | #if 0 |
| 1161 | /*The state of the DAL during a scanning procedure*/ |
| 1162 | WDI_ScanStateType uScanState; |
| 1163 | |
| 1164 | /*Flag that keeps track if a Scan is currently in progress*/ |
| 1165 | wpt_boolean bScanInProgress; |
| 1166 | #endif |
| 1167 | /*Flag that keeps track if an Association is currently in progress*/ |
| 1168 | wpt_boolean bAssociationInProgress; |
| 1169 | |
| 1170 | /*Array of simultaneous BSS Sessions*/ |
| 1171 | WDI_BSSSessionType aBSSSessions[WDI_MAX_BSS_SESSIONS]; |
| 1172 | |
| 1173 | /*WDI Pending Association Session Id Queue - it keeps track of the |
| 1174 | order in which queued assoc requests came in*/ |
| 1175 | wpt_list wptPendingAssocSessionIdQueue; |
| 1176 | |
| 1177 | /*! TO DO : - group these in a union, only one cached req can exist at a |
| 1178 | time */ |
| 1179 | |
| 1180 | /*Cached post assoc request - there can only be one in the system as |
| 1181 | only one request goes down to hal up until a response is received |
| 1182 | The values cached are used on response to save a station if needed */ |
| 1183 | WDI_PostAssocReqParamsType wdiCachedPostAssocReq; |
| 1184 | |
| 1185 | /*Cached config sta request - there can only be one in the system as |
| 1186 | only one request goes down to hal up until a response is received |
| 1187 | The values cached are used on response to save a station if needed */ |
| 1188 | WDI_ConfigSTAReqParamsType wdiCachedConfigStaReq; |
| 1189 | |
| 1190 | /*Cached config sta request - there can only be one in the system as |
| 1191 | only one request goes down to hal up until a response is received |
| 1192 | The values cached are used on response to save a BSS if needed */ |
| 1193 | WDI_ConfigBSSReqParamsType wdiCachedConfigBssReq; |
| 1194 | |
| 1195 | /*Cached set link state request - there can only be one in the system as |
| 1196 | only one request goes down to hal up until a response is received |
| 1197 | The values cached are used on response to delete a BSS if needed */ |
| 1198 | WDI_SetLinkReqParamsType wdiCacheSetLinkStReq; |
| 1199 | |
| 1200 | /*Cached add STA self request - there can only be one in the system as |
| 1201 | only one request goes down to hal up until a response is received |
| 1202 | The values cached are used on response to save the self STA in the table */ |
| 1203 | WDI_AddSTASelfReqParamsType wdiCacheAddSTASelfReq; |
| 1204 | |
| 1205 | /*Current session being handled*/ |
| 1206 | wpt_uint8 ucCurrentBSSSesIdx; |
| 1207 | |
| 1208 | /*Pointer to the response CB of the pending request*/ |
| 1209 | void* pfncRspCB; |
| 1210 | |
| 1211 | /*Pointer to the user data to be sent along with the response CB*/ |
| 1212 | void* pRspCBUserData; |
| 1213 | |
| 1214 | /*The expected response from HAL*/ |
| 1215 | WDI_ResponseEnumType wdiExpectedResponse; |
| 1216 | |
| 1217 | /*Request status callback offered by UMAC - it is called if the current |
| 1218 | req has returned PENDING as status; it delivers the status of sending |
| 1219 | the message over the BUS */ |
| 1220 | WDI_ReqStatusCb wdiReqStatusCB; |
| 1221 | |
| 1222 | /*The user data passed in by UMAC, it will be sent back when the above |
| 1223 | function pointer will be called */ |
| 1224 | void* pReqStatusUserData; |
| 1225 | |
| 1226 | /*Indication callback given by UMAC to be called by the WLAN DAL when it |
| 1227 | wishes to send something back independent of a request*/ |
| 1228 | WDI_LowLevelIndCBType wdiLowLevelIndCB; |
| 1229 | |
| 1230 | /*The user data passed in by UMAC, it will be sent back when the indication |
| 1231 | function pointer will be called */ |
| 1232 | void* pIndUserData; |
| 1233 | |
| 1234 | /*Cached start response parameters*/ |
| 1235 | WDI_StartRspParamsType wdiCachedStartRspParams; |
| 1236 | |
| 1237 | /* Information related to NV Image*/ |
| 1238 | WDI_NvBlobInfoParams wdiNvBlobInfo; |
| 1239 | |
| 1240 | /*STA Table Information*/ |
| 1241 | /*Max number of stations allowed by device */ |
| 1242 | wpt_uint8 ucMaxStations; |
| 1243 | |
| 1244 | /*Max number of BSSes allowed by device */ |
| 1245 | wpt_uint8 ucMaxBssids; |
| 1246 | |
| 1247 | /* Global BSS and STA table - Memory is allocated when needed.*/ |
| 1248 | void* staTable; |
| 1249 | |
| 1250 | #ifndef HAL_SELF_STA_PER_BSS |
| 1251 | /*Index of the Self STA */ |
| 1252 | wpt_uint8 ucSelfStaId; |
| 1253 | |
| 1254 | /* Self STA DPU Index */ |
| 1255 | wpt_uint16 usSelfStaDpuId; |
| 1256 | |
| 1257 | /*Self STA Mac*/ |
| 1258 | wpt_macAddr macSelfSta; |
| 1259 | #endif |
| 1260 | |
| 1261 | /*Is frame translation enabled */ |
| 1262 | wpt_uint8 bFrameTransEnabled; |
| 1263 | |
| 1264 | /*AMSDU BD Fix Mask - used by the Fixing routine for Data Path */ |
| 1265 | WDI_RxBdType wdiRxAmsduBdFixMask; |
| 1266 | |
| 1267 | /*First AMSDU BD - used by the Fixing routine for Data Path */ |
| 1268 | WDI_RxBdType wdiRxAmsduFirstBdCache; |
| 1269 | |
| 1270 | /*This must be incremented on sta change */ |
| 1271 | wpt_uint32 uBdSigSerialNum; |
| 1272 | |
| 1273 | /* dpu routing flag |
| 1274 | ! TO DO: - must be set/reset when PS is enabled for UAPSD */ |
| 1275 | wpt_uint8 ucDpuRF; |
| 1276 | /* Event to wait for when WCTS is told to perform an action */ |
| 1277 | wpt_event wctsActionEvent; |
| 1278 | /* Event to wait for ACK from DXE after the power state is set */ |
| 1279 | wpt_event setPowerStateEvent; |
| 1280 | /* DXE physical addr to be passed down to RIVA. RIVA HAL will use it to program |
| 1281 | DXE when DXE wakes up from power save*/ |
| 1282 | unsigned int dxePhyAddr; |
| 1283 | |
Mihir Shete | a430605 | 2014-03-25 00:02:54 +0530 | [diff] [blame] | 1284 | wpt_boolean dxeRingsEmpty; |
| 1285 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1286 | /*NV download request parameters */ |
| 1287 | WDI_NvDownloadReqParamsType wdiCachedNvDownloadReq; |
| 1288 | |
| 1289 | /* Driver Type */ |
| 1290 | tDriverType driverMode; |
| 1291 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1292 | /* Statically allocated FTM Response Buffer */ |
| 1293 | wpt_uint8 ucFTMCommandRspBuffer[WDI_FTM_MAX_RECEIVE_BUFFER]; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1294 | |
| 1295 | /*Driver in BMPS state*/ |
| 1296 | wpt_boolean bInBmps; |
| 1297 | |
| 1298 | /*version of the PNO implementation in RIVA*/ |
| 1299 | wpt_uint8 wdiPNOVersion; |
Madan Mohan Koyyalamudi | 0bfd000 | 2012-10-24 14:39:37 -0700 | [diff] [blame] | 1300 | |
| 1301 | /*SSR timer*/ |
| 1302 | wpt_timer ssrTimer; |
Pratik Bhalgat | d440459 | 2012-11-22 17:49:14 +0530 | [diff] [blame] | 1303 | |
| 1304 | /*Version of the WLAN HAL API received on start resp*/ |
| 1305 | WDI_WlanVersionType wlanVersion; |
| 1306 | |
Gopichand Nakkala | a5e3ede | 2012-12-21 15:28:36 -0800 | [diff] [blame] | 1307 | /*timestamp when we start response timer*/ |
| 1308 | wpt_uint32 uTimeStampRspTmrStart; |
| 1309 | |
| 1310 | /*timestamp when we get response timer event*/ |
| 1311 | wpt_uint32 uTimeStampRspTmrExp; |
Gopichand Nakkala | 7fbde85 | 2013-05-07 03:05:56 -0700 | [diff] [blame] | 1312 | |
| 1313 | /* enable/disable SSR on WDI timeout */ |
| 1314 | wpt_boolean bEnableSSR; |
Arif Hussain | 6c8947a | 2013-11-27 13:57:14 -0800 | [diff] [blame] | 1315 | |
| 1316 | /* timestamp derived from msm arch counter. */ |
| 1317 | /*timestamp when we start response timer*/ |
| 1318 | wpt_uint64 uArchTimeStampRspTmrStart; |
| 1319 | |
| 1320 | /*timestamp when we get response timer event*/ |
| 1321 | wpt_uint64 uArchTimeStampRspTmrExp; |
Katya Nigam | f02ad01 | 2014-05-05 16:12:49 +0530 | [diff] [blame] | 1322 | |
| 1323 | /* reason for WDI_DetectedDeviceError */ |
| 1324 | void * DeviceErrorReason; |
Girish Gowli | 55caa85 | 2015-01-19 16:09:49 +0530 | [diff] [blame] | 1325 | |
Girish Gowli | 55caa85 | 2015-01-19 16:09:49 +0530 | [diff] [blame] | 1326 | /* Roam delay statistic enabled in ini*/ |
| 1327 | wpt_uint8 roamDelayStatsEnabled; |
Agrawal Ashish | 0552be0 | 2016-03-02 18:03:43 +0530 | [diff] [blame] | 1328 | /* enable/disable sendMgmtPktViaWQ5 params in ini */ |
| 1329 | wpt_boolean sendMgmtPktViaWQ5; |
| 1330 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1331 | }WDI_ControlBlockType; |
| 1332 | |
| 1333 | |
| 1334 | |
| 1335 | |
| 1336 | /*--------------------------------------------------------------------------- |
| 1337 | |
| 1338 | DESCRIPTION |
| 1339 | WLAN DAL Request Processing function definition. |
| 1340 | |
| 1341 | PARAMETERS |
| 1342 | |
| 1343 | IN |
| 1344 | pWDICtx: pointer to the WLAN DAL context |
| 1345 | pEventData: pointer to the event information structure |
| 1346 | |
| 1347 | |
| 1348 | RETURN VALUE |
| 1349 | The result code associated with performing the operation |
| 1350 | |
| 1351 | ---------------------------------------------------------------------------*/ |
| 1352 | typedef WDI_Status (*WDI_ReqProcFuncType)( WDI_ControlBlockType* pWDICtx, |
| 1353 | WDI_EventInfoType* pEventData); |
| 1354 | |
| 1355 | |
| 1356 | /*--------------------------------------------------------------------------- |
| 1357 | |
| 1358 | DESCRIPTION |
| 1359 | WLAN DAL Response Processing function definition. |
| 1360 | |
| 1361 | PARAMETERS |
| 1362 | |
| 1363 | IN |
| 1364 | pWDICtx: pointer to the WLAN DAL context |
| 1365 | pEventData: pointer to the event information structure |
| 1366 | |
| 1367 | |
| 1368 | RETURN VALUE |
| 1369 | The result code associated with performing the operation |
| 1370 | |
| 1371 | ---------------------------------------------------------------------------*/ |
| 1372 | typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx, |
| 1373 | WDI_EventInfoType* pEventData); |
| 1374 | |
| 1375 | |
| 1376 | |
| 1377 | |
| 1378 | /*========================================================================== |
| 1379 | MAIN DAL FSM Definitions and Declarations |
| 1380 | ==========================================================================*/ |
| 1381 | |
| 1382 | /*--------------------------------------------------------------------------- |
| 1383 | DAL Control Path Main FSM |
| 1384 | ---------------------------------------------------------------------------*/ |
| 1385 | #define WDI_STATE_TRANSITION(_pctx, _st) (_pctx->uGlobalState = _st) |
| 1386 | |
| 1387 | |
| 1388 | |
| 1389 | /*--------------------------------------------------------------------------- |
| 1390 | DAL Main Event type |
| 1391 | ---------------------------------------------------------------------------*/ |
| 1392 | typedef enum |
| 1393 | { |
| 1394 | /* Start request received from UMAC */ |
| 1395 | WDI_START_EVENT = 0, |
| 1396 | |
| 1397 | /* Stop request received from UMAC */ |
| 1398 | WDI_STOP_EVENT = 1, |
| 1399 | |
| 1400 | /* HAL request received from UMAC*/ |
| 1401 | WDI_REQUEST_EVENT = 2, |
| 1402 | |
| 1403 | /* HAL Response received from device */ |
| 1404 | WDI_RESPONSE_EVENT = 3, |
| 1405 | |
| 1406 | /* Close request received from UMAC */ |
| 1407 | WDI_CLOSE_EVENT = 4, |
| 1408 | |
| 1409 | /* Shutdown request received from UMAC */ |
| 1410 | WDI_SHUTDOWN_EVENT = 5, |
| 1411 | |
| 1412 | WDI_MAX_EVENT |
| 1413 | |
| 1414 | }WDI_MainEventType; |
| 1415 | |
| 1416 | /*--------------------------------------------------------------------------- |
| 1417 | |
| 1418 | DESCRIPTION |
| 1419 | Main DAL state machine function definition. |
| 1420 | |
| 1421 | PARAMETERS |
| 1422 | |
| 1423 | IN |
| 1424 | pWDICtx: pointer to the WLAN DAL context |
| 1425 | pEventData: pointer to the event information structure |
| 1426 | |
| 1427 | |
| 1428 | RETURN VALUE |
| 1429 | The result code associated with performing the operation |
| 1430 | |
| 1431 | ---------------------------------------------------------------------------*/ |
| 1432 | typedef WDI_Status (*WDI_MainFuncType)( WDI_ControlBlockType* pWDICtx, |
| 1433 | WDI_EventInfoType* pEventData); |
| 1434 | |
| 1435 | /*--------------------------------------------------------------------------- |
| 1436 | MAIN DAL FSM Entry type |
| 1437 | ---------------------------------------------------------------------------*/ |
| 1438 | typedef struct |
| 1439 | { |
| 1440 | WDI_MainFuncType pfnMainTbl[WDI_MAX_EVENT]; |
| 1441 | } WDI_MainFsmEntryType; |
| 1442 | |
| 1443 | /*Macro to check for valid session id*/ |
| 1444 | #define WDI_VALID_SESSION_IDX(_idx) ( _idx < WDI_MAX_BSS_SESSIONS ) |
| 1445 | |
| 1446 | /*========================================================================== |
| 1447 | |
| 1448 | DAL INTERNAL FUNCTION DECLARATION |
| 1449 | |
| 1450 | ==========================================================================*/ |
| 1451 | |
| 1452 | /** |
| 1453 | @brief Helper routine for retrieving the PAL Context from WDI - |
| 1454 | can be used by CTS, DTS, DXE and othe DAL internals |
| 1455 | |
| 1456 | @param None |
| 1457 | |
| 1458 | @see |
| 1459 | @return pointer to the context |
| 1460 | */ |
Jeff Johnson | 43971f5 | 2012-07-17 12:26:56 -0700 | [diff] [blame] | 1461 | void* WDI_GET_PAL_CTX( void ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1462 | |
| 1463 | /*--------------------------------------------------------------------------- |
| 1464 | MAIN DAL FSM Function Declarations |
| 1465 | ---------------------------------------------------------------------------*/ |
| 1466 | /** |
| 1467 | @brief WDI_PostMainEvent - Posts an event to the Main FSM |
| 1468 | |
| 1469 | |
| 1470 | @param pWDICtx: pointer to the WLAN DAL context |
| 1471 | wdiEV: event posted to the main DAL FSM |
| 1472 | pEventData: pointer to the event information |
| 1473 | structure |
| 1474 | |
| 1475 | @see |
| 1476 | @return Result of the function call |
| 1477 | */ |
| 1478 | WDI_Status |
| 1479 | WDI_PostMainEvent |
| 1480 | ( |
| 1481 | WDI_ControlBlockType* pWDICtx, |
| 1482 | WDI_MainEventType wdiEV, |
| 1483 | WDI_EventInfoType* pEventData |
| 1484 | |
| 1485 | ); |
| 1486 | |
| 1487 | /*-------------------------------------------------------------------------- |
| 1488 | INIT State Functions |
| 1489 | --------------------------------------------------------------------------*/ |
| 1490 | /** |
| 1491 | @brief Main FSM Start function for all states except BUSY |
| 1492 | |
| 1493 | |
| 1494 | @param pWDICtx: pointer to the WLAN DAL context |
| 1495 | pEventData: pointer to the event information structure |
| 1496 | |
| 1497 | @see |
| 1498 | @return Result of the function call |
| 1499 | */ |
| 1500 | WDI_Status |
| 1501 | WDI_MainStart |
| 1502 | ( |
| 1503 | WDI_ControlBlockType* pWDICtx, |
| 1504 | WDI_EventInfoType* pEventData |
| 1505 | ); |
| 1506 | |
| 1507 | /** |
| 1508 | @brief Main FSM Response function for state INIT |
| 1509 | |
| 1510 | |
| 1511 | @param pWDICtx: pointer to the WLAN DAL context |
| 1512 | pEventData: pointer to the event information structure |
| 1513 | |
| 1514 | @see |
| 1515 | @return Result of the function call |
| 1516 | */ |
| 1517 | WDI_Status |
| 1518 | WDI_MainRspInit |
| 1519 | ( |
| 1520 | WDI_ControlBlockType* pWDICtx, |
| 1521 | WDI_EventInfoType* pEventData |
| 1522 | ); |
| 1523 | |
| 1524 | /** |
| 1525 | @brief Main FSM Close function for all states except BUSY |
| 1526 | |
| 1527 | |
| 1528 | @param pWDICtx: pointer to the WLAN DAL context |
| 1529 | pEventData: pointer to the event information structure |
| 1530 | |
| 1531 | |
| 1532 | @see |
| 1533 | @return Result of the function call |
| 1534 | */ |
| 1535 | WDI_Status |
| 1536 | WDI_MainClose |
| 1537 | ( |
| 1538 | WDI_ControlBlockType* pWDICtx, |
| 1539 | WDI_EventInfoType* pEventData |
| 1540 | ); |
| 1541 | |
| 1542 | /*-------------------------------------------------------------------------- |
| 1543 | STARTED State Functions |
| 1544 | --------------------------------------------------------------------------*/ |
| 1545 | /** |
| 1546 | @brief Main FSM Start function for state STARTED |
| 1547 | |
| 1548 | |
| 1549 | @param pWDICtx: pointer to the WLAN DAL context |
| 1550 | pEventData: pointer to the event information structure |
| 1551 | |
| 1552 | @see |
| 1553 | @return Result of the function call |
| 1554 | */ |
| 1555 | WDI_Status |
| 1556 | WDI_MainStartStarted |
| 1557 | ( |
| 1558 | WDI_ControlBlockType* pWDICtx, |
| 1559 | WDI_EventInfoType* pEventData |
| 1560 | ); |
| 1561 | |
| 1562 | /** |
| 1563 | @brief Main FSM Stop function for state STARTED |
| 1564 | |
| 1565 | |
| 1566 | @param pWDICtx: pointer to the WLAN DAL context |
| 1567 | pEventData: pointer to the event information structure |
| 1568 | uEventDataSize: size of the data sent in event |
| 1569 | pCBfnc: cb function for event response |
| 1570 | pUserData: user data |
| 1571 | |
| 1572 | @see |
| 1573 | @return Result of the function call |
| 1574 | */ |
| 1575 | WDI_Status |
| 1576 | WDI_MainStopStarted |
| 1577 | ( |
| 1578 | WDI_ControlBlockType* pWDICtx, |
| 1579 | WDI_EventInfoType* pEventData |
| 1580 | ); |
| 1581 | |
| 1582 | /** |
| 1583 | @brief Main FSM Request function for state started |
| 1584 | |
| 1585 | |
| 1586 | @param pWDICtx: pointer to the WLAN DAL context |
| 1587 | pEventData: pointer to the event information structure |
| 1588 | |
| 1589 | |
| 1590 | @see |
| 1591 | @return Result of the function call |
| 1592 | */ |
| 1593 | WDI_Status |
| 1594 | WDI_MainReqStarted |
| 1595 | ( |
| 1596 | WDI_ControlBlockType* pWDICtx, |
| 1597 | WDI_EventInfoType* pEventData |
| 1598 | ); |
| 1599 | |
| 1600 | /** |
| 1601 | @brief Main FSM Response function for all states except INIT |
| 1602 | |
| 1603 | |
| 1604 | @param pWDICtx: pointer to the WLAN DAL context |
| 1605 | pEventData: pointer to the event information structure |
| 1606 | |
| 1607 | @see |
| 1608 | @return Result of the function call |
| 1609 | */ |
| 1610 | WDI_Status |
| 1611 | WDI_MainRsp |
| 1612 | ( |
| 1613 | WDI_ControlBlockType* pWDICtx, |
| 1614 | WDI_EventInfoType* pEventData |
| 1615 | ); |
| 1616 | |
| 1617 | /*-------------------------------------------------------------------------- |
| 1618 | STOPPED State Functions |
| 1619 | --------------------------------------------------------------------------*/ |
| 1620 | /** |
| 1621 | @brief Main FSM Stop function for state STOPPED |
| 1622 | |
| 1623 | |
| 1624 | @param pWDICtx: pointer to the WLAN DAL context |
| 1625 | pEventData: pointer to the event information structure |
| 1626 | |
| 1627 | @see |
| 1628 | @return Result of the function call |
| 1629 | */ |
| 1630 | WDI_Status |
| 1631 | WDI_MainStopStopped |
| 1632 | ( |
| 1633 | WDI_ControlBlockType* pWDICtx, |
| 1634 | WDI_EventInfoType* pEventData |
| 1635 | ); |
| 1636 | |
| 1637 | /*-------------------------------------------------------------------------- |
| 1638 | BUSY State Functions |
| 1639 | --------------------------------------------------------------------------*/ |
| 1640 | /** |
| 1641 | @brief Main FSM Start function for state BUSY |
| 1642 | |
| 1643 | |
| 1644 | @param pWDICtx: pointer to the WLAN DAL context |
| 1645 | pEventData: pointer to the event information structure |
| 1646 | |
| 1647 | @see |
| 1648 | @return Result of the function call |
| 1649 | */ |
| 1650 | WDI_Status |
| 1651 | WDI_MainStartBusy |
| 1652 | ( |
| 1653 | WDI_ControlBlockType* pWDICtx, |
| 1654 | WDI_EventInfoType* pEventData |
| 1655 | ); |
| 1656 | |
| 1657 | /** |
| 1658 | @brief Main FSM Stop function for state BUSY |
| 1659 | |
| 1660 | |
| 1661 | @param pWDICtx: pointer to the WLAN DAL context |
| 1662 | pEventData: pointer to the event information structure |
| 1663 | |
| 1664 | @see |
| 1665 | @return Result of the function call |
| 1666 | */ |
| 1667 | WDI_Status |
| 1668 | WDI_MainStopBusy |
| 1669 | ( |
| 1670 | WDI_ControlBlockType* pWDICtx, |
| 1671 | WDI_EventInfoType* pEventData |
| 1672 | ); |
| 1673 | |
| 1674 | /** |
| 1675 | @brief Main FSM Request function for state BUSY |
| 1676 | |
| 1677 | |
| 1678 | @param pWDICtx: pointer to the WLAN DAL context |
| 1679 | pEventData: pointer to the event information structure |
| 1680 | |
| 1681 | @see |
| 1682 | @return Result of the function call |
| 1683 | */ |
| 1684 | WDI_Status |
| 1685 | WDI_MainReqBusy |
| 1686 | ( |
| 1687 | WDI_ControlBlockType* pWDICtx, |
| 1688 | WDI_EventInfoType* pEventData |
| 1689 | ); |
| 1690 | |
| 1691 | /** |
| 1692 | @brief Main FSM Close function for state BUSY |
| 1693 | |
| 1694 | |
| 1695 | @param pWDICtx: pointer to the WLAN DAL context |
| 1696 | pEventData: pointer to the event information structure |
| 1697 | |
| 1698 | @see |
| 1699 | @return Result of the function call |
| 1700 | */ |
| 1701 | WDI_Status |
| 1702 | WDI_MainCloseBusy |
| 1703 | ( |
| 1704 | WDI_ControlBlockType* pWDICtx, |
| 1705 | WDI_EventInfoType* pEventData |
| 1706 | ); |
| 1707 | |
| 1708 | /** |
| 1709 | @brief Main FSM Shutdown function for INIT & STARTED states |
| 1710 | |
| 1711 | |
| 1712 | @param pWDICtx: pointer to the WLAN DAL context |
| 1713 | pEventData: pointer to the event information structure |
| 1714 | |
| 1715 | @see |
| 1716 | @return Result of the function call |
| 1717 | */ |
| 1718 | WDI_Status |
| 1719 | WDI_MainShutdown |
| 1720 | ( |
| 1721 | WDI_ControlBlockType* pWDICtx, |
| 1722 | WDI_EventInfoType* pEventData |
| 1723 | ); |
| 1724 | |
| 1725 | /** |
| 1726 | @brief Main FSM Shutdown function for BUSY state |
| 1727 | |
| 1728 | |
| 1729 | @param pWDICtx: pointer to the WLAN DAL context |
| 1730 | pEventData: pointer to the event information structure |
| 1731 | |
| 1732 | @see |
| 1733 | @return Result of the function call |
| 1734 | */ |
| 1735 | WDI_Status |
| 1736 | WDI_MainShutdownBusy |
| 1737 | ( |
| 1738 | WDI_ControlBlockType* pWDICtx, |
| 1739 | WDI_EventInfoType* pEventData |
| 1740 | ); |
| 1741 | |
| 1742 | /*======================================================================== |
| 1743 | Main DAL Control Path Request Processing API |
| 1744 | ========================================================================*/ |
| 1745 | |
| 1746 | /** |
| 1747 | @brief Process Start Request function (called when Main FSM |
| 1748 | allows it) |
| 1749 | |
| 1750 | @param pWDICtx: pointer to the WLAN DAL context |
| 1751 | pEventData: pointer to the event information structure |
| 1752 | |
| 1753 | @see |
| 1754 | @return Result of the function call |
| 1755 | */ |
| 1756 | WDI_Status |
| 1757 | WDI_ProcessStartReq |
| 1758 | ( |
| 1759 | WDI_ControlBlockType* pWDICtx, |
| 1760 | WDI_EventInfoType* pEventData |
| 1761 | ); |
| 1762 | |
| 1763 | |
| 1764 | /** |
| 1765 | @brief Process Stop Request function (called when Main FSM |
| 1766 | allows it) |
| 1767 | |
| 1768 | @param pWDICtx: pointer to the WLAN DAL context |
| 1769 | pEventData: pointer to the event information structure |
| 1770 | |
| 1771 | @see |
| 1772 | @return Result of the function call |
| 1773 | */ |
| 1774 | WDI_Status |
| 1775 | WDI_ProcessStopReq |
| 1776 | ( |
| 1777 | WDI_ControlBlockType* pWDICtx, |
| 1778 | WDI_EventInfoType* pEventData |
| 1779 | ); |
| 1780 | |
| 1781 | |
| 1782 | /** |
| 1783 | @brief Process Close Request function (called when Main FSM |
| 1784 | allows it) |
| 1785 | |
| 1786 | @param pWDICtx: pointer to the WLAN DAL context |
| 1787 | pEventData: pointer to the event information structure |
| 1788 | |
| 1789 | @see |
| 1790 | @return Result of the function call |
| 1791 | */ |
| 1792 | WDI_Status |
| 1793 | WDI_ProcessCloseReq |
| 1794 | ( |
| 1795 | WDI_ControlBlockType* pWDICtx, |
| 1796 | WDI_EventInfoType* pEventData |
| 1797 | ); |
| 1798 | |
| 1799 | /** |
| 1800 | @brief Process Shutdown Request function (called when Main FSM |
| 1801 | allows it) |
| 1802 | |
| 1803 | @param pWDICtx: pointer to the WLAN DAL context |
| 1804 | pEventData: pointer to the event information structure |
| 1805 | |
| 1806 | @see |
| 1807 | @return Result of the function call |
| 1808 | */ |
| 1809 | WDI_Status |
| 1810 | WDI_ProcessShutdownReq |
| 1811 | ( |
| 1812 | WDI_ControlBlockType* pWDICtx, |
| 1813 | WDI_EventInfoType* pEventData |
| 1814 | ); |
| 1815 | |
| 1816 | |
| 1817 | /** |
| 1818 | @brief Process Init Scan Request function (called when Main FSM |
| 1819 | allows it) |
| 1820 | |
| 1821 | @param pWDICtx: pointer to the WLAN DAL context |
| 1822 | pEventData: pointer to the event information structure |
| 1823 | |
| 1824 | @see |
| 1825 | @return Result of the function call |
| 1826 | */ |
| 1827 | WDI_Status |
| 1828 | WDI_ProcessInitScanReq |
| 1829 | ( |
| 1830 | WDI_ControlBlockType* pWDICtx, |
| 1831 | WDI_EventInfoType* pEventData |
| 1832 | ); |
| 1833 | |
| 1834 | |
| 1835 | /** |
| 1836 | @brief Process Start Scan Request function (called when Main |
| 1837 | FSM allows it) |
| 1838 | |
| 1839 | @param pWDICtx: pointer to the WLAN DAL context |
| 1840 | pEventData: pointer to the event information structure |
| 1841 | |
| 1842 | @see |
| 1843 | @return Result of the function call |
| 1844 | */ |
| 1845 | WDI_Status |
| 1846 | WDI_ProcessStartScanReq |
| 1847 | ( |
| 1848 | WDI_ControlBlockType* pWDICtx, |
| 1849 | WDI_EventInfoType* pEventData |
| 1850 | ); |
| 1851 | |
| 1852 | |
| 1853 | /** |
| 1854 | @brief Process End Scan Request function (called when Main FSM |
| 1855 | allows it) |
| 1856 | |
| 1857 | @param pWDICtx: pointer to the WLAN DAL context |
| 1858 | pEventData: pointer to the event information structure |
| 1859 | |
| 1860 | @see |
| 1861 | @return Result of the function call |
| 1862 | */ |
| 1863 | WDI_Status |
| 1864 | WDI_ProcessEndScanReq |
| 1865 | ( |
| 1866 | WDI_ControlBlockType* pWDICtx, |
| 1867 | WDI_EventInfoType* pEventData |
| 1868 | ); |
| 1869 | |
| 1870 | |
| 1871 | /** |
| 1872 | @brief Process Finish Scan Request function (called when Main |
| 1873 | FSM allows it) |
| 1874 | |
| 1875 | @param pWDICtx: pointer to the WLAN DAL context |
| 1876 | pEventData: pointer to the event information structure |
| 1877 | |
| 1878 | @see |
| 1879 | @return Result of the function call |
| 1880 | */ |
| 1881 | WDI_Status |
| 1882 | WDI_ProcessFinishScanReq |
| 1883 | ( |
| 1884 | WDI_ControlBlockType* pWDICtx, |
| 1885 | WDI_EventInfoType* pEventData |
| 1886 | ); |
| 1887 | |
| 1888 | |
| 1889 | /** |
| 1890 | @brief Process Join Request function (called when Main FSM |
| 1891 | allows it) |
| 1892 | |
| 1893 | @param pWDICtx: pointer to the WLAN DAL context |
| 1894 | pEventData: pointer to the event information structure |
| 1895 | |
| 1896 | @see |
| 1897 | @return Result of the function call |
| 1898 | */ |
| 1899 | WDI_Status |
| 1900 | WDI_ProcessJoinReq |
| 1901 | ( |
| 1902 | WDI_ControlBlockType* pWDICtx, |
| 1903 | WDI_EventInfoType* pEventData |
| 1904 | ); |
| 1905 | |
| 1906 | |
| 1907 | /** |
| 1908 | @brief Process Config BSS Request function (called when Main |
| 1909 | FSM allows it) |
| 1910 | |
| 1911 | @param pWDICtx: pointer to the WLAN DAL context |
| 1912 | pEventData: pointer to the event information structure |
| 1913 | |
| 1914 | @see |
| 1915 | @return Result of the function call |
| 1916 | */ |
| 1917 | WDI_Status |
| 1918 | WDI_ProcessConfigBSSReq |
| 1919 | ( |
| 1920 | WDI_ControlBlockType* pWDICtx, |
| 1921 | WDI_EventInfoType* pEventData |
| 1922 | ); |
| 1923 | |
| 1924 | |
| 1925 | /** |
| 1926 | @brief Process Del BSS Request function (called when Main FSM |
| 1927 | allows it) |
| 1928 | |
| 1929 | @param pWDICtx: pointer to the WLAN DAL context |
| 1930 | pEventData: pointer to the event information structure |
| 1931 | |
| 1932 | @see |
| 1933 | @return Result of the function call |
| 1934 | */ |
| 1935 | WDI_Status |
| 1936 | WDI_ProcessDelBSSReq |
| 1937 | ( |
| 1938 | WDI_ControlBlockType* pWDICtx, |
| 1939 | WDI_EventInfoType* pEventData |
| 1940 | ); |
| 1941 | |
| 1942 | /** |
| 1943 | @brief Process Post Assoc Request function (called when Main |
| 1944 | FSM allows it) |
| 1945 | |
| 1946 | @param pWDICtx: pointer to the WLAN DAL context |
| 1947 | pEventData: pointer to the event information structure |
| 1948 | |
| 1949 | @see |
| 1950 | @return Result of the function call |
| 1951 | */ |
| 1952 | WDI_Status |
| 1953 | WDI_ProcessPostAssocReq |
| 1954 | ( |
| 1955 | WDI_ControlBlockType* pWDICtx, |
| 1956 | WDI_EventInfoType* pEventData |
| 1957 | ); |
| 1958 | |
| 1959 | /** |
| 1960 | @brief Process Del STA Request function (called when Main FSM |
| 1961 | allows it) |
| 1962 | |
| 1963 | @param pWDICtx: pointer to the WLAN DAL context |
| 1964 | pEventData: pointer to the event information structure |
| 1965 | |
| 1966 | @see |
| 1967 | @return Result of the function call |
| 1968 | */ |
| 1969 | WDI_Status |
| 1970 | WDI_ProcessDelSTAReq |
| 1971 | ( |
| 1972 | WDI_ControlBlockType* pWDICtx, |
| 1973 | WDI_EventInfoType* pEventData |
| 1974 | ); |
| 1975 | |
| 1976 | /** |
| 1977 | @brief Process Set BSS Key Request function (called when Main FSM |
| 1978 | allows it) |
| 1979 | |
| 1980 | @param pWDICtx: pointer to the WLAN DAL context |
| 1981 | pEventData: pointer to the event information structure |
| 1982 | |
| 1983 | @see |
| 1984 | @return Result of the function call |
| 1985 | */ |
| 1986 | WDI_Status |
| 1987 | WDI_ProcessSetBssKeyReq |
| 1988 | ( |
| 1989 | WDI_ControlBlockType* pWDICtx, |
| 1990 | WDI_EventInfoType* pEventData |
| 1991 | ); |
| 1992 | |
| 1993 | /** |
| 1994 | @brief Process Remove BSS Key Request function (called when Main |
| 1995 | FSM allows it) |
| 1996 | |
| 1997 | @param pWDICtx: pointer to the WLAN DAL context |
| 1998 | pEventData: pointer to the event information structure |
| 1999 | |
| 2000 | @see |
| 2001 | @return Result of the function call |
| 2002 | */ |
| 2003 | WDI_Status |
| 2004 | WDI_ProcessRemoveBssKeyReq |
| 2005 | ( |
| 2006 | WDI_ControlBlockType* pWDICtx, |
| 2007 | WDI_EventInfoType* pEventData |
| 2008 | ); |
| 2009 | |
| 2010 | /** |
| 2011 | @brief Process Set STA KeyRequest function (called when Main FSM |
| 2012 | allows it) |
| 2013 | |
| 2014 | @param pWDICtx: pointer to the WLAN DAL context |
| 2015 | pEventData: pointer to the event information structure |
| 2016 | |
| 2017 | @see |
| 2018 | @return Result of the function call |
| 2019 | */ |
| 2020 | WDI_Status |
| 2021 | WDI_ProcessSetStaKeyReq |
| 2022 | ( |
| 2023 | WDI_ControlBlockType* pWDICtx, |
| 2024 | WDI_EventInfoType* pEventData |
| 2025 | ); |
| 2026 | |
| 2027 | /** |
| 2028 | @brief Process Remove STA Key Request function (called when |
| 2029 | Main FSM allows it) |
| 2030 | |
| 2031 | @param pWDICtx: pointer to the WLAN DAL context |
| 2032 | pEventData: pointer to the event information structure |
| 2033 | |
| 2034 | @see |
| 2035 | @return Result of the function call |
| 2036 | */ |
| 2037 | WDI_Status |
| 2038 | WDI_ProcessRemoveStaKeyReq |
| 2039 | ( |
| 2040 | WDI_ControlBlockType* pWDICtx, |
| 2041 | WDI_EventInfoType* pEventData |
| 2042 | ); |
| 2043 | |
| 2044 | /** |
| 2045 | @brief Process Set STA KeyRequest function (called when Main FSM |
| 2046 | allows it) |
| 2047 | |
| 2048 | @param pWDICtx: pointer to the WLAN DAL context |
| 2049 | pEventData: pointer to the event information structure |
| 2050 | |
| 2051 | @see |
| 2052 | @return Result of the function call |
| 2053 | */ |
| 2054 | WDI_Status |
| 2055 | WDI_ProcessSetStaBcastKeyReq |
| 2056 | ( |
| 2057 | WDI_ControlBlockType* pWDICtx, |
| 2058 | WDI_EventInfoType* pEventData |
| 2059 | ); |
| 2060 | |
| 2061 | /** |
| 2062 | @brief Process Remove STA Key Request function (called when |
| 2063 | Main FSM allows it) |
| 2064 | |
| 2065 | @param pWDICtx: pointer to the WLAN DAL context |
| 2066 | pEventData: pointer to the event information structure |
| 2067 | |
| 2068 | @see |
| 2069 | @return Result of the function call |
| 2070 | */ |
| 2071 | WDI_Status |
| 2072 | WDI_ProcessRemoveStaBcastKeyReq |
| 2073 | ( |
| 2074 | WDI_ControlBlockType* pWDICtx, |
| 2075 | WDI_EventInfoType* pEventData |
| 2076 | ); |
| 2077 | |
| 2078 | /** |
| 2079 | @brief Process Add TSpec Request function (called when Main FSM |
| 2080 | allows it) |
| 2081 | |
| 2082 | @param pWDICtx: pointer to the WLAN DAL context |
| 2083 | pEventData: pointer to the event information structure |
| 2084 | |
| 2085 | @see |
| 2086 | @return Result of the function call |
| 2087 | */ |
| 2088 | WDI_Status |
| 2089 | WDI_ProcessAddTSpecReq |
| 2090 | ( |
| 2091 | WDI_ControlBlockType* pWDICtx, |
| 2092 | WDI_EventInfoType* pEventData |
| 2093 | ); |
| 2094 | |
| 2095 | |
| 2096 | /** |
| 2097 | @brief Process Del TSpec Request function (called when Main FSM |
| 2098 | allows it) |
| 2099 | |
| 2100 | @param pWDICtx: pointer to the WLAN DAL context |
| 2101 | pEventData: pointer to the event information structure |
| 2102 | |
| 2103 | @see |
| 2104 | @return Result of the function call |
| 2105 | */ |
| 2106 | WDI_Status |
| 2107 | WDI_ProcessDelTSpecReq |
| 2108 | ( |
| 2109 | WDI_ControlBlockType* pWDICtx, |
| 2110 | WDI_EventInfoType* pEventData |
| 2111 | ); |
| 2112 | |
| 2113 | /** |
| 2114 | @brief Process Update EDCA Params Request function (called when |
| 2115 | Main FSM allows it) |
| 2116 | |
| 2117 | @param pWDICtx: pointer to the WLAN DAL context |
| 2118 | pEventData: pointer to the event information structure |
| 2119 | |
| 2120 | @see |
| 2121 | @return Result of the function call |
| 2122 | */ |
| 2123 | WDI_Status |
| 2124 | WDI_ProcessUpdateEDCAParamsReq |
| 2125 | ( |
| 2126 | WDI_ControlBlockType* pWDICtx, |
| 2127 | WDI_EventInfoType* pEventData |
| 2128 | ); |
| 2129 | |
| 2130 | /** |
| 2131 | @brief Process Add BA Request function (called when Main FSM |
| 2132 | allows it) |
| 2133 | |
| 2134 | @param pWDICtx: pointer to the WLAN DAL context |
| 2135 | pEventData: pointer to the event information structure |
| 2136 | |
| 2137 | @see |
| 2138 | @return Result of the function call |
| 2139 | */ |
| 2140 | WDI_Status |
| 2141 | WDI_ProcessAddBASessionReq |
| 2142 | ( |
| 2143 | WDI_ControlBlockType* pWDICtx, |
| 2144 | WDI_EventInfoType* pEventData |
| 2145 | ); |
| 2146 | |
| 2147 | /** |
| 2148 | @brief Process Del BA Request function (called when Main FSM |
| 2149 | allows it) |
| 2150 | |
| 2151 | @param pWDICtx: pointer to the WLAN DAL context |
| 2152 | pEventData: pointer to the event information structure |
| 2153 | |
| 2154 | @see |
| 2155 | @return Result of the function call |
| 2156 | */ |
| 2157 | WDI_Status |
| 2158 | WDI_ProcessDelBAReq |
| 2159 | ( |
| 2160 | WDI_ControlBlockType* pWDICtx, |
| 2161 | WDI_EventInfoType* pEventData |
| 2162 | ); |
| 2163 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 2164 | #ifdef FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2165 | /** |
| 2166 | @brief Process TSM Stats Request function (called when Main FSM |
| 2167 | allows it) |
| 2168 | |
| 2169 | @param pWDICtx: pointer to the WLAN DAL context |
| 2170 | pEventData: pointer to the event information structure |
| 2171 | |
| 2172 | @see |
| 2173 | @return Result of the function call |
| 2174 | */ |
| 2175 | WDI_Status |
| 2176 | WDI_ProcessTSMStatsReq |
| 2177 | ( |
| 2178 | WDI_ControlBlockType* pWDICtx, |
| 2179 | WDI_EventInfoType* pEventData |
| 2180 | ); |
| 2181 | #endif |
| 2182 | |
| 2183 | /** |
| 2184 | @brief Process Channel Switch Request function (called when |
| 2185 | Main FSM allows it) |
| 2186 | |
| 2187 | @param pWDICtx: pointer to the WLAN DAL context |
| 2188 | pEventData: pointer to the event information structure |
| 2189 | |
| 2190 | @see |
| 2191 | @return Result of the function call |
| 2192 | */ |
| 2193 | WDI_Status |
| 2194 | WDI_ProcessChannelSwitchReq |
| 2195 | ( |
| 2196 | WDI_ControlBlockType* pWDICtx, |
| 2197 | WDI_EventInfoType* pEventData |
| 2198 | ); |
| 2199 | |
| 2200 | /** |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 2201 | @brief Process Channel Switch Request function (called when |
| 2202 | Main FSM allows it) |
| 2203 | |
| 2204 | @param pWDICtx: pointer to the WLAN DAL context |
| 2205 | pEventData: pointer to the event information structure |
| 2206 | |
| 2207 | @see |
| 2208 | @return Result of the function call |
| 2209 | */ |
| 2210 | |
| 2211 | WDI_Status WDI_ProcessChannelSwitchReq_V1 |
| 2212 | ( |
| 2213 | WDI_ControlBlockType* pWDICtx, |
| 2214 | WDI_EventInfoType* pEventData |
| 2215 | ); |
| 2216 | |
| 2217 | |
| 2218 | /** |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2219 | @brief Process Config STA Request function (called when Main FSM |
| 2220 | allows it) |
| 2221 | |
| 2222 | @param pWDICtx: pointer to the WLAN DAL context |
| 2223 | pEventData: pointer to the event information structure |
| 2224 | |
| 2225 | @see |
| 2226 | @return Result of the function call |
| 2227 | */ |
| 2228 | WDI_Status |
| 2229 | WDI_ProcessConfigStaReq |
| 2230 | ( |
| 2231 | WDI_ControlBlockType* pWDICtx, |
| 2232 | WDI_EventInfoType* pEventData |
| 2233 | ); |
| 2234 | |
| 2235 | |
| 2236 | /** |
| 2237 | @brief Process Set Link State Request function (called when |
| 2238 | Main FSM allows it) |
| 2239 | |
| 2240 | @param pWDICtx: pointer to the WLAN DAL context |
| 2241 | pEventData: pointer to the event information structure |
| 2242 | |
| 2243 | @see |
| 2244 | @return Result of the function call |
| 2245 | */ |
| 2246 | WDI_Status |
| 2247 | WDI_ProcessSetLinkStateReq |
| 2248 | ( |
| 2249 | WDI_ControlBlockType* pWDICtx, |
| 2250 | WDI_EventInfoType* pEventData |
| 2251 | ); |
| 2252 | |
| 2253 | |
| 2254 | /** |
| 2255 | @brief Process Get Stats Request function (called when Main FSM |
| 2256 | allows it) |
| 2257 | |
| 2258 | @param pWDICtx: pointer to the WLAN DAL context |
| 2259 | pEventData: pointer to the event information structure |
| 2260 | |
| 2261 | @see |
| 2262 | @return Result of the function call |
| 2263 | */ |
| 2264 | WDI_Status |
| 2265 | WDI_ProcessGetStatsReq |
| 2266 | ( |
| 2267 | WDI_ControlBlockType* pWDICtx, |
| 2268 | WDI_EventInfoType* pEventData |
| 2269 | ); |
| 2270 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 2271 | #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] | 2272 | /** |
| 2273 | @brief Process Get Roam rssi Request function (called when Main FSM |
| 2274 | allows it) |
| 2275 | |
| 2276 | @param pWDICtx: pointer to the WLAN DAL context |
| 2277 | pEventData: pointer to the event information structure |
| 2278 | |
| 2279 | @see |
| 2280 | @return Result of the function call |
| 2281 | */ |
| 2282 | WDI_Status |
| 2283 | WDI_ProcessGetRoamRssiReq |
| 2284 | ( |
| 2285 | WDI_ControlBlockType* pWDICtx, |
| 2286 | WDI_EventInfoType* pEventData |
| 2287 | ); |
| 2288 | |
| 2289 | |
| 2290 | /** |
| 2291 | @brief Process Get Roam Rssi Rsp function (called when a response is |
| 2292 | being received over the bus from HAL) |
| 2293 | |
| 2294 | @param pWDICtx: pointer to the WLAN DAL context |
| 2295 | pEventData: pointer to the event information structure |
| 2296 | |
| 2297 | @see |
| 2298 | @return Result of the function call |
| 2299 | */ |
| 2300 | WDI_Status |
| 2301 | WDI_ProcessGetRoamRssiRsp |
| 2302 | ( |
| 2303 | WDI_ControlBlockType* pWDICtx, |
| 2304 | WDI_EventInfoType* pEventData |
| 2305 | ); |
| 2306 | |
| 2307 | #endif |
| 2308 | |
| 2309 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2310 | /** |
| 2311 | @brief Process Update Cfg Request function (called when Main |
| 2312 | FSM allows it) |
| 2313 | |
| 2314 | @param pWDICtx: pointer to the WLAN DAL context |
| 2315 | pEventData: pointer to the event information structure |
| 2316 | |
| 2317 | @see |
| 2318 | @return Result of the function call |
| 2319 | */ |
| 2320 | WDI_Status |
| 2321 | WDI_ProcessUpdateCfgReq |
| 2322 | ( |
| 2323 | WDI_ControlBlockType* pWDICtx, |
| 2324 | WDI_EventInfoType* pEventData |
| 2325 | ); |
| 2326 | |
| 2327 | /** |
| 2328 | @brief Process Add BA Request function (called when Main FSM |
| 2329 | allows it) |
| 2330 | |
| 2331 | @param pWDICtx: pointer to the WLAN DAL context |
| 2332 | pEventData: pointer to the event information structure |
| 2333 | |
| 2334 | @see |
| 2335 | @return Result of the function call |
| 2336 | */ |
| 2337 | WDI_Status |
| 2338 | WDI_ProcessAddBAReq |
| 2339 | ( |
| 2340 | WDI_ControlBlockType* pWDICtx, |
| 2341 | WDI_EventInfoType* pEventData |
| 2342 | ); |
| 2343 | |
| 2344 | /** |
| 2345 | @brief Process Trigger BA Request function (called when Main FSM |
| 2346 | allows it) |
| 2347 | |
| 2348 | @param pWDICtx: pointer to the WLAN DAL context |
| 2349 | pEventData: pointer to the event information structure |
| 2350 | |
| 2351 | @see |
| 2352 | @return Result of the function call |
| 2353 | */ |
| 2354 | WDI_Status |
| 2355 | WDI_ProcessTriggerBAReq |
| 2356 | ( |
| 2357 | WDI_ControlBlockType* pWDICtx, |
| 2358 | WDI_EventInfoType* pEventData |
| 2359 | ); |
| 2360 | |
| 2361 | /** |
| 2362 | @brief Process Update Beacon Params Request function (called when Main |
| 2363 | FSM allows it) |
| 2364 | |
| 2365 | @param pWDICtx: pointer to the WLAN DAL context |
| 2366 | pEventData: pointer to the event information structure |
| 2367 | |
| 2368 | @see |
| 2369 | @return Result of the function call |
| 2370 | */ |
| 2371 | WDI_Status |
| 2372 | WDI_ProcessUpdateBeaconParamsReq |
| 2373 | ( |
| 2374 | WDI_ControlBlockType* pWDICtx, |
| 2375 | WDI_EventInfoType* pEventData |
| 2376 | ); |
| 2377 | |
| 2378 | /** |
| 2379 | @brief Process Update Beacon template Request function (called when Main |
| 2380 | FSM allows it) |
| 2381 | |
| 2382 | @param pWDICtx: pointer to the WLAN DAL context |
| 2383 | pEventData: pointer to the event information structure |
| 2384 | |
| 2385 | @see |
| 2386 | @return Result of the function call |
| 2387 | */ |
| 2388 | WDI_Status |
| 2389 | WDI_ProcessSendBeaconParamsReq |
| 2390 | ( |
| 2391 | WDI_ControlBlockType* pWDICtx, |
| 2392 | WDI_EventInfoType* pEventData |
| 2393 | ); |
| 2394 | |
| 2395 | /** |
| 2396 | @brief Process Update Beacon Params Request function (called when Main FSM |
| 2397 | allows it) |
| 2398 | |
| 2399 | @param pWDICtx: pointer to the WLAN DAL context |
| 2400 | pEventData: pointer to the event information structure |
| 2401 | |
| 2402 | @see |
| 2403 | @return Result of the function call |
| 2404 | */ |
| 2405 | WDI_Status |
| 2406 | WDI_ProcessUpdateProbeRspTemplateReq |
| 2407 | ( |
| 2408 | WDI_ControlBlockType* pWDICtx, |
| 2409 | WDI_EventInfoType* pEventData |
| 2410 | ); |
| 2411 | /** |
| 2412 | @brief Process NV blob download function (called when Main FSM |
| 2413 | allows it) |
| 2414 | |
| 2415 | @param pWDICtx: pointer to the WLAN DAL context |
| 2416 | pEventData: pointer to the event information structure |
| 2417 | |
| 2418 | @see |
| 2419 | @return Result of the function call |
| 2420 | */ |
| 2421 | WDI_Status |
| 2422 | WDI_ProcessNvDownloadReq |
| 2423 | ( |
| 2424 | WDI_ControlBlockType* pWDICtx, |
| 2425 | WDI_EventInfoType* pEventData |
| 2426 | ); |
| 2427 | |
| 2428 | /** |
| 2429 | @brief Process Set Max Tx Power Request function (called when Main |
| 2430 | FSM allows it) |
| 2431 | |
| 2432 | @param pWDICtx: pointer to the WLAN DAL context |
| 2433 | pEventData: pointer to the event information structure |
| 2434 | |
| 2435 | @see |
| 2436 | @return Result of the function call |
| 2437 | */ |
| 2438 | WDI_Status WDI_ProcessSetMaxTxPowerReq |
| 2439 | ( |
| 2440 | WDI_ControlBlockType* pWDICtx, |
| 2441 | WDI_EventInfoType* pEventData |
| 2442 | ); |
| 2443 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2444 | /** |
Arif Hussain | a5ebce0 | 2013-08-09 15:09:58 -0700 | [diff] [blame] | 2445 | @brief Process Set Max Tx Power Per Band Request function (called when Main |
| 2446 | FSM allows it) |
| 2447 | |
| 2448 | @param pWDICtx: pointer to the WLAN DAL context |
| 2449 | pEventData: pointer to the event information structure |
| 2450 | |
| 2451 | @see |
| 2452 | @return Result of the function call |
| 2453 | */ |
| 2454 | WDI_Status WDI_ProcessSetMaxTxPowerPerBandReq |
| 2455 | ( |
| 2456 | WDI_ControlBlockType* pWDICtx, |
| 2457 | WDI_EventInfoType* pEventData |
| 2458 | ); |
| 2459 | |
| 2460 | /** |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 2461 | @brief Process Set Tx Power Request function (called when Main |
| 2462 | FSM allows it) |
| 2463 | |
| 2464 | @param pWDICtx: pointer to the WLAN DAL context |
| 2465 | pEventData: pointer to the event information structure |
| 2466 | |
| 2467 | @see |
| 2468 | @return Result of the function call |
| 2469 | */ |
| 2470 | WDI_Status WDI_ProcessSetTxPowerReq |
| 2471 | ( |
| 2472 | WDI_ControlBlockType* pWDICtx, |
| 2473 | WDI_EventInfoType* pEventData |
| 2474 | ); |
| 2475 | |
| 2476 | /** |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2477 | @brief Process P2P Notice Of Absence Request function (called when Main FSM |
| 2478 | allows it) |
| 2479 | |
| 2480 | @param pWDICtx: pointer to the WLAN DAL context |
| 2481 | pEventData: pointer to the event information structure |
| 2482 | |
| 2483 | @see |
| 2484 | @return Result of the function call |
| 2485 | */ |
| 2486 | WDI_Status |
| 2487 | WDI_ProcessP2PGONOAReq |
| 2488 | ( |
| 2489 | WDI_ControlBlockType* pWDICtx, |
| 2490 | WDI_EventInfoType* pEventData |
| 2491 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2492 | |
| 2493 | /** |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 2494 | @brief Process TDLS Link Establish Request function (called when Main FSM |
| 2495 | allows it) |
| 2496 | |
| 2497 | @param pWDICtx: pointer to the WLAN DAL context |
| 2498 | pEventData: pointer to the event information structure |
| 2499 | |
| 2500 | @see |
| 2501 | @return Result of the function call |
| 2502 | */ |
| 2503 | WDI_Status |
| 2504 | WDI_ProcessTdlsLinkEstablishReq |
| 2505 | ( |
| 2506 | WDI_ControlBlockType* pWDICtx, |
| 2507 | WDI_EventInfoType* pEventData |
| 2508 | ); |
| 2509 | |
| 2510 | /** |
Atul Mittal | c0f739f | 2014-07-31 13:47:47 +0530 | [diff] [blame] | 2511 | @brief Process tdls channel switch request |
| 2512 | |
| 2513 | @param pWDICtx: pointer to the WLAN DAL context |
| 2514 | pEventData: pointer to the event information structure |
| 2515 | |
| 2516 | @see |
| 2517 | @return Result of the function call |
| 2518 | */ |
| 2519 | WDI_Status |
| 2520 | WDI_ProcessTdlsChanSwitchReq |
| 2521 | ( |
| 2522 | WDI_ControlBlockType* pWDICtx, |
| 2523 | WDI_EventInfoType* pEventData |
| 2524 | ); |
| 2525 | /** |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2526 | @brief Process Enter IMPS Request function (called when |
| 2527 | Main FSM allows it) |
| 2528 | |
| 2529 | @param pWDICtx: pointer to the WLAN DAL context |
| 2530 | pEventData: pointer to the event information structure |
| 2531 | |
| 2532 | @see |
| 2533 | @return Result of the function call |
| 2534 | */ |
| 2535 | WDI_Status |
| 2536 | WDI_ProcessEnterImpsReq |
| 2537 | ( |
| 2538 | WDI_ControlBlockType* pWDICtx, |
| 2539 | WDI_EventInfoType* pEventData |
| 2540 | ); |
| 2541 | |
| 2542 | /** |
| 2543 | @brief Process Exit IMPS Request function (called when |
| 2544 | Main FSM allows it) |
| 2545 | |
| 2546 | @param pWDICtx: pointer to the WLAN DAL context |
| 2547 | pEventData: pointer to the event information structure |
| 2548 | |
| 2549 | @see |
| 2550 | @return Result of the function call |
| 2551 | */ |
| 2552 | WDI_Status |
| 2553 | WDI_ProcessExitImpsReq |
| 2554 | ( |
| 2555 | WDI_ControlBlockType* pWDICtx, |
| 2556 | WDI_EventInfoType* pEventData |
| 2557 | ); |
| 2558 | |
| 2559 | /** |
| 2560 | @brief Process Enter BMPS Request function (called when Main |
| 2561 | FSM allows it) |
| 2562 | |
| 2563 | @param pWDICtx: pointer to the WLAN DAL context |
| 2564 | pEventData: pointer to the event information structure |
| 2565 | |
| 2566 | @see |
| 2567 | @return Result of the function call |
| 2568 | */ |
| 2569 | WDI_Status |
| 2570 | WDI_ProcessEnterBmpsReq |
| 2571 | ( |
| 2572 | WDI_ControlBlockType* pWDICtx, |
| 2573 | WDI_EventInfoType* pEventData |
| 2574 | ); |
| 2575 | |
| 2576 | /** |
| 2577 | @brief Process Exit BMPS Request function (called when Main FSM |
| 2578 | allows it) |
| 2579 | |
| 2580 | @param pWDICtx: pointer to the WLAN DAL context |
| 2581 | pEventData: pointer to the event information structure |
| 2582 | |
| 2583 | @see |
| 2584 | @return Result of the function call |
| 2585 | */ |
| 2586 | WDI_Status |
| 2587 | WDI_ProcessExitBmpsReq |
| 2588 | ( |
| 2589 | WDI_ControlBlockType* pWDICtx, |
| 2590 | WDI_EventInfoType* pEventData |
| 2591 | ); |
| 2592 | |
| 2593 | /** |
| 2594 | @brief Process Enter UAPSD Request function (called when Main |
| 2595 | FSM allows it) |
| 2596 | |
| 2597 | @param pWDICtx: pointer to the WLAN DAL context |
| 2598 | pEventData: pointer to the event information structure |
| 2599 | |
| 2600 | @see |
| 2601 | @return Result of the function call |
| 2602 | */ |
| 2603 | WDI_Status |
| 2604 | WDI_ProcessEnterUapsdReq |
| 2605 | ( |
| 2606 | WDI_ControlBlockType* pWDICtx, |
| 2607 | WDI_EventInfoType* pEventData |
| 2608 | ); |
| 2609 | |
| 2610 | /** |
| 2611 | @brief Process Exit UAPSD Request function (called when |
| 2612 | Main FSM allows it) |
| 2613 | |
| 2614 | @param pWDICtx: pointer to the WLAN DAL context |
| 2615 | pEventData: pointer to the event information structure |
| 2616 | |
| 2617 | @see |
| 2618 | @return Result of the function call |
| 2619 | */ |
| 2620 | WDI_Status |
| 2621 | WDI_ProcessExitUapsdReq |
| 2622 | ( |
| 2623 | WDI_ControlBlockType* pWDICtx, |
| 2624 | WDI_EventInfoType* pEventData |
| 2625 | ); |
| 2626 | |
| 2627 | /** |
| 2628 | @brief Process Set UAPSD params Request function (called when |
| 2629 | Main FSM allows it) |
| 2630 | |
| 2631 | @param pWDICtx: pointer to the WLAN DAL context |
| 2632 | pEventData: pointer to the event information structure |
| 2633 | |
| 2634 | @see |
| 2635 | @return Result of the function call |
| 2636 | */ |
| 2637 | WDI_Status |
| 2638 | WDI_ProcessSetUapsdAcParamsReq |
| 2639 | ( |
| 2640 | WDI_ControlBlockType* pWDICtx, |
| 2641 | WDI_EventInfoType* pEventData |
| 2642 | ); |
| 2643 | |
| 2644 | /** |
| 2645 | @brief Process update UAPSD params Request function (called |
| 2646 | when Main FSM allows it) |
| 2647 | |
| 2648 | @param pWDICtx: pointer to the WLAN DAL context |
| 2649 | pEventData: pointer to the event information structure |
| 2650 | |
| 2651 | @see |
| 2652 | @return Result of the function call |
| 2653 | */ |
| 2654 | WDI_Status |
| 2655 | WDI_ProcessUpdateUapsdParamsReq |
| 2656 | ( |
| 2657 | WDI_ControlBlockType* pWDICtx, |
| 2658 | WDI_EventInfoType* pEventData |
| 2659 | ); |
| 2660 | |
| 2661 | /** |
| 2662 | @brief Process Configure RXP filter Request function (called |
| 2663 | when Main FSM allows it) |
| 2664 | |
| 2665 | @param pWDICtx: pointer to the WLAN DAL context |
| 2666 | pEventData: pointer to the event information structure |
| 2667 | |
| 2668 | @see |
| 2669 | @return Result of the function call |
| 2670 | */ |
| 2671 | WDI_Status |
| 2672 | WDI_ProcessConfigureRxpFilterReq |
| 2673 | ( |
| 2674 | WDI_ControlBlockType* pWDICtx, |
| 2675 | WDI_EventInfoType* pEventData |
| 2676 | ); |
| 2677 | |
| 2678 | /** |
| 2679 | @brief Process set beacon filter Request function (called |
| 2680 | when Main FSM allows it) |
| 2681 | |
| 2682 | @param pWDICtx: pointer to the WLAN DAL context |
| 2683 | pEventData: pointer to the event information structure |
| 2684 | |
| 2685 | @see |
| 2686 | @return Result of the function call |
| 2687 | */ |
| 2688 | WDI_Status |
| 2689 | WDI_ProcessSetBeaconFilterReq |
| 2690 | ( |
| 2691 | WDI_ControlBlockType* pWDICtx, |
| 2692 | WDI_EventInfoType* pEventData |
| 2693 | ); |
| 2694 | |
| 2695 | /** |
| 2696 | @brief Process remove beacon filter Request function (called |
| 2697 | when Main FSM allows it) |
| 2698 | |
| 2699 | @param pWDICtx: pointer to the WLAN DAL context |
| 2700 | pEventData: pointer to the event information structure |
| 2701 | |
| 2702 | @see |
| 2703 | @return Result of the function call |
| 2704 | */ |
| 2705 | WDI_Status |
| 2706 | WDI_ProcessRemBeaconFilterReq |
| 2707 | ( |
| 2708 | WDI_ControlBlockType* pWDICtx, |
| 2709 | WDI_EventInfoType* pEventData |
| 2710 | ); |
| 2711 | |
| 2712 | /** |
| 2713 | @brief Process set RSSI thresholds Request function (called |
| 2714 | when Main FSM allows it) |
| 2715 | |
| 2716 | @param pWDICtx: pointer to the WLAN DAL context |
| 2717 | pEventData: pointer to the event information structure |
| 2718 | |
| 2719 | @see |
| 2720 | @return Result of the function call |
| 2721 | */ |
| 2722 | WDI_Status |
| 2723 | WDI_ProcessSetRSSIThresholdsReq |
| 2724 | ( |
| 2725 | WDI_ControlBlockType* pWDICtx, |
| 2726 | WDI_EventInfoType* pEventData |
| 2727 | ); |
| 2728 | |
| 2729 | /** |
| 2730 | @brief Process set RSSI thresholds Request function (called |
| 2731 | when Main FSM allows it) |
| 2732 | |
| 2733 | @param pWDICtx: pointer to the WLAN DAL context |
| 2734 | pEventData: pointer to the event information structure |
| 2735 | |
| 2736 | @see |
| 2737 | @return Result of the function call |
| 2738 | */ |
| 2739 | WDI_Status |
| 2740 | WDI_ProcessHostOffloadReq |
| 2741 | ( |
| 2742 | WDI_ControlBlockType* pWDICtx, |
| 2743 | WDI_EventInfoType* pEventData |
| 2744 | ); |
| 2745 | |
| 2746 | /** |
| 2747 | @brief Process Keep Alive Request function (called |
| 2748 | when Main FSM allows it) |
| 2749 | |
| 2750 | @param pWDICtx: pointer to the WLAN DAL context |
| 2751 | pEventData: pointer to the event information structure |
| 2752 | |
| 2753 | @see |
| 2754 | @return Result of the function call |
| 2755 | */ |
| 2756 | WDI_Status |
| 2757 | WDI_ProcessKeepAliveReq |
| 2758 | ( |
| 2759 | WDI_ControlBlockType* pWDICtx, |
| 2760 | WDI_EventInfoType* pEventData |
| 2761 | ); |
| 2762 | |
| 2763 | |
| 2764 | /** |
| 2765 | @brief Process Wowl add bc ptrn Request function (called |
| 2766 | when Main FSM allows it) |
| 2767 | |
| 2768 | @param pWDICtx: pointer to the WLAN DAL context |
| 2769 | pEventData: pointer to the event information structure |
| 2770 | |
| 2771 | @see |
| 2772 | @return Result of the function call |
| 2773 | */ |
| 2774 | WDI_Status |
| 2775 | WDI_ProcessWowlAddBcPtrnReq |
| 2776 | ( |
| 2777 | WDI_ControlBlockType* pWDICtx, |
| 2778 | WDI_EventInfoType* pEventData |
| 2779 | ); |
| 2780 | |
| 2781 | /** |
| 2782 | @brief Process Wowl delete bc ptrn Request function (called |
| 2783 | when Main FSM allows it) |
| 2784 | |
| 2785 | @param pWDICtx: pointer to the WLAN DAL context |
| 2786 | pEventData: pointer to the event information structure |
| 2787 | |
| 2788 | @see |
| 2789 | @return Result of the function call |
| 2790 | */ |
| 2791 | WDI_Status |
| 2792 | WDI_ProcessWowlDelBcPtrnReq |
| 2793 | ( |
| 2794 | WDI_ControlBlockType* pWDICtx, |
| 2795 | WDI_EventInfoType* pEventData |
| 2796 | ); |
| 2797 | |
| 2798 | /** |
| 2799 | @brief Process Wowl enter Request function (called |
| 2800 | when Main FSM allows it) |
| 2801 | |
| 2802 | @param pWDICtx: pointer to the WLAN DAL context |
| 2803 | pEventData: pointer to the event information structure |
| 2804 | |
| 2805 | @see |
| 2806 | @return Result of the function call |
| 2807 | */ |
| 2808 | WDI_Status |
| 2809 | WDI_ProcessWowlEnterReq |
| 2810 | ( |
| 2811 | WDI_ControlBlockType* pWDICtx, |
| 2812 | WDI_EventInfoType* pEventData |
| 2813 | ); |
| 2814 | |
| 2815 | /** |
| 2816 | @brief Process Wowl exit Request function (called when Main FSM |
| 2817 | allows it) |
| 2818 | |
| 2819 | @param pWDICtx: pointer to the WLAN DAL context |
| 2820 | pEventData: pointer to the event information structure |
| 2821 | |
| 2822 | @see |
| 2823 | @return Result of the function call |
| 2824 | */ |
| 2825 | WDI_Status |
| 2826 | WDI_ProcessWowlExitReq |
| 2827 | ( |
| 2828 | WDI_ControlBlockType* pWDICtx, |
| 2829 | WDI_EventInfoType* pEventData |
| 2830 | ); |
| 2831 | |
| 2832 | /** |
| 2833 | @brief Process Configure Apps Cpu Wakeup State Request function |
| 2834 | (called when Main FSM allows it) |
| 2835 | |
| 2836 | @param pWDICtx: pointer to the WLAN DAL context |
| 2837 | pEventData: pointer to the event information structure |
| 2838 | |
| 2839 | @see |
| 2840 | @return Result of the function call |
| 2841 | */ |
| 2842 | WDI_Status |
| 2843 | WDI_ProcessConfigureAppsCpuWakeupStateReq |
| 2844 | ( |
| 2845 | WDI_ControlBlockType* pWDICtx, |
| 2846 | WDI_EventInfoType* pEventData |
| 2847 | ); |
| 2848 | |
| 2849 | /** |
| 2850 | @brief Process Flush AC Request function (called when Main FSM |
| 2851 | allows it) |
| 2852 | |
| 2853 | @param pWDICtx: pointer to the WLAN DAL context |
| 2854 | pEventData: pointer to the event information structure |
| 2855 | |
| 2856 | @see |
| 2857 | @return Result of the function call |
| 2858 | */ |
| 2859 | WDI_Status |
| 2860 | WDI_ProcessFlushAcReq |
| 2861 | ( |
| 2862 | WDI_ControlBlockType* pWDICtx, |
| 2863 | WDI_EventInfoType* pEventData |
| 2864 | ); |
| 2865 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2866 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 2867 | /** |
| 2868 | @brief Process Start Oem Data Request function (called when Main |
| 2869 | FSM allows it) |
| 2870 | |
| 2871 | @param pWDICtx: pointer to the WLAN DAL context |
| 2872 | pEventData: pointer to the event information structure |
| 2873 | |
| 2874 | @see |
| 2875 | @return Result of the function call |
| 2876 | */ |
| 2877 | WDI_Status |
| 2878 | WDI_ProcessStartOemDataReq |
| 2879 | ( |
| 2880 | WDI_ControlBlockType* pWDICtx, |
| 2881 | WDI_EventInfoType* pEventData |
| 2882 | ); |
| 2883 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2884 | |
| 2885 | /** |
| 2886 | @brief Process Host Resume Request function (called when Main |
| 2887 | FSM allows it) |
| 2888 | |
| 2889 | @param pWDICtx: pointer to the WLAN DAL context |
| 2890 | pEventData: pointer to the event information structure |
| 2891 | |
| 2892 | @see |
| 2893 | @return Result of the function call |
| 2894 | */ |
| 2895 | WDI_Status |
| 2896 | WDI_ProcessHostResumeReq |
| 2897 | ( |
| 2898 | WDI_ControlBlockType* pWDICtx, |
| 2899 | WDI_EventInfoType* pEventData |
| 2900 | ); |
| 2901 | |
| 2902 | /** |
| 2903 | @brief Process BT AMP event Request function (called when Main |
| 2904 | FSM allows it) |
| 2905 | |
| 2906 | @param pWDICtx: pointer to the WLAN DAL context |
| 2907 | pEventData: pointer to the event information structure |
| 2908 | |
| 2909 | @see |
| 2910 | @return Result of the function call |
| 2911 | */ |
| 2912 | WDI_Status |
| 2913 | WDI_ProcessBtAmpEventReq |
| 2914 | ( |
| 2915 | WDI_ControlBlockType* pWDICtx, |
| 2916 | WDI_EventInfoType* pEventData |
| 2917 | ); |
| 2918 | |
| 2919 | /** |
| 2920 | @brief Process Add STA self Request function (called when Main FSM |
| 2921 | allows it) |
| 2922 | |
| 2923 | @param pWDICtx: pointer to the WLAN DAL context |
| 2924 | pEventData: pointer to the event information structure |
| 2925 | |
| 2926 | @see |
| 2927 | @return Result of the function call |
| 2928 | */ |
| 2929 | WDI_Status |
| 2930 | WDI_ProcessAddSTASelfReq |
| 2931 | ( |
| 2932 | WDI_ControlBlockType* pWDICtx, |
| 2933 | WDI_EventInfoType* pEventData |
| 2934 | ); |
| 2935 | |
| 2936 | /** |
| 2937 | @brief Process Del Sta Self Request function (called when Main |
| 2938 | FSM allows it) |
| 2939 | |
| 2940 | @param pWDICtx: pointer to the WLAN DAL context |
| 2941 | pEventData: pointer to the event information structure |
| 2942 | |
| 2943 | @see |
| 2944 | @return Result of the function call |
| 2945 | */ |
| 2946 | WDI_Status |
| 2947 | WDI_ProcessDelSTASelfReq |
| 2948 | ( |
| 2949 | WDI_ControlBlockType* pWDICtx, |
| 2950 | WDI_EventInfoType* pEventData |
| 2951 | ); |
| 2952 | |
| 2953 | /** |
| 2954 | @brief Process set Tx Per Tracking configurations Request function (called |
| 2955 | when Main FSM allows it) |
| 2956 | |
| 2957 | @param pWDICtx: pointer to the WLAN DAL context |
| 2958 | pEventData: pointer to the event information structure |
| 2959 | |
| 2960 | @see |
| 2961 | @return Result of the function call |
| 2962 | */ |
| 2963 | WDI_Status |
| 2964 | WDI_ProcessSetTxPerTrackingReq |
| 2965 | ( |
| 2966 | WDI_ControlBlockType* pWDICtx, |
| 2967 | WDI_EventInfoType* pEventData |
| 2968 | ); |
| 2969 | |
| 2970 | /** |
| 2971 | @brief Process Set Power Params Request function |
| 2972 | |
| 2973 | @param pWDICtx: pointer to the WLAN DAL context |
| 2974 | pEventData: pointer to the event information structure |
| 2975 | |
| 2976 | @see |
| 2977 | @return Result of the function call |
| 2978 | */ |
| 2979 | WDI_Status |
| 2980 | WDI_ProcessSetPowerParamsReq |
| 2981 | ( |
| 2982 | WDI_ControlBlockType* pWDICtx, |
| 2983 | WDI_EventInfoType* pEventData |
| 2984 | ); |
| 2985 | |
| 2986 | /** |
| 2987 | @brief Process Set Thermal Mitigation level Changed request |
| 2988 | |
| 2989 | @param pWDICtx: pointer to the WLAN DAL context |
| 2990 | pEventData: pointer to the event information structure |
| 2991 | |
| 2992 | @see |
| 2993 | @return Result of the function call |
| 2994 | */ |
| 2995 | WDI_Status |
| 2996 | WDI_ProcessSetTmLevelReq |
| 2997 | ( |
| 2998 | WDI_ControlBlockType* pWDICtx, |
| 2999 | WDI_EventInfoType* pEventData |
| 3000 | ); |
| 3001 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 3002 | #ifdef FEATURE_WLAN_LPHB |
| 3003 | /** |
| 3004 | @brief WDI_ProcessLPHBConfReq - |
| 3005 | LPHB configuration request to FW |
| 3006 | |
| 3007 | @param pWDICtx : wdi context |
| 3008 | pEventData : indication data |
| 3009 | |
| 3010 | @see |
| 3011 | @return esult of the function call |
| 3012 | */ |
| 3013 | WDI_Status WDI_ProcessLPHBConfReq |
| 3014 | ( |
| 3015 | WDI_ControlBlockType* pWDICtx, |
| 3016 | WDI_EventInfoType* pEventData |
| 3017 | ); |
| 3018 | #endif /* FEATURE_WLAN_LPHB */ |
| 3019 | |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 3020 | /** |
| 3021 | @brief WDI_ProcessUpdateChannelParamsReq - |
| 3022 | Send update channel request to FW |
| 3023 | |
| 3024 | @param pWDICtx : wdi context |
| 3025 | pEventData : indication data |
| 3026 | |
| 3027 | @see |
| 3028 | @return success or failure |
| 3029 | */ |
| 3030 | WDI_Status WDI_ProcessUpdateChannelParamsReq |
| 3031 | ( |
| 3032 | WDI_ControlBlockType* pWDICtx, |
| 3033 | WDI_EventInfoType* pEventData |
| 3034 | ); |
| 3035 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 3036 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 3037 | /** |
| 3038 | @brief WDI_ProcessSetBatchScanReq - |
| 3039 | Send set batch scan configuration request to FW |
| 3040 | |
| 3041 | @param pWDICtx : wdi context |
| 3042 | pEventData : indication data |
| 3043 | |
| 3044 | @see |
| 3045 | @return success or failure |
| 3046 | */ |
| 3047 | WDI_Status WDI_ProcessSetBatchScanReq |
| 3048 | ( |
| 3049 | WDI_ControlBlockType* pWDICtx, |
| 3050 | WDI_EventInfoType* pEventData |
| 3051 | ); |
| 3052 | |
| 3053 | /** |
| 3054 | @brief WDI_ProcessGetBatchScanReq - |
| 3055 | Send get batch scan request to FW |
| 3056 | |
| 3057 | @param pWDICtx : wdi context |
| 3058 | pEventData : indication data |
| 3059 | |
| 3060 | @see |
| 3061 | @return success or failure |
| 3062 | */ |
| 3063 | WDI_Status WDI_ProcessGetBatchScanReq |
| 3064 | ( |
| 3065 | WDI_ControlBlockType* pWDICtx, |
| 3066 | WDI_EventInfoType* pEventData |
| 3067 | ); |
| 3068 | #endif /* FEATURE_WLAN_BATCH_SCAN */ |
| 3069 | |
| 3070 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3071 | /*========================================================================= |
| 3072 | Indications |
| 3073 | =========================================================================*/ |
| 3074 | |
| 3075 | /** |
| 3076 | @brief Process Suspend Indications function (called when Main FSM allows it) |
| 3077 | |
| 3078 | @param pWDICtx: pointer to the WLAN DAL context |
| 3079 | pEventData: pointer to the event information structure |
| 3080 | |
| 3081 | @see |
| 3082 | @return Result of the function call |
| 3083 | */ |
| 3084 | WDI_Status |
| 3085 | WDI_ProcessHostSuspendInd |
| 3086 | ( |
| 3087 | WDI_ControlBlockType* pWDICtx, |
| 3088 | WDI_EventInfoType* pEventData |
| 3089 | ); |
| 3090 | |
Sundaresan Ramachandran | 76e48e8 | 2013-07-15 13:07:17 +0530 | [diff] [blame] | 3091 | /** |
| 3092 | @brief DHCP Start Event Indication |
| 3093 | |
| 3094 | @param pWDICtx: pointer to the WLAN DAL context |
| 3095 | pEventData: pointer to the event information structure |
| 3096 | |
| 3097 | @see |
| 3098 | @return Result of the function call |
| 3099 | */ |
| 3100 | WDI_Status |
| 3101 | WDI_ProcessDHCPStartInd |
| 3102 | ( |
| 3103 | WDI_ControlBlockType* pWDICtx, |
| 3104 | WDI_EventInfoType* pEventData |
| 3105 | ); |
| 3106 | |
| 3107 | /** |
| 3108 | @brief DHCP Stop Event Indication |
| 3109 | |
| 3110 | @param pWDICtx: pointer to the WLAN DAL context |
| 3111 | pEventData: pointer to the event information structure |
| 3112 | |
| 3113 | @see |
| 3114 | @return Result of the function call |
| 3115 | */ |
| 3116 | WDI_Status |
| 3117 | WDI_ProcessDHCPStopInd |
| 3118 | ( |
| 3119 | WDI_ControlBlockType* pWDICtx, |
| 3120 | WDI_EventInfoType* pEventData |
| 3121 | ); |
| 3122 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3123 | |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 3124 | /** |
| 3125 | @brief Process Traffic Stats Indications function (called when Main FSM allows it) |
| 3126 | |
| 3127 | @param pWDICtx: pointer to the WLAN DAL context |
| 3128 | pEventData: pointer to the event information structure |
| 3129 | |
| 3130 | @see |
| 3131 | @return Result of the function call |
| 3132 | */ |
| 3133 | WDI_Status |
| 3134 | WDI_ProcessTrafficStatsInd |
| 3135 | ( |
| 3136 | WDI_ControlBlockType* pWDICtx, |
| 3137 | WDI_EventInfoType* pEventData |
| 3138 | ); |
Chet Lanctot | 186b573 | 2013-03-18 10:26:30 -0700 | [diff] [blame] | 3139 | |
| 3140 | #ifdef WLAN_FEATURE_11W |
| 3141 | /** |
| 3142 | @brief Process Exclude Unencrypted Indications function (called |
| 3143 | when Main FSM allows it) |
| 3144 | |
| 3145 | @param pWDICtx: pointer to the WLAN DAL context |
| 3146 | pEventData: pointer to the event information structure |
| 3147 | |
| 3148 | @see |
| 3149 | @return Result of the function call |
| 3150 | */ |
| 3151 | WDI_Status |
| 3152 | WDI_ProcessExcludeUnencryptInd |
| 3153 | ( |
| 3154 | WDI_ControlBlockType* pWDICtx, |
| 3155 | WDI_EventInfoType* pEventData |
| 3156 | ); |
| 3157 | #endif |
| 3158 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 3159 | /** |
| 3160 | @brief Process Add Periodic Tx Pattern Indication function (called when |
| 3161 | Main FSM allows it) |
| 3162 | |
| 3163 | @param pWDICtx: pointer to the WLAN DAL context |
| 3164 | pEventData: pointer to the event information structure |
| 3165 | |
| 3166 | @see |
| 3167 | @return Result of the function call |
| 3168 | */ |
| 3169 | WDI_Status |
| 3170 | WDI_ProcessAddPeriodicTxPtrnInd |
| 3171 | ( |
| 3172 | WDI_ControlBlockType* pWDICtx, |
| 3173 | WDI_EventInfoType* pEventData |
| 3174 | ); |
| 3175 | |
| 3176 | /** |
| 3177 | @brief Process Delete Periodic Tx Pattern Indication function (called when |
| 3178 | Main FSM allows it) |
| 3179 | |
| 3180 | @param pWDICtx: pointer to the WLAN DAL context |
| 3181 | pEventData: pointer to the event information structure |
| 3182 | |
| 3183 | @see |
| 3184 | @return Result of the function call |
| 3185 | */ |
| 3186 | WDI_Status |
| 3187 | WDI_ProcessDelPeriodicTxPtrnInd |
| 3188 | ( |
| 3189 | WDI_ControlBlockType* pWDICtx, |
| 3190 | WDI_EventInfoType* pEventData |
| 3191 | ); |
| 3192 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 3193 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 3194 | /** |
| 3195 | @brief Process stop batch scan indications function |
| 3196 | It is called when Main FSM allows it |
| 3197 | |
| 3198 | @param pWDICtx: pointer to the WLAN DAL context |
| 3199 | pEventData: pointer to the event information structure |
| 3200 | |
| 3201 | @see |
| 3202 | @return Result of the function call |
| 3203 | */ |
| 3204 | WDI_Status |
| 3205 | WDI_ProcessStopBatchScanInd |
| 3206 | ( |
| 3207 | WDI_ControlBlockType* pWDICtx, |
| 3208 | WDI_EventInfoType* pEventData |
| 3209 | ); |
| 3210 | |
| 3211 | /** |
| 3212 | @brief This API is called to trigger batch scan results from FW |
| 3213 | It is called when Main FSM allows it |
| 3214 | |
| 3215 | @param pWDICtx: pointer to the WLAN DAL context |
| 3216 | pEventData: pointer to the event information structure |
| 3217 | |
| 3218 | @see |
| 3219 | @return Result of the function call |
| 3220 | */ |
| 3221 | WDI_Status |
| 3222 | WDI_ProcessTriggerBatchScanResultInd |
| 3223 | ( |
| 3224 | WDI_ControlBlockType* pWDICtx, |
| 3225 | WDI_EventInfoType* pEventData |
| 3226 | ); |
| 3227 | |
| 3228 | #endif |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 3229 | #ifdef WLAN_FEATURE_RMC |
| 3230 | /** |
| 3231 | @brief Process TX Fail monitor indication |
| 3232 | |
| 3233 | @param pWDICtx: pointer to the WLAN DAL context |
| 3234 | pEventData: pointer to the event information structure |
| 3235 | |
| 3236 | @see |
| 3237 | @return Result of the function call |
| 3238 | */ |
| 3239 | WDI_Status |
| 3240 | WDI_ProcessTXFailMonitor |
| 3241 | ( |
| 3242 | WDI_ControlBlockType* pWDICtx, |
| 3243 | WDI_EventInfoType* pEventData |
| 3244 | ); |
| 3245 | #endif /* WLAN_FEATURE_RMC */ |
Sandeep Puligilla | 8b8b74b | 2014-02-10 16:39:05 +0530 | [diff] [blame] | 3246 | /** |
| 3247 | @brief Process start OBSS scan request from Host |
| 3248 | |
| 3249 | @param pWDICtx: pointer to the WLAN DAL context |
| 3250 | pEventData: pointer to the event information structure |
| 3251 | |
| 3252 | @see |
| 3253 | @return Result of the function call |
| 3254 | */ |
| 3255 | WDI_Status |
| 3256 | WDI_ProcessHT40OBSSScanInd( |
| 3257 | WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); |
| 3258 | |
| 3259 | |
| 3260 | /** |
| 3261 | @brief Process stop OBSS scan request from Host |
| 3262 | |
| 3263 | @param pWDICtx: pointer to the WLAN DAL context |
| 3264 | pEventData: pointer to the event information structure |
| 3265 | |
| 3266 | @see |
| 3267 | @return Result of the function call |
| 3268 | */ |
| 3269 | WDI_Status |
| 3270 | WDI_ProcessHT40OBSSStopScanInd( |
| 3271 | WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData ); |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 3272 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3273 | /*======================================================================== |
| 3274 | Main DAL Control Path Response Processing API |
| 3275 | ========================================================================*/ |
| 3276 | |
| 3277 | |
| 3278 | /** |
| 3279 | @brief Process Start Response function (called when a response |
| 3280 | is being received over the bus from HAL) |
| 3281 | |
| 3282 | @param pWDICtx: pointer to the WLAN DAL context |
| 3283 | pEventData: pointer to the event information structure |
| 3284 | |
| 3285 | @see |
| 3286 | @return Result of the function call |
| 3287 | */ |
| 3288 | WDI_Status |
| 3289 | WDI_ProcessStartRsp |
| 3290 | ( |
| 3291 | WDI_ControlBlockType* pWDICtx, |
| 3292 | WDI_EventInfoType* pEventData |
| 3293 | ); |
| 3294 | |
| 3295 | |
| 3296 | /** |
| 3297 | @brief Process Stop Response function (called when a response |
| 3298 | is being received over the bus from HAL) |
| 3299 | |
| 3300 | @param pWDICtx: pointer to the WLAN DAL context |
| 3301 | pEventData: pointer to the event information structure |
| 3302 | |
| 3303 | @see |
| 3304 | @return Result of the function call |
| 3305 | */ |
| 3306 | WDI_Status |
| 3307 | WDI_ProcessStopRsp |
| 3308 | ( |
| 3309 | WDI_ControlBlockType* pWDICtx, |
| 3310 | WDI_EventInfoType* pEventData |
| 3311 | ); |
| 3312 | |
| 3313 | |
| 3314 | /** |
| 3315 | @brief Process Close Rsp function (called when a response |
| 3316 | is being received over the bus from HAL) |
| 3317 | |
| 3318 | @param pWDICtx: pointer to the WLAN DAL context |
| 3319 | pEventData: pointer to the event information structure |
| 3320 | |
| 3321 | @see |
| 3322 | @return Result of the function call |
| 3323 | */ |
| 3324 | WDI_Status |
| 3325 | WDI_ProcessCloseRsp |
| 3326 | ( |
| 3327 | WDI_ControlBlockType* pWDICtx, |
| 3328 | WDI_EventInfoType* pEventData |
| 3329 | ); |
| 3330 | |
| 3331 | /** |
| 3332 | @brief Process Shutdown Rsp function |
| 3333 | There is no shutdown response comming from HAL |
| 3334 | - function just kept for simmetry |
| 3335 | |
| 3336 | @param pWDICtx: pointer to the WLAN DAL context |
| 3337 | pEventData: pointer to the event information structure |
| 3338 | |
| 3339 | @see |
| 3340 | @return Result of the function call |
| 3341 | */ |
| 3342 | WDI_Status |
| 3343 | WDI_ProcessShutdownRsp |
| 3344 | ( |
| 3345 | WDI_ControlBlockType* pWDICtx, |
| 3346 | WDI_EventInfoType* pEventData |
| 3347 | ); |
| 3348 | |
| 3349 | /** |
| 3350 | @brief Process Init Scan Rsp function (called when a response |
| 3351 | is being received over the bus from HAL) |
| 3352 | |
| 3353 | @param pWDICtx: pointer to the WLAN DAL context |
| 3354 | pEventData: pointer to the event information structure |
| 3355 | |
| 3356 | @see |
| 3357 | @return Result of the function call |
| 3358 | */ |
| 3359 | WDI_Status |
| 3360 | WDI_ProcessInitScanRsp |
| 3361 | ( |
| 3362 | WDI_ControlBlockType* pWDICtx, |
| 3363 | WDI_EventInfoType* pEventData |
| 3364 | ); |
| 3365 | |
| 3366 | |
| 3367 | /** |
| 3368 | @brief Process Start Scan Rsp function (called when a response |
| 3369 | is being received over the bus from HAL) |
| 3370 | |
| 3371 | @param pWDICtx: pointer to the WLAN DAL context |
| 3372 | pEventData: pointer to the event information structure |
| 3373 | |
| 3374 | @see |
| 3375 | @return Result of the function call |
| 3376 | */ |
| 3377 | WDI_Status |
| 3378 | WDI_ProcessStartScanRsp |
| 3379 | ( |
| 3380 | WDI_ControlBlockType* pWDICtx, |
| 3381 | WDI_EventInfoType* pEventData |
| 3382 | ); |
| 3383 | |
| 3384 | |
| 3385 | /** |
| 3386 | @brief Process End Scan Response function (called when a |
| 3387 | response is being received over the bus from HAL) |
| 3388 | |
| 3389 | @param pWDICtx: pointer to the WLAN DAL context |
| 3390 | pEventData: pointer to the event information structure |
| 3391 | |
| 3392 | @see |
| 3393 | @return Result of the function call |
| 3394 | */ |
| 3395 | WDI_Status |
| 3396 | WDI_ProcessEndScanRsp |
| 3397 | ( |
| 3398 | WDI_ControlBlockType* pWDICtx, |
| 3399 | WDI_EventInfoType* pEventData |
| 3400 | ); |
| 3401 | |
| 3402 | |
| 3403 | /** |
| 3404 | @brief Process Finish Scan Response function (called when a |
| 3405 | response is being received over the bus from HAL) |
| 3406 | |
| 3407 | @param pWDICtx: pointer to the WLAN DAL context |
| 3408 | pEventData: pointer to the event information structure |
| 3409 | |
| 3410 | @see |
| 3411 | @return Result of the function call |
| 3412 | */ |
| 3413 | WDI_Status |
| 3414 | WDI_ProcessFinishScanRsp |
| 3415 | ( |
| 3416 | WDI_ControlBlockType* pWDICtx, |
| 3417 | WDI_EventInfoType* pEventData |
| 3418 | ); |
| 3419 | |
| 3420 | |
| 3421 | /** |
| 3422 | @brief Process Join Response function (called when a response |
| 3423 | is being received over the bus from HAL) |
| 3424 | |
| 3425 | @param pWDICtx: pointer to the WLAN DAL context |
| 3426 | pEventData: pointer to the event information structure |
| 3427 | |
| 3428 | @see |
| 3429 | @return Result of the function call |
| 3430 | */ |
| 3431 | WDI_Status |
| 3432 | WDI_ProcessJoinRsp |
| 3433 | ( |
| 3434 | WDI_ControlBlockType* pWDICtx, |
| 3435 | WDI_EventInfoType* pEventData |
| 3436 | ); |
| 3437 | |
| 3438 | |
| 3439 | /** |
| 3440 | @brief Process Config BSS Response function (called when a |
| 3441 | response is being received over the bus from HAL) |
| 3442 | |
| 3443 | @param pWDICtx: pointer to the WLAN DAL context |
| 3444 | pEventData: pointer to the event information structure |
| 3445 | |
| 3446 | @see |
| 3447 | @return Result of the function call |
| 3448 | */ |
| 3449 | WDI_Status |
| 3450 | WDI_ProcessConfigBSSRsp |
| 3451 | ( |
| 3452 | WDI_ControlBlockType* pWDICtx, |
| 3453 | WDI_EventInfoType* pEventData |
| 3454 | ); |
| 3455 | |
| 3456 | |
| 3457 | /** |
| 3458 | @brief Process Del BSS Response function (called when a response |
| 3459 | is being received over the bus from HAL) |
| 3460 | |
| 3461 | @param pWDICtx: pointer to the WLAN DAL context |
| 3462 | pEventData: pointer to the event information structure |
| 3463 | |
| 3464 | @see |
| 3465 | @return Result of the function call |
| 3466 | */ |
| 3467 | WDI_Status |
| 3468 | WDI_ProcessDelBSSRsp |
| 3469 | ( |
| 3470 | WDI_ControlBlockType* pWDICtx, |
| 3471 | WDI_EventInfoType* pEventData |
| 3472 | ); |
| 3473 | |
| 3474 | /** |
| 3475 | @brief Process Post Assoc Rsp function (called when a response |
| 3476 | is being received over the bus from HAL) |
| 3477 | |
| 3478 | @param pWDICtx: pointer to the WLAN DAL context |
| 3479 | pEventData: pointer to the event information structure |
| 3480 | |
| 3481 | @see |
| 3482 | @return Result of the function call |
| 3483 | */ |
| 3484 | WDI_Status |
| 3485 | WDI_ProcessPostAssocRsp |
| 3486 | ( |
| 3487 | WDI_ControlBlockType* pWDICtx, |
| 3488 | WDI_EventInfoType* pEventData |
| 3489 | ); |
| 3490 | |
| 3491 | /** |
| 3492 | @brief Process Del STA Key Rsp function (called when a response |
| 3493 | is being received over the bus from HAL) |
| 3494 | |
| 3495 | @param pWDICtx: pointer to the WLAN DAL context |
| 3496 | pEventData: pointer to the event information structure |
| 3497 | |
| 3498 | @see |
| 3499 | @return Result of the function call |
| 3500 | */ |
| 3501 | WDI_Status |
| 3502 | WDI_ProcessDelSTARsp |
| 3503 | ( |
| 3504 | WDI_ControlBlockType* pWDICtx, |
| 3505 | WDI_EventInfoType* pEventData |
| 3506 | ); |
| 3507 | |
| 3508 | /** |
| 3509 | @brief Process Set BSS Key Rsp function (called when a response |
| 3510 | is being received over the bus from HAL) |
| 3511 | |
| 3512 | @param pWDICtx: pointer to the WLAN DAL context |
| 3513 | pEventData: pointer to the event information structure |
| 3514 | |
| 3515 | @see |
| 3516 | @return Result of the function call |
| 3517 | */ |
| 3518 | WDI_Status |
| 3519 | WDI_ProcessSetBssKeyRsp |
| 3520 | ( |
| 3521 | WDI_ControlBlockType* pWDICtx, |
| 3522 | WDI_EventInfoType* pEventData |
| 3523 | ); |
| 3524 | |
| 3525 | /** |
| 3526 | @brief Process Remove BSS Key Rsp function (called when a response |
| 3527 | is being received over the bus from HAL) |
| 3528 | |
| 3529 | @param pWDICtx: pointer to the WLAN DAL context |
| 3530 | pEventData: pointer to the event information structure |
| 3531 | |
| 3532 | @see |
| 3533 | @return Result of the function call |
| 3534 | */ |
| 3535 | WDI_Status |
| 3536 | WDI_ProcessRemoveBssKeyRsp |
| 3537 | ( |
| 3538 | WDI_ControlBlockType* pWDICtx, |
| 3539 | WDI_EventInfoType* pEventData |
| 3540 | ); |
| 3541 | |
| 3542 | |
| 3543 | /** |
| 3544 | @brief Process Set STA Key Rsp function (called when a response |
| 3545 | is being received over the bus from HAL) |
| 3546 | |
| 3547 | @param pWDICtx: pointer to the WLAN DAL context |
| 3548 | pEventData: pointer to the event information structure |
| 3549 | |
| 3550 | @see |
| 3551 | @return Result of the function call |
| 3552 | */ |
| 3553 | WDI_Status |
| 3554 | WDI_ProcessSetStaKeyRsp |
| 3555 | ( |
| 3556 | WDI_ControlBlockType* pWDICtx, |
| 3557 | WDI_EventInfoType* pEventData |
| 3558 | ); |
| 3559 | |
| 3560 | /** |
| 3561 | @brief Process Remove STA Key Rsp function (called when a |
| 3562 | response is being received over the bus from HAL) |
| 3563 | |
| 3564 | @param pWDICtx: pointer to the WLAN DAL context |
| 3565 | pEventData: pointer to the event information structure |
| 3566 | |
| 3567 | @see |
| 3568 | @return Result of the function call |
| 3569 | */ |
| 3570 | WDI_Status |
| 3571 | WDI_ProcessRemoveStaKeyRsp |
| 3572 | ( |
| 3573 | WDI_ControlBlockType* pWDICtx, |
| 3574 | WDI_EventInfoType* pEventData |
| 3575 | ); |
| 3576 | |
| 3577 | |
| 3578 | /** |
| 3579 | @brief Process Set STA Bcast Key Rsp function (called when a |
| 3580 | response is being received over the bus from HAL) |
| 3581 | |
| 3582 | @param pWDICtx: pointer to the WLAN DAL context |
| 3583 | pEventData: pointer to the event information structure |
| 3584 | |
| 3585 | @see |
| 3586 | @return Result of the function call |
| 3587 | */ |
| 3588 | WDI_Status |
| 3589 | WDI_ProcessSetStaBcastKeyRsp |
| 3590 | ( |
| 3591 | WDI_ControlBlockType* pWDICtx, |
| 3592 | WDI_EventInfoType* pEventData |
| 3593 | ); |
| 3594 | |
| 3595 | /** |
| 3596 | @brief Process Remove STA Bcast Key Rsp function (called when a |
| 3597 | response is being received over the bus from HAL) |
| 3598 | |
| 3599 | @param pWDICtx: pointer to the WLAN DAL context |
| 3600 | pEventData: pointer to the event information structure |
| 3601 | |
| 3602 | @see |
| 3603 | @return Result of the function call |
| 3604 | */ |
| 3605 | WDI_Status |
| 3606 | WDI_ProcessRemoveStaBcastKeyRsp |
| 3607 | ( |
| 3608 | WDI_ControlBlockType* pWDICtx, |
| 3609 | WDI_EventInfoType* pEventData |
| 3610 | ); |
| 3611 | |
| 3612 | /** |
| 3613 | @brief Process Add TSpec Rsp function (called when a response |
| 3614 | is being received over the bus from HAL) |
| 3615 | |
| 3616 | @param pWDICtx: pointer to the WLAN DAL context |
| 3617 | pEventData: pointer to the event information structure |
| 3618 | |
| 3619 | @see |
| 3620 | @return Result of the function call |
| 3621 | */ |
| 3622 | WDI_Status |
| 3623 | WDI_ProcessAddTSpecRsp |
| 3624 | ( |
| 3625 | WDI_ControlBlockType* pWDICtx, |
| 3626 | WDI_EventInfoType* pEventData |
| 3627 | ); |
| 3628 | |
| 3629 | |
| 3630 | /** |
| 3631 | @brief Process Del TSpec Rsp function (called when a response |
| 3632 | is being received over the bus from HAL) |
| 3633 | |
| 3634 | @param pWDICtx: pointer to the WLAN DAL context |
| 3635 | pEventData: pointer to the event information structure |
| 3636 | |
| 3637 | @see |
| 3638 | @return Result of the function call |
| 3639 | */ |
| 3640 | WDI_Status |
| 3641 | WDI_ProcessDelTSpecRsp |
| 3642 | ( |
| 3643 | WDI_ControlBlockType* pWDICtx, |
| 3644 | WDI_EventInfoType* pEventData |
| 3645 | ); |
| 3646 | |
| 3647 | /** |
| 3648 | @brief Process Update EDCA Parameters Rsp function (called when a |
| 3649 | response is being received over the bus from HAL) |
| 3650 | |
| 3651 | @param pWDICtx: pointer to the WLAN DAL context |
| 3652 | pEventData: pointer to the event information structure |
| 3653 | |
| 3654 | @see |
| 3655 | @return Result of the function call |
| 3656 | */ |
| 3657 | WDI_Status |
| 3658 | WDI_ProcessUpdateEDCAParamsRsp |
| 3659 | ( |
| 3660 | WDI_ControlBlockType* pWDICtx, |
| 3661 | WDI_EventInfoType* pEventData |
| 3662 | ); |
| 3663 | |
| 3664 | |
| 3665 | /** |
| 3666 | @brief Process Add BA Rsp function (called when a response |
| 3667 | is being received over the bus from HAL) |
| 3668 | |
| 3669 | @param pWDICtx: pointer to the WLAN DAL context |
| 3670 | pEventData: pointer to the event information structure |
| 3671 | |
| 3672 | @see |
| 3673 | @return Result of the function call |
| 3674 | */ |
| 3675 | WDI_Status |
| 3676 | WDI_ProcessAddBASessionRsp |
| 3677 | ( |
| 3678 | WDI_ControlBlockType* pWDICtx, |
| 3679 | WDI_EventInfoType* pEventData |
| 3680 | ); |
| 3681 | |
| 3682 | |
| 3683 | /** |
| 3684 | @brief Process Del BA Rsp function (called when a response |
| 3685 | is being received over the bus from HAL) |
| 3686 | |
| 3687 | @param pWDICtx: pointer to the WLAN DAL context |
| 3688 | pEventData: pointer to the event information structure |
| 3689 | |
| 3690 | @see |
| 3691 | @return Result of the function call |
| 3692 | */ |
| 3693 | WDI_Status |
| 3694 | WDI_ProcessDelBARsp |
| 3695 | ( |
| 3696 | WDI_ControlBlockType* pWDICtx, |
| 3697 | WDI_EventInfoType* pEventData |
| 3698 | ); |
| 3699 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 3700 | #ifdef FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3701 | /** |
| 3702 | @brief Process TSM stats Rsp function (called when a response |
| 3703 | is being received over the bus from HAL) |
| 3704 | |
| 3705 | @param pWDICtx: pointer to the WLAN DAL context |
| 3706 | pEventData: pointer to the event information structure |
| 3707 | |
| 3708 | @see |
| 3709 | @return Result of the function call |
| 3710 | */ |
| 3711 | WDI_Status |
| 3712 | WDI_ProcessTsmStatsRsp |
| 3713 | ( |
| 3714 | WDI_ControlBlockType* pWDICtx, |
| 3715 | WDI_EventInfoType* pEventData |
| 3716 | ); |
| 3717 | |
| 3718 | #endif |
| 3719 | |
| 3720 | |
| 3721 | /** |
| 3722 | @brief Process Channel Switch Rsp function (called when a response |
| 3723 | is being received over the bus from HAL) |
| 3724 | |
| 3725 | @param pWDICtx: pointer to the WLAN DAL context |
| 3726 | pEventData: pointer to the event information structure |
| 3727 | |
| 3728 | @see |
| 3729 | @return Result of the function call |
| 3730 | */ |
| 3731 | WDI_Status |
| 3732 | WDI_ProcessChannelSwitchRsp |
| 3733 | ( |
| 3734 | WDI_ControlBlockType* pWDICtx, |
| 3735 | WDI_EventInfoType* pEventData |
| 3736 | ); |
| 3737 | |
Kalikinkar dhara | 1e83b77 | 2014-02-06 12:59:22 -0800 | [diff] [blame] | 3738 | /** |
| 3739 | @brief Process Channel Switch Rsp function (called when a response |
| 3740 | is being received over the bus from HAL) |
| 3741 | |
| 3742 | @param pWDICtx: pointer to the WLAN DAL context |
| 3743 | pEventData: pointer to the event information structure |
| 3744 | |
| 3745 | @see |
| 3746 | @return Result of the function call |
| 3747 | */ |
| 3748 | WDI_Status |
| 3749 | WDI_ProcessChannelSwitchRsp_V1 |
| 3750 | ( |
| 3751 | WDI_ControlBlockType* pWDICtx, |
| 3752 | WDI_EventInfoType* pEventData |
| 3753 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3754 | |
| 3755 | /** |
| 3756 | @brief Process Config STA Rsp function (called when a response |
| 3757 | is being received over the bus from HAL) |
| 3758 | |
| 3759 | @param pWDICtx: pointer to the WLAN DAL context |
| 3760 | pEventData: pointer to the event information structure |
| 3761 | |
| 3762 | @see |
| 3763 | @return Result of the function call |
| 3764 | */ |
| 3765 | WDI_Status |
| 3766 | WDI_ProcessConfigStaRsp |
| 3767 | ( |
| 3768 | WDI_ControlBlockType* pWDICtx, |
| 3769 | WDI_EventInfoType* pEventData |
| 3770 | ); |
| 3771 | |
| 3772 | |
| 3773 | /** |
| 3774 | @brief Process Set Link State Rsp function (called when a |
| 3775 | response is being received over the bus from HAL) |
| 3776 | |
| 3777 | @param pWDICtx: pointer to the WLAN DAL context |
| 3778 | pEventData: pointer to the event information structure |
| 3779 | |
| 3780 | @see |
| 3781 | @return Result of the function call |
| 3782 | */ |
| 3783 | WDI_Status |
| 3784 | WDI_ProcessSetLinkStateRsp |
| 3785 | ( |
| 3786 | WDI_ControlBlockType* pWDICtx, |
| 3787 | WDI_EventInfoType* pEventData |
| 3788 | ); |
| 3789 | |
| 3790 | /** |
Manjunathappa Prakash | 86f78ca | 2014-02-10 18:09:15 -0800 | [diff] [blame] | 3791 | @brief Process Update Channel Rsp function (called when a response is |
| 3792 | being received over the bus from HAL) |
| 3793 | |
| 3794 | @param pWDICtx: pointer to the WLAN DAL context |
| 3795 | pEventData: pointer to the event information structure |
| 3796 | |
| 3797 | @see |
| 3798 | @return Result of the function call |
| 3799 | */ |
| 3800 | WDI_Status |
| 3801 | WDI_ProcessUpdateChanRsp |
| 3802 | ( |
| 3803 | WDI_ControlBlockType* pWDICtx, |
| 3804 | WDI_EventInfoType* pEventData |
| 3805 | ); |
| 3806 | |
| 3807 | /** |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3808 | @brief Process Get Stats Rsp function (called when a response is |
| 3809 | being received over the bus from HAL) |
| 3810 | |
| 3811 | @param pWDICtx: pointer to the WLAN DAL context |
| 3812 | pEventData: pointer to the event information structure |
| 3813 | |
| 3814 | @see |
| 3815 | @return Result of the function call |
| 3816 | */ |
| 3817 | WDI_Status |
| 3818 | WDI_ProcessGetStatsRsp |
| 3819 | ( |
| 3820 | WDI_ControlBlockType* pWDICtx, |
| 3821 | WDI_EventInfoType* pEventData |
| 3822 | ); |
| 3823 | |
| 3824 | |
| 3825 | /** |
| 3826 | @brief Process Update Cfg Rsp function (called when a response is |
| 3827 | being received over the bus from HAL) |
| 3828 | |
| 3829 | @param pWDICtx: pointer to the WLAN DAL context |
| 3830 | pEventData: pointer to the event information structure |
| 3831 | |
| 3832 | @see |
| 3833 | @return Result of the function call |
| 3834 | */ |
| 3835 | WDI_Status |
| 3836 | WDI_ProcessUpdateCfgRsp |
| 3837 | ( |
| 3838 | WDI_ControlBlockType* pWDICtx, |
| 3839 | WDI_EventInfoType* pEventData |
| 3840 | ); |
| 3841 | |
| 3842 | /** |
| 3843 | @brief Process Add BA Rsp function (called when a response |
| 3844 | is being received over the bus from HAL) |
| 3845 | |
| 3846 | @param pWDICtx: pointer to the WLAN DAL context |
| 3847 | pEventData: pointer to the event information structure |
| 3848 | |
| 3849 | @see |
| 3850 | @return Result of the function call |
| 3851 | */ |
| 3852 | WDI_Status |
| 3853 | WDI_ProcessAddBARsp |
| 3854 | ( |
| 3855 | WDI_ControlBlockType* pWDICtx, |
| 3856 | WDI_EventInfoType* pEventData |
| 3857 | ); |
| 3858 | |
| 3859 | /** |
| 3860 | @brief Process Add BA Rsp function (called when a response |
| 3861 | is being received over the bus from HAL) |
| 3862 | |
| 3863 | @param pWDICtx: pointer to the WLAN DAL context |
| 3864 | pEventData: pointer to the event information structure |
| 3865 | |
| 3866 | @see |
| 3867 | @return Result of the function call |
| 3868 | */ |
| 3869 | WDI_Status |
| 3870 | WDI_ProcessTriggerBARsp |
| 3871 | ( |
| 3872 | WDI_ControlBlockType* pWDICtx, |
| 3873 | WDI_EventInfoType* pEventData |
| 3874 | ); |
| 3875 | |
| 3876 | /** |
| 3877 | @brief Process Update Beacon Params Rsp function (called when a response is |
| 3878 | being received over the bus from HAL) |
| 3879 | |
| 3880 | @param pWDICtx: pointer to the WLAN DAL context |
| 3881 | pEventData: pointer to the event information structure |
| 3882 | |
| 3883 | @see |
| 3884 | @return Result of the function call |
| 3885 | */ |
| 3886 | WDI_Status |
| 3887 | WDI_ProcessUpdateBeaconParamsRsp |
| 3888 | ( |
| 3889 | WDI_ControlBlockType* pWDICtx, |
| 3890 | WDI_EventInfoType* pEventData |
| 3891 | ); |
| 3892 | |
| 3893 | /** |
| 3894 | @brief Process Send Beacon template Rsp function (called when a response is |
| 3895 | being received over the bus from HAL) |
| 3896 | |
| 3897 | @param pWDICtx: pointer to the WLAN DAL context |
| 3898 | pEventData: pointer to the event information structure |
| 3899 | |
| 3900 | @see |
| 3901 | @return Result of the function call |
| 3902 | */ |
| 3903 | WDI_Status |
| 3904 | WDI_ProcessSendBeaconParamsRsp |
| 3905 | ( |
| 3906 | WDI_ControlBlockType* pWDICtx, |
| 3907 | WDI_EventInfoType* pEventData |
| 3908 | ); |
| 3909 | |
| 3910 | /** |
| 3911 | @brief Process Update Probe Resp Template Rsp function (called |
| 3912 | when a response is being received over the bus from HAL) |
| 3913 | |
| 3914 | @param pWDICtx: pointer to the WLAN DAL context |
| 3915 | pEventData: pointer to the event information structure |
| 3916 | |
| 3917 | @see |
| 3918 | @return Result of the function call |
| 3919 | */ |
| 3920 | WDI_Status |
| 3921 | WDI_ProcessUpdateProbeRspTemplateRsp |
| 3922 | ( |
| 3923 | WDI_ControlBlockType* pWDICtx, |
| 3924 | WDI_EventInfoType* pEventData |
| 3925 | ); |
| 3926 | /** |
| 3927 | @brief Process Set Max Tx Power Rsp function (called when a response |
| 3928 | is being received over the bus from HAL) |
| 3929 | |
| 3930 | @param pWDICtx: pointer to the WLAN DAL context |
| 3931 | pEventData: pointer to the event information structure |
| 3932 | |
| 3933 | @see |
| 3934 | @return Result of the function call |
| 3935 | */ |
| 3936 | WDI_Status |
| 3937 | WDI_ProcessSetMaxTxPowerRsp |
| 3938 | ( |
| 3939 | WDI_ControlBlockType* pWDICtx, |
| 3940 | WDI_EventInfoType* pEventData |
| 3941 | ); |
| 3942 | |
Arif Hussain | 935a8fb | 2014-01-31 12:12:28 -0800 | [diff] [blame] | 3943 | /** |
| 3944 | @brief Process Set Max Tx Power Per Band Rsp function (called when a response |
| 3945 | is being received over the bus from HAL) |
| 3946 | |
| 3947 | @param pWDICtx: pointer to the WLAN DAL context |
| 3948 | pEventData: pointer to the event information structure |
| 3949 | |
| 3950 | @see |
| 3951 | @return Result of the function call |
| 3952 | */ |
| 3953 | WDI_Status |
| 3954 | WDI_ProcessSetMaxTxPowerPerBandRsp |
| 3955 | ( |
| 3956 | WDI_ControlBlockType* pWDICtx, |
| 3957 | WDI_EventInfoType* pEventData |
| 3958 | ); |
| 3959 | |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 3960 | /** |
| 3961 | @brief Process Set Tx Power Rsp function (called when a response |
| 3962 | is being received over the bus from HAL) |
| 3963 | |
| 3964 | @param pWDICtx: pointer to the WLAN DAL context |
| 3965 | pEventData: pointer to the event information structure |
| 3966 | |
| 3967 | @see |
| 3968 | @return Result of the function call |
| 3969 | */ |
| 3970 | WDI_Status |
| 3971 | WDI_ProcessSetTxPowerRsp |
| 3972 | ( |
| 3973 | WDI_ControlBlockType* pWDICtx, |
| 3974 | WDI_EventInfoType* pEventData |
| 3975 | ); |
| 3976 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 3977 | /** |
| 3978 | @brief Process TDLS Link Establish Req Rsp function (called when a response |
| 3979 | is being received over the bus from HAL) |
| 3980 | |
| 3981 | @param pWDICtx: pointer to the WLAN DAL context |
| 3982 | pEventData: pointer to the event information structure |
| 3983 | |
| 3984 | @see |
| 3985 | @return Result of the function call |
| 3986 | */ |
| 3987 | WDI_Status |
| 3988 | WDI_ProcessLinkEstablishReqRsp |
| 3989 | ( |
| 3990 | WDI_ControlBlockType* pWDICtx, |
| 3991 | WDI_EventInfoType* pEventData |
| 3992 | ); |
| 3993 | |
Atul Mittal | c0f739f | 2014-07-31 13:47:47 +0530 | [diff] [blame] | 3994 | |
| 3995 | /** |
| 3996 | @brief Process TDLS Chan Switch Req Rsp function (called when a response |
| 3997 | is being received over the bus from HAL) |
| 3998 | |
| 3999 | @param pWDICtx: pointer to the WLAN DAL context |
| 4000 | pEventData: pointer to the event information structure |
| 4001 | |
| 4002 | @see |
| 4003 | @return Result of the function call |
| 4004 | */ |
| 4005 | WDI_Status |
| 4006 | WDI_ProcessChanSwitchReqRsp |
| 4007 | ( |
| 4008 | WDI_ControlBlockType* pWDICtx, |
| 4009 | WDI_EventInfoType* pEventData |
| 4010 | ); |
| 4011 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4012 | /** |
| 4013 | @brief Process Nv download(called when a response |
| 4014 | is being received over the bus from HAL) |
| 4015 | |
| 4016 | @param pWDICtx: pointer to the WLAN DAL context |
| 4017 | pEventData: pointer to the event information structure |
| 4018 | |
| 4019 | @see |
| 4020 | @return Result of the function call |
| 4021 | */ |
| 4022 | WDI_Status |
| 4023 | WDI_ProcessNvDownloadRsp |
| 4024 | ( |
| 4025 | WDI_ControlBlockType* pWDICtx, |
| 4026 | WDI_EventInfoType* pEventData |
| 4027 | ); |
| 4028 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4029 | /** |
| 4030 | @brief Process P2P Group Owner Notice Of Absense Rsp function (called |
| 4031 | when a response is being received over the bus from HAL) |
| 4032 | |
| 4033 | @param pWDICtx: pointer to the WLAN DAL context |
| 4034 | pEventData: pointer to the event information structure |
| 4035 | |
| 4036 | @see |
| 4037 | @return Result of the function call |
| 4038 | */ |
| 4039 | WDI_Status |
| 4040 | WDI_ProcessP2PGONOARsp |
| 4041 | ( |
| 4042 | WDI_ControlBlockType* pWDICtx, |
| 4043 | WDI_EventInfoType* pEventData |
| 4044 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4045 | |
| 4046 | /** |
| 4047 | @brief Process Enter IMPS Rsp function (called when a response |
| 4048 | is being received over the bus from HAL) |
| 4049 | |
| 4050 | @param pWDICtx: pointer to the WLAN DAL context |
| 4051 | pEventData: pointer to the event information structure |
| 4052 | |
| 4053 | @see |
| 4054 | @return Result of the function call |
| 4055 | */ |
| 4056 | WDI_Status |
| 4057 | WDI_ProcessEnterImpsRsp |
| 4058 | ( |
| 4059 | WDI_ControlBlockType* pWDICtx, |
| 4060 | WDI_EventInfoType* pEventData |
| 4061 | ); |
| 4062 | |
| 4063 | /** |
| 4064 | @brief Process Exit IMPS Rsp function (called when a response |
| 4065 | is being received over the bus from HAL) |
| 4066 | |
| 4067 | @param pWDICtx: pointer to the WLAN DAL context |
| 4068 | pEventData: pointer to the event information structure |
| 4069 | |
| 4070 | @see |
| 4071 | @return Result of the function call |
| 4072 | */ |
| 4073 | WDI_Status |
| 4074 | WDI_ProcessExitImpsRsp |
| 4075 | ( |
| 4076 | WDI_ControlBlockType* pWDICtx, |
| 4077 | WDI_EventInfoType* pEventData |
| 4078 | ); |
| 4079 | |
| 4080 | /** |
| 4081 | @brief Process Enter BMPS Rsp function (called when a response |
| 4082 | is being received over the bus from HAL) |
| 4083 | |
| 4084 | @param pWDICtx: pointer to the WLAN DAL context |
| 4085 | pEventData: pointer to the event information structure |
| 4086 | |
| 4087 | @see |
| 4088 | @return Result of the function call |
| 4089 | */ |
| 4090 | WDI_Status |
| 4091 | WDI_ProcessEnterBmpsRsp |
| 4092 | ( |
| 4093 | WDI_ControlBlockType* pWDICtx, |
| 4094 | WDI_EventInfoType* pEventData |
| 4095 | ); |
| 4096 | |
| 4097 | /** |
| 4098 | @brief Process Exit BMPS Rsp function (called when a response |
| 4099 | is being received over the bus from HAL) |
| 4100 | |
| 4101 | @param pWDICtx: pointer to the WLAN DAL context |
| 4102 | pEventData: pointer to the event information structure |
| 4103 | |
| 4104 | @see |
| 4105 | @return Result of the function call |
| 4106 | */ |
| 4107 | WDI_Status |
| 4108 | WDI_ProcessExitBmpsRsp |
| 4109 | ( |
| 4110 | WDI_ControlBlockType* pWDICtx, |
| 4111 | WDI_EventInfoType* pEventData |
| 4112 | ); |
| 4113 | |
| 4114 | /** |
| 4115 | @brief Process Enter UAPSD Rsp function (called when a response |
| 4116 | is being received over the bus from HAL) |
| 4117 | |
| 4118 | @param pWDICtx: pointer to the WLAN DAL context |
| 4119 | pEventData: pointer to the event information structure |
| 4120 | |
| 4121 | @see |
| 4122 | @return Result of the function call |
| 4123 | */ |
| 4124 | WDI_Status |
| 4125 | WDI_ProcessEnterUapsdRsp |
| 4126 | ( |
| 4127 | WDI_ControlBlockType* pWDICtx, |
| 4128 | WDI_EventInfoType* pEventData |
| 4129 | ); |
| 4130 | |
| 4131 | /** |
| 4132 | @brief Process Exit UAPSD Rsp function (called when a response |
| 4133 | is being received over the bus from HAL) |
| 4134 | |
| 4135 | @param pWDICtx: pointer to the WLAN DAL context |
| 4136 | pEventData: pointer to the event information structure |
| 4137 | |
| 4138 | @see |
| 4139 | @return Result of the function call |
| 4140 | */ |
| 4141 | WDI_Status |
| 4142 | WDI_ProcessExitUapsdRsp |
| 4143 | ( |
| 4144 | WDI_ControlBlockType* pWDICtx, |
| 4145 | WDI_EventInfoType* pEventData |
| 4146 | ); |
| 4147 | |
| 4148 | /** |
| 4149 | @brief Process set UAPSD params Rsp function (called when a |
| 4150 | response is being received over the bus from HAL) |
| 4151 | |
| 4152 | @param pWDICtx: pointer to the WLAN DAL context |
| 4153 | pEventData: pointer to the event information structure |
| 4154 | |
| 4155 | @see |
| 4156 | @return Result of the function call |
| 4157 | */ |
| 4158 | WDI_Status |
| 4159 | WDI_ProcessSetUapsdAcParamsRsp |
| 4160 | ( |
| 4161 | WDI_ControlBlockType* pWDICtx, |
| 4162 | WDI_EventInfoType* pEventData |
| 4163 | ); |
| 4164 | |
| 4165 | /** |
| 4166 | @brief Process update UAPSD params Rsp function (called when a |
| 4167 | response is being received over the bus from HAL) |
| 4168 | |
| 4169 | @param pWDICtx: pointer to the WLAN DAL context |
| 4170 | pEventData: pointer to the event information structure |
| 4171 | |
| 4172 | @see |
| 4173 | @return Result of the function call |
| 4174 | */ |
| 4175 | WDI_Status |
| 4176 | WDI_ProcessUpdateUapsdParamsRsp |
| 4177 | ( |
| 4178 | WDI_ControlBlockType* pWDICtx, |
| 4179 | WDI_EventInfoType* pEventData |
| 4180 | ); |
| 4181 | |
| 4182 | /** |
| 4183 | @brief Process Configure RXP filter Rsp function (called when a |
| 4184 | response is being received over the bus from HAL) |
| 4185 | |
| 4186 | @param pWDICtx: pointer to the WLAN DAL context |
| 4187 | pEventData: pointer to the event information structure |
| 4188 | |
| 4189 | @see |
| 4190 | @return Result of the function call |
| 4191 | */ |
| 4192 | WDI_Status |
| 4193 | WDI_ProcessConfigureRxpFilterRsp |
| 4194 | ( |
| 4195 | WDI_ControlBlockType* pWDICtx, |
| 4196 | WDI_EventInfoType* pEventData |
| 4197 | ); |
| 4198 | |
| 4199 | /** |
| 4200 | @brief Process Set beacon filter Rsp function (called when a |
| 4201 | response is being received over the bus from HAL) |
| 4202 | |
| 4203 | @param pWDICtx: pointer to the WLAN DAL context |
| 4204 | pEventData: pointer to the event information structure |
| 4205 | |
| 4206 | @see |
| 4207 | @return Result of the function call |
| 4208 | */ |
| 4209 | WDI_Status |
| 4210 | WDI_ProcessSetBeaconFilterRsp |
| 4211 | ( |
| 4212 | WDI_ControlBlockType* pWDICtx, |
| 4213 | WDI_EventInfoType* pEventData |
| 4214 | ); |
| 4215 | |
| 4216 | /** |
| 4217 | @brief Process remove beacon filter Rsp function (called when a |
| 4218 | response is being received over the bus from HAL) |
| 4219 | |
| 4220 | @param pWDICtx: pointer to the WLAN DAL context |
| 4221 | pEventData: pointer to the event information structure |
| 4222 | |
| 4223 | @see |
| 4224 | @return Result of the function call |
| 4225 | */ |
| 4226 | WDI_Status |
| 4227 | WDI_ProcessRemBeaconFilterRsp |
| 4228 | ( |
| 4229 | WDI_ControlBlockType* pWDICtx, |
| 4230 | WDI_EventInfoType* pEventData |
| 4231 | ); |
| 4232 | |
| 4233 | /** |
| 4234 | @brief Process set RSSI thresholds Rsp function (called when a |
| 4235 | response is being received over the bus from HAL) |
| 4236 | |
| 4237 | @param pWDICtx: pointer to the WLAN DAL context |
| 4238 | pEventData: pointer to the event information structure |
| 4239 | |
| 4240 | @see |
| 4241 | @return Result of the function call |
| 4242 | */ |
| 4243 | WDI_Status |
| 4244 | WDI_ProcessSetRSSIThresoldsRsp |
| 4245 | ( |
| 4246 | WDI_ControlBlockType* pWDICtx, |
| 4247 | WDI_EventInfoType* pEventData |
| 4248 | ); |
| 4249 | |
| 4250 | /** |
| 4251 | @brief Process host offload Rsp function (called when a |
| 4252 | response is being received over the bus from HAL) |
| 4253 | |
| 4254 | @param pWDICtx: pointer to the WLAN DAL context |
| 4255 | pEventData: pointer to the event information structure |
| 4256 | |
| 4257 | @see |
| 4258 | @return Result of the function call |
| 4259 | */ |
| 4260 | WDI_Status |
| 4261 | WDI_ProcessHostOffloadRsp |
| 4262 | ( |
| 4263 | WDI_ControlBlockType* pWDICtx, |
| 4264 | WDI_EventInfoType* pEventData |
| 4265 | ); |
| 4266 | |
| 4267 | /** |
| 4268 | @brief Process Keep Alive Rsp function (called when a |
| 4269 | response is being received over the bus from HAL) |
| 4270 | |
| 4271 | @param pWDICtx: pointer to the WLAN DAL context |
| 4272 | pEventData: pointer to the event information structure |
| 4273 | |
| 4274 | @see |
| 4275 | @return Result of the function call |
| 4276 | */ |
| 4277 | WDI_Status |
| 4278 | WDI_ProcessKeepAliveRsp |
| 4279 | ( |
| 4280 | WDI_ControlBlockType* pWDICtx, |
| 4281 | WDI_EventInfoType* pEventData |
| 4282 | ); |
| 4283 | |
| 4284 | |
| 4285 | /** |
| 4286 | @brief Process wowl add ptrn Rsp function (called when a |
| 4287 | response is being received over the bus from HAL) |
| 4288 | |
| 4289 | @param pWDICtx: pointer to the WLAN DAL context |
| 4290 | pEventData: pointer to the event information structure |
| 4291 | |
| 4292 | @see |
| 4293 | @return Result of the function call |
| 4294 | */ |
| 4295 | WDI_Status |
| 4296 | WDI_ProcessWowlAddBcPtrnRsp |
| 4297 | ( |
| 4298 | WDI_ControlBlockType* pWDICtx, |
| 4299 | WDI_EventInfoType* pEventData |
| 4300 | ); |
| 4301 | |
| 4302 | /** |
| 4303 | @brief Process wowl delete ptrn Rsp function (called when a |
| 4304 | response is being received over the bus from HAL) |
| 4305 | |
| 4306 | @param pWDICtx: pointer to the WLAN DAL context |
| 4307 | pEventData: pointer to the event information structure |
| 4308 | |
| 4309 | @see |
| 4310 | @return Result of the function call |
| 4311 | */ |
| 4312 | WDI_Status |
| 4313 | WDI_ProcessWowlDelBcPtrnRsp |
| 4314 | ( |
| 4315 | WDI_ControlBlockType* pWDICtx, |
| 4316 | WDI_EventInfoType* pEventData |
| 4317 | ); |
| 4318 | |
| 4319 | /** |
| 4320 | @brief Process wowl enter Rsp function (called when a response |
| 4321 | is being received over the bus from HAL) |
| 4322 | |
| 4323 | @param pWDICtx: pointer to the WLAN DAL context |
| 4324 | pEventData: pointer to the event information structure |
| 4325 | |
| 4326 | @see |
| 4327 | @return Result of the function call |
| 4328 | */ |
| 4329 | WDI_Status |
| 4330 | WDI_ProcessWowlEnterRsp |
| 4331 | ( |
| 4332 | WDI_ControlBlockType* pWDICtx, |
| 4333 | WDI_EventInfoType* pEventData |
| 4334 | ); |
| 4335 | |
| 4336 | /** |
| 4337 | @brief Process wowl exit Rsp function (called when a response |
| 4338 | is being received over the bus from HAL) |
| 4339 | |
| 4340 | @param pWDICtx: pointer to the WLAN DAL context |
| 4341 | pEventData: pointer to the event information structure |
| 4342 | |
| 4343 | @see |
| 4344 | @return Result of the function call |
| 4345 | */ |
| 4346 | WDI_Status |
| 4347 | WDI_ProcessWowlExitRsp |
| 4348 | ( |
| 4349 | WDI_ControlBlockType* pWDICtx, |
| 4350 | WDI_EventInfoType* pEventData |
| 4351 | ); |
| 4352 | |
| 4353 | /** |
| 4354 | @brief Process Configure Apps CPU wakeup State Rsp function |
| 4355 | (called when a response is being received over the bus |
| 4356 | from HAL) |
| 4357 | |
| 4358 | @param pWDICtx: pointer to the WLAN DAL context |
| 4359 | pEventData: pointer to the event information structure |
| 4360 | |
| 4361 | @see |
| 4362 | @return Result of the function call |
| 4363 | */ |
| 4364 | WDI_Status |
| 4365 | WDI_ProcessConfigureAppsCpuWakeupStateRsp |
| 4366 | ( |
| 4367 | WDI_ControlBlockType* pWDICtx, |
| 4368 | WDI_EventInfoType* pEventData |
| 4369 | ); |
| 4370 | /** |
| 4371 | @brief Process Flush AC Rsp function (called when a response |
| 4372 | is being received over the bus from HAL) |
| 4373 | |
| 4374 | @param pWDICtx: pointer to the WLAN DAL context |
| 4375 | pEventData: pointer to the event information structure |
| 4376 | |
| 4377 | @see |
| 4378 | @return Result of the function call |
| 4379 | */ |
| 4380 | WDI_Status |
| 4381 | WDI_ProcessFlushAcRsp |
| 4382 | ( |
| 4383 | WDI_ControlBlockType* pWDICtx, |
| 4384 | WDI_EventInfoType* pEventData |
| 4385 | ); |
| 4386 | |
| 4387 | /** |
| 4388 | @brief Process BT AMP event Rsp function (called when a |
| 4389 | response is being received over the bus from HAL) |
| 4390 | |
| 4391 | @param pWDICtx: pointer to the WLAN DAL context |
| 4392 | pEventData: pointer to the event information structure |
| 4393 | |
| 4394 | @see |
| 4395 | @return Result of the function call |
| 4396 | */ |
| 4397 | WDI_Status |
| 4398 | WDI_ProcessBtAmpEventRsp |
| 4399 | ( |
| 4400 | WDI_ControlBlockType* pWDICtx, |
| 4401 | WDI_EventInfoType* pEventData |
| 4402 | ); |
| 4403 | |
| 4404 | /** |
| 4405 | @brief Process ADD SELF STA Rsp function (called |
| 4406 | when a response is being received over the bus from HAL) |
| 4407 | |
| 4408 | @param pWDICtx: pointer to the WLAN DAL context |
| 4409 | pEventData: pointer to the event information structure |
| 4410 | |
| 4411 | @see |
| 4412 | @return Result of the function call |
| 4413 | */ |
| 4414 | WDI_Status |
| 4415 | WDI_ProcessAddSTASelfRsp |
| 4416 | ( |
| 4417 | WDI_ControlBlockType* pWDICtx, |
| 4418 | WDI_EventInfoType* pEventData |
| 4419 | ); |
| 4420 | |
| 4421 | /** |
| 4422 | @brief WDI_ProcessDelSTASelfRsp function (called when a |
| 4423 | response is being received over the bus from HAL) |
| 4424 | |
| 4425 | @param pWDICtx: pointer to the WLAN DAL context |
| 4426 | pEventData: pointer to the event information structure |
| 4427 | |
| 4428 | @see |
| 4429 | @return Result of the function call |
| 4430 | */ |
| 4431 | WDI_Status |
| 4432 | WDI_ProcessDelSTASelfRsp |
| 4433 | ( |
| 4434 | WDI_ControlBlockType* pWDICtx, |
| 4435 | WDI_EventInfoType* pEventData |
| 4436 | ); |
| 4437 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 4438 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 4439 | /** |
| 4440 | @brief Start Oem Data Rsp function (called when a |
| 4441 | response is being received over the bus from HAL) |
| 4442 | |
| 4443 | @param pWDICtx: pointer to the WLAN DAL context |
| 4444 | pEventData: pointer to the event information structure |
| 4445 | |
| 4446 | @see |
| 4447 | @return Result of the function call |
| 4448 | */ |
| 4449 | WDI_Status |
| 4450 | WDI_ProcessStartOemDataRsp |
| 4451 | ( |
| 4452 | WDI_ControlBlockType* pWDICtx, |
| 4453 | WDI_EventInfoType* pEventData |
| 4454 | ); |
| 4455 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4456 | |
| 4457 | /** |
| 4458 | @brief WDI_ProcessHostResumeRsp function (called when a |
| 4459 | response is being received over the bus from HAL) |
| 4460 | |
| 4461 | @param pWDICtx: pointer to the WLAN DAL context |
| 4462 | pEventData: pointer to the event information structure |
| 4463 | |
| 4464 | @see |
| 4465 | @return Result of the function call |
| 4466 | */ |
| 4467 | WDI_Status |
| 4468 | WDI_ProcessHostResumeRsp |
| 4469 | ( |
| 4470 | WDI_ControlBlockType* pWDICtx, |
| 4471 | WDI_EventInfoType* pEventData |
| 4472 | ); |
| 4473 | |
| 4474 | /** |
| 4475 | @brief Process set tx per tracking Rsp function (called when a |
| 4476 | response is being received over the bus from HAL) |
| 4477 | |
| 4478 | @param pWDICtx: pointer to the WLAN DAL context |
| 4479 | pEventData: pointer to the event information structure |
| 4480 | |
| 4481 | @see |
| 4482 | @return Result of the function call |
| 4483 | */ |
| 4484 | WDI_Status |
| 4485 | WDI_ProcessSetTxPerTrackingRsp |
| 4486 | ( |
| 4487 | WDI_ControlBlockType* pWDICtx, |
| 4488 | WDI_EventInfoType* pEventData |
| 4489 | ); |
| 4490 | |
| 4491 | /** |
| 4492 | @brief Process Power Params Rsp function (called when a |
| 4493 | response is being received over the bus from HAL) |
| 4494 | |
| 4495 | @param pWDICtx: pointer to the WLAN DAL context |
| 4496 | pEventData: pointer to the event information structure |
| 4497 | |
| 4498 | @see |
| 4499 | @return Result of the function call |
| 4500 | */ |
| 4501 | WDI_Status |
| 4502 | WDI_ProcessSetPowerParamsRsp |
| 4503 | ( |
| 4504 | WDI_ControlBlockType* pWDICtx, |
| 4505 | WDI_EventInfoType* pEventData |
| 4506 | ); |
| 4507 | |
| 4508 | /** |
| 4509 | @brief Process Set TM Level Rsp function (called when a |
| 4510 | response is being received over the bus from HAL) |
| 4511 | |
| 4512 | @param pWDICtx: pointer to the WLAN DAL context |
| 4513 | pEventData: pointer to the event information structure |
| 4514 | |
| 4515 | @see |
| 4516 | @return Result of the function call |
| 4517 | */ |
| 4518 | WDI_Status |
| 4519 | WDI_ProcessSetTmLevelRsp |
| 4520 | ( |
| 4521 | WDI_ControlBlockType* pWDICtx, |
| 4522 | WDI_EventInfoType* pEventData |
| 4523 | ); |
| 4524 | |
| 4525 | /*========================================================================== |
| 4526 | Indications from HAL |
| 4527 | ==========================================================================*/ |
| 4528 | /** |
| 4529 | @brief Process Low RSSI Indication function (called when an |
| 4530 | indication of this kind is being received over the bus |
| 4531 | from HAL) |
| 4532 | |
| 4533 | @param pWDICtx: pointer to the WLAN DAL context |
| 4534 | pEventData: pointer to the event information structure |
| 4535 | |
| 4536 | @see |
| 4537 | @return Result of the function call |
| 4538 | */ |
| 4539 | WDI_Status |
| 4540 | WDI_ProcessLowRSSIInd |
| 4541 | ( |
| 4542 | WDI_ControlBlockType* pWDICtx, |
| 4543 | WDI_EventInfoType* pEventData |
| 4544 | ); |
| 4545 | |
| 4546 | /** |
| 4547 | @brief Process Missed Beacon Indication function (called when |
| 4548 | an indication of this kind is being received over the |
| 4549 | bus from HAL) |
| 4550 | |
| 4551 | @param pWDICtx: pointer to the WLAN DAL context |
| 4552 | pEventData: pointer to the event information structure |
| 4553 | |
| 4554 | @see |
| 4555 | @return Result of the function call |
| 4556 | */ |
| 4557 | WDI_Status |
| 4558 | WDI_ProcessMissedBeaconInd |
| 4559 | ( |
| 4560 | WDI_ControlBlockType* pWDICtx, |
| 4561 | WDI_EventInfoType* pEventData |
| 4562 | ); |
| 4563 | |
| 4564 | |
| 4565 | /** |
| 4566 | @brief Process Unk Addr Frame Indication function (called when |
| 4567 | an indication of this kind is being received over the |
| 4568 | bus from HAL) |
| 4569 | |
| 4570 | @param pWDICtx: pointer to the WLAN DAL context |
| 4571 | pEventData: pointer to the event information structure |
| 4572 | |
| 4573 | @see |
| 4574 | @return Result of the function call |
| 4575 | */ |
| 4576 | WDI_Status |
| 4577 | WDI_ProcessUnkAddrFrameInd |
| 4578 | ( |
| 4579 | WDI_ControlBlockType* pWDICtx, |
| 4580 | WDI_EventInfoType* pEventData |
| 4581 | ); |
| 4582 | |
| 4583 | |
| 4584 | /** |
| 4585 | @brief Process MIC Failure Indication function (called when an |
| 4586 | indication of this kind is being received over the bus |
| 4587 | from HAL) |
| 4588 | |
| 4589 | @param pWDICtx: pointer to the WLAN DAL context |
| 4590 | pEventData: pointer to the event information structure |
| 4591 | |
| 4592 | @see |
| 4593 | @return Result of the function call |
| 4594 | */ |
| 4595 | WDI_Status |
| 4596 | WDI_ProcessMicFailureInd |
| 4597 | ( |
| 4598 | WDI_ControlBlockType* pWDICtx, |
| 4599 | WDI_EventInfoType* pEventData |
| 4600 | ); |
| 4601 | |
| 4602 | /** |
| 4603 | @brief Process Fatal Failure Indication function (called when |
| 4604 | an indication of this kind is being received over the |
| 4605 | bus from HAL) |
| 4606 | |
| 4607 | @param pWDICtx: pointer to the WLAN DAL context |
| 4608 | pEventData: pointer to the event information structure |
| 4609 | |
| 4610 | @see |
| 4611 | @return Result of the function call |
| 4612 | */ |
| 4613 | WDI_Status |
| 4614 | WDI_ProcessFatalErrorInd |
| 4615 | ( |
| 4616 | WDI_ControlBlockType* pWDICtx, |
| 4617 | WDI_EventInfoType* pEventData |
| 4618 | ); |
| 4619 | |
| 4620 | /** |
| 4621 | @brief Process Delete STA Indication function (called when |
| 4622 | an indication of this kind is being received over the |
| 4623 | bus from HAL) |
| 4624 | |
| 4625 | @param pWDICtx: pointer to the WLAN DAL context |
| 4626 | pEventData: pointer to the event information structure |
| 4627 | |
| 4628 | @see |
| 4629 | @return Result of the function call |
| 4630 | */ |
| 4631 | WDI_Status |
| 4632 | WDI_ProcessDelSTAInd |
| 4633 | ( |
| 4634 | WDI_ControlBlockType* pWDICtx, |
| 4635 | WDI_EventInfoType* pEventData |
| 4636 | ); |
| 4637 | |
| 4638 | /** |
| 4639 | *@brief Process Coex Indication function (called when |
| 4640 | an indication of this kind is being received over the |
| 4641 | bus from HAL) |
| 4642 | |
| 4643 | @param pWDICtx: pointer to the WLAN DAL context |
| 4644 | pEventData: pointer to the event information structure |
| 4645 | |
| 4646 | @see |
| 4647 | @return Result of the function call |
| 4648 | */ |
| 4649 | WDI_Status |
| 4650 | WDI_ProcessCoexInd |
| 4651 | ( |
| 4652 | WDI_ControlBlockType* pWDICtx, |
| 4653 | WDI_EventInfoType* pEventData |
| 4654 | ); |
| 4655 | |
| 4656 | /** |
| 4657 | *@brief Process Tx Complete Indication function (called when |
| 4658 | an indication of this kind is being received over the |
| 4659 | bus from HAL) |
| 4660 | |
| 4661 | @param pWDICtx: pointer to the WLAN DAL context |
| 4662 | pEventData: pointer to the event information structure |
| 4663 | |
| 4664 | @see |
| 4665 | @return Result of the function call |
| 4666 | */ |
| 4667 | WDI_Status |
| 4668 | WDI_ProcessTxCompleteInd |
| 4669 | ( |
| 4670 | WDI_ControlBlockType* pWDICtx, |
| 4671 | WDI_EventInfoType* pEventData |
| 4672 | ); |
| 4673 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4674 | /** |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 4675 | *@brief Process Tdls Indication function (called when |
| 4676 | an indication of this kind is being received over the |
| 4677 | bus from HAL) |
| 4678 | |
| 4679 | @param pWDICtx: pointer to the WLAN DAL context |
| 4680 | pEventData: pointer to the event information structure |
| 4681 | |
| 4682 | @see |
| 4683 | @return Result of the function call |
| 4684 | */ |
| 4685 | WDI_Status |
| 4686 | WDI_ProcessTdlsInd |
| 4687 | ( |
| 4688 | WDI_ControlBlockType* pWDICtx, |
| 4689 | WDI_EventInfoType* pEventData |
| 4690 | ); |
| 4691 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 4692 | #ifdef WLAN_FEATURE_RMC |
| 4693 | /** |
| 4694 | *@brief Process Tx Fail Indication |
| 4695 | |
| 4696 | @param pWDICtx: pointer to the WLAN DAL context |
| 4697 | pEventData: pointer to the event information structure |
| 4698 | |
| 4699 | @see |
| 4700 | @return Result of the function call |
| 4701 | */ |
| 4702 | WDI_Status |
| 4703 | WDI_ProcessTXFailInd |
| 4704 | ( |
| 4705 | WDI_ControlBlockType* pWDICtx, |
| 4706 | WDI_EventInfoType* pEventData |
| 4707 | ); |
| 4708 | #endif /* WLAN_FEATURE_RMC */ |
| 4709 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 4710 | /** |
Viral Modi | d86bde2 | 2012-12-10 13:09:21 -0800 | [diff] [blame] | 4711 | *@brief Process Noa Start Indication function (called when |
| 4712 | an indication of this kind is being received over the |
| 4713 | bus from HAL) |
| 4714 | |
| 4715 | @param pWDICtx: pointer to the WLAN DAL context |
| 4716 | pEventData: pointer to the event information structure |
| 4717 | |
| 4718 | @see |
| 4719 | @return Result of the function call |
| 4720 | */ |
| 4721 | WDI_Status |
| 4722 | WDI_ProcessP2pNoaStartInd |
| 4723 | ( |
| 4724 | WDI_ControlBlockType* pWDICtx, |
| 4725 | WDI_EventInfoType* pEventData |
| 4726 | ); |
| 4727 | |
| 4728 | /** |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4729 | *@brief Process Noa Attr Indication function (called when |
| 4730 | an indication of this kind is being received over the |
| 4731 | bus from HAL) |
| 4732 | |
| 4733 | @param pWDICtx: pointer to the WLAN DAL context |
| 4734 | pEventData: pointer to the event information structure |
| 4735 | |
| 4736 | @see |
| 4737 | @return Result of the function call |
| 4738 | */ |
| 4739 | WDI_Status |
| 4740 | WDI_ProcessP2pNoaAttrInd |
| 4741 | ( |
| 4742 | WDI_ControlBlockType* pWDICtx, |
| 4743 | WDI_EventInfoType* pEventData |
| 4744 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4745 | |
| 4746 | /** |
| 4747 | *@brief Process Tx Per Hit Indication function (called when |
| 4748 | an indication of this kind is being received over the |
| 4749 | bus from HAL) |
| 4750 | |
| 4751 | @param pWDICtx: pointer to the WLAN DAL context |
| 4752 | pEventData: pointer to the event information structure |
| 4753 | |
| 4754 | @see |
| 4755 | @return Result of the function call |
| 4756 | */ |
| 4757 | WDI_Status |
| 4758 | WDI_ProcessTxPerHitInd |
| 4759 | ( |
| 4760 | WDI_ControlBlockType* pWDICtx, |
| 4761 | WDI_EventInfoType* pEventData |
| 4762 | ); |
| 4763 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 4764 | #ifdef FEATURE_WLAN_LPHB |
| 4765 | /** |
Leo Chang | d9df8aa | 2013-09-26 13:32:26 -0700 | [diff] [blame] | 4766 | @brief WDI_ProcessLphbInd - |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 4767 | This function will be invoked when FW detects low power |
| 4768 | heart beat failure |
| 4769 | |
| 4770 | @param pWDICtx : wdi context |
| 4771 | pEventData : indication data |
| 4772 | |
| 4773 | @see |
| 4774 | @return Result of the function call |
| 4775 | */ |
| 4776 | WDI_Status |
Leo Chang | d9df8aa | 2013-09-26 13:32:26 -0700 | [diff] [blame] | 4777 | WDI_ProcessLphbInd |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 4778 | ( |
| 4779 | WDI_ControlBlockType* pWDICtx, |
| 4780 | WDI_EventInfoType* pEventData |
| 4781 | ); |
| 4782 | #endif /* FEATURE_WLAN_LPHB */ |
| 4783 | |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 4784 | /** |
| 4785 | @brief Process Periodic Tx Pattern Fw Indication function |
| 4786 | |
| 4787 | @param pWDICtx: pointer to the WLAN DAL context |
| 4788 | pEventData: pointer to the event information structure |
| 4789 | |
| 4790 | @see |
| 4791 | @return Result of the function call |
| 4792 | */ |
| 4793 | WDI_Status |
| 4794 | WDI_ProcessPeriodicTxPtrnFwInd |
| 4795 | ( |
| 4796 | WDI_ControlBlockType* pWDICtx, |
| 4797 | WDI_EventInfoType* pEventData |
| 4798 | ); |
| 4799 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4800 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 4801 | /** |
| 4802 | @brief Process Aggrgated Add TSpec Request function (called when Main FSM |
| 4803 | allows it) |
| 4804 | |
| 4805 | @param pWDICtx: pointer to the WLAN DAL context |
| 4806 | pEventData: pointer to the event information structure |
| 4807 | |
| 4808 | @see |
| 4809 | @return Result of the function call |
| 4810 | */ |
| 4811 | WDI_Status |
| 4812 | WDI_ProcessAggrAddTSpecReq |
| 4813 | ( |
| 4814 | WDI_ControlBlockType* pWDICtx, |
| 4815 | WDI_EventInfoType* pEventData |
| 4816 | ); |
| 4817 | |
| 4818 | /** |
| 4819 | @brief Process Add TSpec Rsp function (called when a response |
| 4820 | is being received over the bus from HAL) |
| 4821 | |
| 4822 | @param pWDICtx: pointer to the WLAN DAL context |
| 4823 | pEventData: pointer to the event information structure |
| 4824 | |
| 4825 | @see |
| 4826 | @return Result of the function call |
| 4827 | */ |
| 4828 | WDI_Status |
| 4829 | WDI_ProcessAggrAddTSpecRsp |
| 4830 | ( |
| 4831 | WDI_ControlBlockType* pWDICtx, |
| 4832 | WDI_EventInfoType* pEventData |
| 4833 | ); |
| 4834 | |
| 4835 | #endif /* WLAN_FEATURE_VOWIFI_11R */ |
| 4836 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4837 | /** |
| 4838 | @brief WDI_ProcessFTMCommandReq |
| 4839 | Process FTM Command, simply route to HAL |
| 4840 | |
| 4841 | @param pWDICtx: pointer to the WLAN DAL context |
| 4842 | pEventData: pointer to the event information structure |
| 4843 | |
| 4844 | @see |
| 4845 | @return Result of the function call |
| 4846 | */ |
| 4847 | WDI_Status |
| 4848 | WDI_ProcessFTMCommandReq |
| 4849 | ( |
| 4850 | WDI_ControlBlockType* pWDICtx, |
| 4851 | WDI_EventInfoType* pEventData |
| 4852 | ); |
| 4853 | |
| 4854 | /** |
| 4855 | @brief WDI_ProcessFTMCommandRsp |
| 4856 | Process FTM Command Response from HAL, simply route to HDD FTM |
| 4857 | |
| 4858 | @param pWDICtx: pointer to the WLAN DAL context |
| 4859 | pEventData: pointer to the event information structure |
| 4860 | |
| 4861 | @see |
| 4862 | @return Result of the function call |
| 4863 | */ |
| 4864 | WDI_Status |
| 4865 | WDI_ProcessFTMCommandRsp |
| 4866 | ( |
| 4867 | WDI_ControlBlockType* pWDICtx, |
| 4868 | WDI_EventInfoType* pEventData |
| 4869 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4870 | /** |
| 4871 | @brief WDI_ProcessHALDumpCmdReq |
| 4872 | Process Hal Dump Command, simply route to HAL |
| 4873 | |
| 4874 | @param pWDICtx: pointer to the WLAN DAL context |
| 4875 | pEventData: pointer to the event information structure |
| 4876 | |
| 4877 | @see |
| 4878 | @return Result of the function call |
| 4879 | */ |
| 4880 | WDI_Status |
| 4881 | WDI_ProcessHALDumpCmdReq |
| 4882 | ( |
| 4883 | WDI_ControlBlockType* pWDICtx, |
| 4884 | WDI_EventInfoType* pEventData |
| 4885 | ); |
| 4886 | |
| 4887 | /** |
| 4888 | @brief WDI_ProcessHALDumpCmdRsp |
| 4889 | Process Hal Dump Command Response from HAL, simply route to HDD FTM |
| 4890 | |
| 4891 | @param pWDICtx: pointer to the WLAN DAL context |
| 4892 | pEventData: pointer to the event information structure |
| 4893 | |
| 4894 | @see |
| 4895 | @return Result of the function call |
| 4896 | */ |
| 4897 | WDI_Status |
| 4898 | WDI_ProcessHALDumpCmdRsp |
| 4899 | ( |
| 4900 | WDI_ControlBlockType* pWDICtx, |
| 4901 | WDI_EventInfoType* pEventData |
| 4902 | ); |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 4903 | |
| 4904 | /** |
| 4905 | @brief WDI_ProcessIbssPeerInactivityInd |
| 4906 | Process peer inactivity indication coming from HAL. |
| 4907 | |
| 4908 | @param pWDICtx: pointer to the WLAN DAL context |
| 4909 | pEventData: pointer to the event information structure |
| 4910 | |
| 4911 | @see |
| 4912 | @return Result of the function call |
| 4913 | */ |
| 4914 | WDI_Status |
| 4915 | WDI_ProcessIbssPeerInactivityInd |
| 4916 | |
| 4917 | ( |
| 4918 | WDI_ControlBlockType* pWDICtx, |
| 4919 | WDI_EventInfoType* pEventData |
| 4920 | ); |
| 4921 | |
| 4922 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4923 | /*======================================================================== |
| 4924 | Internal Helper Routines |
| 4925 | ========================================================================*/ |
| 4926 | |
| 4927 | /** |
| 4928 | @brief WDI_CleanCB - internal helper routine used to clean the |
| 4929 | WDI Main Control Block |
| 4930 | |
| 4931 | @param pWDICtx - pointer to the control block |
| 4932 | |
| 4933 | @return Result of the function call |
| 4934 | */ |
Jeff Johnson | 51019dc | 2013-02-21 16:44:09 -0800 | [diff] [blame] | 4935 | WDI_Status |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4936 | WDI_CleanCB |
| 4937 | ( |
| 4938 | WDI_ControlBlockType* pWDICtx |
| 4939 | ); |
| 4940 | |
| 4941 | /** |
| 4942 | @brief Main FSM Close function for all states except BUSY |
| 4943 | |
| 4944 | |
| 4945 | @param pWDICtx: pointer to the WLAN DAL context |
| 4946 | pEventData: pointer to the event information structure |
| 4947 | |
| 4948 | @see |
| 4949 | @return Result of the function call |
| 4950 | */ |
Jeff Johnson | 51019dc | 2013-02-21 16:44:09 -0800 | [diff] [blame] | 4951 | WDI_Status |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 4952 | WDI_ProcessRequest |
| 4953 | ( |
| 4954 | WDI_ControlBlockType* pWDICtx, |
| 4955 | WDI_EventInfoType* pEventData |
| 4956 | ); |
| 4957 | |
| 4958 | /** |
| 4959 | @brief Get message helper function - it allocates memory for a |
| 4960 | message that is to be sent to HAL accross the bus and |
| 4961 | prefixes it with a send message header |
| 4962 | |
| 4963 | @param pWDICtx: pointer to the WLAN DAL context |
| 4964 | wdiReqType: type of the request being sent |
| 4965 | uBufferLen: message buffer len |
| 4966 | pMsgBuffer: resulting allocated buffer |
| 4967 | puDataOffset: offset in the buffer where the caller |
| 4968 | can start copying its message data |
| 4969 | puBufferSize: the resulting buffer size (offset+buff |
| 4970 | len) |
| 4971 | |
| 4972 | @see |
| 4973 | @return Result of the function call |
| 4974 | */ |
| 4975 | WDI_Status |
| 4976 | WDI_GetMessageBuffer |
| 4977 | ( |
| 4978 | WDI_ControlBlockType* pWDICtx, |
| 4979 | WDI_RequestEnumType wdiReqType, |
| 4980 | wpt_uint16 usBufferLen, |
| 4981 | wpt_uint8** pMsgBuffer, |
| 4982 | wpt_uint16* pusDataOffset, |
| 4983 | wpt_uint16* pusBufferSize |
| 4984 | ); |
| 4985 | |
| 4986 | /** |
| 4987 | @brief WDI_DetectedDeviceError - called internally by DAL when |
| 4988 | it has detected a failure in the device |
| 4989 | |
| 4990 | @param pWDICtx: pointer to the WLAN DAL context |
| 4991 | usErrorCode: error code detected by WDI or received |
| 4992 | from HAL |
| 4993 | |
| 4994 | @see |
| 4995 | @return None |
| 4996 | */ |
| 4997 | void |
| 4998 | WDI_DetectedDeviceError |
| 4999 | ( |
| 5000 | WDI_ControlBlockType* pWDICtx, |
| 5001 | wpt_uint16 usErrorCode |
| 5002 | ); |
| 5003 | |
| 5004 | /*========================================================================= |
| 5005 | QUEUE SUPPORT UTILITY FUNCTIONS |
| 5006 | =========================================================================*/ |
| 5007 | |
| 5008 | /** |
| 5009 | @brief Utility function used by the DAL Core to help queue a |
| 5010 | request that cannot be processed right away. |
| 5011 | @param |
| 5012 | |
| 5013 | pWDICtx: - pointer to the WDI control block |
| 5014 | pEventData: - pointer to the evnt info that needs to be |
| 5015 | queued |
| 5016 | |
| 5017 | @see |
| 5018 | @return Result of the operation |
| 5019 | */ |
| 5020 | WDI_Status |
| 5021 | WDI_QueuePendingReq |
| 5022 | ( |
| 5023 | WDI_ControlBlockType* pWDICtx, |
| 5024 | WDI_EventInfoType* pEventData |
| 5025 | ); |
| 5026 | |
| 5027 | /** |
| 5028 | @brief Utility function used by the DAL Core to clear any |
| 5029 | pending requests - all req cb will be called with |
| 5030 | failure and the queue will be emptied. |
| 5031 | @param |
| 5032 | |
| 5033 | pWDICtx: - pointer to the WDI control block |
| 5034 | |
| 5035 | @see |
| 5036 | @return Result of the operation |
| 5037 | */ |
| 5038 | WDI_Status |
| 5039 | WDI_ClearPendingRequests |
| 5040 | ( |
| 5041 | WDI_ControlBlockType* pWDICtx |
| 5042 | ); |
| 5043 | |
| 5044 | /** |
| 5045 | @brief This callback is invoked by the wpt when a timer that |
| 5046 | we started on send message has expire - this should |
| 5047 | never happen - it means device is stuck and cannot |
| 5048 | reply - trigger catastrophic failure |
| 5049 | @param |
| 5050 | |
| 5051 | pUserData: the callback data of the user (ptr to WDI CB) |
| 5052 | |
| 5053 | @see |
| 5054 | @return None |
| 5055 | */ |
| 5056 | void |
| 5057 | WDI_ResponseTimerCB |
| 5058 | ( |
| 5059 | void *pUserData |
| 5060 | ); |
| 5061 | |
| 5062 | /*========================================================================== |
| 5063 | CONTRL TRANSPORT INTERACTION |
| 5064 | |
| 5065 | Callback function registered with the control transport - for receiving |
| 5066 | notifications and packets |
| 5067 | ==========================================================================*/ |
| 5068 | /** |
| 5069 | @brief This callback is invoked by the control transport |
| 5070 | when it wishes to send up a notification like the ones |
| 5071 | mentioned above. |
| 5072 | |
| 5073 | @param |
| 5074 | |
| 5075 | wctsHandle: handle to the control transport service |
| 5076 | wctsEvent: the event being notified |
| 5077 | wctsNotifyCBData: the callback data of the user |
| 5078 | |
| 5079 | @see WCTS_OpenTransport |
| 5080 | |
| 5081 | @return None |
| 5082 | */ |
| 5083 | void |
| 5084 | WDI_NotifyMsgCTSCB |
| 5085 | ( |
| 5086 | WCTS_HandleType wctsHandle, |
| 5087 | WCTS_NotifyEventType wctsEvent, |
| 5088 | void* wctsNotifyCBData |
| 5089 | ); |
| 5090 | |
| 5091 | /** |
| 5092 | @brief This callback is invoked by the control transport |
| 5093 | when it wishes to send up a packet received over the |
| 5094 | bus. |
| 5095 | |
| 5096 | @param |
| 5097 | |
| 5098 | wctsHandle: handle to the control transport service |
| 5099 | pMsg: the packet |
| 5100 | uLen: the packet length |
| 5101 | wctsRxMsgCBData: the callback data of the user |
| 5102 | |
| 5103 | @see WCTS_OpenTransport |
| 5104 | |
| 5105 | @return None |
| 5106 | */ |
| 5107 | void |
| 5108 | WDI_RXMsgCTSCB |
| 5109 | ( |
| 5110 | WCTS_HandleType wctsHandle, |
| 5111 | void* pMsg, |
| 5112 | wpt_uint32 uLen, |
| 5113 | void* wctsRxMsgCBData |
| 5114 | ); |
| 5115 | |
| 5116 | /** |
| 5117 | @brief Process response helper function |
| 5118 | |
| 5119 | |
| 5120 | @param pWDICtx: pointer to the WLAN DAL context |
| 5121 | pEventData: pointer to the event information structure |
| 5122 | |
| 5123 | @see |
| 5124 | @return Result of the function call |
| 5125 | */ |
| 5126 | WDI_Status |
| 5127 | WDI_ProcessResponse |
| 5128 | ( |
| 5129 | WDI_ControlBlockType* pWDICtx, |
| 5130 | WDI_EventInfoType* pEventData |
| 5131 | ); |
| 5132 | |
| 5133 | /** |
| 5134 | @brief Send message helper function - sends a message over the |
| 5135 | bus using the control tranport and saves some info in |
| 5136 | the CB |
| 5137 | |
| 5138 | @param pWDICtx: pointer to the WLAN DAL context |
| 5139 | pSendBuffer: buffer to be sent |
| 5140 | |
| 5141 | uSendSize size of the buffer to be sent |
| 5142 | pRspCb: response callback - save in the WDI |
| 5143 | CB |
| 5144 | pUserData: user data associated with the |
| 5145 | callback |
| 5146 | wdiExpectedResponse: the code of the response that is |
| 5147 | expected to be rx-ed for this request |
| 5148 | |
| 5149 | @see |
| 5150 | @return Result of the function call |
| 5151 | */ |
| 5152 | WDI_Status |
| 5153 | WDI_SendMsg |
| 5154 | ( |
| 5155 | WDI_ControlBlockType* pWDICtx, |
| 5156 | wpt_uint8* pSendBuffer, |
| 5157 | wpt_uint32 uSendSize, |
| 5158 | void* pRspCb, |
| 5159 | void* pUserData, |
| 5160 | WDI_ResponseEnumType wdiExpectedResponse |
| 5161 | ); |
| 5162 | |
| 5163 | |
| 5164 | /** |
| 5165 | @brief Send indication helper function - sends a message over |
| 5166 | the bus using the control transport and saves some info |
| 5167 | in the CB |
| 5168 | |
| 5169 | @param pWDICtx: pointer to the WLAN DAL context |
| 5170 | pSendBuffer: buffer to be sent |
| 5171 | usSendSize: size of the buffer to be sent |
| 5172 | |
| 5173 | @see |
| 5174 | @return Result of the function call |
| 5175 | */ |
| 5176 | WDI_Status |
| 5177 | WDI_SendIndication |
| 5178 | ( |
| 5179 | WDI_ControlBlockType* pWDICtx, |
| 5180 | wpt_uint8* pSendBuffer, |
| 5181 | wpt_uint32 usSendSize |
| 5182 | ); |
| 5183 | |
| 5184 | /** |
| 5185 | @brief Utility function used by the DAL Core to help dequeue |
| 5186 | and schedule for execution a pending request |
| 5187 | @param |
| 5188 | |
| 5189 | pWDICtx: - pointer to the WDI control block |
| 5190 | pEventData: - pointer to the evnt info that needs to be |
| 5191 | queued |
| 5192 | |
| 5193 | @see |
| 5194 | @return Result of the operation |
| 5195 | */ |
| 5196 | WDI_Status |
| 5197 | WDI_DequeuePendingReq |
| 5198 | ( |
| 5199 | WDI_ControlBlockType* pWDICtx |
| 5200 | ); |
| 5201 | |
| 5202 | /** |
| 5203 | @brief Utility function used by the DAL Core to help queue |
| 5204 | an association request that cannot be processed right |
| 5205 | away.- The assoc requests will be queued by BSSID |
| 5206 | @param |
| 5207 | |
| 5208 | pWDICtx: - pointer to the WDI control block |
| 5209 | pEventData: pointer to the evnt info that needs to be queued |
| 5210 | macBSSID: bssid |
| 5211 | |
| 5212 | @see |
| 5213 | @return Result of the operation |
| 5214 | */ |
| 5215 | WDI_Status |
| 5216 | WDI_QueueNewAssocRequest |
| 5217 | ( |
| 5218 | WDI_ControlBlockType* pWDICtx, |
| 5219 | WDI_EventInfoType* pEventData, |
| 5220 | wpt_macAddr macBSSID |
| 5221 | ); |
| 5222 | |
| 5223 | /** |
| 5224 | @brief Utility function used by the DAL Core to help queue |
| 5225 | an association request that cannot be processed right |
| 5226 | away.- The assoc requests will be queued by BSSID |
| 5227 | @param |
| 5228 | |
| 5229 | pWDICtx: - pointer to the WDI control block |
| 5230 | pSession: - session in which to queue |
| 5231 | pEventData: pointer to the event info that needs to be |
| 5232 | queued |
| 5233 | |
| 5234 | @see |
| 5235 | @return Result of the operation |
| 5236 | */ |
| 5237 | WDI_Status |
| 5238 | WDI_QueueAssocRequest |
| 5239 | ( |
| 5240 | WDI_ControlBlockType* pWDICtx, |
| 5241 | WDI_BSSSessionType* pSession, |
| 5242 | WDI_EventInfoType* pEventData |
| 5243 | ); |
| 5244 | |
| 5245 | /** |
| 5246 | @brief Utility function used by the DAL Core to help dequeue |
| 5247 | an association request that was pending |
| 5248 | The request will be queued up in front of the main |
| 5249 | pending queue for immediate processing |
| 5250 | @param |
| 5251 | |
| 5252 | pWDICtx: - pointer to the WDI control block |
| 5253 | |
| 5254 | |
| 5255 | @see |
| 5256 | @return Result of the operation |
| 5257 | */ |
| 5258 | WDI_Status |
| 5259 | WDI_DequeueAssocRequest |
| 5260 | ( |
| 5261 | WDI_ControlBlockType* pWDICtx |
| 5262 | ); |
| 5263 | |
| 5264 | /** |
| 5265 | @brief Helper routine used to init the BSS Sessions in the WDI control block |
| 5266 | |
| 5267 | |
| 5268 | @param pWDICtx: pointer to the WLAN DAL context |
| 5269 | |
| 5270 | @see |
| 5271 | */ |
| 5272 | void |
| 5273 | WDI_ResetAssocSessions |
| 5274 | ( |
| 5275 | WDI_ControlBlockType* pWDICtx |
| 5276 | ); |
| 5277 | |
| 5278 | /** |
| 5279 | @brief Helper routine used to find an empty session in the WDI |
| 5280 | CB |
| 5281 | |
| 5282 | |
| 5283 | @param pWDICtx: pointer to the WLAN DAL context |
| 5284 | pSession: pointer to the session (if found) |
| 5285 | |
| 5286 | @see |
| 5287 | @return Index of the session in the array |
| 5288 | */ |
| 5289 | wpt_uint8 |
| 5290 | WDI_FindEmptySession |
| 5291 | ( |
| 5292 | WDI_ControlBlockType* pWDICtx, |
| 5293 | WDI_BSSSessionType** ppSession |
| 5294 | ); |
| 5295 | |
| 5296 | /** |
Hoonki Lee | 9af07cf | 2013-04-24 01:21:58 -0700 | [diff] [blame] | 5297 | @brief Helper routine used to get the total count of active |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5298 | sessions |
Hoonki Lee | 9af07cf | 2013-04-24 01:21:58 -0700 | [diff] [blame] | 5299 | |
| 5300 | |
| 5301 | @param pWDICtx: pointer to the WLAN DAL context |
| 5302 | macBSSID: pointer to BSSID. If NULL, get all the session. |
| 5303 | If not NULL, count ActiveSession by excluding (TRUE) or including (FALSE) skipBSSID. |
| 5304 | skipBSSID: if TRUE, get all the sessions except matching to macBSSID. If FALSE, get all session. |
| 5305 | This argument is ignored if macBSSID is NULL. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5306 | @see |
| 5307 | @return Number of sessions in use |
| 5308 | */ |
| 5309 | wpt_uint8 |
| 5310 | WDI_GetActiveSessionsCount |
Hoonki Lee | 9af07cf | 2013-04-24 01:21:58 -0700 | [diff] [blame] | 5311 | ( |
| 5312 | WDI_ControlBlockType* pWDICtx, |
| 5313 | wpt_macAddr macBSSID, |
| 5314 | wpt_boolean skipBSSID |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5315 | ); |
| 5316 | |
| 5317 | /** |
| 5318 | @brief Helper routine used to delete session in the WDI |
| 5319 | CB |
| 5320 | |
| 5321 | |
| 5322 | @param pWDICtx: pointer to the WLAN DAL context |
| 5323 | pSession: pointer to the session (if found) |
| 5324 | |
| 5325 | @see |
| 5326 | @return Index of the session in the array |
| 5327 | */ |
| 5328 | void |
| 5329 | WDI_DeleteSession |
| 5330 | ( |
| 5331 | WDI_ControlBlockType* pWDICtx, |
| 5332 | WDI_BSSSessionType* ppSession |
| 5333 | ); |
| 5334 | |
| 5335 | /** |
| 5336 | @brief Helper routine used to find a session based on the BSSID |
| 5337 | |
| 5338 | |
| 5339 | @param pWDICtx: pointer to the WLAN DAL context |
| 5340 | macBSSID: BSSID of the session |
| 5341 | ppSession: out pointer to the session (if found) |
| 5342 | |
| 5343 | @see |
| 5344 | @return Index of the session in the array |
| 5345 | */ |
| 5346 | wpt_uint8 |
| 5347 | WDI_FindAssocSession |
| 5348 | ( |
| 5349 | WDI_ControlBlockType* pWDICtx, |
| 5350 | wpt_macAddr macBSSID, |
| 5351 | WDI_BSSSessionType** ppSession |
| 5352 | ); |
| 5353 | |
| 5354 | |
| 5355 | /** |
| 5356 | @brief Helper routine used to find a session based on the BSSID |
| 5357 | |
| 5358 | |
| 5359 | @param pWDICtx: pointer to the WLAN DAL context |
| 5360 | usBssIdx: BSS Index of the session |
| 5361 | ppSession: out pointer to the session (if found) |
| 5362 | |
| 5363 | @see |
| 5364 | @return Index of the session in the array |
| 5365 | */ |
| 5366 | wpt_uint8 |
| 5367 | WDI_FindAssocSessionByBSSIdx |
| 5368 | ( |
| 5369 | WDI_ControlBlockType* pWDICtx, |
| 5370 | wpt_uint16 usBssIdx, |
| 5371 | WDI_BSSSessionType** ppSession |
| 5372 | ); |
| 5373 | |
| 5374 | /** |
| 5375 | @brief Helper routine used to find a session based on the BSSID |
| 5376 | |
| 5377 | |
| 5378 | @param pWDICtx: pointer to the WLAN DAL context |
| 5379 | usBssIdx: BSS Index of the session |
| 5380 | ppSession: out pointer to the session (if found) |
| 5381 | |
| 5382 | @see |
| 5383 | @return Index of the session in the array |
| 5384 | */ |
| 5385 | wpt_uint8 |
| 5386 | WDI_FindAssocSessionByIdx |
| 5387 | ( |
| 5388 | WDI_ControlBlockType* pWDICtx, |
| 5389 | wpt_uint16 usBssIdx, |
| 5390 | WDI_BSSSessionType** ppSession |
| 5391 | ); |
| 5392 | |
| 5393 | /** |
| 5394 | @brief Helper routine used to find a session based on the BSSID |
| 5395 | @param pContext: pointer to the WLAN DAL context |
| 5396 | @param pDPContext: pointer to the Datapath context |
| 5397 | |
| 5398 | @see |
| 5399 | @return |
| 5400 | */ |
Jeff Johnson | 51019dc | 2013-02-21 16:44:09 -0800 | [diff] [blame] | 5401 | void |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5402 | WDI_DS_AssignDatapathContext |
| 5403 | ( |
| 5404 | void *pContext, |
| 5405 | void *pDPContext |
| 5406 | ); |
| 5407 | |
| 5408 | /** |
| 5409 | @brief Helper routine used to find a session based on the BSSID |
| 5410 | |
| 5411 | |
| 5412 | @param pContext: pointer to the WLAN DAL context |
| 5413 | |
| 5414 | @see |
| 5415 | @return pointer to Datapath context |
| 5416 | */ |
Jeff Johnson | 51019dc | 2013-02-21 16:44:09 -0800 | [diff] [blame] | 5417 | void * |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5418 | WDI_DS_GetDatapathContext |
| 5419 | ( |
| 5420 | void *pContext |
| 5421 | ); |
| 5422 | |
| 5423 | /** |
| 5424 | @brief Helper routine used to find a session based on the BSSID |
| 5425 | |
| 5426 | |
| 5427 | @param pContext: pointer to the WLAN DAL context |
| 5428 | @param pDTDriverContext: pointer to the Transport Driver context |
| 5429 | |
| 5430 | @see |
| 5431 | @return void |
| 5432 | */ |
Jeff Johnson | 51019dc | 2013-02-21 16:44:09 -0800 | [diff] [blame] | 5433 | void |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5434 | WDT_AssignTransportDriverContext |
| 5435 | ( |
| 5436 | void *pContext, |
| 5437 | void *pDTDriverContext |
| 5438 | ); |
| 5439 | |
| 5440 | /** |
| 5441 | @brief Helper routine used to find a session based on the BSSID |
| 5442 | |
| 5443 | |
| 5444 | @param pWDICtx: pointer to the WLAN DAL context |
| 5445 | |
| 5446 | @see |
| 5447 | @return pointer to datapath context |
| 5448 | */ |
Jeff Johnson | 51019dc | 2013-02-21 16:44:09 -0800 | [diff] [blame] | 5449 | void * |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5450 | WDT_GetTransportDriverContext |
| 5451 | ( |
| 5452 | void *pContext |
| 5453 | ); |
| 5454 | |
| 5455 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 5456 | /** |
| 5457 | @brief Process Set Preferred Network List Request function |
| 5458 | |
| 5459 | @param pWDICtx: pointer to the WLAN DAL context |
| 5460 | pEventData: pointer to the event information structure |
| 5461 | |
| 5462 | @see |
| 5463 | @return Result of the function call |
| 5464 | */ |
| 5465 | WDI_Status |
| 5466 | WDI_ProcessSetPreferredNetworkReq |
| 5467 | ( |
| 5468 | WDI_ControlBlockType* pWDICtx, |
| 5469 | WDI_EventInfoType* pEventData |
| 5470 | ); |
| 5471 | |
| 5472 | /** |
| 5473 | @brief Process Set RSSI Filter Request function |
| 5474 | |
| 5475 | @param pWDICtx: pointer to the WLAN DAL context |
| 5476 | pEventData: pointer to the event information structure |
| 5477 | |
| 5478 | @see |
| 5479 | @return Result of the function call |
| 5480 | */ |
| 5481 | WDI_Status |
| 5482 | WDI_ProcessSetRssiFilterReq |
| 5483 | ( |
| 5484 | WDI_ControlBlockType* pWDICtx, |
| 5485 | WDI_EventInfoType* pEventData |
| 5486 | ); |
| 5487 | |
| 5488 | /** |
| 5489 | @brief Process Update Scan Params function |
| 5490 | |
| 5491 | @param pWDICtx: pointer to the WLAN DAL context |
| 5492 | pEventData: pointer to the event information structure |
| 5493 | |
| 5494 | @see |
| 5495 | @return Result of the function call |
| 5496 | */ |
| 5497 | WDI_Status |
| 5498 | WDI_ProcessUpdateScanParamsReq |
| 5499 | ( |
| 5500 | WDI_ControlBlockType* pWDICtx, |
| 5501 | WDI_EventInfoType* pEventData |
| 5502 | ); |
| 5503 | |
| 5504 | /** |
| 5505 | @brief Process Preferred Network Found Indication function |
| 5506 | |
| 5507 | @param pWDICtx: pointer to the WLAN DAL context |
| 5508 | pEventData: pointer to the event information structure |
| 5509 | |
| 5510 | @see |
| 5511 | @return Result of the function call |
| 5512 | */ |
| 5513 | WDI_Status |
| 5514 | WDI_ProcessPrefNetworkFoundInd |
| 5515 | ( |
| 5516 | WDI_ControlBlockType* pWDICtx, |
| 5517 | WDI_EventInfoType* pEventData |
| 5518 | ); |
| 5519 | |
| 5520 | /** |
| 5521 | @brief Process PNO Rsp function (called when a |
| 5522 | response is being received over the bus from HAL) |
| 5523 | |
| 5524 | @param pWDICtx: pointer to the WLAN DAL context |
| 5525 | pEventData: pointer to the event information structure |
| 5526 | |
| 5527 | @see |
| 5528 | @return Result of the function call |
| 5529 | */ |
| 5530 | WDI_Status |
| 5531 | WDI_ProcessSetPreferredNetworkRsp |
| 5532 | ( |
| 5533 | WDI_ControlBlockType* pWDICtx, |
| 5534 | WDI_EventInfoType* pEventData |
| 5535 | ); |
| 5536 | |
| 5537 | /** |
| 5538 | @brief Process RSSI Filter Rsp function (called when a |
| 5539 | response is being received over the bus from HAL) |
| 5540 | |
| 5541 | @param pWDICtx: pointer to the WLAN DAL context |
| 5542 | pEventData: pointer to the event information structure |
| 5543 | |
| 5544 | @see |
| 5545 | @return Result of the function call |
| 5546 | */ |
| 5547 | WDI_Status |
| 5548 | WDI_ProcessSetRssiFilterRsp |
| 5549 | ( |
| 5550 | WDI_ControlBlockType* pWDICtx, |
| 5551 | WDI_EventInfoType* pEventData |
| 5552 | ); |
| 5553 | |
| 5554 | /** |
| 5555 | @brief Process Update Scan Params Rsp function (called when a |
| 5556 | response is being received over the bus from HAL) |
| 5557 | |
| 5558 | @param pWDICtx: pointer to the WLAN DAL context |
| 5559 | pEventData: pointer to the event information structure |
| 5560 | |
| 5561 | @see |
| 5562 | @return Result of the function call |
| 5563 | */ |
| 5564 | WDI_Status |
| 5565 | WDI_ProcessUpdateScanParamsRsp |
| 5566 | ( |
| 5567 | WDI_ControlBlockType* pWDICtx, |
| 5568 | WDI_EventInfoType* pEventData |
| 5569 | ); |
| 5570 | #endif // FEATURE_WLAN_SCAN_PNO |
| 5571 | |
Gopichand Nakkala | 5e5668f | 2013-05-03 13:13:06 -0700 | [diff] [blame] | 5572 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 5573 | /** |
| 5574 | @brief Process Start Roam Candidate Lookup Request function |
| 5575 | |
| 5576 | @param pWDICtx: pointer to the WLAN DAL context |
| 5577 | pEventData: pointer to the event information structure |
| 5578 | |
| 5579 | @see |
| 5580 | @return Result of the function call |
| 5581 | */ |
| 5582 | WDI_Status |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 5583 | WDI_ProcessRoamScanOffloadReq |
Gopichand Nakkala | 5e5668f | 2013-05-03 13:13:06 -0700 | [diff] [blame] | 5584 | ( |
| 5585 | WDI_ControlBlockType* pWDICtx, |
| 5586 | WDI_EventInfoType* pEventData |
| 5587 | ); |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame^] | 5588 | |
| 5589 | WDI_Status |
| 5590 | WDI_ProcessPERRoamScanOffloadReq(WDI_ControlBlockType *pWDICtx, |
| 5591 | WDI_EventInfoType *pEventData); |
| 5592 | |
| 5593 | WDI_Status |
| 5594 | WDI_ProcessPERRoamScanTriggerReq(WDI_ControlBlockType *pWDICtx, |
| 5595 | WDI_EventInfoType *pEventData); |
Gopichand Nakkala | 5e5668f | 2013-05-03 13:13:06 -0700 | [diff] [blame] | 5596 | /** |
| 5597 | @brief Process Start Roam Candidate Lookup Response function (called when a |
| 5598 | response is being received over the bus from HAL) |
| 5599 | |
| 5600 | @param pWDICtx: pointer to the WLAN DAL context |
| 5601 | pEventData: pointer to the event information structure |
| 5602 | |
| 5603 | @see |
| 5604 | @return Result of the function call |
| 5605 | */ |
| 5606 | WDI_Status |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 5607 | WDI_ProcessRoamScanOffloadRsp |
Gopichand Nakkala | 5e5668f | 2013-05-03 13:13:06 -0700 | [diff] [blame] | 5608 | ( |
| 5609 | WDI_ControlBlockType* pWDICtx, |
| 5610 | WDI_EventInfoType* pEventData |
| 5611 | ); |
Kapil Gupta | 04ab199 | 2016-06-26 13:36:51 +0530 | [diff] [blame^] | 5612 | |
| 5613 | WDI_Status |
| 5614 | WDI_ProcessPERRoamScanOffloadRsp |
| 5615 | ( |
| 5616 | WDI_ControlBlockType* pWDICtx, |
| 5617 | WDI_EventInfoType* pEventData |
| 5618 | ); |
| 5619 | |
| 5620 | WDI_Status |
| 5621 | WDI_ProcessPERRoamScanTriggerRsp |
| 5622 | ( |
| 5623 | WDI_ControlBlockType* pWDICtx, |
| 5624 | WDI_EventInfoType* pEventData |
| 5625 | ); |
Gopichand Nakkala | 5e5668f | 2013-05-03 13:13:06 -0700 | [diff] [blame] | 5626 | #endif |
| 5627 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 5628 | #ifdef WLAN_FEATURE_PACKET_FILTERING |
| 5629 | /** |
| 5630 | @brief Process 8023 Multicast List Request function |
| 5631 | |
| 5632 | @param pWDICtx: pointer to the WLAN DAL context |
| 5633 | pEventData: pointer to the event information structure |
| 5634 | |
| 5635 | @see |
| 5636 | @return Result of the function call |
| 5637 | */ |
| 5638 | WDI_Status |
| 5639 | WDI_Process8023MulticastListReq |
| 5640 | ( |
| 5641 | WDI_ControlBlockType* pWDICtx, |
| 5642 | WDI_EventInfoType* pEventData |
| 5643 | ); |
| 5644 | |
| 5645 | /** |
| 5646 | @brief Process Receive Filter Set Filter Request function |
| 5647 | |
| 5648 | @param pWDICtx: pointer to the WLAN DAL context |
| 5649 | pEventData: pointer to the event information structure |
| 5650 | |
| 5651 | @see |
| 5652 | @return Result of the function call |
| 5653 | */ |
| 5654 | WDI_Status |
| 5655 | WDI_ProcessReceiveFilterSetFilterReq |
| 5656 | ( |
| 5657 | WDI_ControlBlockType* pWDICtx, |
| 5658 | WDI_EventInfoType* pEventData |
| 5659 | ); |
| 5660 | |
| 5661 | /** |
| 5662 | @brief Process D0 PC Filter Match Count Request function |
| 5663 | |
| 5664 | @param pWDICtx: pointer to the WLAN DAL context |
| 5665 | pEventData: pointer to the event information structure |
| 5666 | |
| 5667 | @see |
| 5668 | @return Result of the function call |
| 5669 | */ |
| 5670 | WDI_Status |
| 5671 | WDI_ProcessFilterMatchCountReq |
| 5672 | ( |
| 5673 | WDI_ControlBlockType* pWDICtx, |
| 5674 | WDI_EventInfoType* pEventData |
| 5675 | ); |
| 5676 | |
| 5677 | /** |
| 5678 | @brief Process Receive Filter Clear Filter Request function |
| 5679 | |
| 5680 | @param pWDICtx: pointer to the WLAN DAL context |
| 5681 | pEventData: pointer to the event information structure |
| 5682 | |
| 5683 | @see |
| 5684 | @return Result of the function call |
| 5685 | */ |
| 5686 | WDI_Status |
| 5687 | WDI_ProcessReceiveFilterClearFilterReq |
| 5688 | ( |
| 5689 | WDI_ControlBlockType* pWDICtx, |
| 5690 | WDI_EventInfoType* pEventData |
| 5691 | ); |
| 5692 | |
| 5693 | /** |
| 5694 | @brief Process 8023 Multicast List Response function |
| 5695 | |
| 5696 | @param pWDICtx: pointer to the WLAN DAL context |
| 5697 | pEventData: pointer to the event information structure |
| 5698 | |
| 5699 | @see |
| 5700 | @return Result of the function call |
| 5701 | */ |
| 5702 | WDI_Status |
| 5703 | WDI_Process8023MulticastListRsp |
| 5704 | ( |
| 5705 | WDI_ControlBlockType* pWDICtx, |
| 5706 | WDI_EventInfoType* pEventData |
| 5707 | ); |
| 5708 | |
| 5709 | /** |
| 5710 | @brief Process Receive Filter Set Filter Response function |
| 5711 | |
| 5712 | @param pWDICtx: pointer to the WLAN DAL context |
| 5713 | pEventData: pointer to the event information structure |
| 5714 | |
| 5715 | @see |
| 5716 | @return Result of the function call |
| 5717 | */ |
| 5718 | WDI_Status |
| 5719 | WDI_ProcessReceiveFilterSetFilterRsp |
| 5720 | ( |
| 5721 | WDI_ControlBlockType* pWDICtx, |
| 5722 | WDI_EventInfoType* pEventData |
| 5723 | ); |
| 5724 | |
| 5725 | /** |
| 5726 | @brief Process D0 PC Filter Match Count Response function |
| 5727 | |
| 5728 | @param pWDICtx: pointer to the WLAN DAL context |
| 5729 | pEventData: pointer to the event information structure |
| 5730 | |
| 5731 | @see |
| 5732 | @return Result of the function call |
| 5733 | */ |
| 5734 | WDI_Status |
| 5735 | WDI_ProcessFilterMatchCountRsp |
| 5736 | ( |
| 5737 | WDI_ControlBlockType* pWDICtx, |
| 5738 | WDI_EventInfoType* pEventData |
| 5739 | ); |
| 5740 | |
| 5741 | /** |
| 5742 | @brief Process Receive Filter Clear Filter Response function |
| 5743 | |
| 5744 | @param pWDICtx: pointer to the WLAN DAL context |
| 5745 | pEventData: pointer to the event information structure |
| 5746 | |
| 5747 | @see |
| 5748 | @return Result of the function call |
| 5749 | */ |
| 5750 | WDI_Status |
| 5751 | WDI_ProcessReceiveFilterClearFilterRsp |
| 5752 | ( |
| 5753 | WDI_ControlBlockType* pWDICtx, |
| 5754 | WDI_EventInfoType* pEventData |
| 5755 | ); |
| 5756 | #endif // WLAN_FEATURE_PACKET_FILTERING |
| 5757 | |
| 5758 | #ifdef WLAN_FEATURE_GTK_OFFLOAD |
| 5759 | /** |
| 5760 | @brief Process set GTK Offload Request function |
| 5761 | |
| 5762 | @param pWDICtx: pointer to the WLAN DAL context |
| 5763 | pEventData: pointer to the event information structure |
| 5764 | |
| 5765 | @see |
| 5766 | @return Result of the function call |
| 5767 | */ |
| 5768 | WDI_Status |
| 5769 | WDI_ProcessGTKOffloadReq |
| 5770 | ( |
| 5771 | WDI_ControlBlockType* pWDICtx, |
| 5772 | WDI_EventInfoType* pEventData |
| 5773 | ); |
| 5774 | |
| 5775 | /** |
| 5776 | @brief Process GTK Offload Get Information Request function |
| 5777 | |
| 5778 | @param pWDICtx: pointer to the WLAN DAL context |
| 5779 | pEventData: pointer to the event information structure |
| 5780 | |
| 5781 | @see |
| 5782 | @return Result of the function call |
| 5783 | */ |
| 5784 | WDI_Status |
| 5785 | WDI_ProcessGTKOffloadGetInfoReq |
| 5786 | ( |
| 5787 | WDI_ControlBlockType* pWDICtx, |
| 5788 | WDI_EventInfoType* pEventData |
| 5789 | ); |
| 5790 | |
| 5791 | /** |
| 5792 | @brief Process host offload Rsp function (called when a |
| 5793 | response is being received over the bus from HAL) |
| 5794 | |
| 5795 | @param pWDICtx: pointer to the WLAN DAL context |
| 5796 | pEventData: pointer to the event information structure |
| 5797 | |
| 5798 | @see |
| 5799 | @return Result of the function call |
| 5800 | */ |
| 5801 | WDI_Status |
| 5802 | WDI_ProcessGtkOffloadRsp |
| 5803 | ( |
| 5804 | WDI_ControlBlockType* pWDICtx, |
| 5805 | WDI_EventInfoType* pEventData |
| 5806 | ); |
| 5807 | |
| 5808 | /** |
| 5809 | @brief Process GTK Offload Get Information Response function |
| 5810 | |
| 5811 | @param pWDICtx: pointer to the WLAN DAL context |
| 5812 | pEventData: pointer to the event information structure |
| 5813 | |
| 5814 | @see |
| 5815 | @return Result of the function call |
| 5816 | */ |
| 5817 | WDI_Status |
| 5818 | WDI_ProcessGTKOffloadGetInfoRsp |
| 5819 | ( |
| 5820 | WDI_ControlBlockType* pWDICtx, |
| 5821 | WDI_EventInfoType* pEventData |
| 5822 | ); |
| 5823 | #endif // WLAN_FEATURE_GTK_OFFLOAD |
| 5824 | |
| 5825 | #ifdef WLAN_WAKEUP_EVENTS |
| 5826 | WDI_Status |
| 5827 | WDI_ProcessWakeReasonInd |
| 5828 | ( |
| 5829 | WDI_ControlBlockType* pWDICtx, |
| 5830 | WDI_EventInfoType* pEventData |
| 5831 | ); |
| 5832 | #endif // WLAN_WAKEUP_EVENTS |
| 5833 | |
| 5834 | /** |
| 5835 | @brief Process Host-FW Capability Exchange Request function |
| 5836 | |
| 5837 | @param pWDICtx: pointer to the WLAN DAL context |
| 5838 | pEventData: pointer to the event information structure |
| 5839 | |
| 5840 | @see |
| 5841 | @return Result of the function call |
| 5842 | */ |
| 5843 | WDI_Status |
| 5844 | WDI_ProcessFeatureCapsExchangeReq |
| 5845 | ( |
| 5846 | WDI_ControlBlockType* pWDICtx, |
| 5847 | WDI_EventInfoType* pEventData |
| 5848 | ); |
| 5849 | |
| 5850 | /** |
| 5851 | @brief Process Host-FW Capability Exchange Response function |
| 5852 | |
| 5853 | @param pWDICtx: pointer to the WLAN DAL context |
| 5854 | pEventData: pointer to the event information structure |
| 5855 | |
| 5856 | @see |
| 5857 | @return Result of the function call |
| 5858 | */ |
| 5859 | WDI_Status |
| 5860 | WDI_ProcessFeatureCapsExchangeRsp |
| 5861 | ( |
| 5862 | WDI_ControlBlockType* pWDICtx, |
| 5863 | WDI_EventInfoType* pEventData |
| 5864 | ); |
| 5865 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 5866 | #ifdef WLAN_FEATURE_11AC |
| 5867 | WDI_Status |
| 5868 | WDI_ProcessUpdateVHTOpModeReq |
| 5869 | ( |
| 5870 | WDI_ControlBlockType* pWDICtx, |
| 5871 | WDI_EventInfoType* pEventData |
| 5872 | ); |
| 5873 | |
| 5874 | WDI_Status |
| 5875 | WDI_ProcessUpdateVHTOpModeRsp |
| 5876 | ( |
| 5877 | WDI_ControlBlockType* pWDICtx, |
| 5878 | WDI_EventInfoType* pEventData |
| 5879 | ); |
| 5880 | #endif |
Gopichand Nakkala | 5e5668f | 2013-05-03 13:13:06 -0700 | [diff] [blame] | 5881 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 5882 | /** |
| 5883 | * @brief WDI_wdiEdTypeEncToEdTypeEnc - |
| 5884 | * The firmware expects the Encryption type to be in EdType. |
| 5885 | * This function converts the WdiEdType encryption to EdType. |
| 5886 | * @param tEdType : EdType to which the encryption needs to be converted. |
| 5887 | * @param WDI_EdType : wdiEdType passed from the upper layer. |
| 5888 | * @see |
| 5889 | * @return none |
| 5890 | * */ |
| 5891 | void |
| 5892 | WDI_wdiEdTypeEncToEdTypeEnc |
| 5893 | ( |
| 5894 | tEdType *EdType, |
| 5895 | WDI_EdType wdiEdType |
| 5896 | ); |
| 5897 | #endif |
| 5898 | |
Leo Chang | 9056f46 | 2013-08-01 19:21:11 -0700 | [diff] [blame] | 5899 | #ifdef FEATURE_WLAN_LPHB |
| 5900 | /** |
| 5901 | @brief WDI_ProcessLphbCfgRsp - |
| 5902 | LPHB configuration response from FW |
| 5903 | |
| 5904 | @param pWDICtx : wdi context |
| 5905 | pEventData : indication data |
| 5906 | |
| 5907 | @see |
| 5908 | @return Result of the function call |
| 5909 | */ |
| 5910 | WDI_Status WDI_ProcessLphbCfgRsp |
| 5911 | ( |
| 5912 | WDI_ControlBlockType* pWDICtx, |
| 5913 | WDI_EventInfoType* pEventData |
| 5914 | ); |
| 5915 | #endif /* FEATURE_WLAN_LPHB */ |
| 5916 | |
Chittajit Mitra | f5413a4 | 2013-10-18 14:20:08 -0700 | [diff] [blame] | 5917 | /** |
| 5918 | @brief Process Rate Update Indication and post it to HAL |
| 5919 | |
| 5920 | @param pWDICtx: pointer to the WLAN DAL context |
| 5921 | pEventData: pointer to the event information structure |
| 5922 | |
| 5923 | @see |
| 5924 | @return Result of the function call |
| 5925 | */ |
| 5926 | WDI_Status |
| 5927 | WDI_ProcessRateUpdateInd |
| 5928 | ( |
| 5929 | WDI_ControlBlockType* pWDICtx, |
| 5930 | WDI_EventInfoType* pEventData |
| 5931 | ); |
| 5932 | |
Abhishek Singh | 00b7197 | 2016-01-07 10:51:04 +0530 | [diff] [blame] | 5933 | #ifdef WLAN_FEATURE_RMC |
| 5934 | WDI_Status |
| 5935 | WDI_ProcessRMCRulerReq |
| 5936 | ( |
| 5937 | WDI_ControlBlockType* pWDICtx, |
| 5938 | WDI_EventInfoType* pEventData |
| 5939 | ); |
| 5940 | |
| 5941 | WDI_Status |
| 5942 | WDI_ProcessRMCRulerResp |
| 5943 | ( |
| 5944 | WDI_ControlBlockType* pWDICtx, |
| 5945 | WDI_EventInfoType* pEventData |
| 5946 | ); |
| 5947 | |
| 5948 | WDI_Status |
| 5949 | WDI_ProcessRMCUpdateInd |
| 5950 | ( |
| 5951 | WDI_ControlBlockType* pWDICtx, |
| 5952 | WDI_EventInfoType* pEventData |
| 5953 | ); |
| 5954 | |
| 5955 | WDI_Status |
| 5956 | WDI_RmcUpdateInd |
| 5957 | ( |
| 5958 | WDI_RmcUpdateIndParams *wdiRmcUpdateIndParams |
| 5959 | ); |
| 5960 | |
| 5961 | WDI_Status |
| 5962 | WDI_ProcessRMCRulerResp |
| 5963 | ( |
| 5964 | WDI_ControlBlockType* pWDICtx, |
| 5965 | WDI_EventInfoType* pEventData |
| 5966 | ); |
| 5967 | |
| 5968 | WDI_Status |
| 5969 | WDI_ProcessRMCUpdateIndToHost |
| 5970 | ( |
| 5971 | WDI_ControlBlockType* pWDICtx, |
| 5972 | WDI_EventInfoType* pEventData |
| 5973 | ); |
| 5974 | |
| 5975 | /** |
| 5976 | @brief Process peer info req |
| 5977 | |
| 5978 | @param pWDICtx: pointer to the WLAN DAL context |
| 5979 | pEventData: pointer to the event information structure |
| 5980 | |
| 5981 | @see |
| 5982 | @return Result of the function call |
| 5983 | */ |
| 5984 | WDI_Status |
| 5985 | WDI_ProcessIbssPeerInfoReq |
| 5986 | ( |
| 5987 | WDI_ControlBlockType* pWDICtx, |
| 5988 | WDI_EventInfoType* pEventData |
| 5989 | ); |
| 5990 | |
| 5991 | /** |
| 5992 | @brief Process peer info resp |
| 5993 | |
| 5994 | @param pWDICtx: pointer to the WLAN DAL context |
| 5995 | pEventData: pointer to the event information structure |
| 5996 | |
| 5997 | @see |
| 5998 | @return Result of the function call |
| 5999 | */ |
| 6000 | WDI_Status |
| 6001 | WDI_ProcessIbssPeerInfoRsp |
| 6002 | ( |
| 6003 | WDI_ControlBlockType* pWDICtx, |
| 6004 | WDI_EventInfoType* pEventData |
| 6005 | ); |
| 6006 | |
| 6007 | #endif /* WLAN_FEATURE_RMC */ |
| 6008 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 6009 | #ifdef FEATURE_WLAN_BATCH_SCAN |
| 6010 | /** |
| 6011 | @brief WDI_ProcessSetBatchScanRsp - |
| 6012 | Process set batch scan response from FW |
| 6013 | |
| 6014 | @param pWDICtx : wdi context |
| 6015 | pEventData : indication data |
| 6016 | |
| 6017 | @see |
| 6018 | @return Result of the function call |
| 6019 | */ |
| 6020 | WDI_Status WDI_ProcessSetBatchScanRsp |
| 6021 | ( |
| 6022 | WDI_ControlBlockType* pWDICtx, |
| 6023 | WDI_EventInfoType* pEventData |
| 6024 | ); |
| 6025 | |
c_hpothu | 9236791 | 2014-05-01 15:18:17 +0530 | [diff] [blame] | 6026 | WDI_Status |
| 6027 | WDI_ProcessGetBcnMissRateReq |
| 6028 | ( |
| 6029 | WDI_ControlBlockType* pWDICtx, |
| 6030 | WDI_EventInfoType* pEventData |
| 6031 | ); |
| 6032 | |
| 6033 | WDI_Status |
| 6034 | WDI_ProcessGetBcnMissRateRsp |
| 6035 | ( |
| 6036 | WDI_ControlBlockType* pWDICtx, |
| 6037 | WDI_EventInfoType* pEventData |
| 6038 | ); |
| 6039 | |
Rajeev | 79dbe4c | 2013-10-05 11:03:42 +0530 | [diff] [blame] | 6040 | /** |
| 6041 | @brief Process batch scan response from FW |
| 6042 | |
| 6043 | @param pWDICtx: pointer to the WLAN DAL context |
| 6044 | pEventData: pointer to the event information structure |
| 6045 | |
| 6046 | @see |
| 6047 | @return Result of the function call |
| 6048 | */ |
| 6049 | WDI_Status |
| 6050 | WDI_ProcessBatchScanResultInd |
| 6051 | ( |
| 6052 | WDI_ControlBlockType* pWDICtx, |
| 6053 | WDI_EventInfoType* pEventData |
| 6054 | ); |
| 6055 | |
| 6056 | #endif /* FEATURE_WLAN_BATCH_SCAN */ |
| 6057 | |
Abhishek Singh | 85b7471 | 2014-10-08 11:38:19 +0530 | [diff] [blame] | 6058 | WDI_Status |
| 6059 | WDI_ProcessGetFwStatsReq |
| 6060 | ( |
| 6061 | WDI_ControlBlockType* pWDICtx, |
| 6062 | WDI_EventInfoType* pEventData |
| 6063 | ); |
| 6064 | |
| 6065 | WDI_Status |
| 6066 | WDI_ProcessGetFwStatsRsp |
| 6067 | ( |
| 6068 | WDI_ControlBlockType* pWDICtx, |
| 6069 | WDI_EventInfoType* pEventData |
| 6070 | ); |
| 6071 | |
Leo Chang | 0b0e45a | 2013-12-15 15:18:55 -0800 | [diff] [blame] | 6072 | #ifdef FEATURE_WLAN_CH_AVOID |
| 6073 | /** |
| 6074 | @brief v - |
| 6075 | |
| 6076 | |
| 6077 | @param pWDICtx : wdi context |
| 6078 | pEventData : indication data |
| 6079 | @see |
| 6080 | @return Result of the function call |
| 6081 | */ |
| 6082 | WDI_Status |
| 6083 | WDI_ProcessChAvoidInd |
| 6084 | ( |
| 6085 | WDI_ControlBlockType* pWDICtx, |
| 6086 | WDI_EventInfoType* pEventData |
| 6087 | ); |
| 6088 | #endif /* FEATURE_WLAN_CH_AVOID */ |
| 6089 | |
c_hpothu | 8604100 | 2014-04-14 19:06:51 +0530 | [diff] [blame] | 6090 | /** |
| 6091 | @brief v - |
| 6092 | |
| 6093 | |
| 6094 | @param pWDICtx : wdi context |
| 6095 | pEventData : indication data |
| 6096 | @see |
| 6097 | @return Result of the function call |
| 6098 | */ |
| 6099 | WDI_Status |
| 6100 | WDI_printRegInfo |
| 6101 | ( |
| 6102 | WDI_ControlBlockType* pWDICtx, |
| 6103 | WDI_EventInfoType* pEventData |
| 6104 | ); |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6105 | |
| 6106 | #ifdef WLAN_FEATURE_EXTSCAN |
| 6107 | WDI_Status |
| 6108 | WDI_ProcessEXTScanStartReq |
| 6109 | ( |
| 6110 | WDI_ControlBlockType* pWDICtx, |
| 6111 | WDI_EventInfoType* pEventData |
| 6112 | ); |
| 6113 | WDI_Status |
| 6114 | WDI_ProcessEXTScanStopReq |
| 6115 | ( |
| 6116 | WDI_ControlBlockType* pWDICtx, |
| 6117 | WDI_EventInfoType* pEventData |
| 6118 | ); |
| 6119 | WDI_Status |
| 6120 | WDI_ProcessEXTScanStartRsp |
| 6121 | ( |
| 6122 | WDI_ControlBlockType* pWDICtx, |
| 6123 | WDI_EventInfoType* pEventData |
| 6124 | ); |
| 6125 | WDI_Status |
| 6126 | WDI_ProcessEXTScanStopRsp |
| 6127 | ( |
| 6128 | WDI_ControlBlockType* pWDICtx, |
| 6129 | WDI_EventInfoType* pEventData |
| 6130 | ); |
| 6131 | |
| 6132 | WDI_Status |
| 6133 | WDI_ProcessEXTScanGetCachedResultsReq |
| 6134 | ( |
| 6135 | WDI_ControlBlockType* pWDICtx, |
| 6136 | WDI_EventInfoType* pEventData |
| 6137 | ); |
| 6138 | WDI_Status |
| 6139 | WDI_ProcessEXTScanGetCachedResultsRsp |
| 6140 | ( |
| 6141 | WDI_ControlBlockType* pWDICtx, |
| 6142 | WDI_EventInfoType* pEventData |
| 6143 | ); |
| 6144 | |
| 6145 | WDI_Status |
| 6146 | WDI_ProcessEXTScanProgressInd |
| 6147 | ( |
| 6148 | WDI_ControlBlockType* pWDICtx, |
| 6149 | WDI_EventInfoType* pEventData |
| 6150 | ); |
| 6151 | |
| 6152 | WDI_Status |
| 6153 | WDI_ProcessEXTScanGetCapabilitiesReq |
| 6154 | ( |
| 6155 | WDI_ControlBlockType* pWDICtx, |
| 6156 | WDI_EventInfoType* pEventData |
| 6157 | ); |
| 6158 | |
| 6159 | WDI_Status |
| 6160 | WDI_ProcessEXTScanGetCapabilitiesRsp |
| 6161 | ( |
| 6162 | WDI_ControlBlockType* pWDICtx, |
| 6163 | WDI_EventInfoType* pEventData |
| 6164 | ); |
| 6165 | |
| 6166 | WDI_Status |
| 6167 | WDI_ProcessEXTScanSetBSSIDHotlistReq |
| 6168 | ( |
| 6169 | WDI_ControlBlockType* pWDICtx, |
| 6170 | WDI_EventInfoType* pEventData |
| 6171 | ); |
| 6172 | |
| 6173 | WDI_Status |
| 6174 | WDI_ProcessEXTScanSetHotlistBSSIDRsp |
| 6175 | ( |
| 6176 | WDI_ControlBlockType* pWDICtx, |
| 6177 | WDI_EventInfoType* pEventData |
| 6178 | ); |
| 6179 | |
| 6180 | WDI_Status |
| 6181 | WDI_ProcessEXTScanResetBSSIDHotlistReq |
| 6182 | ( |
| 6183 | WDI_ControlBlockType* pWDICtx, |
| 6184 | WDI_EventInfoType* pEventData |
| 6185 | ); |
| 6186 | |
| 6187 | WDI_Status |
| 6188 | WDI_ProcessEXTScanResetHotlistBSSIDRsp |
| 6189 | ( |
| 6190 | WDI_ControlBlockType* pWDICtx, |
| 6191 | WDI_EventInfoType* pEventData |
| 6192 | ); |
| 6193 | |
| 6194 | WDI_Status |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 6195 | WDI_ProcessEXTScanSetSSIDHotlistReq |
| 6196 | ( |
| 6197 | WDI_ControlBlockType* pWDICtx, |
| 6198 | WDI_EventInfoType* pEventData |
| 6199 | ); |
| 6200 | |
| 6201 | WDI_Status |
| 6202 | WDI_ProcessEXTScanSetHotlistSSIDRsp |
| 6203 | ( |
| 6204 | WDI_ControlBlockType* pWDICtx, |
| 6205 | WDI_EventInfoType* pEventData |
| 6206 | ); |
| 6207 | |
| 6208 | WDI_Status |
| 6209 | WDI_ProcessEXTScanResetSSIDHotlistReq |
| 6210 | ( |
| 6211 | WDI_ControlBlockType* pWDICtx, |
| 6212 | WDI_EventInfoType* pEventData |
| 6213 | ); |
| 6214 | |
| 6215 | WDI_Status |
| 6216 | WDI_ProcessEXTScanResetHotlistSSIDRsp |
| 6217 | ( |
| 6218 | WDI_ControlBlockType* pWDICtx, |
| 6219 | WDI_EventInfoType* pEventData |
| 6220 | ); |
| 6221 | |
| 6222 | WDI_Status |
Padma, Santhosh Kumar | c1f7f05 | 2015-08-26 12:29:01 +0530 | [diff] [blame] | 6223 | WDI_ProcessHighPriorityDataInfoInd |
| 6224 | ( |
| 6225 | WDI_ControlBlockType* pWDICtx, |
| 6226 | WDI_EventInfoType* pEventData |
| 6227 | ); |
| 6228 | |
| 6229 | WDI_Status |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6230 | WDI_ProcessEXTScanScanAvailableInd |
| 6231 | ( |
| 6232 | WDI_ControlBlockType* pWDICtx, |
| 6233 | WDI_EventInfoType* pEventData |
| 6234 | ); |
| 6235 | |
| 6236 | WDI_Status |
| 6237 | WDI_ProcessEXTScanResultInd |
| 6238 | ( |
| 6239 | WDI_ControlBlockType* pWDICtx, |
| 6240 | WDI_EventInfoType* pEventData |
| 6241 | ); |
| 6242 | |
| 6243 | WDI_Status |
| 6244 | WDI_ProcessEXTScanBssidHotListResultInd |
| 6245 | ( |
| 6246 | WDI_ControlBlockType* pWDICtx, |
| 6247 | WDI_EventInfoType* pEventData |
| 6248 | ); |
| 6249 | |
Padma, Santhosh Kumar | 9acee01 | 2015-08-21 19:58:01 +0530 | [diff] [blame] | 6250 | WDI_Status |
| 6251 | WDI_ProcessEXTScanSsidHotListResultInd |
| 6252 | ( |
| 6253 | WDI_ControlBlockType* pWDICtx, |
| 6254 | WDI_EventInfoType* pEventData |
| 6255 | ); |
| 6256 | |
| 6257 | |
Dino Mycle | 41bdc94 | 2014-06-10 11:30:24 +0530 | [diff] [blame] | 6258 | #endif /* WLAN_FEATURE_EXTSCAN */ |
| 6259 | |
Sunil Dutt | bd736ed | 2014-05-26 21:19:41 +0530 | [diff] [blame] | 6260 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 6261 | WDI_Status |
| 6262 | WDI_ProcessLLStatsSetRsp |
| 6263 | ( |
| 6264 | WDI_ControlBlockType* pWDICtx, |
| 6265 | WDI_EventInfoType* pEventData |
| 6266 | ); |
| 6267 | |
| 6268 | WDI_Status |
| 6269 | WDI_ProcessLLStatsSetReq |
| 6270 | ( |
| 6271 | WDI_ControlBlockType* pWDICtx, |
| 6272 | WDI_EventInfoType* pEventData |
| 6273 | ); |
| 6274 | |
| 6275 | WDI_Status |
| 6276 | WDI_ProcessLLStatsGetRsp |
| 6277 | ( |
| 6278 | WDI_ControlBlockType* pWDICtx, |
| 6279 | WDI_EventInfoType* pEventData |
| 6280 | ); |
| 6281 | |
| 6282 | WDI_Status |
| 6283 | WDI_ProcessLLStatsGetReq |
| 6284 | ( |
| 6285 | WDI_ControlBlockType* pWDICtx, |
| 6286 | WDI_EventInfoType* pEventData |
| 6287 | ); |
| 6288 | |
| 6289 | WDI_Status |
| 6290 | WDI_ProcessLLStatsClearRsp |
| 6291 | ( |
| 6292 | WDI_ControlBlockType* pWDICtx, |
| 6293 | WDI_EventInfoType* pEventData |
| 6294 | ); |
| 6295 | |
| 6296 | WDI_Status |
| 6297 | WDI_ProcessLLStatsClearReq |
| 6298 | ( |
| 6299 | WDI_ControlBlockType* pWDICtx, |
| 6300 | WDI_EventInfoType* pEventData |
| 6301 | ); |
| 6302 | |
| 6303 | WDI_Status |
| 6304 | WDI_ProcessLinkLayerStatsResultsInd |
| 6305 | ( |
| 6306 | WDI_ControlBlockType* pWDICtx, |
| 6307 | WDI_EventInfoType* pEventData |
| 6308 | ); |
| 6309 | |
| 6310 | #endif /* WLAN_FEATURE_LINK_LAYER_STATS */ |
c_hpothu | 8604100 | 2014-04-14 19:06:51 +0530 | [diff] [blame] | 6311 | |
Abhishek Singh | 66c1676 | 2014-08-14 19:13:19 +0530 | [diff] [blame] | 6312 | WDI_Status |
| 6313 | WDI_delBaInd |
| 6314 | ( |
| 6315 | WDI_ControlBlockType* pWDICtx, |
| 6316 | WDI_EventInfoType* pEventData |
| 6317 | ); |
| 6318 | |
Siddharth Bhal | 171788a | 2014-09-29 21:02:40 +0530 | [diff] [blame] | 6319 | WDI_Status |
| 6320 | WDI_ProcessSpoofMacAddrReq |
| 6321 | ( |
| 6322 | WDI_ControlBlockType* pWDICtx, |
| 6323 | WDI_EventInfoType* pEventData |
| 6324 | ); |
| 6325 | WDI_Status |
| 6326 | WDI_ProcessSpoofMacAddrRsp |
| 6327 | ( |
| 6328 | WDI_ControlBlockType* pWDICtx, |
| 6329 | WDI_EventInfoType* pEventData |
| 6330 | ); |
| 6331 | |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 6332 | WDI_Status |
Siddharth Bhal | 6424617 | 2015-02-27 01:04:37 +0530 | [diff] [blame] | 6333 | WDI_ProcessGetFrameLogRsp |
| 6334 | ( |
| 6335 | WDI_ControlBlockType* pWDICtx, |
| 6336 | WDI_EventInfoType* pEventData |
| 6337 | ); |
| 6338 | WDI_Status |
| 6339 | WDI_ProcessGetFrameLogReq |
| 6340 | ( |
| 6341 | WDI_ControlBlockType* pWDICtx, |
| 6342 | WDI_EventInfoType* pEventData |
| 6343 | ); |
| 6344 | |
| 6345 | WDI_Status |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 6346 | WDI_ProcessFWLoggingDXEdoneInd |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 6347 | ( |
| 6348 | WDI_ControlBlockType* pWDICtx, |
| 6349 | WDI_EventInfoType* pEventData |
| 6350 | ); |
| 6351 | |
| 6352 | WDI_Status |
Sachin Ahuja | 715aafc | 2015-07-21 23:35:10 +0530 | [diff] [blame] | 6353 | WDI_ProcessFatalEventLogsReq |
| 6354 | |
| 6355 | ( |
| 6356 | WDI_ControlBlockType* pWDICtx, |
| 6357 | WDI_EventInfoType* pEventData |
| 6358 | ); |
| 6359 | |
| 6360 | WDI_Status |
| 6361 | WDI_ProcessFatalEventLogsRsp |
| 6362 | ( |
| 6363 | WDI_ControlBlockType* pWDICtx, |
| 6364 | WDI_EventInfoType* pEventData |
| 6365 | ); |
| 6366 | |
| 6367 | WDI_Status |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 6368 | WDI_ProcessFWLoggingInitReq |
| 6369 | ( |
| 6370 | WDI_ControlBlockType* pWDICtx, |
| 6371 | WDI_EventInfoType* pEventData |
| 6372 | ); |
| 6373 | |
| 6374 | WDI_Status |
| 6375 | WDI_ProcessFWFrameLoggingInitRsp |
Siddharth Bhal | b7c421c | 2015-02-27 00:26:09 +0530 | [diff] [blame] | 6376 | ( |
| 6377 | WDI_ControlBlockType* pWDICtx, |
| 6378 | WDI_EventInfoType* pEventData |
| 6379 | ); |
| 6380 | |
| 6381 | WDI_Status |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 6382 | WDI_ProcessRssiMonitorStartReq |
| 6383 | ( |
| 6384 | WDI_ControlBlockType* pWDICtx, |
| 6385 | WDI_EventInfoType* pEventData |
| 6386 | ); |
| 6387 | |
| 6388 | WDI_Status |
| 6389 | WDI_ProcessRssiMonitorStartRsp |
| 6390 | ( |
| 6391 | WDI_ControlBlockType* pWDICtx, |
| 6392 | WDI_EventInfoType* pEventData |
| 6393 | ); |
| 6394 | |
| 6395 | WDI_Status |
| 6396 | WDI_ProcessRssiMonitorStopReq |
| 6397 | ( |
| 6398 | WDI_ControlBlockType* pWDICtx, |
| 6399 | WDI_EventInfoType* pEventData |
| 6400 | ); |
| 6401 | |
| 6402 | WDI_Status |
| 6403 | WDI_ProcessRssiMonitorStopRsp |
| 6404 | ( |
| 6405 | WDI_ControlBlockType* pWDICtx, |
| 6406 | WDI_EventInfoType* pEventData |
| 6407 | ); |
| 6408 | |
| 6409 | WDI_Status |
Srinivas Dasari | 4dae48f | 2014-11-26 21:14:16 +0530 | [diff] [blame] | 6410 | WDI_ProcessEncryptMsgReq |
| 6411 | ( |
| 6412 | WDI_ControlBlockType* pWDICtx, |
| 6413 | WDI_EventInfoType* pEventData |
| 6414 | ); |
| 6415 | |
| 6416 | WDI_Status |
| 6417 | WDI_ProcessEncryptMsgRsp |
| 6418 | ( |
| 6419 | WDI_ControlBlockType* pWDICtx, |
| 6420 | WDI_EventInfoType* pEventData |
| 6421 | ); |
Srinivas Dasari | 32a7926 | 2015-02-19 13:04:49 +0530 | [diff] [blame] | 6422 | |
| 6423 | /** |
| 6424 | @brief Process NAN Request |
| 6425 | |
| 6426 | @param pWDICtx: pointer to the WLAN DAL context |
| 6427 | pEventData: pointer to the event information structure |
| 6428 | |
| 6429 | @see |
| 6430 | @return Result of the function call |
| 6431 | */ |
| 6432 | WDI_Status |
| 6433 | WDI_ProcessNanRequest |
| 6434 | ( |
| 6435 | WDI_ControlBlockType* pWDICtx, |
| 6436 | WDI_EventInfoType* pEventData |
| 6437 | ); |
| 6438 | |
| 6439 | /** |
| 6440 | @brief Process NAN Response |
| 6441 | |
| 6442 | @param pWDICtx: pointer to the WLAN DAL context |
| 6443 | pEventData: pointer to the event information structure |
| 6444 | |
| 6445 | @see |
| 6446 | @return Result of the function call |
| 6447 | */ |
| 6448 | WDI_Status |
| 6449 | WDI_ProcessNanResponse |
| 6450 | ( |
| 6451 | WDI_ControlBlockType* pWDICtx, |
| 6452 | WDI_EventInfoType* pEventData |
| 6453 | ); |
| 6454 | |
| 6455 | /** |
| 6456 | *@brief Process NAN Event function (called when |
| 6457 | an indication is being received over the |
| 6458 | bus from HAL) |
| 6459 | |
| 6460 | @param pWDICtx: pointer to the WLAN DAL context |
| 6461 | pEventData: pointer to the event information structure |
| 6462 | |
| 6463 | @see |
| 6464 | @return Result of the function call |
| 6465 | */ |
| 6466 | WDI_Status |
| 6467 | WDI_ProcessNanEvent |
| 6468 | ( |
| 6469 | WDI_ControlBlockType* pWDICtx, |
| 6470 | WDI_EventInfoType* pEventData |
| 6471 | ); |
| 6472 | |
Sachin Ahuja | 3d47fcd | 2015-08-28 16:02:06 +0530 | [diff] [blame] | 6473 | |
| 6474 | /** |
| 6475 | *@brief Process Lost Link param function (called when |
| 6476 | an indication is being received over the |
| 6477 | bus from HAL) |
| 6478 | |
| 6479 | @param pWDICtx: pointer to the WLAN DAL context |
| 6480 | pEventData: pointer to the event information structure |
| 6481 | |
| 6482 | @see |
| 6483 | @return Result of the function call |
| 6484 | */ |
| 6485 | |
| 6486 | WDI_Status |
| 6487 | WDI_Process_LostLinkParamInd |
| 6488 | ( |
| 6489 | WDI_ControlBlockType* pWDICtx, |
| 6490 | WDI_EventInfoType* pEventData |
| 6491 | ); |
| 6492 | |
Gupta, Kapil | 7c34b32 | 2015-09-30 13:12:35 +0530 | [diff] [blame] | 6493 | WDI_Status |
| 6494 | WDI_Process_RssiBreachedInd |
| 6495 | ( |
| 6496 | WDI_ControlBlockType* pWDICtx, |
| 6497 | WDI_EventInfoType* pEventData |
| 6498 | ); |
| 6499 | |
Sachin Ahuja | 3d47fcd | 2015-08-28 16:02:06 +0530 | [diff] [blame] | 6500 | |
Abhishek Singh | 41988ba | 2015-05-25 19:42:29 +0530 | [diff] [blame] | 6501 | /** |
| 6502 | @brief WDI_ProcessSetRtsCtsHtvhtInd |
| 6503 | Set RTS/CTS indication for diff modes. |
| 6504 | |
| 6505 | @param pWDICtx: pointer to the WLAN DAL context |
| 6506 | pEventData: pointer to the event information structure |
| 6507 | |
| 6508 | @return Result of the function call |
| 6509 | */ |
| 6510 | |
| 6511 | |
| 6512 | WDI_Status |
| 6513 | WDI_ProcessSetRtsCtsHtvhtInd |
| 6514 | ( |
| 6515 | WDI_ControlBlockType* pWDICtx, |
| 6516 | WDI_EventInfoType* pEventData |
| 6517 | ); |
| 6518 | |
Katya Nigam | f0511f6 | 2015-05-05 16:40:57 +0530 | [diff] [blame] | 6519 | WDI_Status |
| 6520 | WDI_ProcessMonStartReq |
| 6521 | ( |
| 6522 | WDI_ControlBlockType* pWDICtx, |
| 6523 | WDI_EventInfoType* pEventData |
| 6524 | ); |
| 6525 | |
| 6526 | WDI_Status |
| 6527 | WDI_ProcessMonStartRsp |
| 6528 | ( |
| 6529 | WDI_ControlBlockType* pWDICtx, |
| 6530 | WDI_EventInfoType* pEventData |
| 6531 | ); |
| 6532 | |
| 6533 | WDI_Status |
| 6534 | WDI_ProcessMonStopReq |
| 6535 | ( |
| 6536 | WDI_ControlBlockType* pWDICtx, |
| 6537 | WDI_EventInfoType* pEventData |
| 6538 | ); |
| 6539 | |
| 6540 | WDI_Status |
| 6541 | WDI_ProcessMonStopRsp |
| 6542 | ( |
| 6543 | WDI_ControlBlockType* pWDICtx, |
| 6544 | WDI_EventInfoType* pEventData |
| 6545 | ); |
Abhishek Singh | 41988ba | 2015-05-25 19:42:29 +0530 | [diff] [blame] | 6546 | |
Mahesh A Saptasagar | beca12c | 2015-09-07 16:21:06 +0530 | [diff] [blame] | 6547 | WDI_Status |
| 6548 | WDI_ProcessEnableDisableCAEventInd |
| 6549 | ( |
| 6550 | WDI_ControlBlockType* pWDICtx, |
| 6551 | WDI_EventInfoType* pEventData |
| 6552 | ); |
| 6553 | |
c_manjee | cfd1efb | 2015-09-25 19:32:34 +0530 | [diff] [blame] | 6554 | WDI_Status |
| 6555 | WDI_ProcessFwrMemDumpReq |
| 6556 | ( |
| 6557 | WDI_ControlBlockType* pWDICtx, |
| 6558 | WDI_EventInfoType* pEventData |
| 6559 | ); |
| 6560 | |
| 6561 | WDI_Status |
| 6562 | WDI_ProcessFwrMemDumpRsp |
| 6563 | ( |
| 6564 | WDI_ControlBlockType* pWDICtx, |
| 6565 | WDI_EventInfoType* pEventData |
| 6566 | ); |
| 6567 | |
Arun Khandavalli | 7eeb159 | 2015-10-19 21:36:57 +0530 | [diff] [blame] | 6568 | WDI_Status |
| 6569 | WDI_ProcessWifiConfigReq |
| 6570 | ( |
| 6571 | WDI_ControlBlockType* pWDICtx, |
| 6572 | WDI_EventInfoType* pEventData |
| 6573 | ); |
| 6574 | |
| 6575 | WDI_Status |
| 6576 | WDI_ProcessWificonfigSetRsp |
| 6577 | ( |
| 6578 | WDI_ControlBlockType* pWDICtx, |
| 6579 | WDI_EventInfoType* pEventData |
| 6580 | ); |
| 6581 | |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 6582 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 6583 | /** |
| 6584 | @brief WDI_ProcessStartOemDataReqIndNew - |
| 6585 | Send OEM Data request new indication to FW |
| 6586 | |
| 6587 | @param pWDICtx : wdi context |
| 6588 | pEventData : indication data |
| 6589 | |
| 6590 | @see |
| 6591 | @return none |
| 6592 | */ |
| 6593 | WDI_Status |
| 6594 | WDI_ProcessStartOemDataReqIndNew |
| 6595 | ( |
| 6596 | WDI_ControlBlockType* pWDICtx, |
| 6597 | WDI_EventInfoType* pEventData |
| 6598 | ); |
| 6599 | |
| 6600 | /** |
| 6601 | @brief Process OemDataRsp New Indication indication from FW |
| 6602 | |
| 6603 | @param pWDICtx: pointer to the WLAN DAL context |
| 6604 | pEventData: pointer to the event information structure |
| 6605 | |
| 6606 | @see |
| 6607 | @return Result of the function call |
| 6608 | */ |
| 6609 | WDI_Status |
| 6610 | WDI_ProcessStartOemDataRspIndNew |
| 6611 | ( |
| 6612 | WDI_ControlBlockType* pWDICtx, |
| 6613 | WDI_EventInfoType* pEventData |
| 6614 | ); |
| 6615 | #endif |
| 6616 | |
Mahesh A Saptasagar | cfc65ae | 2015-12-22 15:06:10 +0530 | [diff] [blame] | 6617 | /** |
| 6618 | @brief Process get current antenna index command |
| 6619 | |
| 6620 | @param pWDICtx: pointer to the WLAN DAL context |
| 6621 | pEventData: pointer to the event information structure |
| 6622 | |
| 6623 | @see |
| 6624 | @return Result of the function call |
| 6625 | */ |
| 6626 | WDI_Status |
| 6627 | WDI_ProcessGetCurrentAntennaIndex |
| 6628 | ( |
| 6629 | WDI_ControlBlockType* pWDICtx, |
| 6630 | WDI_EventInfoType* pEventData |
| 6631 | ); |
| 6632 | |
| 6633 | /** |
| 6634 | @brief Process get current antenna index response from FW |
| 6635 | |
| 6636 | @param pWDICtx: pointer to the WLAN DAL context |
| 6637 | pEventData: pointer to the event information structure |
| 6638 | |
| 6639 | @see |
| 6640 | @return Result of the function call |
| 6641 | */ |
| 6642 | WDI_Status |
| 6643 | WDI_ProcessGetCurrentAntennaIndexRsp |
| 6644 | ( |
| 6645 | WDI_ControlBlockType* pWDICtx, |
| 6646 | WDI_EventInfoType* pEventData |
| 6647 | ); |
Padma, Santhosh Kumar | 2ccac21 | 2015-10-20 17:27:27 +0530 | [diff] [blame] | 6648 | |
Mahesh A Saptasagar | 7d43295 | 2016-02-09 14:01:03 +0530 | [diff] [blame] | 6649 | /** |
| 6650 | @brief Process set modified roam params command |
| 6651 | |
| 6652 | @param pWDICtx: pointer to the WLAN DAL context |
| 6653 | pEventData: pointer to the event information structure |
| 6654 | |
| 6655 | @see |
| 6656 | @return Result of the function call |
| 6657 | */ |
| 6658 | WDI_Status |
| 6659 | WDI_ProcessBcnMissPenaltyCount |
| 6660 | ( |
| 6661 | WDI_ControlBlockType* pWDICtx, |
| 6662 | WDI_EventInfoType* pEventData |
| 6663 | ); |
Selvaraj, Sridhar | c045b8b | 2016-04-06 12:22:35 +0530 | [diff] [blame] | 6664 | |
| 6665 | /** |
| 6666 | * WDI_ProcessSetAllowedActionFramesInd - Process Set allowed action |
| 6667 | * frames command |
| 6668 | * |
| 6669 | * @pWDICtx: pointer to the WLAN DAL context |
| 6670 | * @pEventData: pointer to the event information structure |
| 6671 | * |
| 6672 | */ |
| 6673 | WDI_Status |
| 6674 | WDI_ProcessSetAllowedActionFramesInd |
| 6675 | ( |
| 6676 | WDI_ControlBlockType* pWDICtx, |
| 6677 | WDI_EventInfoType* pEventData |
| 6678 | ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 6679 | #endif /*WLAN_QCT_WDI_I_H*/ |
| 6680 | |