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