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