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