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