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