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