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