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