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