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