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