blob: 1e1235741297339f506d7405b02c3c51ace602e2 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Kiet Lam1ed83fc2014-02-19 01:15:45 -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
22/*
Kiet Lama7f454d2014-07-24 12:04:06 -070023 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080026 */
Kiet Lam1ed83fc2014-02-19 01:15:45 -080027
28
Kiet Lama7f454d2014-07-24 12:04:06 -070029
30
Jeff Johnson295189b2012-06-20 16:38:30 -070031#ifndef WLAN_QCT_WDI_I_H
32#define WLAN_QCT_WDI_I_H
33
34/*===========================================================================
35
36 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
37 I N T E R N A L A P I F O R T H E
38 D A T A P A T H
39
40
41DESCRIPTION
42 This file contains the internal API exposed by the DAL Control Path Core
Kiet Lam1ed83fc2014-02-19 01:15:45 -080043 module to be used by the DAL Data Path Core.
Jeff Johnson295189b2012-06-20 16:38:30 -070044===========================================================================*/
45
46
47/*===========================================================================
48
49 EDIT HISTORY FOR FILE
50
51
52 This section contains comments describing changes made to the module.
53 Notice that changes are listed in reverse chronological order.
54
55
56 $Header:$ $DateTime: $ $Author: $
57
58
59when who what, where, why
60-------- --- ----------------------------------------------------------
6110/05/11 hap Adding support for Keep Alive
6208/19/10 lti Created module.
63
64===========================================================================*/
65
66#include "wlan_qct_pal_type.h"
67#include "wlan_qct_pal_api.h"
68#include "wlan_qct_pal_list.h"
69#include "wlan_qct_pal_sync.h"
70#include "wlan_qct_pal_timer.h"
71#include "wlan_qct_wdi_cts.h"
72#include "wlan_qct_wdi_bd.h"
73
74#include "wlan_hal_msg.h"
75#include "wlan_status_code.h"
76#include "wlan_qct_dev_defs.h"
77/*----------------------------------------------------------------------------
78 * Preprocessor Definitions and Constants
79 * -------------------------------------------------------------------------*/
80
81/*Assert macro - redefined for WDI so it is more flexible in disabling*/
82#define WDI_ASSERT(_cond) WPAL_ASSERT(_cond)
83
84/*Error codes that can be returned by WDI - the HAL Error codes are not
85 propagated outside WDI because they are too explicit when refering to RIVA
86 HW errors - they are masked under dev internal failure*/
87#define WDI_ERR_BASIC_OP_FAILURE 0
88#define WDI_ERR_TRANSPORT_FAILURE 1
89#define WDI_ERR_INVALID_RSP_FMT 2
90#define WDI_ERR_RSP_TIMEOUT 3
91#define WDI_ERR_DEV_INTERNAL_FAILURE 4
92
93/*In prima 12 HW stations are supported including BCAST STA(staId 0)
94 and SELF STA(staId 1) so total ASSOC stations which can connect to Prima
95 SoftAP = 12 - 1(Self STa) - 1(Bcast Sta) = 10 Stations. */
Gopichand Nakkala976e3252013-01-03 15:45:56 -080096
97#ifdef WLAN_SOFTAP_VSTA_FEATURE
Yathish Hanumapuradoddi Shivanna64dfc472013-03-08 10:48:34 -080098#define WDI_MAX_SUPPORTED_STAS 41
Gopichand Nakkala976e3252013-01-03 15:45:56 -080099#else
Yathish Hanumapuradoddi Shivanna64dfc472013-03-08 10:48:34 -0800100#define WDI_MAX_SUPPORTED_STAS 12
Gopichand Nakkala976e3252013-01-03 15:45:56 -0800101#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700102#define WDI_MAX_SUPPORTED_BSS 5
103
104/* Control transport channel size*/
105#define WDI_CT_CHANNEL_SIZE 4096
106
107/*Invalid BSS index ! TO DO: Must come from the HAL header file*/
108#define WDI_BSS_INVALID_IDX 0xFF
109
Jeff Johnson295189b2012-06-20 16:38:30 -0700110#define WDI_FTM_MAX_RECEIVE_BUFFER 6500
Jeff Johnson295189b2012-06-20 16:38:30 -0700111
112/*---------------------------------------------------------------------------
113 DAL Control Path Main States
114---------------------------------------------------------------------------*/
115typedef enum
116{
117 /* Transition in this state made upon creation and when a close request is
118 received*/
119 WDI_INIT_ST = 0,
120
121 /* Transition happens after a Start response was received from HAL (as a
122 result of a previously sent HAL Request)*/
123 WDI_STARTED_ST,
124
125 /* Transition happens when a Stop request was received */
126 WDI_STOPPED_ST,
127
128 /* Transition happens when a request is being sent down to HAL and we are
129 waiting for the response */
130 WDI_BUSY_ST,
131
132 /* Transition happens when 'SSR' shutdown request is recieved.*/
133 WDI_SHUTDOWN_ST,
134
135 WDI_MAX_ST
136}WDI_MainStateType;
137
138
139/*---------------------------------------------------------------------------
140 DAL Control Path Scan States
141---------------------------------------------------------------------------*/
142typedef enum
143{
144 /*The flag will be set to this state when init is called. Once the flag has
145 this value the only two scanning API calls allowed are Scan Start and
146 Scan Finished*/
147 WDI_SCAN_INITIALIZED_ST = 0,
148
149 /*The flag will be set to this value once the Start Scan API is called.
150 When the flag has this value only Scan End API will be allowed. */
151 WDI_SCAN_STARTED_ST = 1,
152
153 /*The flag will be set to this value when End Scan API is called. When the
154 flag is set to this value the only two Scan APIs allowed are Start and
155 Finish. */
156 WDI_SCAN_ENDED_ST = 2,
157
158 /*The flag will be set to this value in the beginning before init is called
159 and after the Finish API is called. No other scan APIs will be allowed
160 in this state until Scan Init is called again. */
161 WDI_SCAN_FINISHED_ST = 3,
162
163 WDI_SCAN_MAX_ST
164}WDI_ScanStateType;
165
166/*---------------------------------------------------------------------------
167 WLAN DAL BSS Session Type - used to allow simulatneous association
168 and keep track of each associated session
169 ---------------------------------------------------------------------------*/
170#define WDI_MAX_BSS_SESSIONS 10
171
172typedef enum
173{
174 /*Init state*/
175 WDI_ASSOC_INIT_ST,
176
177 /*Joining State*/
178 WDI_ASSOC_JOINING_ST,
179
180 /*Associated state*/
181 WDI_ASSOC_POST_ST,
182
183 WDI_ASSOC_MAX_ST
184}WDI_AssocStateType;
185
186/*---------------------------------------------------------------------------
187 WLAN DAL Supported Request Types
188 ---------------------------------------------------------------------------*/
189typedef enum
190{
191 /*WLAN DAL START Request*/
192 WDI_START_REQ = 0,
193
194 /*WLAN DAL STOP Request*/
195 WDI_STOP_REQ = 1,
196
197 /*WLAN DAL STOP Request*/
198 WDI_CLOSE_REQ = 2,
199
200
201 /*SCAN*/
202 /*WLAN DAL Init Scan Request*/
203 WDI_INIT_SCAN_REQ = 3,
204
205 /*WLAN DAL Start Scan Request*/
206 WDI_START_SCAN_REQ = 4,
207
208 /*WLAN DAL End Scan Request*/
209 WDI_END_SCAN_REQ = 5,
210
211 /*WLAN DAL Finish Scan Request*/
212 WDI_FINISH_SCAN_REQ = 6,
213
214
215 /*ASSOCIATION*/
216 /*WLAN DAL Join Request*/
217 WDI_JOIN_REQ = 7,
218
219 /*WLAN DAL Config BSS Request*/
220 WDI_CONFIG_BSS_REQ = 8,
221
222 /*WLAN DAL Del BSS Request*/
223 WDI_DEL_BSS_REQ = 9,
224
225 /*WLAN DAL Post Assoc Request*/
226 WDI_POST_ASSOC_REQ = 10,
227
228 /*WLAN DAL Del STA Request*/
229 WDI_DEL_STA_REQ = 11,
230
231 /*Security*/
232 /*WLAN DAL Set BSS Key Request*/
233 WDI_SET_BSS_KEY_REQ = 12,
234
235 /*WLAN DAL Remove BSS Key Request*/
236 WDI_RMV_BSS_KEY_REQ = 13,
237
238 /*WLAN DAL Set STA Key Request*/
239 WDI_SET_STA_KEY_REQ = 14,
240
241 /*WLAN DAL Remove STA Key Request*/
242 WDI_RMV_STA_KEY_REQ = 15,
243
244 /*QOS and BA*/
245 /*WLAN DAL Add TSpec Request*/
246 WDI_ADD_TS_REQ = 16,
247
248 /*WLAN DAL Delete TSpec Request*/
249 WDI_DEL_TS_REQ = 17,
250
251 /*WLAN DAL Update EDCA Params Request*/
252 WDI_UPD_EDCA_PRMS_REQ = 18,
253
254 /*WLAN DAL Add BA Session Request*/
255 WDI_ADD_BA_SESSION_REQ = 19,
256
257 /*WLAN DAL Delete BA Request*/
258 WDI_DEL_BA_REQ = 20,
259
260 /* Miscellaneous Control */
261 /*WLAN DAL Channel Switch Request*/
262 WDI_CH_SWITCH_REQ = 21,
263
264 /*WLAN DAL Config STA Request*/
265 WDI_CONFIG_STA_REQ = 22,
266
267 /*WLAN DAL Set Link State Request*/
268 WDI_SET_LINK_ST_REQ = 23,
269
270 /*WLAN DAL Get Stats Request*/
271 WDI_GET_STATS_REQ = 24,
272
273 /*WLAN DAL Update Config Request*/
274 WDI_UPDATE_CFG_REQ = 25,
275
276 /* WDI ADD BA Request */
277 WDI_ADD_BA_REQ = 26,
278
279 /* WDI Trigger BA Request */
280 WDI_TRIGGER_BA_REQ = 27,
281
282 /*WLAN DAL Update Beacon Params Request*/
283 WDI_UPD_BCON_PRMS_REQ = 28,
284
285 /*WLAN DAL Send Beacon template Request*/
286 WDI_SND_BCON_REQ = 29,
287
288 /*WLAN DAL Send Probe Response Template Request*/
289 WDI_UPD_PROBE_RSP_TEMPLATE_REQ = 30,
290
291 /*WLAN DAL Set STA Bcast Key Request*/
292 WDI_SET_STA_BCAST_KEY_REQ = 31,
293
294 /*WLAN DAL Remove STA Bcast Key Request*/
295 WDI_RMV_STA_BCAST_KEY_REQ = 32,
296
297 /*WLAN DAL Set Max Tx Power Request*/
298 WDI_SET_MAX_TX_POWER_REQ = 33,
299
300 /* WLAN DAL P2P GO Notice Of Absence Request */
301 WDI_P2P_GO_NOTICE_OF_ABSENCE_REQ = 34,
302
303 /*WLAN DAL Enter IMPS Request*/
304 WDI_ENTER_IMPS_REQ = 35,
305
306 /*WLAN DAL Exit IMPS Request*/
307 WDI_EXIT_IMPS_REQ = 36,
308
309 /*WLAN DAL Enter BMPS Request*/
310 WDI_ENTER_BMPS_REQ = 37,
311
312 /*WLAN DAL Exit BMPS Request*/
313 WDI_EXIT_BMPS_REQ = 38,
314
315 /*WLAN DAL Enter UAPSD Request*/
316 WDI_ENTER_UAPSD_REQ = 39,
317
318 /*WLAN DAL Exit UAPSD Request*/
319 WDI_EXIT_UAPSD_REQ = 40,
320
321 /*WLAN DAL Set UAPSD Param Request*/
322 WDI_SET_UAPSD_PARAM_REQ = 41,
323
324 /*WLAN DAL Update UAPSD Param (SoftAP mode) Request*/
325 WDI_UPDATE_UAPSD_PARAM_REQ = 42,
326
327 /*WLAN DAL Configure RXP filter Request*/
328 WDI_CONFIGURE_RXP_FILTER_REQ = 43,
329
330 /*WLAN DAL Configure Beacon filter Request*/
331 WDI_SET_BEACON_FILTER_REQ = 44,
332
333 /*WLAN DAL Remove Beacon filter Request*/
334 WDI_REM_BEACON_FILTER_REQ = 45,
335
336 /*WLAN DAL Set RSSI thresholds Request*/
337 WDI_SET_RSSI_THRESHOLDS_REQ = 46,
338
339 /*WLAN DAL host offload Request*/
340 WDI_HOST_OFFLOAD_REQ = 47,
341
342 /*WLAN DAL add wowl bc ptrn Request*/
343 WDI_WOWL_ADD_BC_PTRN_REQ = 48,
344
345 /*WLAN DAL delete wowl bc ptrn Request*/
346 WDI_WOWL_DEL_BC_PTRN_REQ = 49,
347
348 /*WLAN DAL enter wowl Request*/
349 WDI_WOWL_ENTER_REQ = 50,
350
351 /*WLAN DAL exit wowl Request*/
352 WDI_WOWL_EXIT_REQ = 51,
353
354 /*WLAN DAL Configure Apps CPU Wakeup state Request*/
355 WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_REQ = 52,
356
357 /* WLAN NV Download Request */
358 WDI_NV_DOWNLOAD_REQ = 53,
359 /*WLAN DAL Flush AC Request*/
360 WDI_FLUSH_AC_REQ = 54,
361
362 /*WLAN DAL BT AMP event Request*/
363 WDI_BTAMP_EVENT_REQ = 55,
364 /*WLAN DAL Aggregated Add TSpec Request*/
365 WDI_AGGR_ADD_TS_REQ = 56,
366
367 WDI_ADD_STA_SELF_REQ = 57,
368
369 WDI_DEL_STA_SELF_REQ = 58,
370
371 /* WLAN FTM Command request */
372 WDI_FTM_CMD_REQ = 59,
373
Jeff Johnsone7245742012-09-05 17:12:55 -0700374 /*WLAN START OEM_DATA MEAS Request*/
375 WDI_START_OEM_DATA_REQ = 60,
Jeff Johnson295189b2012-06-20 16:38:30 -0700376 /* WLAN host resume request */
377 WDI_HOST_RESUME_REQ = 61,
378
379 WDI_KEEP_ALIVE_REQ = 62,
380
381 /* Set PNO */
382 WDI_SET_PREF_NETWORK_REQ = 63,
383
384 /*RSSI Filter Request*/
385 WDI_SET_RSSI_FILTER_REQ = 64,
386
387 /* Update Scan Parameters*/
388 WDI_UPDATE_SCAN_PARAMS_REQ = 65,
389
390 WDI_SET_TX_PER_TRACKING_REQ = 66,
391
392 WDI_8023_MULTICAST_LIST_REQ = 67,
393 WDI_RECEIVE_FILTER_SET_FILTER_REQ = 68,
394 WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ = 69,
395 WDI_RECEIVE_FILTER_CLEAR_FILTER_REQ = 70,
396
397 /*This is temp fix. Should be removed once
398 * Host and Riva code is in sync*/
399 WDI_INIT_SCAN_CON_REQ = 71,
400
401 /* WLAN HAL DUMP Command request */
402 WDI_HAL_DUMP_CMD_REQ = 72,
403
404 /* WLAN DAL Shutdown Request */
405 WDI_SHUTDOWN_REQ = 73,
406
407 /*Set power parameters on the device*/
408 WDI_SET_POWER_PARAMS_REQ = 74,
409
410 /* Traffic Stream Metrics statistic request */
411 WDI_TSM_STATS_REQ = 75,
412 /* GTK Rekey Offload */
413 WDI_GTK_OFFLOAD_REQ = 76,
414 WDI_GTK_OFFLOAD_GETINFO_REQ = 77,
415
416 /*Set Thermal Migration level to RIVA*/
417 WDI_SET_TM_LEVEL_REQ = 78,
418
419 /* Send a capability exchange message to HAL */
420 WDI_FEATURE_CAPS_EXCHANGE_REQ = 79,
421
Mohit Khanna4a70d262012-09-11 16:30:12 -0700422#ifdef WLAN_FEATURE_11AC
423 /* Send a capability exchange message to HAL */
424 WDI_UPDATE_VHT_OP_MODE_REQ = 80,
425#endif
426
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800427 /*WLAN DAL Get Roam Rssi Request*/
428 WDI_GET_ROAM_RSSI_REQ = 81,
429
schang86c22c42013-03-13 18:41:24 -0700430 /*WLAN DAL Set Tx Power Request*/
431 WDI_SET_TX_POWER_REQ = 82,
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700432 WDI_ROAM_SCAN_OFFLOAD_REQ = 83,
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530433
434 WDI_TDLS_LINK_ESTABLISH_REQ = 84,
435
Leo Chang9056f462013-08-01 19:21:11 -0700436 /* WLAN FW LPHB config request */
437 WDI_LPHB_CFG_REQ = 85,
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530438
Rajeev79dbe4c2013-10-05 11:03:42 +0530439 /* WLAN FW set batch scan request */
Madan Mohan Koyyalamudi9d5d29c2013-10-23 15:18:03 -0700440 WDI_SET_BATCH_SCAN_REQ = 86,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800441
Arif Hussaina5ebce02013-08-09 15:09:58 -0700442 /*WLAN DAL Set Max Tx Power Per band Request*/
Arif Hussain874bf812013-12-27 16:39:15 -0800443 WDI_SET_MAX_TX_POWER_PER_BAND_REQ = 87,
Rajeev79dbe4c2013-10-05 11:03:42 +0530444
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -0800445 WDI_UPDATE_CHAN_REQ = 88,
446
c_hpothu92367912014-05-01 15:18:17 +0530447 WDI_GET_BCN_MISS_RATE_REQ = 89,
448
Sunil Duttbd736ed2014-05-26 21:19:41 +0530449#ifdef WLAN_FEATURE_LINK_LAYER_STATS
450 WDI_LL_STATS_SET_REQ = 90,
451 WDI_LL_STATS_GET_REQ = 91,
452 WDI_LL_STATS_CLEAR_REQ = 92,
453#endif
454
Dino Mycle41bdc942014-06-10 11:30:24 +0530455#ifdef WLAN_FEATURE_EXTSCAN
456 WDI_EXTSCAN_START_REQ = 93,
457 WDI_EXTSCAN_STOP_REQ = 94,
458 WDI_EXTSCAN_GET_CACHED_RESULTS_REQ = 95,
459 WDI_EXTSCAN_GET_CAPABILITIES_REQ = 96,
460 WDI_EXTSCAN_SET_BSSID_HOTLIST_REQ = 97,
461 WDI_EXTSCAN_RESET_BSSID_HOTLIST_REQ = 98,
462 WDI_EXTSCAN_SET_SIGNF_RSSI_CHANGE_REQ = 99,
463 WDI_EXTSCAN_RESET_SIGNF_RSSI_CHANGE_REQ = 100,
464#endif
Atul Mittalc0f739f2014-07-31 13:47:47 +0530465
Siddharth Bhal171788a2014-09-29 21:02:40 +0530466 WDI_SPOOF_MAC_ADDR_REQ = 101,
467
Jeff Johnson295189b2012-06-20 16:38:30 -0700468 WDI_MAX_REQ,
469
470 /*Send a suspend Indication down to HAL*/
471 WDI_HOST_SUSPEND_IND = WDI_MAX_REQ ,
472
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -0800473 /* Send a traffic stats indication to HAL */
474 WDI_TRAFFIC_STATS_IND,
475
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530476 /* DHCP Start Indication */
477 WDI_DHCP_START_IND,
478
479 /* DHCP Stop Indication */
480 WDI_DHCP_STOP_IND,
481
Chet Lanctot186b5732013-03-18 10:26:30 -0700482 /* Drop/Receive unencrypted frames indication to HAL */
483 WDI_EXCLUDE_UNENCRYPTED_IND,
484
Yue Mab9c86f42013-08-14 15:59:08 -0700485 /* Send an add periodic Tx pattern indication to HAL */
486 WDI_ADD_PERIODIC_TX_PATTERN_IND,
487
488 /* Send a delete periodic Tx pattern indicationto HAL */
489 WDI_DEL_PERIODIC_TX_PATTERN_IND,
490
Rajeev79dbe4c2013-10-05 11:03:42 +0530491 /*Send stop batch scan indication to FW*/
492 WDI_STOP_BATCH_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800493
Rajeev79dbe4c2013-10-05 11:03:42 +0530494 /*Send stop batch scan indication to FW*/
495 WDI_TRIGGER_BATCH_SCAN_RESULT_IND,
Manjunathappa Prakash5c7d6362014-02-20 12:59:51 -0800496
497 /* Send Rate Update Indication */
498 WDI_RATE_UPDATE_IND,
499
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +0530500 WDI_START_HT40_OBSS_SCAN_IND,
501 WDI_STOP_HT40_OBSS_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800502
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800503 /* csa channel switch req*/
504 WDI_CH_SWITCH_REQ_V1,
Atul Mittalc0f739f2014-07-31 13:47:47 +0530505 WDI_TDLS_CHAN_SWITCH_REQ,
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800506
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800507 /*Keep adding the indications to the max request
508 such that we keep them sepparate */
Jeff Johnson295189b2012-06-20 16:38:30 -0700509 WDI_MAX_UMAC_IND
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +0530510}WDI_RequestEnumType;
Jeff Johnson295189b2012-06-20 16:38:30 -0700511
512/*---------------------------------------------------------------------------
513 WLAN DAL Supported Response Types
514 ---------------------------------------------------------------------------*/
515typedef enum
516{
517 /*WLAN DAL START Response*/
518 WDI_START_RESP = 0,
519
520 /*WLAN DAL STOP Response*/
521 WDI_STOP_RESP = 1,
522
523 /*WLAN DAL STOP Response*/
524 WDI_CLOSE_RESP = 2,
525
526 /*SCAN*/
527 /*WLAN DAL Init Scan Response*/
528 WDI_INIT_SCAN_RESP = 3,
529
530 /*WLAN DAL Start Scan Response*/
531 WDI_START_SCAN_RESP = 4,
532
533 /*WLAN DAL End Scan Response*/
534 WDI_END_SCAN_RESP = 5,
535
536 /*WLAN DAL Finish Scan Response*/
537 WDI_FINISH_SCAN_RESP = 6,
538
539
540 /*ASSOCIATION*/
541 /*WLAN DAL Join Response*/
542 WDI_JOIN_RESP = 7,
543
544 /*WLAN DAL Config BSS Response*/
545 WDI_CONFIG_BSS_RESP = 8,
546
547 /*WLAN DAL Del BSS Response*/
548 WDI_DEL_BSS_RESP = 9,
549
550 /*WLAN DAL Post Assoc Response*/
551 WDI_POST_ASSOC_RESP = 10,
552
553 /*WLAN DAL Del STA Response*/
554 WDI_DEL_STA_RESP = 11,
555
556 /*WLAN DAL Set BSS Key Response*/
557 WDI_SET_BSS_KEY_RESP = 12,
558
559 /*WLAN DAL Remove BSS Key Response*/
560 WDI_RMV_BSS_KEY_RESP = 13,
561
562 /*WLAN DAL Set STA Key Response*/
563 WDI_SET_STA_KEY_RESP = 14,
564
565 /*WLAN DAL Remove STA Key Response*/
566 WDI_RMV_STA_KEY_RESP = 15,
567
568 /*WLAN DAL Add TSpec Response*/
569 WDI_ADD_TS_RESP = 16,
570
571 /*WLAN DAL Delete TSpec Response*/
572 WDI_DEL_TS_RESP = 17,
573
574 /*WLAN DAL Update EDCA Params Response*/
575 WDI_UPD_EDCA_PRMS_RESP = 18,
576
577 /*WLAN DAL Add BA Session Response*/
578 WDI_ADD_BA_SESSION_RESP = 19,
579
580 /*WLAN DAL Delete BA Response*/
581 WDI_DEL_BA_RESP = 20,
582
583 /*WLAN DAL Channel Switch Response*/
584 WDI_CH_SWITCH_RESP = 21,
585
586 /*WLAN DAL Config STA Response*/
587 WDI_CONFIG_STA_RESP = 22,
588
589 /*WLAN DAL Set Link State Response*/
590 WDI_SET_LINK_ST_RESP = 23,
591
592 /*WLAN DAL Get Stats Response*/
593 WDI_GET_STATS_RESP = 24,
594
595 /*WLAN DAL Update Config Response*/
596 WDI_UPDATE_CFG_RESP = 25,
597
598 /* WDI ADD BA Response */
599 WDI_ADD_BA_RESP = 26,
600
601 /* WDI Trigger BA Response */
602 WDI_TRIGGER_BA_RESP = 27,
603
604 /*WLAN DAL Update beacon params Response*/
605 WDI_UPD_BCON_PRMS_RESP = 28,
606
607 /*WLAN DAL Send beacon template Response*/
608 WDI_SND_BCON_RESP = 29,
609
610 /*WLAN DAL Update Probe Response Template Response*/
611 WDI_UPD_PROBE_RSP_TEMPLATE_RESP = 30,
612
613 /*WLAN DAL Set STA Key Response*/
614 WDI_SET_STA_BCAST_KEY_RESP = 31,
615
616 /*WLAN DAL Remove STA Key Response*/
617 WDI_RMV_STA_BCAST_KEY_RESP = 32,
618
619 /*WLAN DAL Set Max Tx Power Response*/
620 WDI_SET_MAX_TX_POWER_RESP = 33,
621
622 /*WLAN DAL Enter IMPS Response*/
623 WDI_ENTER_IMPS_RESP = 34,
624
625 /*WLAN DAL Exit IMPS Response*/
626 WDI_EXIT_IMPS_RESP = 35,
627
628 /*WLAN DAL Enter BMPS Response*/
629 WDI_ENTER_BMPS_RESP = 36,
630
631 /*WLAN DAL Exit BMPS Response*/
632 WDI_EXIT_BMPS_RESP = 37,
633
634 /*WLAN DAL Enter UAPSD Response*/
635 WDI_ENTER_UAPSD_RESP = 38,
636
637 /*WLAN DAL Exit UAPSD Response*/
638 WDI_EXIT_UAPSD_RESP = 39,
639
640 /*WLAN DAL Set UAPSD Param Response*/
641 WDI_SET_UAPSD_PARAM_RESP = 40,
642
643 /*WLAN DAL Update UAPSD Param (SoftAP mode) Response*/
644 WDI_UPDATE_UAPSD_PARAM_RESP = 41,
645
646 /*WLAN DAL Configure RXP filter Response*/
647 WDI_CONFIGURE_RXP_FILTER_RESP = 42,
648
649 /*WLAN DAL Set Beacon filter Response*/
650 WDI_SET_BEACON_FILTER_RESP = 43,
651
652 /*WLAN DAL Remove Beacon filter Response*/
653 WDI_REM_BEACON_FILTER_RESP = 44,
654
655 /*WLAN DAL Set RSSI thresholds Response*/
656 WDI_SET_RSSI_THRESHOLDS_RESP = 45,
657
658 /*WLAN DAL Set RSSI thresholds Response*/
659 WDI_HOST_OFFLOAD_RESP = 46,
660
661 /*WLAN DAL add wowl bc ptrn Response*/
662 WDI_WOWL_ADD_BC_PTRN_RESP = 47,
663
664 /*WLAN DAL delete wowl bc ptrn Response*/
665 WDI_WOWL_DEL_BC_PTRN_RESP = 48,
666
667 /*WLAN DAL enter wowl Response*/
668 WDI_WOWL_ENTER_RESP = 49,
669
670 /*WLAN DAL exit wowl Response*/
671 WDI_WOWL_EXIT_RESP = 50,
672
673 /*WLAN DAL Configure Apps CPU Wakeup state Response*/
674 WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_RESP = 51,
675
676 /* WLAN NV Download responce */
677 WDI_NV_DOWNLOAD_RESP = 52,
678
679 /*WLAN DAL Flush AC Response*/
680 WDI_FLUSH_AC_RESP = 53,
681
682 /*WLAN DAL Flush AC Response*/
683 WDI_BTAMP_EVENT_RESP = 54,
684
685 /*WLAN DAL Add Aggregated TSpec Response*/
686 WDI_AGGR_ADD_TS_RESP = 55,
687
688 /*Add Self STA Response*/
689 WDI_ADD_STA_SELF_RESP = 56,
690
691 /*Delete Self STA Response*/
692 WDI_DEL_STA_SELF_RESP = 57,
693
Jeff Johnsone7245742012-09-05 17:12:55 -0700694 /*WLAN START OEM_DATA Response*/
695 WDI_START_OEM_DATA_RESP = 58,
Jeff Johnson295189b2012-06-20 16:38:30 -0700696
697 /* WLAN host resume request */
698 WDI_HOST_RESUME_RESP = 59,
699
700 /* WLAN DAL P2P GO Notice Of Absence Response */
701 WDI_P2P_GO_NOTICE_OF_ABSENCE_RESP = 60,
702
703 /* FTM Response from HAL */
704 WDI_FTM_CMD_RESP = 61,
705
706 /*Keep alive response */
707 WDI_KEEP_ALIVE_RESP = 62,
708
709 /* Set PNO Response */
710 WDI_SET_PREF_NETWORK_RESP = 63,
711
712 /* Set RSSI Filter Response */
713 WDI_SET_RSSI_FILTER_RESP = 64,
714
715 /* Update Scan Parameters Resp */
716 WDI_UPDATE_SCAN_PARAMS_RESP = 65,
717
718 //Tx PER Tracking
719 WDI_SET_TX_PER_TRACKING_RESP = 66,
720
721
722
723 /* Packet Filtering Response */
724 WDI_8023_MULTICAST_LIST_RESP = 67,
725
726 WDI_RECEIVE_FILTER_SET_FILTER_RESP = 68,
727
728 WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_RESP = 69,
729
730 WDI_RECEIVE_FILTER_CLEAR_FILTER_RESP = 70,
731
732
733 /* WLAN HAL DUMP Command Response */
734 WDI_HAL_DUMP_CMD_RESP = 71,
735
736 /* WLAN Shutdown Response */
737 WDI_SHUTDOWN_RESP = 72,
738
739 /*Set power parameters response */
740 WDI_SET_POWER_PARAMS_RESP = 73,
741
742 WDI_TSM_STATS_RESP = 74,
743 /* GTK Rekey Offload */
Jeff Johnsone7245742012-09-05 17:12:55 -0700744 WDI_GTK_OFFLOAD_RESP = 75,
745 WDI_GTK_OFFLOAD_GETINFO_RESP = 76,
Jeff Johnson295189b2012-06-20 16:38:30 -0700746
747 WDI_SET_TM_LEVEL_RESP = 77,
748
749 /* FW sends its capability bitmap as a response */
750 WDI_FEATURE_CAPS_EXCHANGE_RESP = 78,
751
Mohit Khanna4a70d262012-09-11 16:30:12 -0700752#ifdef WLAN_FEATURE_11AC
753 WDI_UPDATE_VHT_OP_MODE_RESP = 79,
754#endif
755
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800756 /* WLAN DAL Get Roam Rssi Response*/
757 WDI_GET_ROAM_RSSI_RESP = 80,
758
schang86c22c42013-03-13 18:41:24 -0700759 WDI_SET_TX_POWER_RESP = 81,
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700760 WDI_ROAM_SCAN_OFFLOAD_RESP = 82,
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530761
762 WDI_TDLS_LINK_ESTABLISH_REQ_RESP = 83,
Leo Chang9056f462013-08-01 19:21:11 -0700763
764 /* WLAN FW LPHB Config response */
765 WDI_LPHB_CFG_RESP = 84,
766
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800767 WDI_SET_BATCH_SCAN_RESP = 85,
Rajeev79dbe4c2013-10-05 11:03:42 +0530768
Arif Hussain874bf812013-12-27 16:39:15 -0800769 WDI_SET_MAX_TX_POWER_PER_BAND_RSP = 86,
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -0800770
771 WDI_UPDATE_CHAN_RESP = 87,
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800772 /* channel switch resp v1*/
773 WDI_CH_SWITCH_RESP_V1 = 88,
774
c_hpothu92367912014-05-01 15:18:17 +0530775 WDI_GET_BCN_MISS_RATE_RSP = 89,
Sunil Duttbd736ed2014-05-26 21:19:41 +0530776#ifdef WLAN_FEATURE_LINK_LAYER_STATS
777 WDI_LL_STATS_SET_RSP = 90,
778 WDI_LL_STATS_GET_RSP = 91,
779 WDI_LL_STATS_CLEAR_RSP = 92,
780#endif
781
Dino Mycle41bdc942014-06-10 11:30:24 +0530782#ifdef WLAN_FEATURE_EXTSCAN
Rashmi Ramannaa3aa5b12014-07-21 19:10:17 +0530783 WDI_EXTSCAN_START_RSP = 93,
784 WDI_EXTSCAN_STOP_RSP = 94,
785 WDI_EXTSCAN_GET_CACHED_RESULTS_RSP = 95,
786 WDI_EXTSCAN_GET_CAPABILITIES_RSP = 96,
787 WDI_EXTSCAN_SET_HOTLIST_BSSID_RSP = 97,
788 WDI_EXTSCAN_RESET_HOTLIST_BSSID_RSP = 98,
789 WDI_EXTSCAN_SET_SIGNF_RSSI_CHANGE_RSP = 99,
790 WDI_EXTSCAN_RESET_SIGNF_RSSI_CHANGE_RSP = 100,
Dino Mycle41bdc942014-06-10 11:30:24 +0530791#endif
Siddharth Bhal171788a2014-09-29 21:02:40 +0530792 WDI_SPOOF_MAC_ADDR_RSP = 101,
Jeff Johnson295189b2012-06-20 16:38:30 -0700793 /*-------------------------------------------------------------------------
794 Indications
795 !! Keep these last in the enum if possible
796 -------------------------------------------------------------------------*/
797 WDI_HAL_IND_MIN ,
798 /*When RSSI monitoring is enabled of the Lower MAC and a threshold has been
799 passed. */
800 WDI_HAL_RSSI_NOTIFICATION_IND = WDI_HAL_IND_MIN,
801
802 /*Link loss in the low MAC */
803 WDI_HAL_MISSED_BEACON_IND = WDI_HAL_IND_MIN + 1,
804
805 /*When hardware has signaled an unknown addr2 frames. The indication will
806 contain info from frames to be passed to the UMAC, this may use this info to
807 deauth the STA*/
808 WDI_HAL_UNKNOWN_ADDR2_FRAME_RX_IND = WDI_HAL_IND_MIN + 2,
809
810 /*MIC Failure detected by HW*/
811 WDI_HAL_MIC_FAILURE_IND = WDI_HAL_IND_MIN + 3,
812
813 /*Fatal Error Ind*/
814 WDI_HAL_FATAL_ERROR_IND = WDI_HAL_IND_MIN + 4,
815
816 /*Received when the RIVA SW decides to autonomously delete an associate
817 station (e.g. Soft AP TIM based dissassoc) */
818 WDI_HAL_DEL_STA_IND = WDI_HAL_IND_MIN + 5,
819
820 /*Coex indication*/
821 WDI_HAL_COEX_IND = WDI_HAL_IND_MIN + 6,
822
823 /* Tx Complete Indication */
824 WDI_HAL_TX_COMPLETE_IND = WDI_HAL_IND_MIN + 7,
825
826 WDI_HAL_P2P_NOA_ATTR_IND = WDI_HAL_IND_MIN + 8,
827
828 /* Preferred Network Found Indication */
829 WDI_HAL_PREF_NETWORK_FOUND_IND = WDI_HAL_IND_MIN + 9,
830
831 /* Wakeup Reason Indication */
832 WDI_HAL_WAKE_REASON_IND = WDI_HAL_IND_MIN + 10,
833
834 /* Tx PER Hit Indication */
835 WDI_HAL_TX_PER_HIT_IND = WDI_HAL_IND_MIN + 11,
Viral Modid86bde22012-12-10 13:09:21 -0800836
837 /* NOA Start Indication from FW to Host */
838 WDI_HAL_P2P_NOA_START_IND = WDI_HAL_IND_MIN + 12,
839
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530840 /* TDLS Indication from FW to Host */
841 WDI_HAL_TDLS_IND = WDI_HAL_IND_MIN + 13,
842
Leo Chang9056f462013-08-01 19:21:11 -0700843 /* LPHB timeout indication */
Leo Changd9df8aa2013-09-26 13:32:26 -0700844 WDI_HAL_LPHB_IND = WDI_HAL_IND_MIN + 14,
Ravi Joshid2ca7c42013-07-23 08:37:49 -0700845
846 /* IBSS Peer Inactivity Indication from FW to Host */
847 WDI_HAL_IBSS_PEER_INACTIVITY_IND = WDI_HAL_IND_MIN + 15,
848
Yue Mab9c86f42013-08-14 15:59:08 -0700849 /* Periodic Tx Pattern Indication from FW to Host */
850 WDI_HAL_PERIODIC_TX_PTRN_FW_IND = WDI_HAL_IND_MIN + 16,
851
Rajeev79dbe4c2013-10-05 11:03:42 +0530852
Rajeev79dbe4c2013-10-05 11:03:42 +0530853 WDI_BATCHSCAN_RESULT_IND = WDI_HAL_IND_MIN + 17,
Rajeev79dbe4c2013-10-05 11:03:42 +0530854
Leo Chang0b0e45a2013-12-15 15:18:55 -0800855 WDI_HAL_CH_AVOID_IND = WDI_HAL_IND_MIN + 18,
c_hpothu86041002014-04-14 19:06:51 +0530856
857 /* print register values indication from FW to Host */
858 WDI_PRINT_REG_INFO_IND = WDI_HAL_IND_MIN + 19,
Sunil Duttbd736ed2014-05-26 21:19:41 +0530859#ifdef WLAN_FEATURE_LINK_LAYER_STATS
860 WDI_HAL_LL_STATS_RESULTS_IND = WDI_HAL_IND_MIN + 20,
861#endif
Dino Mycle41bdc942014-06-10 11:30:24 +0530862#ifdef WLAN_FEATURE_EXTSCAN
Rashmi Ramannaa3aa5b12014-07-21 19:10:17 +0530863 WDI_HAL_EXTSCAN_PROGRESS_IND = WDI_HAL_IND_MIN + 21,
864 WDI_HAL_EXTSCAN_SCAN_AVAILABLE_IND = WDI_HAL_IND_MIN + 22,
865 WDI_HAL_EXTSCAN_RESULT_IND = WDI_HAL_IND_MIN + 23,
866 WDI_HAL_EXTSCAN_BSSID_HOTLIST_RESULT_IND = WDI_HAL_IND_MIN + 24,
867 WDI_HAL_EXTSCAN_SIG_RSSI_RESULT_IND = WDI_HAL_IND_MIN + 25,
Dino Mycle41bdc942014-06-10 11:30:24 +0530868#endif
Kiet Lam4d04c742014-08-27 11:14:06 -0700869 WDI_TDLS_CHAN_SWITCH_REQ_RESP = WDI_HAL_IND_MIN + 26,
870 WDI_HAL_DEL_BA_IND = WDI_HAL_IND_MIN + 27,
Jeff Johnson295189b2012-06-20 16:38:30 -0700871 WDI_MAX_RESP
872}WDI_ResponseEnumType;
873
874typedef struct
875{
876 /*Flag that marks a session as being in use*/
877 wpt_boolean bInUse;
878
879 /*Flag that keeps track if a series of assoc requests for this BSS are
880 currently pending in the queue or processed
881 - the flag is set to true when the Join request ends up being queued
882 - and reset to false when the Pending queue is empty */
883 wpt_boolean bAssocReqQueued;
884
885 /*BSSID of the session*/
886 wpt_macAddr macBSSID;
887
888 /*BSS Index associated with this BSSID*/
889 wpt_uint8 ucBSSIdx;
890
891 /*Associated state of the current BSS*/
892 WDI_AssocStateType wdiAssocState;
893
894 /*WDI Pending Request Queue*/
895 wpt_list wptPendingQueue;
896
897 /*DPU Information for this BSS*/
898 wpt_uint8 bcastDpuIndex;
899 wpt_uint8 bcastDpuSignature;
900 wpt_uint8 bcastMgmtDpuIndex;
901 wpt_uint8 bcastMgmtDpuSignature;
902
903 /*RMF enabled/disabled*/
904 wpt_uint8 ucRmfEnabled;
905
906 /*Bcast STA ID associated with this BSS session */
907 wpt_uint8 bcastStaIdx;
908
909 /*The type of the BSS in the session */
910 WDI_BssType wdiBssType;
911}WDI_BSSSessionType;
912
913/*---------------------------------------------------------------------------
914 WDI_ConfigBSSRspInfoType
915---------------------------------------------------------------------------*/
916typedef WPT_PACK_PRE struct
917{
918 /*BSS index allocated by HAL*/
919 wpt_uint8 ucBSSIdx;
920
921 /*BSSID of the BSS*/
922 wpt_macAddr macBSSID;
923
924 /*Broadcast DPU descriptor index allocated by HAL and used for
925 broadcast/multicast packets.*/
926 wpt_uint8 ucBcastDpuDescIndx;
927
928 /*DPU signature to be used for broadcast/multicast packets*/
929 wpt_uint8 ucBcastDpuSignature;
930
931 /*DPU descriptor index allocated by HAL, used for bcast/mcast management
932 packets*/
933 wpt_uint8 ucMgmtDpuDescIndx;
934
935 /*DPU signature to be used for bcast/mcast management packets*/
936 wpt_uint8 ucMgmtDpuSignature;
937
938 /*Status of the request received from HAL */
939 eHalStatus halStatus;
940}WPT_PACK_POST WDI_ConfigBSSRspInfoType;
941
942
943/*---------------------------------------------------------------------------
944 WDI_PostAssocRspInfoType
945---------------------------------------------------------------------------*/
946typedef WPT_PACK_PRE struct
947{
948 /*STA Index allocated by HAL.*/
949 wpt_uint16 usSTAIdx;
950
951 /*MAC Address of STA*/
952 wpt_macAddr macSTA;
953
954 /*Unicast DPU signature*/
955 wpt_uint8 ucUcastSig;
956
957 /*Broadcast DPU Signature*/
958 wpt_uint8 ucBcastSig;
959
960 /*BSSID of the BSS*/
961 wpt_macAddr macBSSID;
962
963 /*HAL Status */
964 eHalStatus halStatus;
965}WPT_PACK_POST WDI_PostAssocRspInfoType;
966
Dino Mycled3d50022014-07-07 12:58:25 +0530967#ifdef WLAN_FEATURE_LINK_LAYER_STATS
968/*---------------------------------------------------------------------------
969 WDI_LLStatsResultsType
970---------------------------------------------------------------------------*/
971typedef WPT_PACK_PRE struct
972{
973 wpt_uint32 param_id;
974 wpt_uint8 iface_id;
975 wpt_uint32 resp_id;
976 wpt_uint32 more_result_to_follow;
977 wpt_uint8 result[1];
978}WPT_PACK_POST WDI_LLstatsResultsType;
979
980#endif
981
Jeff Johnson295189b2012-06-20 16:38:30 -0700982/*---------------------------------------------------------------------------
983 WLAN DAL FSM Event Info Type
984 ---------------------------------------------------------------------------*/
985typedef struct
986{
987 /*Events can be linked in a list - put a node in front for that, it will be
988 used by wpt to link them*/
989 wpt_list_node wptListNode;
990
991 /*Request Received */
992 WDI_RequestEnumType wdiRequest;
993
994 /*Response Received */
995 WDI_ResponseEnumType wdiResponse;
996
997 /*Data associated with the request */
998 void* pEventData;
999
1000 /*Data Size*/
1001 wpt_uint32 uEventDataSize;
1002
1003 /*Callback function for receiving the response to the event*/
1004 void* pCBfnc;
1005
1006 /*User data to be sent along with the CB function call*/
1007 void* pUserData;
1008}WDI_EventInfoType;
1009
1010/*---------------------------------------------------------------------------
1011 WLAN DAL Session Index Type
1012 ---------------------------------------------------------------------------*/
1013typedef struct
1014{
1015 /*Events can be linked in a list - put a node in front for that, it will be
1016 used by wpt to link them*/
1017 wpt_list_node wptListNode;
1018
1019 /*Session id for the new association to be processed*/
1020 wpt_uint8 ucIndex;
1021
1022}WDI_NextSessionIdType;
1023
1024#define WDI_CONTROL_BLOCK_MAGIC 0x67736887 /* WDIC in little endian */
1025/*---------------------------------------------------------------------------
1026 WLAN DAL Control Block Type
1027 ---------------------------------------------------------------------------*/
1028typedef struct
1029{
1030 /*magic number so callbacks can validate their context pointers*/
1031 wpt_uint32 magic;
1032
1033 /*Ptr to the OS Context received from the UMAC*/
1034 void* pOSContext;
1035
1036 /*Ptr to the PAL Context received from PAL*/
1037 void* pPALContext;
1038
1039 /*Ptr to the Datapath Context received from PAL*/
1040 void* pDPContext;
1041
1042 /*Ptr to the Datapath Transport Driver Context received from PAL*/
1043 void* pDTDriverContext;
1044
1045 /*Hanlde to the control transport service*/
1046 WCTS_HandleType wctsHandle;
1047
1048 /*Flag that keeps track if CT is Opened or not*/
1049 wpt_boolean bCTOpened;
1050
1051 /*The global state of the DAL Control Path*/
1052 WDI_MainStateType uGlobalState;
1053
1054 /*Flag to keep track of the expected state transition after processing
1055 of a response */
1056 WDI_MainStateType ucExpectedStateTransition;
1057
1058 /*Main Synchronization Object for the WDI CB*/
1059 wpt_mutex wptMutex;
1060
1061 /*WDI response timer*/
1062 wpt_timer wptResponseTimer;
1063
1064 /*WDI Pending Request Queue*/
1065 wpt_list wptPendingQueue;
1066#if 0
1067 /*The state of the DAL during a scanning procedure*/
1068 WDI_ScanStateType uScanState;
1069
1070 /*Flag that keeps track if a Scan is currently in progress*/
1071 wpt_boolean bScanInProgress;
1072#endif
1073 /*Flag that keeps track if an Association is currently in progress*/
1074 wpt_boolean bAssociationInProgress;
1075
1076 /*Array of simultaneous BSS Sessions*/
1077 WDI_BSSSessionType aBSSSessions[WDI_MAX_BSS_SESSIONS];
1078
1079 /*WDI Pending Association Session Id Queue - it keeps track of the
1080 order in which queued assoc requests came in*/
1081 wpt_list wptPendingAssocSessionIdQueue;
1082
1083 /*! TO DO : - group these in a union, only one cached req can exist at a
1084 time */
1085
1086 /*Cached post assoc request - there can only be one in the system as
1087 only one request goes down to hal up until a response is received
1088 The values cached are used on response to save a station if needed */
1089 WDI_PostAssocReqParamsType wdiCachedPostAssocReq;
1090
1091 /*Cached config sta request - there can only be one in the system as
1092 only one request goes down to hal up until a response is received
1093 The values cached are used on response to save a station if needed */
1094 WDI_ConfigSTAReqParamsType wdiCachedConfigStaReq;
1095
1096 /*Cached config sta request - there can only be one in the system as
1097 only one request goes down to hal up until a response is received
1098 The values cached are used on response to save a BSS if needed */
1099 WDI_ConfigBSSReqParamsType wdiCachedConfigBssReq;
1100
1101 /*Cached set link state request - there can only be one in the system as
1102 only one request goes down to hal up until a response is received
1103 The values cached are used on response to delete a BSS if needed */
1104 WDI_SetLinkReqParamsType wdiCacheSetLinkStReq;
1105
1106 /*Cached add STA self request - there can only be one in the system as
1107 only one request goes down to hal up until a response is received
1108 The values cached are used on response to save the self STA in the table */
1109 WDI_AddSTASelfReqParamsType wdiCacheAddSTASelfReq;
1110
1111 /*Current session being handled*/
1112 wpt_uint8 ucCurrentBSSSesIdx;
1113
1114 /*Pointer to the response CB of the pending request*/
1115 void* pfncRspCB;
1116
1117 /*Pointer to the user data to be sent along with the response CB*/
1118 void* pRspCBUserData;
1119
1120 /*The expected response from HAL*/
1121 WDI_ResponseEnumType wdiExpectedResponse;
1122
1123 /*Request status callback offered by UMAC - it is called if the current
1124 req has returned PENDING as status; it delivers the status of sending
1125 the message over the BUS */
1126 WDI_ReqStatusCb wdiReqStatusCB;
1127
1128 /*The user data passed in by UMAC, it will be sent back when the above
1129 function pointer will be called */
1130 void* pReqStatusUserData;
1131
1132 /*Indication callback given by UMAC to be called by the WLAN DAL when it
1133 wishes to send something back independent of a request*/
1134 WDI_LowLevelIndCBType wdiLowLevelIndCB;
1135
1136 /*The user data passed in by UMAC, it will be sent back when the indication
1137 function pointer will be called */
1138 void* pIndUserData;
1139
1140 /*Cached start response parameters*/
1141 WDI_StartRspParamsType wdiCachedStartRspParams;
1142
1143 /* Information related to NV Image*/
1144 WDI_NvBlobInfoParams wdiNvBlobInfo;
1145
1146 /*STA Table Information*/
1147 /*Max number of stations allowed by device */
1148 wpt_uint8 ucMaxStations;
1149
1150 /*Max number of BSSes allowed by device */
1151 wpt_uint8 ucMaxBssids;
1152
1153 /* Global BSS and STA table - Memory is allocated when needed.*/
1154 void* staTable;
1155
1156#ifndef HAL_SELF_STA_PER_BSS
1157 /*Index of the Self STA */
1158 wpt_uint8 ucSelfStaId;
1159
1160 /* Self STA DPU Index */
1161 wpt_uint16 usSelfStaDpuId;
1162
1163 /*Self STA Mac*/
1164 wpt_macAddr macSelfSta;
1165#endif
1166
1167 /*Is frame translation enabled */
1168 wpt_uint8 bFrameTransEnabled;
1169
1170 /*AMSDU BD Fix Mask - used by the Fixing routine for Data Path */
1171 WDI_RxBdType wdiRxAmsduBdFixMask;
1172
1173 /*First AMSDU BD - used by the Fixing routine for Data Path */
1174 WDI_RxBdType wdiRxAmsduFirstBdCache;
1175
1176 /*This must be incremented on sta change */
1177 wpt_uint32 uBdSigSerialNum;
1178
1179 /* dpu routing flag
1180 ! TO DO: - must be set/reset when PS is enabled for UAPSD */
1181 wpt_uint8 ucDpuRF;
1182 /* Event to wait for when WCTS is told to perform an action */
1183 wpt_event wctsActionEvent;
1184 /* Event to wait for ACK from DXE after the power state is set */
1185 wpt_event setPowerStateEvent;
1186 /* DXE physical addr to be passed down to RIVA. RIVA HAL will use it to program
1187 DXE when DXE wakes up from power save*/
1188 unsigned int dxePhyAddr;
1189
Mihir Shetea4306052014-03-25 00:02:54 +05301190 wpt_boolean dxeRingsEmpty;
1191
Jeff Johnson295189b2012-06-20 16:38:30 -07001192 /*NV download request parameters */
1193 WDI_NvDownloadReqParamsType wdiCachedNvDownloadReq;
1194
1195 /* Driver Type */
1196 tDriverType driverMode;
1197
Jeff Johnson295189b2012-06-20 16:38:30 -07001198 /* Statically allocated FTM Response Buffer */
1199 wpt_uint8 ucFTMCommandRspBuffer[WDI_FTM_MAX_RECEIVE_BUFFER];
Jeff Johnson295189b2012-06-20 16:38:30 -07001200
1201 /*Driver in BMPS state*/
1202 wpt_boolean bInBmps;
1203
1204 /*version of the PNO implementation in RIVA*/
1205 wpt_uint8 wdiPNOVersion;
Madan Mohan Koyyalamudi0bfd0002012-10-24 14:39:37 -07001206
1207 /*SSR timer*/
1208 wpt_timer ssrTimer;
Pratik Bhalgatd4404592012-11-22 17:49:14 +05301209
1210 /*Version of the WLAN HAL API received on start resp*/
1211 WDI_WlanVersionType wlanVersion;
1212
Gopichand Nakkalaa5e3ede2012-12-21 15:28:36 -08001213 /*timestamp when we start response timer*/
1214 wpt_uint32 uTimeStampRspTmrStart;
1215
1216 /*timestamp when we get response timer event*/
1217 wpt_uint32 uTimeStampRspTmrExp;
Gopichand Nakkala7fbde852013-05-07 03:05:56 -07001218
1219 /* enable/disable SSR on WDI timeout */
1220 wpt_boolean bEnableSSR;
Arif Hussain6c8947a2013-11-27 13:57:14 -08001221
1222 /* timestamp derived from msm arch counter. */
1223 /*timestamp when we start response timer*/
1224 wpt_uint64 uArchTimeStampRspTmrStart;
1225
1226 /*timestamp when we get response timer event*/
1227 wpt_uint64 uArchTimeStampRspTmrExp;
Katya Nigamf02ad012014-05-05 16:12:49 +05301228
1229 /* reason for WDI_DetectedDeviceError */
1230 void * DeviceErrorReason;
Jeff Johnson295189b2012-06-20 16:38:30 -07001231}WDI_ControlBlockType;
1232
1233
1234
1235
1236/*---------------------------------------------------------------------------
1237
1238 DESCRIPTION
1239 WLAN DAL Request Processing function definition.
1240
1241 PARAMETERS
1242
1243 IN
1244 pWDICtx: pointer to the WLAN DAL context
1245 pEventData: pointer to the event information structure
1246
1247
1248 RETURN VALUE
1249 The result code associated with performing the operation
1250
1251---------------------------------------------------------------------------*/
1252typedef WDI_Status (*WDI_ReqProcFuncType)( WDI_ControlBlockType* pWDICtx,
1253 WDI_EventInfoType* pEventData);
1254
1255
1256/*---------------------------------------------------------------------------
1257
1258 DESCRIPTION
1259 WLAN DAL Response Processing function definition.
1260
1261 PARAMETERS
1262
1263 IN
1264 pWDICtx: pointer to the WLAN DAL context
1265 pEventData: pointer to the event information structure
1266
1267
1268 RETURN VALUE
1269 The result code associated with performing the operation
1270
1271---------------------------------------------------------------------------*/
1272typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx,
1273 WDI_EventInfoType* pEventData);
1274
1275
1276
1277
1278/*==========================================================================
1279 MAIN DAL FSM Definitions and Declarations
1280==========================================================================*/
1281
1282/*---------------------------------------------------------------------------
1283 DAL Control Path Main FSM
1284 ---------------------------------------------------------------------------*/
1285#define WDI_STATE_TRANSITION(_pctx, _st) (_pctx->uGlobalState = _st)
1286
1287
1288
1289/*---------------------------------------------------------------------------
1290 DAL Main Event type
1291---------------------------------------------------------------------------*/
1292typedef enum
1293{
1294 /* Start request received from UMAC */
1295 WDI_START_EVENT = 0,
1296
1297 /* Stop request received from UMAC */
1298 WDI_STOP_EVENT = 1,
1299
1300 /* HAL request received from UMAC*/
1301 WDI_REQUEST_EVENT = 2,
1302
1303 /* HAL Response received from device */
1304 WDI_RESPONSE_EVENT = 3,
1305
1306 /* Close request received from UMAC */
1307 WDI_CLOSE_EVENT = 4,
1308
1309 /* Shutdown request received from UMAC */
1310 WDI_SHUTDOWN_EVENT = 5,
1311
1312 WDI_MAX_EVENT
1313
1314}WDI_MainEventType;
1315
1316/*---------------------------------------------------------------------------
1317
1318 DESCRIPTION
1319 Main DAL state machine function definition.
1320
1321 PARAMETERS
1322
1323 IN
1324 pWDICtx: pointer to the WLAN DAL context
1325 pEventData: pointer to the event information structure
1326
1327
1328 RETURN VALUE
1329 The result code associated with performing the operation
1330
1331---------------------------------------------------------------------------*/
1332typedef WDI_Status (*WDI_MainFuncType)( WDI_ControlBlockType* pWDICtx,
1333 WDI_EventInfoType* pEventData);
1334
1335/*---------------------------------------------------------------------------
1336 MAIN DAL FSM Entry type
1337---------------------------------------------------------------------------*/
1338typedef struct
1339{
1340 WDI_MainFuncType pfnMainTbl[WDI_MAX_EVENT];
1341} WDI_MainFsmEntryType;
1342
1343/*Macro to check for valid session id*/
1344#define WDI_VALID_SESSION_IDX(_idx) ( _idx < WDI_MAX_BSS_SESSIONS )
1345
1346/*==========================================================================
1347
1348 DAL INTERNAL FUNCTION DECLARATION
1349
1350==========================================================================*/
1351
1352/**
1353 @brief Helper routine for retrieving the PAL Context from WDI -
1354 can be used by CTS, DTS, DXE and othe DAL internals
1355
1356 @param None
1357
1358 @see
1359 @return pointer to the context
1360*/
Jeff Johnson43971f52012-07-17 12:26:56 -07001361void* WDI_GET_PAL_CTX( void );
Jeff Johnson295189b2012-06-20 16:38:30 -07001362
1363/*---------------------------------------------------------------------------
1364 MAIN DAL FSM Function Declarations
1365---------------------------------------------------------------------------*/
1366/**
1367 @brief WDI_PostMainEvent - Posts an event to the Main FSM
1368
1369
1370 @param pWDICtx: pointer to the WLAN DAL context
1371 wdiEV: event posted to the main DAL FSM
1372 pEventData: pointer to the event information
1373 structure
1374
1375 @see
1376 @return Result of the function call
1377*/
1378WDI_Status
1379WDI_PostMainEvent
1380(
1381 WDI_ControlBlockType* pWDICtx,
1382 WDI_MainEventType wdiEV,
1383 WDI_EventInfoType* pEventData
1384
1385);
1386
1387/*--------------------------------------------------------------------------
1388 INIT State Functions
1389--------------------------------------------------------------------------*/
1390/**
1391 @brief Main FSM Start function for all states except BUSY
1392
1393
1394 @param pWDICtx: pointer to the WLAN DAL context
1395 pEventData: pointer to the event information structure
1396
1397 @see
1398 @return Result of the function call
1399*/
1400WDI_Status
1401WDI_MainStart
1402(
1403 WDI_ControlBlockType* pWDICtx,
1404 WDI_EventInfoType* pEventData
1405);
1406
1407/**
1408 @brief Main FSM Response function for state INIT
1409
1410
1411 @param pWDICtx: pointer to the WLAN DAL context
1412 pEventData: pointer to the event information structure
1413
1414 @see
1415 @return Result of the function call
1416*/
1417WDI_Status
1418WDI_MainRspInit
1419(
1420 WDI_ControlBlockType* pWDICtx,
1421 WDI_EventInfoType* pEventData
1422);
1423
1424/**
1425 @brief Main FSM Close function for all states except BUSY
1426
1427
1428 @param pWDICtx: pointer to the WLAN DAL context
1429 pEventData: pointer to the event information structure
1430
1431
1432 @see
1433 @return Result of the function call
1434*/
1435WDI_Status
1436WDI_MainClose
1437(
1438 WDI_ControlBlockType* pWDICtx,
1439 WDI_EventInfoType* pEventData
1440);
1441
1442/*--------------------------------------------------------------------------
1443 STARTED State Functions
1444--------------------------------------------------------------------------*/
1445/**
1446 @brief Main FSM Start function for state STARTED
1447
1448
1449 @param pWDICtx: pointer to the WLAN DAL context
1450 pEventData: pointer to the event information structure
1451
1452 @see
1453 @return Result of the function call
1454*/
1455WDI_Status
1456WDI_MainStartStarted
1457(
1458 WDI_ControlBlockType* pWDICtx,
1459 WDI_EventInfoType* pEventData
1460);
1461
1462/**
1463 @brief Main FSM Stop function for state STARTED
1464
1465
1466 @param pWDICtx: pointer to the WLAN DAL context
1467 pEventData: pointer to the event information structure
1468 uEventDataSize: size of the data sent in event
1469 pCBfnc: cb function for event response
1470 pUserData: user data
1471
1472 @see
1473 @return Result of the function call
1474*/
1475WDI_Status
1476WDI_MainStopStarted
1477(
1478 WDI_ControlBlockType* pWDICtx,
1479 WDI_EventInfoType* pEventData
1480);
1481
1482/**
1483 @brief Main FSM Request function for state started
1484
1485
1486 @param pWDICtx: pointer to the WLAN DAL context
1487 pEventData: pointer to the event information structure
1488
1489
1490 @see
1491 @return Result of the function call
1492*/
1493WDI_Status
1494WDI_MainReqStarted
1495(
1496 WDI_ControlBlockType* pWDICtx,
1497 WDI_EventInfoType* pEventData
1498);
1499
1500/**
1501 @brief Main FSM Response function for all states except INIT
1502
1503
1504 @param pWDICtx: pointer to the WLAN DAL context
1505 pEventData: pointer to the event information structure
1506
1507 @see
1508 @return Result of the function call
1509*/
1510WDI_Status
1511WDI_MainRsp
1512(
1513 WDI_ControlBlockType* pWDICtx,
1514 WDI_EventInfoType* pEventData
1515);
1516
1517/*--------------------------------------------------------------------------
1518 STOPPED State Functions
1519--------------------------------------------------------------------------*/
1520/**
1521 @brief Main FSM Stop function for state STOPPED
1522
1523
1524 @param pWDICtx: pointer to the WLAN DAL context
1525 pEventData: pointer to the event information structure
1526
1527 @see
1528 @return Result of the function call
1529*/
1530WDI_Status
1531WDI_MainStopStopped
1532(
1533 WDI_ControlBlockType* pWDICtx,
1534 WDI_EventInfoType* pEventData
1535 );
1536
1537/*--------------------------------------------------------------------------
1538 BUSY State Functions
1539--------------------------------------------------------------------------*/
1540/**
1541 @brief Main FSM Start function for state BUSY
1542
1543
1544 @param pWDICtx: pointer to the WLAN DAL context
1545 pEventData: pointer to the event information structure
1546
1547 @see
1548 @return Result of the function call
1549*/
1550WDI_Status
1551WDI_MainStartBusy
1552(
1553 WDI_ControlBlockType* pWDICtx,
1554 WDI_EventInfoType* pEventData
1555);
1556
1557/**
1558 @brief Main FSM Stop function for state BUSY
1559
1560
1561 @param pWDICtx: pointer to the WLAN DAL context
1562 pEventData: pointer to the event information structure
1563
1564 @see
1565 @return Result of the function call
1566*/
1567WDI_Status
1568WDI_MainStopBusy
1569(
1570 WDI_ControlBlockType* pWDICtx,
1571 WDI_EventInfoType* pEventData
1572);
1573
1574/**
1575 @brief Main FSM Request function for state BUSY
1576
1577
1578 @param pWDICtx: pointer to the WLAN DAL context
1579 pEventData: pointer to the event information structure
1580
1581 @see
1582 @return Result of the function call
1583*/
1584WDI_Status
1585WDI_MainReqBusy
1586(
1587 WDI_ControlBlockType* pWDICtx,
1588 WDI_EventInfoType* pEventData
1589);
1590
1591/**
1592 @brief Main FSM Close function for state BUSY
1593
1594
1595 @param pWDICtx: pointer to the WLAN DAL context
1596 pEventData: pointer to the event information structure
1597
1598 @see
1599 @return Result of the function call
1600*/
1601WDI_Status
1602WDI_MainCloseBusy
1603(
1604 WDI_ControlBlockType* pWDICtx,
1605 WDI_EventInfoType* pEventData
1606);
1607
1608/**
1609 @brief Main FSM Shutdown function for INIT & STARTED states
1610
1611
1612 @param pWDICtx: pointer to the WLAN DAL context
1613 pEventData: pointer to the event information structure
1614
1615 @see
1616 @return Result of the function call
1617*/
1618WDI_Status
1619WDI_MainShutdown
1620(
1621 WDI_ControlBlockType* pWDICtx,
1622 WDI_EventInfoType* pEventData
1623);
1624
1625/**
1626 @brief Main FSM Shutdown function for BUSY state
1627
1628
1629 @param pWDICtx: pointer to the WLAN DAL context
1630 pEventData: pointer to the event information structure
1631
1632 @see
1633 @return Result of the function call
1634*/
1635WDI_Status
1636WDI_MainShutdownBusy
1637(
1638 WDI_ControlBlockType* pWDICtx,
1639 WDI_EventInfoType* pEventData
1640);
1641
1642/*========================================================================
1643 Main DAL Control Path Request Processing API
1644========================================================================*/
1645
1646/**
1647 @brief Process Start Request function (called when Main FSM
1648 allows it)
1649
1650 @param pWDICtx: pointer to the WLAN DAL context
1651 pEventData: pointer to the event information structure
1652
1653 @see
1654 @return Result of the function call
1655*/
1656WDI_Status
1657WDI_ProcessStartReq
1658(
1659 WDI_ControlBlockType* pWDICtx,
1660 WDI_EventInfoType* pEventData
1661);
1662
1663
1664/**
1665 @brief Process Stop Request function (called when Main FSM
1666 allows it)
1667
1668 @param pWDICtx: pointer to the WLAN DAL context
1669 pEventData: pointer to the event information structure
1670
1671 @see
1672 @return Result of the function call
1673*/
1674WDI_Status
1675WDI_ProcessStopReq
1676(
1677 WDI_ControlBlockType* pWDICtx,
1678 WDI_EventInfoType* pEventData
1679);
1680
1681
1682/**
1683 @brief Process Close Request function (called when Main FSM
1684 allows it)
1685
1686 @param pWDICtx: pointer to the WLAN DAL context
1687 pEventData: pointer to the event information structure
1688
1689 @see
1690 @return Result of the function call
1691*/
1692WDI_Status
1693WDI_ProcessCloseReq
1694(
1695 WDI_ControlBlockType* pWDICtx,
1696 WDI_EventInfoType* pEventData
1697);
1698
1699/**
1700 @brief Process Shutdown Request function (called when Main FSM
1701 allows it)
1702
1703 @param pWDICtx: pointer to the WLAN DAL context
1704 pEventData: pointer to the event information structure
1705
1706 @see
1707 @return Result of the function call
1708*/
1709WDI_Status
1710WDI_ProcessShutdownReq
1711(
1712 WDI_ControlBlockType* pWDICtx,
1713 WDI_EventInfoType* pEventData
1714);
1715
1716
1717/**
1718 @brief Process Init Scan Request function (called when Main FSM
1719 allows it)
1720
1721 @param pWDICtx: pointer to the WLAN DAL context
1722 pEventData: pointer to the event information structure
1723
1724 @see
1725 @return Result of the function call
1726*/
1727WDI_Status
1728WDI_ProcessInitScanReq
1729(
1730 WDI_ControlBlockType* pWDICtx,
1731 WDI_EventInfoType* pEventData
1732);
1733
1734
1735/**
1736 @brief Process Start Scan Request function (called when Main
1737 FSM allows it)
1738
1739 @param pWDICtx: pointer to the WLAN DAL context
1740 pEventData: pointer to the event information structure
1741
1742 @see
1743 @return Result of the function call
1744*/
1745WDI_Status
1746WDI_ProcessStartScanReq
1747(
1748 WDI_ControlBlockType* pWDICtx,
1749 WDI_EventInfoType* pEventData
1750);
1751
1752
1753/**
1754 @brief Process End Scan Request function (called when Main FSM
1755 allows it)
1756
1757 @param pWDICtx: pointer to the WLAN DAL context
1758 pEventData: pointer to the event information structure
1759
1760 @see
1761 @return Result of the function call
1762*/
1763WDI_Status
1764WDI_ProcessEndScanReq
1765(
1766 WDI_ControlBlockType* pWDICtx,
1767 WDI_EventInfoType* pEventData
1768);
1769
1770
1771/**
1772 @brief Process Finish Scan Request function (called when Main
1773 FSM 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_ProcessFinishScanReq
1783(
1784 WDI_ControlBlockType* pWDICtx,
1785 WDI_EventInfoType* pEventData
1786);
1787
1788
1789/**
1790 @brief Process Join Request function (called when Main FSM
1791 allows it)
1792
1793 @param pWDICtx: pointer to the WLAN DAL context
1794 pEventData: pointer to the event information structure
1795
1796 @see
1797 @return Result of the function call
1798*/
1799WDI_Status
1800WDI_ProcessJoinReq
1801(
1802 WDI_ControlBlockType* pWDICtx,
1803 WDI_EventInfoType* pEventData
1804);
1805
1806
1807/**
1808 @brief Process Config BSS Request function (called when Main
1809 FSM allows it)
1810
1811 @param pWDICtx: pointer to the WLAN DAL context
1812 pEventData: pointer to the event information structure
1813
1814 @see
1815 @return Result of the function call
1816*/
1817WDI_Status
1818WDI_ProcessConfigBSSReq
1819(
1820 WDI_ControlBlockType* pWDICtx,
1821 WDI_EventInfoType* pEventData
1822);
1823
1824
1825/**
1826 @brief Process Del BSS Request function (called when Main FSM
1827 allows it)
1828
1829 @param pWDICtx: pointer to the WLAN DAL context
1830 pEventData: pointer to the event information structure
1831
1832 @see
1833 @return Result of the function call
1834*/
1835WDI_Status
1836WDI_ProcessDelBSSReq
1837(
1838 WDI_ControlBlockType* pWDICtx,
1839 WDI_EventInfoType* pEventData
1840);
1841
1842/**
1843 @brief Process Post Assoc Request function (called when Main
1844 FSM allows it)
1845
1846 @param pWDICtx: pointer to the WLAN DAL context
1847 pEventData: pointer to the event information structure
1848
1849 @see
1850 @return Result of the function call
1851*/
1852WDI_Status
1853WDI_ProcessPostAssocReq
1854(
1855 WDI_ControlBlockType* pWDICtx,
1856 WDI_EventInfoType* pEventData
1857);
1858
1859/**
1860 @brief Process Del STA Request function (called when Main FSM
1861 allows it)
1862
1863 @param pWDICtx: pointer to the WLAN DAL context
1864 pEventData: pointer to the event information structure
1865
1866 @see
1867 @return Result of the function call
1868*/
1869WDI_Status
1870WDI_ProcessDelSTAReq
1871(
1872 WDI_ControlBlockType* pWDICtx,
1873 WDI_EventInfoType* pEventData
1874);
1875
1876/**
1877 @brief Process Set BSS Key Request function (called when Main FSM
1878 allows it)
1879
1880 @param pWDICtx: pointer to the WLAN DAL context
1881 pEventData: pointer to the event information structure
1882
1883 @see
1884 @return Result of the function call
1885*/
1886WDI_Status
1887WDI_ProcessSetBssKeyReq
1888(
1889 WDI_ControlBlockType* pWDICtx,
1890 WDI_EventInfoType* pEventData
1891);
1892
1893/**
1894 @brief Process Remove BSS Key Request function (called when Main
1895 FSM allows it)
1896
1897 @param pWDICtx: pointer to the WLAN DAL context
1898 pEventData: pointer to the event information structure
1899
1900 @see
1901 @return Result of the function call
1902*/
1903WDI_Status
1904WDI_ProcessRemoveBssKeyReq
1905(
1906 WDI_ControlBlockType* pWDICtx,
1907 WDI_EventInfoType* pEventData
1908);
1909
1910/**
1911 @brief Process Set STA KeyRequest function (called when Main FSM
1912 allows it)
1913
1914 @param pWDICtx: pointer to the WLAN DAL context
1915 pEventData: pointer to the event information structure
1916
1917 @see
1918 @return Result of the function call
1919*/
1920WDI_Status
1921WDI_ProcessSetStaKeyReq
1922(
1923 WDI_ControlBlockType* pWDICtx,
1924 WDI_EventInfoType* pEventData
1925);
1926
1927/**
1928 @brief Process Remove STA Key Request function (called when
1929 Main FSM allows it)
1930
1931 @param pWDICtx: pointer to the WLAN DAL context
1932 pEventData: pointer to the event information structure
1933
1934 @see
1935 @return Result of the function call
1936*/
1937WDI_Status
1938WDI_ProcessRemoveStaKeyReq
1939(
1940 WDI_ControlBlockType* pWDICtx,
1941 WDI_EventInfoType* pEventData
1942);
1943
1944/**
1945 @brief Process Set STA KeyRequest function (called when Main FSM
1946 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_ProcessSetStaBcastKeyReq
1956(
1957 WDI_ControlBlockType* pWDICtx,
1958 WDI_EventInfoType* pEventData
1959);
1960
1961/**
1962 @brief Process Remove STA Key Request function (called when
1963 Main FSM 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_ProcessRemoveStaBcastKeyReq
1973(
1974 WDI_ControlBlockType* pWDICtx,
1975 WDI_EventInfoType* pEventData
1976);
1977
1978/**
1979 @brief Process Add TSpec Request function (called when Main FSM
1980 allows it)
1981
1982 @param pWDICtx: pointer to the WLAN DAL context
1983 pEventData: pointer to the event information structure
1984
1985 @see
1986 @return Result of the function call
1987*/
1988WDI_Status
1989WDI_ProcessAddTSpecReq
1990(
1991 WDI_ControlBlockType* pWDICtx,
1992 WDI_EventInfoType* pEventData
1993);
1994
1995
1996/**
1997 @brief Process Del TSpec Request function (called when Main FSM
1998 allows it)
1999
2000 @param pWDICtx: pointer to the WLAN DAL context
2001 pEventData: pointer to the event information structure
2002
2003 @see
2004 @return Result of the function call
2005*/
2006WDI_Status
2007WDI_ProcessDelTSpecReq
2008(
2009 WDI_ControlBlockType* pWDICtx,
2010 WDI_EventInfoType* pEventData
2011);
2012
2013/**
2014 @brief Process Update EDCA Params Request function (called when
2015 Main FSM allows it)
2016
2017 @param pWDICtx: pointer to the WLAN DAL context
2018 pEventData: pointer to the event information structure
2019
2020 @see
2021 @return Result of the function call
2022*/
2023WDI_Status
2024WDI_ProcessUpdateEDCAParamsReq
2025(
2026 WDI_ControlBlockType* pWDICtx,
2027 WDI_EventInfoType* pEventData
2028);
2029
2030/**
2031 @brief Process Add BA Request function (called when Main FSM
2032 allows it)
2033
2034 @param pWDICtx: pointer to the WLAN DAL context
2035 pEventData: pointer to the event information structure
2036
2037 @see
2038 @return Result of the function call
2039*/
2040WDI_Status
2041WDI_ProcessAddBASessionReq
2042(
2043 WDI_ControlBlockType* pWDICtx,
2044 WDI_EventInfoType* pEventData
2045);
2046
2047/**
2048 @brief Process Del BA Request function (called when Main FSM
2049 allows it)
2050
2051 @param pWDICtx: pointer to the WLAN DAL context
2052 pEventData: pointer to the event information structure
2053
2054 @see
2055 @return Result of the function call
2056*/
2057WDI_Status
2058WDI_ProcessDelBAReq
2059(
2060 WDI_ControlBlockType* pWDICtx,
2061 WDI_EventInfoType* pEventData
2062);
2063
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002064#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07002065/**
2066 @brief Process TSM Stats Request function (called when Main FSM
2067 allows it)
2068
2069 @param pWDICtx: pointer to the WLAN DAL context
2070 pEventData: pointer to the event information structure
2071
2072 @see
2073 @return Result of the function call
2074*/
2075WDI_Status
2076WDI_ProcessTSMStatsReq
2077(
2078 WDI_ControlBlockType* pWDICtx,
2079 WDI_EventInfoType* pEventData
2080);
2081#endif
2082
2083/**
2084 @brief Process Channel Switch Request function (called when
2085 Main FSM allows it)
2086
2087 @param pWDICtx: pointer to the WLAN DAL context
2088 pEventData: pointer to the event information structure
2089
2090 @see
2091 @return Result of the function call
2092*/
2093WDI_Status
2094WDI_ProcessChannelSwitchReq
2095(
2096 WDI_ControlBlockType* pWDICtx,
2097 WDI_EventInfoType* pEventData
2098);
2099
2100/**
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08002101 @brief Process Channel Switch Request function (called when
2102 Main FSM allows it)
2103
2104 @param pWDICtx: pointer to the WLAN DAL context
2105 pEventData: pointer to the event information structure
2106
2107 @see
2108 @return Result of the function call
2109*/
2110
2111WDI_Status WDI_ProcessChannelSwitchReq_V1
2112(
2113 WDI_ControlBlockType* pWDICtx,
2114 WDI_EventInfoType* pEventData
2115);
2116
2117
2118/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002119 @brief Process Config STA Request function (called when Main FSM
2120 allows it)
2121
2122 @param pWDICtx: pointer to the WLAN DAL context
2123 pEventData: pointer to the event information structure
2124
2125 @see
2126 @return Result of the function call
2127*/
2128WDI_Status
2129WDI_ProcessConfigStaReq
2130(
2131 WDI_ControlBlockType* pWDICtx,
2132 WDI_EventInfoType* pEventData
2133);
2134
2135
2136/**
2137 @brief Process Set Link State Request function (called when
2138 Main FSM allows it)
2139
2140 @param pWDICtx: pointer to the WLAN DAL context
2141 pEventData: pointer to the event information structure
2142
2143 @see
2144 @return Result of the function call
2145*/
2146WDI_Status
2147WDI_ProcessSetLinkStateReq
2148(
2149 WDI_ControlBlockType* pWDICtx,
2150 WDI_EventInfoType* pEventData
2151);
2152
2153
2154/**
2155 @brief Process Get Stats Request 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_ProcessGetStatsReq
2166(
2167 WDI_ControlBlockType* pWDICtx,
2168 WDI_EventInfoType* pEventData
2169);
2170
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002171#if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR)
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -08002172/**
2173 @brief Process Get Roam rssi Request function (called when Main FSM
2174 allows it)
2175
2176 @param pWDICtx: pointer to the WLAN DAL context
2177 pEventData: pointer to the event information structure
2178
2179 @see
2180 @return Result of the function call
2181*/
2182WDI_Status
2183WDI_ProcessGetRoamRssiReq
2184(
2185 WDI_ControlBlockType* pWDICtx,
2186 WDI_EventInfoType* pEventData
2187);
2188
2189
2190/**
2191 @brief Process Get Roam Rssi Rsp function (called when a response is
2192 being received over the bus from HAL)
2193
2194 @param pWDICtx: pointer to the WLAN DAL context
2195 pEventData: pointer to the event information structure
2196
2197 @see
2198 @return Result of the function call
2199*/
2200WDI_Status
2201WDI_ProcessGetRoamRssiRsp
2202(
2203 WDI_ControlBlockType* pWDICtx,
2204 WDI_EventInfoType* pEventData
2205);
2206
2207#endif
2208
2209
Jeff Johnson295189b2012-06-20 16:38:30 -07002210/**
2211 @brief Process Update Cfg Request function (called when Main
2212 FSM allows it)
2213
2214 @param pWDICtx: pointer to the WLAN DAL context
2215 pEventData: pointer to the event information structure
2216
2217 @see
2218 @return Result of the function call
2219*/
2220WDI_Status
2221WDI_ProcessUpdateCfgReq
2222(
2223 WDI_ControlBlockType* pWDICtx,
2224 WDI_EventInfoType* pEventData
2225);
2226
2227/**
2228 @brief Process Add BA Request function (called when Main FSM
2229 allows it)
2230
2231 @param pWDICtx: pointer to the WLAN DAL context
2232 pEventData: pointer to the event information structure
2233
2234 @see
2235 @return Result of the function call
2236*/
2237WDI_Status
2238WDI_ProcessAddBAReq
2239(
2240 WDI_ControlBlockType* pWDICtx,
2241 WDI_EventInfoType* pEventData
2242);
2243
2244/**
2245 @brief Process Trigger BA Request function (called when Main FSM
2246 allows it)
2247
2248 @param pWDICtx: pointer to the WLAN DAL context
2249 pEventData: pointer to the event information structure
2250
2251 @see
2252 @return Result of the function call
2253*/
2254WDI_Status
2255WDI_ProcessTriggerBAReq
2256(
2257 WDI_ControlBlockType* pWDICtx,
2258 WDI_EventInfoType* pEventData
2259);
2260
2261/**
2262 @brief Process Update Beacon Params Request function (called when Main
2263 FSM allows it)
2264
2265 @param pWDICtx: pointer to the WLAN DAL context
2266 pEventData: pointer to the event information structure
2267
2268 @see
2269 @return Result of the function call
2270*/
2271WDI_Status
2272WDI_ProcessUpdateBeaconParamsReq
2273(
2274 WDI_ControlBlockType* pWDICtx,
2275 WDI_EventInfoType* pEventData
2276);
2277
2278/**
2279 @brief Process Update Beacon template Request function (called when Main
2280 FSM allows it)
2281
2282 @param pWDICtx: pointer to the WLAN DAL context
2283 pEventData: pointer to the event information structure
2284
2285 @see
2286 @return Result of the function call
2287*/
2288WDI_Status
2289WDI_ProcessSendBeaconParamsReq
2290(
2291 WDI_ControlBlockType* pWDICtx,
2292 WDI_EventInfoType* pEventData
2293);
2294
2295/**
2296 @brief Process Update Beacon Params Request function (called when Main FSM
2297 allows it)
2298
2299 @param pWDICtx: pointer to the WLAN DAL context
2300 pEventData: pointer to the event information structure
2301
2302 @see
2303 @return Result of the function call
2304*/
2305WDI_Status
2306WDI_ProcessUpdateProbeRspTemplateReq
2307(
2308 WDI_ControlBlockType* pWDICtx,
2309 WDI_EventInfoType* pEventData
2310);
2311/**
2312 @brief Process NV blob download function (called when Main FSM
2313 allows it)
2314
2315 @param pWDICtx: pointer to the WLAN DAL context
2316 pEventData: pointer to the event information structure
2317
2318 @see
2319 @return Result of the function call
2320*/
2321WDI_Status
2322WDI_ProcessNvDownloadReq
2323(
2324 WDI_ControlBlockType* pWDICtx,
2325 WDI_EventInfoType* pEventData
2326);
2327
2328/**
2329 @brief Process Set Max Tx Power Request function (called when Main
2330 FSM allows it)
2331
2332 @param pWDICtx: pointer to the WLAN DAL context
2333 pEventData: pointer to the event information structure
2334
2335 @see
2336 @return Result of the function call
2337*/
2338WDI_Status WDI_ProcessSetMaxTxPowerReq
2339(
2340 WDI_ControlBlockType* pWDICtx,
2341 WDI_EventInfoType* pEventData
2342);
2343
Jeff Johnson295189b2012-06-20 16:38:30 -07002344/**
Arif Hussaina5ebce02013-08-09 15:09:58 -07002345 @brief Process Set Max Tx Power Per Band Request function (called when Main
2346 FSM allows it)
2347
2348 @param pWDICtx: pointer to the WLAN DAL context
2349 pEventData: pointer to the event information structure
2350
2351 @see
2352 @return Result of the function call
2353*/
2354WDI_Status WDI_ProcessSetMaxTxPowerPerBandReq
2355(
2356 WDI_ControlBlockType* pWDICtx,
2357 WDI_EventInfoType* pEventData
2358);
2359
2360/**
schang86c22c42013-03-13 18:41:24 -07002361 @brief Process Set Tx Power Request function (called when Main
2362 FSM allows it)
2363
2364 @param pWDICtx: pointer to the WLAN DAL context
2365 pEventData: pointer to the event information structure
2366
2367 @see
2368 @return Result of the function call
2369*/
2370WDI_Status WDI_ProcessSetTxPowerReq
2371(
2372 WDI_ControlBlockType* pWDICtx,
2373 WDI_EventInfoType* pEventData
2374);
2375
2376/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002377 @brief Process P2P Notice Of Absence Request function (called when Main FSM
2378 allows it)
2379
2380 @param pWDICtx: pointer to the WLAN DAL context
2381 pEventData: pointer to the event information structure
2382
2383 @see
2384 @return Result of the function call
2385*/
2386WDI_Status
2387WDI_ProcessP2PGONOAReq
2388(
2389 WDI_ControlBlockType* pWDICtx,
2390 WDI_EventInfoType* pEventData
2391);
Jeff Johnson295189b2012-06-20 16:38:30 -07002392
2393/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05302394 @brief Process TDLS Link Establish Request function (called when Main FSM
2395 allows it)
2396
2397 @param pWDICtx: pointer to the WLAN DAL context
2398 pEventData: pointer to the event information structure
2399
2400 @see
2401 @return Result of the function call
2402*/
2403WDI_Status
2404WDI_ProcessTdlsLinkEstablishReq
2405(
2406 WDI_ControlBlockType* pWDICtx,
2407 WDI_EventInfoType* pEventData
2408);
2409
2410/**
Atul Mittalc0f739f2014-07-31 13:47:47 +05302411 @brief Process tdls channel switch request
2412
2413 @param pWDICtx: pointer to the WLAN DAL context
2414 pEventData: pointer to the event information structure
2415
2416 @see
2417 @return Result of the function call
2418*/
2419WDI_Status
2420WDI_ProcessTdlsChanSwitchReq
2421(
2422 WDI_ControlBlockType* pWDICtx,
2423 WDI_EventInfoType* pEventData
2424);
2425/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002426 @brief Process Enter IMPS Request function (called when
2427 Main FSM allows it)
2428
2429 @param pWDICtx: pointer to the WLAN DAL context
2430 pEventData: pointer to the event information structure
2431
2432 @see
2433 @return Result of the function call
2434*/
2435WDI_Status
2436WDI_ProcessEnterImpsReq
2437(
2438 WDI_ControlBlockType* pWDICtx,
2439 WDI_EventInfoType* pEventData
2440);
2441
2442/**
2443 @brief Process Exit IMPS Request function (called when
2444 Main FSM allows it)
2445
2446 @param pWDICtx: pointer to the WLAN DAL context
2447 pEventData: pointer to the event information structure
2448
2449 @see
2450 @return Result of the function call
2451*/
2452WDI_Status
2453WDI_ProcessExitImpsReq
2454(
2455 WDI_ControlBlockType* pWDICtx,
2456 WDI_EventInfoType* pEventData
2457);
2458
2459/**
2460 @brief Process Enter BMPS Request function (called when Main
2461 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_ProcessEnterBmpsReq
2471(
2472 WDI_ControlBlockType* pWDICtx,
2473 WDI_EventInfoType* pEventData
2474);
2475
2476/**
2477 @brief Process Exit BMPS Request function (called when Main FSM
2478 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_ProcessExitBmpsReq
2488(
2489 WDI_ControlBlockType* pWDICtx,
2490 WDI_EventInfoType* pEventData
2491);
2492
2493/**
2494 @brief Process Enter UAPSD Request function (called when Main
2495 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_ProcessEnterUapsdReq
2505(
2506 WDI_ControlBlockType* pWDICtx,
2507 WDI_EventInfoType* pEventData
2508);
2509
2510/**
2511 @brief Process Exit UAPSD Request function (called when
2512 Main FSM 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_ProcessExitUapsdReq
2522(
2523 WDI_ControlBlockType* pWDICtx,
2524 WDI_EventInfoType* pEventData
2525);
2526
2527/**
2528 @brief Process Set UAPSD params Request function (called when
2529 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_ProcessSetUapsdAcParamsReq
2539(
2540 WDI_ControlBlockType* pWDICtx,
2541 WDI_EventInfoType* pEventData
2542);
2543
2544/**
2545 @brief Process update UAPSD params Request function (called
2546 when Main FSM 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_ProcessUpdateUapsdParamsReq
2556(
2557 WDI_ControlBlockType* pWDICtx,
2558 WDI_EventInfoType* pEventData
2559);
2560
2561/**
2562 @brief Process Configure RXP filter Request function (called
2563 when Main FSM allows it)
2564
2565 @param pWDICtx: pointer to the WLAN DAL context
2566 pEventData: pointer to the event information structure
2567
2568 @see
2569 @return Result of the function call
2570*/
2571WDI_Status
2572WDI_ProcessConfigureRxpFilterReq
2573(
2574 WDI_ControlBlockType* pWDICtx,
2575 WDI_EventInfoType* pEventData
2576);
2577
2578/**
2579 @brief Process set beacon filter Request function (called
2580 when Main FSM allows it)
2581
2582 @param pWDICtx: pointer to the WLAN DAL context
2583 pEventData: pointer to the event information structure
2584
2585 @see
2586 @return Result of the function call
2587*/
2588WDI_Status
2589WDI_ProcessSetBeaconFilterReq
2590(
2591 WDI_ControlBlockType* pWDICtx,
2592 WDI_EventInfoType* pEventData
2593);
2594
2595/**
2596 @brief Process remove beacon filter Request function (called
2597 when Main FSM allows it)
2598
2599 @param pWDICtx: pointer to the WLAN DAL context
2600 pEventData: pointer to the event information structure
2601
2602 @see
2603 @return Result of the function call
2604*/
2605WDI_Status
2606WDI_ProcessRemBeaconFilterReq
2607(
2608 WDI_ControlBlockType* pWDICtx,
2609 WDI_EventInfoType* pEventData
2610);
2611
2612/**
2613 @brief Process set RSSI thresholds Request function (called
2614 when Main FSM allows it)
2615
2616 @param pWDICtx: pointer to the WLAN DAL context
2617 pEventData: pointer to the event information structure
2618
2619 @see
2620 @return Result of the function call
2621*/
2622WDI_Status
2623WDI_ProcessSetRSSIThresholdsReq
2624(
2625 WDI_ControlBlockType* pWDICtx,
2626 WDI_EventInfoType* pEventData
2627);
2628
2629/**
2630 @brief Process set RSSI thresholds Request function (called
2631 when Main FSM allows it)
2632
2633 @param pWDICtx: pointer to the WLAN DAL context
2634 pEventData: pointer to the event information structure
2635
2636 @see
2637 @return Result of the function call
2638*/
2639WDI_Status
2640WDI_ProcessHostOffloadReq
2641(
2642 WDI_ControlBlockType* pWDICtx,
2643 WDI_EventInfoType* pEventData
2644);
2645
2646/**
2647 @brief Process Keep Alive Request function (called
2648 when Main FSM allows it)
2649
2650 @param pWDICtx: pointer to the WLAN DAL context
2651 pEventData: pointer to the event information structure
2652
2653 @see
2654 @return Result of the function call
2655*/
2656WDI_Status
2657WDI_ProcessKeepAliveReq
2658(
2659 WDI_ControlBlockType* pWDICtx,
2660 WDI_EventInfoType* pEventData
2661);
2662
2663
2664/**
2665 @brief Process Wowl add bc ptrn Request function (called
2666 when Main FSM allows it)
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_ProcessWowlAddBcPtrnReq
2676(
2677 WDI_ControlBlockType* pWDICtx,
2678 WDI_EventInfoType* pEventData
2679);
2680
2681/**
2682 @brief Process Wowl delete bc ptrn Request function (called
2683 when Main FSM allows it)
2684
2685 @param pWDICtx: pointer to the WLAN DAL context
2686 pEventData: pointer to the event information structure
2687
2688 @see
2689 @return Result of the function call
2690*/
2691WDI_Status
2692WDI_ProcessWowlDelBcPtrnReq
2693(
2694 WDI_ControlBlockType* pWDICtx,
2695 WDI_EventInfoType* pEventData
2696);
2697
2698/**
2699 @brief Process Wowl enter Request function (called
2700 when Main FSM allows it)
2701
2702 @param pWDICtx: pointer to the WLAN DAL context
2703 pEventData: pointer to the event information structure
2704
2705 @see
2706 @return Result of the function call
2707*/
2708WDI_Status
2709WDI_ProcessWowlEnterReq
2710(
2711 WDI_ControlBlockType* pWDICtx,
2712 WDI_EventInfoType* pEventData
2713);
2714
2715/**
2716 @brief Process Wowl exit Request function (called when Main FSM
2717 allows it)
2718
2719 @param pWDICtx: pointer to the WLAN DAL context
2720 pEventData: pointer to the event information structure
2721
2722 @see
2723 @return Result of the function call
2724*/
2725WDI_Status
2726WDI_ProcessWowlExitReq
2727(
2728 WDI_ControlBlockType* pWDICtx,
2729 WDI_EventInfoType* pEventData
2730);
2731
2732/**
2733 @brief Process Configure Apps Cpu Wakeup State Request function
2734 (called when Main FSM allows it)
2735
2736 @param pWDICtx: pointer to the WLAN DAL context
2737 pEventData: pointer to the event information structure
2738
2739 @see
2740 @return Result of the function call
2741*/
2742WDI_Status
2743WDI_ProcessConfigureAppsCpuWakeupStateReq
2744(
2745 WDI_ControlBlockType* pWDICtx,
2746 WDI_EventInfoType* pEventData
2747);
2748
2749/**
2750 @brief Process Flush AC Request function (called when Main FSM
2751 allows it)
2752
2753 @param pWDICtx: pointer to the WLAN DAL context
2754 pEventData: pointer to the event information structure
2755
2756 @see
2757 @return Result of the function call
2758*/
2759WDI_Status
2760WDI_ProcessFlushAcReq
2761(
2762 WDI_ControlBlockType* pWDICtx,
2763 WDI_EventInfoType* pEventData
2764);
2765
Jeff Johnsone7245742012-09-05 17:12:55 -07002766#ifdef FEATURE_OEM_DATA_SUPPORT
2767/**
2768 @brief Process Start Oem Data Request function (called when Main
2769 FSM allows it)
2770
2771 @param pWDICtx: pointer to the WLAN DAL context
2772 pEventData: pointer to the event information structure
2773
2774 @see
2775 @return Result of the function call
2776*/
2777WDI_Status
2778WDI_ProcessStartOemDataReq
2779(
2780 WDI_ControlBlockType* pWDICtx,
2781 WDI_EventInfoType* pEventData
2782);
2783#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07002784
2785/**
2786 @brief Process Host Resume Request function (called when Main
2787 FSM allows it)
2788
2789 @param pWDICtx: pointer to the WLAN DAL context
2790 pEventData: pointer to the event information structure
2791
2792 @see
2793 @return Result of the function call
2794*/
2795WDI_Status
2796WDI_ProcessHostResumeReq
2797(
2798 WDI_ControlBlockType* pWDICtx,
2799 WDI_EventInfoType* pEventData
2800);
2801
2802/**
2803 @brief Process BT AMP event Request function (called when Main
2804 FSM allows it)
2805
2806 @param pWDICtx: pointer to the WLAN DAL context
2807 pEventData: pointer to the event information structure
2808
2809 @see
2810 @return Result of the function call
2811*/
2812WDI_Status
2813WDI_ProcessBtAmpEventReq
2814(
2815 WDI_ControlBlockType* pWDICtx,
2816 WDI_EventInfoType* pEventData
2817);
2818
2819/**
2820 @brief Process Add STA self Request function (called when Main FSM
2821 allows it)
2822
2823 @param pWDICtx: pointer to the WLAN DAL context
2824 pEventData: pointer to the event information structure
2825
2826 @see
2827 @return Result of the function call
2828*/
2829WDI_Status
2830WDI_ProcessAddSTASelfReq
2831(
2832 WDI_ControlBlockType* pWDICtx,
2833 WDI_EventInfoType* pEventData
2834);
2835
2836/**
2837 @brief Process Del Sta Self Request function (called when Main
2838 FSM allows it)
2839
2840 @param pWDICtx: pointer to the WLAN DAL context
2841 pEventData: pointer to the event information structure
2842
2843 @see
2844 @return Result of the function call
2845*/
2846WDI_Status
2847WDI_ProcessDelSTASelfReq
2848(
2849 WDI_ControlBlockType* pWDICtx,
2850 WDI_EventInfoType* pEventData
2851);
2852
2853/**
2854 @brief Process set Tx Per Tracking configurations Request function (called
2855 when Main FSM allows it)
2856
2857 @param pWDICtx: pointer to the WLAN DAL context
2858 pEventData: pointer to the event information structure
2859
2860 @see
2861 @return Result of the function call
2862*/
2863WDI_Status
2864WDI_ProcessSetTxPerTrackingReq
2865(
2866 WDI_ControlBlockType* pWDICtx,
2867 WDI_EventInfoType* pEventData
2868);
2869
2870/**
2871 @brief Process Set Power Params Request function
2872
2873 @param pWDICtx: pointer to the WLAN DAL context
2874 pEventData: pointer to the event information structure
2875
2876 @see
2877 @return Result of the function call
2878*/
2879WDI_Status
2880WDI_ProcessSetPowerParamsReq
2881(
2882 WDI_ControlBlockType* pWDICtx,
2883 WDI_EventInfoType* pEventData
2884);
2885
2886/**
2887 @brief Process Set Thermal Mitigation level Changed request
2888
2889 @param pWDICtx: pointer to the WLAN DAL context
2890 pEventData: pointer to the event information structure
2891
2892 @see
2893 @return Result of the function call
2894*/
2895WDI_Status
2896WDI_ProcessSetTmLevelReq
2897(
2898 WDI_ControlBlockType* pWDICtx,
2899 WDI_EventInfoType* pEventData
2900);
2901
Leo Chang9056f462013-08-01 19:21:11 -07002902#ifdef FEATURE_WLAN_LPHB
2903/**
2904 @brief WDI_ProcessLPHBConfReq -
2905 LPHB configuration request to FW
2906
2907 @param pWDICtx : wdi context
2908 pEventData : indication data
2909
2910 @see
2911 @return esult of the function call
2912*/
2913WDI_Status WDI_ProcessLPHBConfReq
2914(
2915 WDI_ControlBlockType* pWDICtx,
2916 WDI_EventInfoType* pEventData
2917);
2918#endif /* FEATURE_WLAN_LPHB */
2919
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08002920/**
2921 @brief WDI_ProcessUpdateChannelParamsReq -
2922 Send update channel request to FW
2923
2924 @param pWDICtx : wdi context
2925 pEventData : indication data
2926
2927 @see
2928 @return success or failure
2929*/
2930WDI_Status WDI_ProcessUpdateChannelParamsReq
2931(
2932 WDI_ControlBlockType* pWDICtx,
2933 WDI_EventInfoType* pEventData
2934);
2935
Rajeev79dbe4c2013-10-05 11:03:42 +05302936#ifdef FEATURE_WLAN_BATCH_SCAN
2937/**
2938 @brief WDI_ProcessSetBatchScanReq -
2939 Send set batch scan configuration request to FW
2940
2941 @param pWDICtx : wdi context
2942 pEventData : indication data
2943
2944 @see
2945 @return success or failure
2946*/
2947WDI_Status WDI_ProcessSetBatchScanReq
2948(
2949 WDI_ControlBlockType* pWDICtx,
2950 WDI_EventInfoType* pEventData
2951);
2952
2953/**
2954 @brief WDI_ProcessGetBatchScanReq -
2955 Send get batch scan request to FW
2956
2957 @param pWDICtx : wdi context
2958 pEventData : indication data
2959
2960 @see
2961 @return success or failure
2962*/
2963WDI_Status WDI_ProcessGetBatchScanReq
2964(
2965 WDI_ControlBlockType* pWDICtx,
2966 WDI_EventInfoType* pEventData
2967);
2968#endif /* FEATURE_WLAN_BATCH_SCAN */
2969
2970
Jeff Johnson295189b2012-06-20 16:38:30 -07002971/*=========================================================================
2972 Indications
2973=========================================================================*/
2974
2975/**
2976 @brief Process Suspend Indications function (called when Main FSM allows it)
2977
2978 @param pWDICtx: pointer to the WLAN DAL context
2979 pEventData: pointer to the event information structure
2980
2981 @see
2982 @return Result of the function call
2983*/
2984WDI_Status
2985WDI_ProcessHostSuspendInd
2986(
2987 WDI_ControlBlockType* pWDICtx,
2988 WDI_EventInfoType* pEventData
2989);
2990
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +05302991/**
2992 @brief DHCP Start Event Indication
2993
2994 @param pWDICtx: pointer to the WLAN DAL context
2995 pEventData: pointer to the event information structure
2996
2997 @see
2998 @return Result of the function call
2999*/
3000WDI_Status
3001WDI_ProcessDHCPStartInd
3002(
3003 WDI_ControlBlockType* pWDICtx,
3004 WDI_EventInfoType* pEventData
3005);
3006
3007/**
3008 @brief DHCP Stop Event Indication
3009
3010 @param pWDICtx: pointer to the WLAN DAL context
3011 pEventData: pointer to the event information structure
3012
3013 @see
3014 @return Result of the function call
3015*/
3016WDI_Status
3017WDI_ProcessDHCPStopInd
3018(
3019 WDI_ControlBlockType* pWDICtx,
3020 WDI_EventInfoType* pEventData
3021);
3022
Jeff Johnson295189b2012-06-20 16:38:30 -07003023
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -08003024/**
3025 @brief Process Traffic Stats Indications function (called when Main FSM allows it)
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_ProcessTrafficStatsInd
3035(
3036 WDI_ControlBlockType* pWDICtx,
3037 WDI_EventInfoType* pEventData
3038);
Chet Lanctot186b5732013-03-18 10:26:30 -07003039
3040#ifdef WLAN_FEATURE_11W
3041/**
3042 @brief Process Exclude Unencrypted Indications function (called
3043 when Main FSM allows it)
3044
3045 @param pWDICtx: pointer to the WLAN DAL context
3046 pEventData: pointer to the event information structure
3047
3048 @see
3049 @return Result of the function call
3050*/
3051WDI_Status
3052WDI_ProcessExcludeUnencryptInd
3053(
3054 WDI_ControlBlockType* pWDICtx,
3055 WDI_EventInfoType* pEventData
3056);
3057#endif
3058
Yue Mab9c86f42013-08-14 15:59:08 -07003059/**
3060 @brief Process Add Periodic Tx Pattern Indication function (called when
3061 Main FSM allows it)
3062
3063 @param pWDICtx: pointer to the WLAN DAL context
3064 pEventData: pointer to the event information structure
3065
3066 @see
3067 @return Result of the function call
3068*/
3069WDI_Status
3070WDI_ProcessAddPeriodicTxPtrnInd
3071(
3072 WDI_ControlBlockType* pWDICtx,
3073 WDI_EventInfoType* pEventData
3074);
3075
3076/**
3077 @brief Process Delete Periodic Tx Pattern Indication function (called when
3078 Main FSM allows it)
3079
3080 @param pWDICtx: pointer to the WLAN DAL context
3081 pEventData: pointer to the event information structure
3082
3083 @see
3084 @return Result of the function call
3085*/
3086WDI_Status
3087WDI_ProcessDelPeriodicTxPtrnInd
3088(
3089 WDI_ControlBlockType* pWDICtx,
3090 WDI_EventInfoType* pEventData
3091);
3092
Rajeev79dbe4c2013-10-05 11:03:42 +05303093#ifdef FEATURE_WLAN_BATCH_SCAN
3094/**
3095 @brief Process stop batch scan indications function
3096 It is called when Main FSM allows it
3097
3098 @param pWDICtx: pointer to the WLAN DAL context
3099 pEventData: pointer to the event information structure
3100
3101 @see
3102 @return Result of the function call
3103 */
3104 WDI_Status
3105 WDI_ProcessStopBatchScanInd
3106 (
3107 WDI_ControlBlockType* pWDICtx,
3108 WDI_EventInfoType* pEventData
3109 );
3110
3111/**
3112 @brief This API is called to trigger batch scan results from FW
3113 It is called when Main FSM allows it
3114
3115 @param pWDICtx: pointer to the WLAN DAL context
3116 pEventData: pointer to the event information structure
3117
3118 @see
3119 @return Result of the function call
3120 */
3121 WDI_Status
3122 WDI_ProcessTriggerBatchScanResultInd
3123 (
3124 WDI_ControlBlockType* pWDICtx,
3125 WDI_EventInfoType* pEventData
3126 );
3127
3128#endif
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +05303129/**
3130 @brief Process start OBSS scan request from Host
3131
3132 @param pWDICtx: pointer to the WLAN DAL context
3133 pEventData: pointer to the event information structure
3134
3135 @see
3136 @return Result of the function call
3137*/
3138WDI_Status
3139WDI_ProcessHT40OBSSScanInd(
3140 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
3141
3142
3143/**
3144 @brief Process stop OBSS scan request from Host
3145
3146 @param pWDICtx: pointer to the WLAN DAL context
3147 pEventData: pointer to the event information structure
3148
3149 @see
3150 @return Result of the function call
3151*/
3152WDI_Status
3153WDI_ProcessHT40OBSSStopScanInd(
3154 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
Rajeev79dbe4c2013-10-05 11:03:42 +05303155
Jeff Johnson295189b2012-06-20 16:38:30 -07003156/*========================================================================
3157 Main DAL Control Path Response Processing API
3158========================================================================*/
3159
3160
3161/**
3162 @brief Process Start Response function (called when a response
3163 is being received over the bus from HAL)
3164
3165 @param pWDICtx: pointer to the WLAN DAL context
3166 pEventData: pointer to the event information structure
3167
3168 @see
3169 @return Result of the function call
3170*/
3171WDI_Status
3172WDI_ProcessStartRsp
3173(
3174 WDI_ControlBlockType* pWDICtx,
3175 WDI_EventInfoType* pEventData
3176);
3177
3178
3179/**
3180 @brief Process Stop Response function (called when a response
3181 is being received over the bus from HAL)
3182
3183 @param pWDICtx: pointer to the WLAN DAL context
3184 pEventData: pointer to the event information structure
3185
3186 @see
3187 @return Result of the function call
3188*/
3189WDI_Status
3190WDI_ProcessStopRsp
3191(
3192 WDI_ControlBlockType* pWDICtx,
3193 WDI_EventInfoType* pEventData
3194);
3195
3196
3197/**
3198 @brief Process Close Rsp function (called when a response
3199 is being received over the bus from HAL)
3200
3201 @param pWDICtx: pointer to the WLAN DAL context
3202 pEventData: pointer to the event information structure
3203
3204 @see
3205 @return Result of the function call
3206*/
3207WDI_Status
3208WDI_ProcessCloseRsp
3209(
3210 WDI_ControlBlockType* pWDICtx,
3211 WDI_EventInfoType* pEventData
3212);
3213
3214/**
3215 @brief Process Shutdown Rsp function
3216 There is no shutdown response comming from HAL
3217 - function just kept for simmetry
3218
3219 @param pWDICtx: pointer to the WLAN DAL context
3220 pEventData: pointer to the event information structure
3221
3222 @see
3223 @return Result of the function call
3224*/
3225WDI_Status
3226WDI_ProcessShutdownRsp
3227(
3228 WDI_ControlBlockType* pWDICtx,
3229 WDI_EventInfoType* pEventData
3230);
3231
3232/**
3233 @brief Process Init Scan Rsp function (called when a response
3234 is being received over the bus from HAL)
3235
3236 @param pWDICtx: pointer to the WLAN DAL context
3237 pEventData: pointer to the event information structure
3238
3239 @see
3240 @return Result of the function call
3241*/
3242WDI_Status
3243WDI_ProcessInitScanRsp
3244(
3245 WDI_ControlBlockType* pWDICtx,
3246 WDI_EventInfoType* pEventData
3247);
3248
3249
3250/**
3251 @brief Process Start Scan Rsp function (called when a response
3252 is being received over the bus from HAL)
3253
3254 @param pWDICtx: pointer to the WLAN DAL context
3255 pEventData: pointer to the event information structure
3256
3257 @see
3258 @return Result of the function call
3259*/
3260WDI_Status
3261WDI_ProcessStartScanRsp
3262(
3263 WDI_ControlBlockType* pWDICtx,
3264 WDI_EventInfoType* pEventData
3265);
3266
3267
3268/**
3269 @brief Process End Scan Response function (called when a
3270 response is being received over the bus from HAL)
3271
3272 @param pWDICtx: pointer to the WLAN DAL context
3273 pEventData: pointer to the event information structure
3274
3275 @see
3276 @return Result of the function call
3277*/
3278WDI_Status
3279WDI_ProcessEndScanRsp
3280(
3281 WDI_ControlBlockType* pWDICtx,
3282 WDI_EventInfoType* pEventData
3283);
3284
3285
3286/**
3287 @brief Process Finish Scan Response function (called when a
3288 response is being received over the bus from HAL)
3289
3290 @param pWDICtx: pointer to the WLAN DAL context
3291 pEventData: pointer to the event information structure
3292
3293 @see
3294 @return Result of the function call
3295*/
3296WDI_Status
3297WDI_ProcessFinishScanRsp
3298(
3299 WDI_ControlBlockType* pWDICtx,
3300 WDI_EventInfoType* pEventData
3301);
3302
3303
3304/**
3305 @brief Process Join Response function (called when a response
3306 is being received over the bus from HAL)
3307
3308 @param pWDICtx: pointer to the WLAN DAL context
3309 pEventData: pointer to the event information structure
3310
3311 @see
3312 @return Result of the function call
3313*/
3314WDI_Status
3315WDI_ProcessJoinRsp
3316(
3317 WDI_ControlBlockType* pWDICtx,
3318 WDI_EventInfoType* pEventData
3319);
3320
3321
3322/**
3323 @brief Process Config BSS Response function (called when a
3324 response is being received over the bus from HAL)
3325
3326 @param pWDICtx: pointer to the WLAN DAL context
3327 pEventData: pointer to the event information structure
3328
3329 @see
3330 @return Result of the function call
3331*/
3332WDI_Status
3333WDI_ProcessConfigBSSRsp
3334(
3335 WDI_ControlBlockType* pWDICtx,
3336 WDI_EventInfoType* pEventData
3337);
3338
3339
3340/**
3341 @brief Process Del BSS Response function (called when a response
3342 is 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_ProcessDelBSSRsp
3352(
3353 WDI_ControlBlockType* pWDICtx,
3354 WDI_EventInfoType* pEventData
3355);
3356
3357/**
3358 @brief Process Post Assoc Rsp function (called when a response
3359 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_ProcessPostAssocRsp
3369(
3370 WDI_ControlBlockType* pWDICtx,
3371 WDI_EventInfoType* pEventData
3372);
3373
3374/**
3375 @brief Process Del STA Key Rsp function (called when a response
3376 is being received over the bus from HAL)
3377
3378 @param pWDICtx: pointer to the WLAN DAL context
3379 pEventData: pointer to the event information structure
3380
3381 @see
3382 @return Result of the function call
3383*/
3384WDI_Status
3385WDI_ProcessDelSTARsp
3386(
3387 WDI_ControlBlockType* pWDICtx,
3388 WDI_EventInfoType* pEventData
3389);
3390
3391/**
3392 @brief Process Set BSS Key Rsp function (called when a response
3393 is being received over the bus from HAL)
3394
3395 @param pWDICtx: pointer to the WLAN DAL context
3396 pEventData: pointer to the event information structure
3397
3398 @see
3399 @return Result of the function call
3400*/
3401WDI_Status
3402WDI_ProcessSetBssKeyRsp
3403(
3404 WDI_ControlBlockType* pWDICtx,
3405 WDI_EventInfoType* pEventData
3406);
3407
3408/**
3409 @brief Process Remove BSS Key Rsp function (called when a response
3410 is being received over the bus from HAL)
3411
3412 @param pWDICtx: pointer to the WLAN DAL context
3413 pEventData: pointer to the event information structure
3414
3415 @see
3416 @return Result of the function call
3417*/
3418WDI_Status
3419WDI_ProcessRemoveBssKeyRsp
3420(
3421 WDI_ControlBlockType* pWDICtx,
3422 WDI_EventInfoType* pEventData
3423);
3424
3425
3426/**
3427 @brief Process Set STA Key Rsp function (called when a response
3428 is being received over the bus from HAL)
3429
3430 @param pWDICtx: pointer to the WLAN DAL context
3431 pEventData: pointer to the event information structure
3432
3433 @see
3434 @return Result of the function call
3435*/
3436WDI_Status
3437WDI_ProcessSetStaKeyRsp
3438(
3439 WDI_ControlBlockType* pWDICtx,
3440 WDI_EventInfoType* pEventData
3441);
3442
3443/**
3444 @brief Process Remove STA Key Rsp function (called when a
3445 response is being received over the bus from HAL)
3446
3447 @param pWDICtx: pointer to the WLAN DAL context
3448 pEventData: pointer to the event information structure
3449
3450 @see
3451 @return Result of the function call
3452*/
3453WDI_Status
3454WDI_ProcessRemoveStaKeyRsp
3455(
3456 WDI_ControlBlockType* pWDICtx,
3457 WDI_EventInfoType* pEventData
3458);
3459
3460
3461/**
3462 @brief Process Set STA Bcast Key Rsp function (called when a
3463 response is being received over the bus from HAL)
3464
3465 @param pWDICtx: pointer to the WLAN DAL context
3466 pEventData: pointer to the event information structure
3467
3468 @see
3469 @return Result of the function call
3470*/
3471WDI_Status
3472WDI_ProcessSetStaBcastKeyRsp
3473(
3474 WDI_ControlBlockType* pWDICtx,
3475 WDI_EventInfoType* pEventData
3476);
3477
3478/**
3479 @brief Process Remove STA Bcast Key Rsp function (called when a
3480 response is being received over the bus from HAL)
3481
3482 @param pWDICtx: pointer to the WLAN DAL context
3483 pEventData: pointer to the event information structure
3484
3485 @see
3486 @return Result of the function call
3487*/
3488WDI_Status
3489WDI_ProcessRemoveStaBcastKeyRsp
3490(
3491 WDI_ControlBlockType* pWDICtx,
3492 WDI_EventInfoType* pEventData
3493);
3494
3495/**
3496 @brief Process Add TSpec Rsp function (called when a response
3497 is being received over the bus from HAL)
3498
3499 @param pWDICtx: pointer to the WLAN DAL context
3500 pEventData: pointer to the event information structure
3501
3502 @see
3503 @return Result of the function call
3504*/
3505WDI_Status
3506WDI_ProcessAddTSpecRsp
3507(
3508 WDI_ControlBlockType* pWDICtx,
3509 WDI_EventInfoType* pEventData
3510);
3511
3512
3513/**
3514 @brief Process Del TSpec Rsp function (called when a response
3515 is being received over the bus from HAL)
3516
3517 @param pWDICtx: pointer to the WLAN DAL context
3518 pEventData: pointer to the event information structure
3519
3520 @see
3521 @return Result of the function call
3522*/
3523WDI_Status
3524WDI_ProcessDelTSpecRsp
3525(
3526 WDI_ControlBlockType* pWDICtx,
3527 WDI_EventInfoType* pEventData
3528);
3529
3530/**
3531 @brief Process Update EDCA Parameters Rsp function (called when a
3532 response is being received over the bus from HAL)
3533
3534 @param pWDICtx: pointer to the WLAN DAL context
3535 pEventData: pointer to the event information structure
3536
3537 @see
3538 @return Result of the function call
3539*/
3540WDI_Status
3541WDI_ProcessUpdateEDCAParamsRsp
3542(
3543 WDI_ControlBlockType* pWDICtx,
3544 WDI_EventInfoType* pEventData
3545);
3546
3547
3548/**
3549 @brief Process Add BA Rsp function (called when a response
3550 is being received over the bus from HAL)
3551
3552 @param pWDICtx: pointer to the WLAN DAL context
3553 pEventData: pointer to the event information structure
3554
3555 @see
3556 @return Result of the function call
3557*/
3558WDI_Status
3559WDI_ProcessAddBASessionRsp
3560(
3561 WDI_ControlBlockType* pWDICtx,
3562 WDI_EventInfoType* pEventData
3563);
3564
3565
3566/**
3567 @brief Process Del BA Rsp function (called when a response
3568 is being received over the bus from HAL)
3569
3570 @param pWDICtx: pointer to the WLAN DAL context
3571 pEventData: pointer to the event information structure
3572
3573 @see
3574 @return Result of the function call
3575*/
3576WDI_Status
3577WDI_ProcessDelBARsp
3578(
3579 WDI_ControlBlockType* pWDICtx,
3580 WDI_EventInfoType* pEventData
3581);
3582
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08003583#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07003584/**
3585 @brief Process TSM stats Rsp function (called when a response
3586 is being received over the bus from HAL)
3587
3588 @param pWDICtx: pointer to the WLAN DAL context
3589 pEventData: pointer to the event information structure
3590
3591 @see
3592 @return Result of the function call
3593*/
3594WDI_Status
3595WDI_ProcessTsmStatsRsp
3596(
3597 WDI_ControlBlockType* pWDICtx,
3598 WDI_EventInfoType* pEventData
3599);
3600
3601#endif
3602
3603
3604/**
3605 @brief Process Channel Switch Rsp function (called when a response
3606 is being received over the bus from HAL)
3607
3608 @param pWDICtx: pointer to the WLAN DAL context
3609 pEventData: pointer to the event information structure
3610
3611 @see
3612 @return Result of the function call
3613*/
3614WDI_Status
3615WDI_ProcessChannelSwitchRsp
3616(
3617 WDI_ControlBlockType* pWDICtx,
3618 WDI_EventInfoType* pEventData
3619);
3620
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08003621/**
3622 @brief Process Channel Switch Rsp function (called when a response
3623 is being received over the bus from HAL)
3624
3625 @param pWDICtx: pointer to the WLAN DAL context
3626 pEventData: pointer to the event information structure
3627
3628 @see
3629 @return Result of the function call
3630*/
3631WDI_Status
3632WDI_ProcessChannelSwitchRsp_V1
3633(
3634 WDI_ControlBlockType* pWDICtx,
3635 WDI_EventInfoType* pEventData
3636);
Jeff Johnson295189b2012-06-20 16:38:30 -07003637
3638/**
3639 @brief Process Config STA Rsp function (called when a response
3640 is being received over the bus from HAL)
3641
3642 @param pWDICtx: pointer to the WLAN DAL context
3643 pEventData: pointer to the event information structure
3644
3645 @see
3646 @return Result of the function call
3647*/
3648WDI_Status
3649WDI_ProcessConfigStaRsp
3650(
3651 WDI_ControlBlockType* pWDICtx,
3652 WDI_EventInfoType* pEventData
3653);
3654
3655
3656/**
3657 @brief Process Set Link State Rsp function (called when a
3658 response is being received over the bus from HAL)
3659
3660 @param pWDICtx: pointer to the WLAN DAL context
3661 pEventData: pointer to the event information structure
3662
3663 @see
3664 @return Result of the function call
3665*/
3666WDI_Status
3667WDI_ProcessSetLinkStateRsp
3668(
3669 WDI_ControlBlockType* pWDICtx,
3670 WDI_EventInfoType* pEventData
3671);
3672
3673/**
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08003674 @brief Process Update Channel Rsp function (called when a response is
3675 being received over the bus from HAL)
3676
3677 @param pWDICtx: pointer to the WLAN DAL context
3678 pEventData: pointer to the event information structure
3679
3680 @see
3681 @return Result of the function call
3682*/
3683WDI_Status
3684WDI_ProcessUpdateChanRsp
3685(
3686 WDI_ControlBlockType* pWDICtx,
3687 WDI_EventInfoType* pEventData
3688);
3689
3690/**
Jeff Johnson295189b2012-06-20 16:38:30 -07003691 @brief Process Get Stats Rsp function (called when a response is
3692 being received over the bus from HAL)
3693
3694 @param pWDICtx: pointer to the WLAN DAL context
3695 pEventData: pointer to the event information structure
3696
3697 @see
3698 @return Result of the function call
3699*/
3700WDI_Status
3701WDI_ProcessGetStatsRsp
3702(
3703 WDI_ControlBlockType* pWDICtx,
3704 WDI_EventInfoType* pEventData
3705);
3706
3707
3708/**
3709 @brief Process Update Cfg Rsp function (called when a response is
3710 being received over the bus from HAL)
3711
3712 @param pWDICtx: pointer to the WLAN DAL context
3713 pEventData: pointer to the event information structure
3714
3715 @see
3716 @return Result of the function call
3717*/
3718WDI_Status
3719WDI_ProcessUpdateCfgRsp
3720(
3721 WDI_ControlBlockType* pWDICtx,
3722 WDI_EventInfoType* pEventData
3723);
3724
3725/**
3726 @brief Process Add BA Rsp function (called when a response
3727 is being received over the bus from HAL)
3728
3729 @param pWDICtx: pointer to the WLAN DAL context
3730 pEventData: pointer to the event information structure
3731
3732 @see
3733 @return Result of the function call
3734*/
3735WDI_Status
3736WDI_ProcessAddBARsp
3737(
3738 WDI_ControlBlockType* pWDICtx,
3739 WDI_EventInfoType* pEventData
3740);
3741
3742/**
3743 @brief Process Add BA Rsp function (called when a response
3744 is being received over the bus from HAL)
3745
3746 @param pWDICtx: pointer to the WLAN DAL context
3747 pEventData: pointer to the event information structure
3748
3749 @see
3750 @return Result of the function call
3751*/
3752WDI_Status
3753WDI_ProcessTriggerBARsp
3754(
3755 WDI_ControlBlockType* pWDICtx,
3756 WDI_EventInfoType* pEventData
3757);
3758
3759/**
3760 @brief Process Update Beacon Params Rsp function (called when a response is
3761 being received over the bus from HAL)
3762
3763 @param pWDICtx: pointer to the WLAN DAL context
3764 pEventData: pointer to the event information structure
3765
3766 @see
3767 @return Result of the function call
3768*/
3769WDI_Status
3770WDI_ProcessUpdateBeaconParamsRsp
3771(
3772 WDI_ControlBlockType* pWDICtx,
3773 WDI_EventInfoType* pEventData
3774);
3775
3776/**
3777 @brief Process Send Beacon template Rsp function (called when a response is
3778 being received over the bus from HAL)
3779
3780 @param pWDICtx: pointer to the WLAN DAL context
3781 pEventData: pointer to the event information structure
3782
3783 @see
3784 @return Result of the function call
3785*/
3786WDI_Status
3787WDI_ProcessSendBeaconParamsRsp
3788(
3789 WDI_ControlBlockType* pWDICtx,
3790 WDI_EventInfoType* pEventData
3791);
3792
3793/**
3794 @brief Process Update Probe Resp Template Rsp function (called
3795 when a response is being received over the bus from HAL)
3796
3797 @param pWDICtx: pointer to the WLAN DAL context
3798 pEventData: pointer to the event information structure
3799
3800 @see
3801 @return Result of the function call
3802*/
3803WDI_Status
3804WDI_ProcessUpdateProbeRspTemplateRsp
3805(
3806 WDI_ControlBlockType* pWDICtx,
3807 WDI_EventInfoType* pEventData
3808);
3809 /**
3810 @brief Process Set Max Tx Power Rsp function (called when a response
3811 is being received over the bus from HAL)
3812
3813 @param pWDICtx: pointer to the WLAN DAL context
3814 pEventData: pointer to the event information structure
3815
3816 @see
3817 @return Result of the function call
3818*/
3819WDI_Status
3820WDI_ProcessSetMaxTxPowerRsp
3821(
3822 WDI_ControlBlockType* pWDICtx,
3823 WDI_EventInfoType* pEventData
3824);
3825
Arif Hussain935a8fb2014-01-31 12:12:28 -08003826/**
3827 @brief Process Set Max Tx Power Per Band Rsp function (called when a response
3828 is being received over the bus from HAL)
3829
3830 @param pWDICtx: pointer to the WLAN DAL context
3831 pEventData: pointer to the event information structure
3832
3833 @see
3834 @return Result of the function call
3835*/
3836WDI_Status
3837WDI_ProcessSetMaxTxPowerPerBandRsp
3838(
3839 WDI_ControlBlockType* pWDICtx,
3840 WDI_EventInfoType* pEventData
3841);
3842
schang86c22c42013-03-13 18:41:24 -07003843 /**
3844 @brief Process Set Tx Power Rsp function (called when a response
3845 is being received over the bus from HAL)
3846
3847 @param pWDICtx: pointer to the WLAN DAL context
3848 pEventData: pointer to the event information structure
3849
3850 @see
3851 @return Result of the function call
3852*/
3853WDI_Status
3854WDI_ProcessSetTxPowerRsp
3855(
3856 WDI_ControlBlockType* pWDICtx,
3857 WDI_EventInfoType* pEventData
3858);
3859
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05303860 /**
3861 @brief Process TDLS Link Establish Req Rsp function (called when a response
3862 is being received over the bus from HAL)
3863
3864 @param pWDICtx: pointer to the WLAN DAL context
3865 pEventData: pointer to the event information structure
3866
3867 @see
3868 @return Result of the function call
3869*/
3870WDI_Status
3871WDI_ProcessLinkEstablishReqRsp
3872(
3873 WDI_ControlBlockType* pWDICtx,
3874 WDI_EventInfoType* pEventData
3875);
3876
Atul Mittalc0f739f2014-07-31 13:47:47 +05303877
3878 /**
3879 @brief Process TDLS Chan Switch Req Rsp function (called when a response
3880 is being received over the bus from HAL)
3881
3882 @param pWDICtx: pointer to the WLAN DAL context
3883 pEventData: pointer to the event information structure
3884
3885 @see
3886 @return Result of the function call
3887*/
3888WDI_Status
3889WDI_ProcessChanSwitchReqRsp
3890(
3891 WDI_ControlBlockType* pWDICtx,
3892 WDI_EventInfoType* pEventData
3893);
3894
Jeff Johnson295189b2012-06-20 16:38:30 -07003895/**
3896 @brief Process Nv download(called when a response
3897 is being received over the bus from HAL)
3898
3899 @param pWDICtx: pointer to the WLAN DAL context
3900 pEventData: pointer to the event information structure
3901
3902 @see
3903 @return Result of the function call
3904*/
3905WDI_Status
3906WDI_ProcessNvDownloadRsp
3907(
3908 WDI_ControlBlockType* pWDICtx,
3909 WDI_EventInfoType* pEventData
3910);
3911
Jeff Johnson295189b2012-06-20 16:38:30 -07003912/**
3913 @brief Process P2P Group Owner Notice Of Absense Rsp function (called
3914 when a response is being received over the bus from HAL)
3915
3916 @param pWDICtx: pointer to the WLAN DAL context
3917 pEventData: pointer to the event information structure
3918
3919 @see
3920 @return Result of the function call
3921*/
3922WDI_Status
3923WDI_ProcessP2PGONOARsp
3924(
3925 WDI_ControlBlockType* pWDICtx,
3926 WDI_EventInfoType* pEventData
3927);
Jeff Johnson295189b2012-06-20 16:38:30 -07003928
3929/**
3930 @brief Process Enter IMPS Rsp function (called when a response
3931 is being received over the bus from HAL)
3932
3933 @param pWDICtx: pointer to the WLAN DAL context
3934 pEventData: pointer to the event information structure
3935
3936 @see
3937 @return Result of the function call
3938*/
3939WDI_Status
3940WDI_ProcessEnterImpsRsp
3941(
3942 WDI_ControlBlockType* pWDICtx,
3943 WDI_EventInfoType* pEventData
3944);
3945
3946/**
3947 @brief Process Exit IMPS Rsp function (called when a response
3948 is being received over the bus from HAL)
3949
3950 @param pWDICtx: pointer to the WLAN DAL context
3951 pEventData: pointer to the event information structure
3952
3953 @see
3954 @return Result of the function call
3955*/
3956WDI_Status
3957WDI_ProcessExitImpsRsp
3958(
3959 WDI_ControlBlockType* pWDICtx,
3960 WDI_EventInfoType* pEventData
3961);
3962
3963/**
3964 @brief Process Enter BMPS Rsp function (called when a response
3965 is being received over the bus from HAL)
3966
3967 @param pWDICtx: pointer to the WLAN DAL context
3968 pEventData: pointer to the event information structure
3969
3970 @see
3971 @return Result of the function call
3972*/
3973WDI_Status
3974WDI_ProcessEnterBmpsRsp
3975(
3976 WDI_ControlBlockType* pWDICtx,
3977 WDI_EventInfoType* pEventData
3978);
3979
3980/**
3981 @brief Process Exit BMPS Rsp function (called when a response
3982 is being received over the bus 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_ProcessExitBmpsRsp
3992(
3993 WDI_ControlBlockType* pWDICtx,
3994 WDI_EventInfoType* pEventData
3995);
3996
3997/**
3998 @brief Process Enter UAPSD Rsp function (called when a response
3999 is being received over the bus from HAL)
4000
4001 @param pWDICtx: pointer to the WLAN DAL context
4002 pEventData: pointer to the event information structure
4003
4004 @see
4005 @return Result of the function call
4006*/
4007WDI_Status
4008WDI_ProcessEnterUapsdRsp
4009(
4010 WDI_ControlBlockType* pWDICtx,
4011 WDI_EventInfoType* pEventData
4012);
4013
4014/**
4015 @brief Process Exit UAPSD Rsp function (called when a response
4016 is being received over the bus from HAL)
4017
4018 @param pWDICtx: pointer to the WLAN DAL context
4019 pEventData: pointer to the event information structure
4020
4021 @see
4022 @return Result of the function call
4023*/
4024WDI_Status
4025WDI_ProcessExitUapsdRsp
4026(
4027 WDI_ControlBlockType* pWDICtx,
4028 WDI_EventInfoType* pEventData
4029);
4030
4031/**
4032 @brief Process set UAPSD params Rsp function (called when a
4033 response is being received over the bus from HAL)
4034
4035 @param pWDICtx: pointer to the WLAN DAL context
4036 pEventData: pointer to the event information structure
4037
4038 @see
4039 @return Result of the function call
4040*/
4041WDI_Status
4042WDI_ProcessSetUapsdAcParamsRsp
4043(
4044 WDI_ControlBlockType* pWDICtx,
4045 WDI_EventInfoType* pEventData
4046);
4047
4048/**
4049 @brief Process update UAPSD params Rsp function (called when a
4050 response is being received over the bus from HAL)
4051
4052 @param pWDICtx: pointer to the WLAN DAL context
4053 pEventData: pointer to the event information structure
4054
4055 @see
4056 @return Result of the function call
4057*/
4058WDI_Status
4059WDI_ProcessUpdateUapsdParamsRsp
4060(
4061 WDI_ControlBlockType* pWDICtx,
4062 WDI_EventInfoType* pEventData
4063);
4064
4065/**
4066 @brief Process Configure RXP filter Rsp function (called when a
4067 response is being received over the bus from HAL)
4068
4069 @param pWDICtx: pointer to the WLAN DAL context
4070 pEventData: pointer to the event information structure
4071
4072 @see
4073 @return Result of the function call
4074*/
4075WDI_Status
4076WDI_ProcessConfigureRxpFilterRsp
4077(
4078 WDI_ControlBlockType* pWDICtx,
4079 WDI_EventInfoType* pEventData
4080);
4081
4082/**
4083 @brief Process Set beacon filter Rsp function (called when a
4084 response is being received over the bus from HAL)
4085
4086 @param pWDICtx: pointer to the WLAN DAL context
4087 pEventData: pointer to the event information structure
4088
4089 @see
4090 @return Result of the function call
4091*/
4092WDI_Status
4093WDI_ProcessSetBeaconFilterRsp
4094(
4095 WDI_ControlBlockType* pWDICtx,
4096 WDI_EventInfoType* pEventData
4097);
4098
4099/**
4100 @brief Process remove beacon filter Rsp function (called when a
4101 response is being received over the bus from HAL)
4102
4103 @param pWDICtx: pointer to the WLAN DAL context
4104 pEventData: pointer to the event information structure
4105
4106 @see
4107 @return Result of the function call
4108*/
4109WDI_Status
4110WDI_ProcessRemBeaconFilterRsp
4111(
4112 WDI_ControlBlockType* pWDICtx,
4113 WDI_EventInfoType* pEventData
4114);
4115
4116/**
4117 @brief Process set RSSI thresholds Rsp function (called when a
4118 response is being received over the bus from HAL)
4119
4120 @param pWDICtx: pointer to the WLAN DAL context
4121 pEventData: pointer to the event information structure
4122
4123 @see
4124 @return Result of the function call
4125*/
4126WDI_Status
4127WDI_ProcessSetRSSIThresoldsRsp
4128(
4129 WDI_ControlBlockType* pWDICtx,
4130 WDI_EventInfoType* pEventData
4131);
4132
4133/**
4134 @brief Process host offload Rsp function (called when a
4135 response is being received over the bus from HAL)
4136
4137 @param pWDICtx: pointer to the WLAN DAL context
4138 pEventData: pointer to the event information structure
4139
4140 @see
4141 @return Result of the function call
4142*/
4143WDI_Status
4144WDI_ProcessHostOffloadRsp
4145(
4146 WDI_ControlBlockType* pWDICtx,
4147 WDI_EventInfoType* pEventData
4148);
4149
4150/**
4151 @brief Process Keep Alive Rsp function (called when a
4152 response is being received over the bus from HAL)
4153
4154 @param pWDICtx: pointer to the WLAN DAL context
4155 pEventData: pointer to the event information structure
4156
4157 @see
4158 @return Result of the function call
4159*/
4160WDI_Status
4161WDI_ProcessKeepAliveRsp
4162(
4163 WDI_ControlBlockType* pWDICtx,
4164 WDI_EventInfoType* pEventData
4165);
4166
4167
4168/**
4169 @brief Process wowl add ptrn Rsp function (called when a
4170 response is being received over the bus from HAL)
4171
4172 @param pWDICtx: pointer to the WLAN DAL context
4173 pEventData: pointer to the event information structure
4174
4175 @see
4176 @return Result of the function call
4177*/
4178WDI_Status
4179WDI_ProcessWowlAddBcPtrnRsp
4180(
4181 WDI_ControlBlockType* pWDICtx,
4182 WDI_EventInfoType* pEventData
4183);
4184
4185/**
4186 @brief Process wowl delete ptrn Rsp function (called when a
4187 response is being received over the bus from HAL)
4188
4189 @param pWDICtx: pointer to the WLAN DAL context
4190 pEventData: pointer to the event information structure
4191
4192 @see
4193 @return Result of the function call
4194*/
4195WDI_Status
4196WDI_ProcessWowlDelBcPtrnRsp
4197(
4198 WDI_ControlBlockType* pWDICtx,
4199 WDI_EventInfoType* pEventData
4200);
4201
4202/**
4203 @brief Process wowl enter Rsp function (called when a response
4204 is being received over the bus from HAL)
4205
4206 @param pWDICtx: pointer to the WLAN DAL context
4207 pEventData: pointer to the event information structure
4208
4209 @see
4210 @return Result of the function call
4211*/
4212WDI_Status
4213WDI_ProcessWowlEnterRsp
4214(
4215 WDI_ControlBlockType* pWDICtx,
4216 WDI_EventInfoType* pEventData
4217);
4218
4219/**
4220 @brief Process wowl exit Rsp function (called when a response
4221 is being received over the bus from HAL)
4222
4223 @param pWDICtx: pointer to the WLAN DAL context
4224 pEventData: pointer to the event information structure
4225
4226 @see
4227 @return Result of the function call
4228*/
4229WDI_Status
4230WDI_ProcessWowlExitRsp
4231(
4232 WDI_ControlBlockType* pWDICtx,
4233 WDI_EventInfoType* pEventData
4234);
4235
4236/**
4237 @brief Process Configure Apps CPU wakeup State Rsp function
4238 (called when a response is being received over the bus
4239 from HAL)
4240
4241 @param pWDICtx: pointer to the WLAN DAL context
4242 pEventData: pointer to the event information structure
4243
4244 @see
4245 @return Result of the function call
4246*/
4247WDI_Status
4248WDI_ProcessConfigureAppsCpuWakeupStateRsp
4249(
4250 WDI_ControlBlockType* pWDICtx,
4251 WDI_EventInfoType* pEventData
4252);
4253/**
4254 @brief Process Flush AC Rsp function (called when a response
4255 is being received over the bus from HAL)
4256
4257 @param pWDICtx: pointer to the WLAN DAL context
4258 pEventData: pointer to the event information structure
4259
4260 @see
4261 @return Result of the function call
4262*/
4263WDI_Status
4264WDI_ProcessFlushAcRsp
4265(
4266 WDI_ControlBlockType* pWDICtx,
4267 WDI_EventInfoType* pEventData
4268);
4269
4270/**
4271 @brief Process BT AMP event Rsp function (called when a
4272 response is being received over the bus from HAL)
4273
4274 @param pWDICtx: pointer to the WLAN DAL context
4275 pEventData: pointer to the event information structure
4276
4277 @see
4278 @return Result of the function call
4279*/
4280WDI_Status
4281WDI_ProcessBtAmpEventRsp
4282(
4283 WDI_ControlBlockType* pWDICtx,
4284 WDI_EventInfoType* pEventData
4285);
4286
4287/**
4288 @brief Process ADD SELF STA Rsp function (called
4289 when a response is being received over the bus from HAL)
4290
4291 @param pWDICtx: pointer to the WLAN DAL context
4292 pEventData: pointer to the event information structure
4293
4294 @see
4295 @return Result of the function call
4296*/
4297WDI_Status
4298WDI_ProcessAddSTASelfRsp
4299(
4300 WDI_ControlBlockType* pWDICtx,
4301 WDI_EventInfoType* pEventData
4302);
4303
4304 /**
4305 @brief WDI_ProcessDelSTASelfRsp function (called when a
4306 response is being received over the bus from HAL)
4307
4308 @param pWDICtx: pointer to the WLAN DAL context
4309 pEventData: pointer to the event information structure
4310
4311 @see
4312 @return Result of the function call
4313*/
4314WDI_Status
4315WDI_ProcessDelSTASelfRsp
4316(
4317 WDI_ControlBlockType* pWDICtx,
4318 WDI_EventInfoType* pEventData
4319);
4320
Jeff Johnsone7245742012-09-05 17:12:55 -07004321#ifdef FEATURE_OEM_DATA_SUPPORT
4322/**
4323 @brief Start Oem Data Rsp function (called when a
4324 response is being received over the bus from HAL)
4325
4326 @param pWDICtx: pointer to the WLAN DAL context
4327 pEventData: pointer to the event information structure
4328
4329 @see
4330 @return Result of the function call
4331*/
4332WDI_Status
4333WDI_ProcessStartOemDataRsp
4334(
4335 WDI_ControlBlockType* pWDICtx,
4336 WDI_EventInfoType* pEventData
4337);
4338#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07004339
4340 /**
4341 @brief WDI_ProcessHostResumeRsp function (called when a
4342 response is being received over the bus from HAL)
4343
4344 @param pWDICtx: pointer to the WLAN DAL context
4345 pEventData: pointer to the event information structure
4346
4347 @see
4348 @return Result of the function call
4349*/
4350WDI_Status
4351WDI_ProcessHostResumeRsp
4352(
4353 WDI_ControlBlockType* pWDICtx,
4354 WDI_EventInfoType* pEventData
4355);
4356
4357/**
4358 @brief Process set tx per tracking Rsp function (called when a
4359 response is being received over the bus from HAL)
4360
4361 @param pWDICtx: pointer to the WLAN DAL context
4362 pEventData: pointer to the event information structure
4363
4364 @see
4365 @return Result of the function call
4366*/
4367WDI_Status
4368WDI_ProcessSetTxPerTrackingRsp
4369(
4370 WDI_ControlBlockType* pWDICtx,
4371 WDI_EventInfoType* pEventData
4372);
4373
4374/**
4375 @brief Process Power Params Rsp function (called when a
4376 response is being received over the bus from HAL)
4377
4378 @param pWDICtx: pointer to the WLAN DAL context
4379 pEventData: pointer to the event information structure
4380
4381 @see
4382 @return Result of the function call
4383*/
4384WDI_Status
4385WDI_ProcessSetPowerParamsRsp
4386(
4387 WDI_ControlBlockType* pWDICtx,
4388 WDI_EventInfoType* pEventData
4389);
4390
4391/**
4392 @brief Process Set TM Level Rsp function (called when a
4393 response is being received over the bus from HAL)
4394
4395 @param pWDICtx: pointer to the WLAN DAL context
4396 pEventData: pointer to the event information structure
4397
4398 @see
4399 @return Result of the function call
4400*/
4401WDI_Status
4402WDI_ProcessSetTmLevelRsp
4403(
4404 WDI_ControlBlockType* pWDICtx,
4405 WDI_EventInfoType* pEventData
4406);
4407
4408/*==========================================================================
4409 Indications from HAL
4410 ==========================================================================*/
4411/**
4412 @brief Process Low RSSI Indication function (called when an
4413 indication of this kind is being received over the bus
4414 from HAL)
4415
4416 @param pWDICtx: pointer to the WLAN DAL context
4417 pEventData: pointer to the event information structure
4418
4419 @see
4420 @return Result of the function call
4421*/
4422WDI_Status
4423WDI_ProcessLowRSSIInd
4424(
4425 WDI_ControlBlockType* pWDICtx,
4426 WDI_EventInfoType* pEventData
4427);
4428
4429/**
4430 @brief Process Missed Beacon Indication function (called when
4431 an indication of this kind is being received over the
4432 bus from HAL)
4433
4434 @param pWDICtx: pointer to the WLAN DAL context
4435 pEventData: pointer to the event information structure
4436
4437 @see
4438 @return Result of the function call
4439*/
4440WDI_Status
4441WDI_ProcessMissedBeaconInd
4442(
4443 WDI_ControlBlockType* pWDICtx,
4444 WDI_EventInfoType* pEventData
4445);
4446
4447
4448/**
4449 @brief Process Unk Addr Frame Indication function (called when
4450 an indication of this kind is being received over the
4451 bus from HAL)
4452
4453 @param pWDICtx: pointer to the WLAN DAL context
4454 pEventData: pointer to the event information structure
4455
4456 @see
4457 @return Result of the function call
4458*/
4459WDI_Status
4460WDI_ProcessUnkAddrFrameInd
4461(
4462 WDI_ControlBlockType* pWDICtx,
4463 WDI_EventInfoType* pEventData
4464);
4465
4466
4467/**
4468 @brief Process MIC Failure Indication function (called when an
4469 indication of this kind is being received over the bus
4470 from HAL)
4471
4472 @param pWDICtx: pointer to the WLAN DAL context
4473 pEventData: pointer to the event information structure
4474
4475 @see
4476 @return Result of the function call
4477*/
4478WDI_Status
4479WDI_ProcessMicFailureInd
4480(
4481 WDI_ControlBlockType* pWDICtx,
4482 WDI_EventInfoType* pEventData
4483);
4484
4485/**
4486 @brief Process Fatal Failure Indication function (called when
4487 an indication of this kind is being received over the
4488 bus from HAL)
4489
4490 @param pWDICtx: pointer to the WLAN DAL context
4491 pEventData: pointer to the event information structure
4492
4493 @see
4494 @return Result of the function call
4495*/
4496WDI_Status
4497WDI_ProcessFatalErrorInd
4498(
4499 WDI_ControlBlockType* pWDICtx,
4500 WDI_EventInfoType* pEventData
4501);
4502
4503/**
4504 @brief Process Delete STA Indication function (called when
4505 an indication of this kind is being received over the
4506 bus from HAL)
4507
4508 @param pWDICtx: pointer to the WLAN DAL context
4509 pEventData: pointer to the event information structure
4510
4511 @see
4512 @return Result of the function call
4513*/
4514WDI_Status
4515WDI_ProcessDelSTAInd
4516(
4517 WDI_ControlBlockType* pWDICtx,
4518 WDI_EventInfoType* pEventData
4519);
4520
4521/**
4522*@brief Process Coex Indication function (called when
4523 an indication of this kind is being received over the
4524 bus from HAL)
4525
4526 @param pWDICtx: pointer to the WLAN DAL context
4527 pEventData: pointer to the event information structure
4528
4529 @see
4530 @return Result of the function call
4531*/
4532WDI_Status
4533WDI_ProcessCoexInd
4534(
4535 WDI_ControlBlockType* pWDICtx,
4536 WDI_EventInfoType* pEventData
4537);
4538
4539/**
4540*@brief Process Tx Complete Indication function (called when
4541 an indication of this kind is being received over the
4542 bus from HAL)
4543
4544 @param pWDICtx: pointer to the WLAN DAL context
4545 pEventData: pointer to the event information structure
4546
4547 @see
4548 @return Result of the function call
4549*/
4550WDI_Status
4551WDI_ProcessTxCompleteInd
4552(
4553 WDI_ControlBlockType* pWDICtx,
4554 WDI_EventInfoType* pEventData
4555);
4556
Jeff Johnson295189b2012-06-20 16:38:30 -07004557/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05304558*@brief Process Tdls Indication function (called when
4559 an indication of this kind is being received over the
4560 bus from HAL)
4561
4562 @param pWDICtx: pointer to the WLAN DAL context
4563 pEventData: pointer to the event information structure
4564
4565 @see
4566 @return Result of the function call
4567*/
4568WDI_Status
4569WDI_ProcessTdlsInd
4570(
4571 WDI_ControlBlockType* pWDICtx,
4572 WDI_EventInfoType* pEventData
4573);
4574
4575/**
Viral Modid86bde22012-12-10 13:09:21 -08004576*@brief Process Noa Start Indication function (called when
4577 an indication of this kind is being received over the
4578 bus from HAL)
4579
4580 @param pWDICtx: pointer to the WLAN DAL context
4581 pEventData: pointer to the event information structure
4582
4583 @see
4584 @return Result of the function call
4585*/
4586WDI_Status
4587WDI_ProcessP2pNoaStartInd
4588(
4589 WDI_ControlBlockType* pWDICtx,
4590 WDI_EventInfoType* pEventData
4591);
4592
4593/**
Jeff Johnson295189b2012-06-20 16:38:30 -07004594*@brief Process Noa Attr Indication function (called when
4595 an indication of this kind is being received over the
4596 bus from HAL)
4597
4598 @param pWDICtx: pointer to the WLAN DAL context
4599 pEventData: pointer to the event information structure
4600
4601 @see
4602 @return Result of the function call
4603*/
4604WDI_Status
4605WDI_ProcessP2pNoaAttrInd
4606(
4607 WDI_ControlBlockType* pWDICtx,
4608 WDI_EventInfoType* pEventData
4609);
Jeff Johnson295189b2012-06-20 16:38:30 -07004610
4611/**
4612*@brief Process Tx Per Hit Indication function (called when
4613 an indication of this kind is being received over the
4614 bus from HAL)
4615
4616 @param pWDICtx: pointer to the WLAN DAL context
4617 pEventData: pointer to the event information structure
4618
4619 @see
4620 @return Result of the function call
4621*/
4622WDI_Status
4623WDI_ProcessTxPerHitInd
4624(
4625 WDI_ControlBlockType* pWDICtx,
4626 WDI_EventInfoType* pEventData
4627);
4628
Leo Chang9056f462013-08-01 19:21:11 -07004629#ifdef FEATURE_WLAN_LPHB
4630/**
Leo Changd9df8aa2013-09-26 13:32:26 -07004631 @brief WDI_ProcessLphbInd -
Leo Chang9056f462013-08-01 19:21:11 -07004632 This function will be invoked when FW detects low power
4633 heart beat failure
4634
4635 @param pWDICtx : wdi context
4636 pEventData : indication data
4637
4638 @see
4639 @return Result of the function call
4640*/
4641WDI_Status
Leo Changd9df8aa2013-09-26 13:32:26 -07004642WDI_ProcessLphbInd
Leo Chang9056f462013-08-01 19:21:11 -07004643(
4644 WDI_ControlBlockType* pWDICtx,
4645 WDI_EventInfoType* pEventData
4646);
4647#endif /* FEATURE_WLAN_LPHB */
4648
Yue Mab9c86f42013-08-14 15:59:08 -07004649/**
4650 @brief Process Periodic Tx Pattern Fw Indication function
4651
4652 @param pWDICtx: pointer to the WLAN DAL context
4653 pEventData: pointer to the event information structure
4654
4655 @see
4656 @return Result of the function call
4657*/
4658WDI_Status
4659WDI_ProcessPeriodicTxPtrnFwInd
4660(
4661 WDI_ControlBlockType* pWDICtx,
4662 WDI_EventInfoType* pEventData
4663);
4664
Jeff Johnson295189b2012-06-20 16:38:30 -07004665#ifdef WLAN_FEATURE_VOWIFI_11R
4666/**
4667 @brief Process Aggrgated Add TSpec Request function (called when Main FSM
4668 allows it)
4669
4670 @param pWDICtx: pointer to the WLAN DAL context
4671 pEventData: pointer to the event information structure
4672
4673 @see
4674 @return Result of the function call
4675*/
4676WDI_Status
4677WDI_ProcessAggrAddTSpecReq
4678(
4679 WDI_ControlBlockType* pWDICtx,
4680 WDI_EventInfoType* pEventData
4681);
4682
4683/**
4684 @brief Process Add TSpec Rsp function (called when a response
4685 is being received over the bus from HAL)
4686
4687 @param pWDICtx: pointer to the WLAN DAL context
4688 pEventData: pointer to the event information structure
4689
4690 @see
4691 @return Result of the function call
4692*/
4693WDI_Status
4694WDI_ProcessAggrAddTSpecRsp
4695(
4696 WDI_ControlBlockType* pWDICtx,
4697 WDI_EventInfoType* pEventData
4698);
4699
4700#endif /* WLAN_FEATURE_VOWIFI_11R */
4701
Jeff Johnson295189b2012-06-20 16:38:30 -07004702/**
4703 @brief WDI_ProcessFTMCommandReq
4704 Process FTM Command, simply route to HAL
4705
4706 @param pWDICtx: pointer to the WLAN DAL context
4707 pEventData: pointer to the event information structure
4708
4709 @see
4710 @return Result of the function call
4711*/
4712WDI_Status
4713WDI_ProcessFTMCommandReq
4714(
4715 WDI_ControlBlockType* pWDICtx,
4716 WDI_EventInfoType* pEventData
4717);
4718
4719/**
4720 @brief WDI_ProcessFTMCommandRsp
4721 Process FTM Command Response from HAL, simply route to HDD FTM
4722
4723 @param pWDICtx: pointer to the WLAN DAL context
4724 pEventData: pointer to the event information structure
4725
4726 @see
4727 @return Result of the function call
4728*/
4729WDI_Status
4730WDI_ProcessFTMCommandRsp
4731(
4732 WDI_ControlBlockType* pWDICtx,
4733 WDI_EventInfoType* pEventData
4734);
Jeff Johnson295189b2012-06-20 16:38:30 -07004735/**
4736 @brief WDI_ProcessHALDumpCmdReq
4737 Process Hal Dump Command, simply route to HAL
4738
4739 @param pWDICtx: pointer to the WLAN DAL context
4740 pEventData: pointer to the event information structure
4741
4742 @see
4743 @return Result of the function call
4744*/
4745WDI_Status
4746WDI_ProcessHALDumpCmdReq
4747(
4748 WDI_ControlBlockType* pWDICtx,
4749 WDI_EventInfoType* pEventData
4750);
4751
4752/**
4753 @brief WDI_ProcessHALDumpCmdRsp
4754 Process Hal Dump Command Response from HAL, simply route to HDD FTM
4755
4756 @param pWDICtx: pointer to the WLAN DAL context
4757 pEventData: pointer to the event information structure
4758
4759 @see
4760 @return Result of the function call
4761*/
4762WDI_Status
4763WDI_ProcessHALDumpCmdRsp
4764(
4765 WDI_ControlBlockType* pWDICtx,
4766 WDI_EventInfoType* pEventData
4767);
Ravi Joshid2ca7c42013-07-23 08:37:49 -07004768
4769/**
4770 @brief WDI_ProcessIbssPeerInactivityInd
4771 Process peer inactivity indication coming from HAL.
4772
4773 @param pWDICtx: pointer to the WLAN DAL context
4774 pEventData: pointer to the event information structure
4775
4776 @see
4777 @return Result of the function call
4778*/
4779WDI_Status
4780WDI_ProcessIbssPeerInactivityInd
4781
4782(
4783 WDI_ControlBlockType* pWDICtx,
4784 WDI_EventInfoType* pEventData
4785);
4786
4787
Jeff Johnson295189b2012-06-20 16:38:30 -07004788/*========================================================================
4789 Internal Helper Routines
4790========================================================================*/
4791
4792/**
4793 @brief WDI_CleanCB - internal helper routine used to clean the
4794 WDI Main Control Block
4795
4796 @param pWDICtx - pointer to the control block
4797
4798 @return Result of the function call
4799*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004800WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004801WDI_CleanCB
4802(
4803 WDI_ControlBlockType* pWDICtx
4804);
4805
4806/**
4807 @brief Main FSM Close function for all states except BUSY
4808
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*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004816WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004817WDI_ProcessRequest
4818(
4819 WDI_ControlBlockType* pWDICtx,
4820 WDI_EventInfoType* pEventData
4821);
4822
4823/**
4824 @brief Get message helper function - it allocates memory for a
4825 message that is to be sent to HAL accross the bus and
4826 prefixes it with a send message header
4827
4828 @param pWDICtx: pointer to the WLAN DAL context
4829 wdiReqType: type of the request being sent
4830 uBufferLen: message buffer len
4831 pMsgBuffer: resulting allocated buffer
4832 puDataOffset: offset in the buffer where the caller
4833 can start copying its message data
4834 puBufferSize: the resulting buffer size (offset+buff
4835 len)
4836
4837 @see
4838 @return Result of the function call
4839*/
4840WDI_Status
4841WDI_GetMessageBuffer
4842(
4843 WDI_ControlBlockType* pWDICtx,
4844 WDI_RequestEnumType wdiReqType,
4845 wpt_uint16 usBufferLen,
4846 wpt_uint8** pMsgBuffer,
4847 wpt_uint16* pusDataOffset,
4848 wpt_uint16* pusBufferSize
4849);
4850
4851/**
4852 @brief WDI_DetectedDeviceError - called internally by DAL when
4853 it has detected a failure in the device
4854
4855 @param pWDICtx: pointer to the WLAN DAL context
4856 usErrorCode: error code detected by WDI or received
4857 from HAL
4858
4859 @see
4860 @return None
4861*/
4862void
4863WDI_DetectedDeviceError
4864(
4865 WDI_ControlBlockType* pWDICtx,
4866 wpt_uint16 usErrorCode
4867);
4868
4869/*=========================================================================
4870 QUEUE SUPPORT UTILITY FUNCTIONS
4871=========================================================================*/
4872
4873/**
4874 @brief Utility function used by the DAL Core to help queue a
4875 request that cannot be processed right away.
4876 @param
4877
4878 pWDICtx: - pointer to the WDI control block
4879 pEventData: - pointer to the evnt info that needs to be
4880 queued
4881
4882 @see
4883 @return Result of the operation
4884*/
4885WDI_Status
4886WDI_QueuePendingReq
4887(
4888 WDI_ControlBlockType* pWDICtx,
4889 WDI_EventInfoType* pEventData
4890);
4891
4892/**
4893 @brief Utility function used by the DAL Core to clear any
4894 pending requests - all req cb will be called with
4895 failure and the queue will be emptied.
4896 @param
4897
4898 pWDICtx: - pointer to the WDI control block
4899
4900 @see
4901 @return Result of the operation
4902*/
4903WDI_Status
4904WDI_ClearPendingRequests
4905(
4906 WDI_ControlBlockType* pWDICtx
4907);
4908
4909/**
4910 @brief This callback is invoked by the wpt when a timer that
4911 we started on send message has expire - this should
4912 never happen - it means device is stuck and cannot
4913 reply - trigger catastrophic failure
4914 @param
4915
4916 pUserData: the callback data of the user (ptr to WDI CB)
4917
4918 @see
4919 @return None
4920*/
4921void
4922WDI_ResponseTimerCB
4923(
4924 void *pUserData
4925);
4926
4927/*==========================================================================
4928 CONTRL TRANSPORT INTERACTION
4929
4930 Callback function registered with the control transport - for receiving
4931 notifications and packets
4932==========================================================================*/
4933/**
4934 @brief This callback is invoked by the control transport
4935 when it wishes to send up a notification like the ones
4936 mentioned above.
4937
4938 @param
4939
4940 wctsHandle: handle to the control transport service
4941 wctsEvent: the event being notified
4942 wctsNotifyCBData: the callback data of the user
4943
4944 @see WCTS_OpenTransport
4945
4946 @return None
4947*/
4948void
4949WDI_NotifyMsgCTSCB
4950(
4951 WCTS_HandleType wctsHandle,
4952 WCTS_NotifyEventType wctsEvent,
4953 void* wctsNotifyCBData
4954);
4955
4956/**
4957 @brief This callback is invoked by the control transport
4958 when it wishes to send up a packet received over the
4959 bus.
4960
4961 @param
4962
4963 wctsHandle: handle to the control transport service
4964 pMsg: the packet
4965 uLen: the packet length
4966 wctsRxMsgCBData: the callback data of the user
4967
4968 @see WCTS_OpenTransport
4969
4970 @return None
4971*/
4972void
4973WDI_RXMsgCTSCB
4974(
4975 WCTS_HandleType wctsHandle,
4976 void* pMsg,
4977 wpt_uint32 uLen,
4978 void* wctsRxMsgCBData
4979);
4980
4981/**
4982 @brief Process response helper function
4983
4984
4985 @param pWDICtx: pointer to the WLAN DAL context
4986 pEventData: pointer to the event information structure
4987
4988 @see
4989 @return Result of the function call
4990*/
4991WDI_Status
4992WDI_ProcessResponse
4993(
4994 WDI_ControlBlockType* pWDICtx,
4995 WDI_EventInfoType* pEventData
4996);
4997
4998/**
4999 @brief Send message helper function - sends a message over the
5000 bus using the control tranport and saves some info in
5001 the CB
5002
5003 @param pWDICtx: pointer to the WLAN DAL context
5004 pSendBuffer: buffer to be sent
5005
5006 uSendSize size of the buffer to be sent
5007 pRspCb: response callback - save in the WDI
5008 CB
5009 pUserData: user data associated with the
5010 callback
5011 wdiExpectedResponse: the code of the response that is
5012 expected to be rx-ed for this request
5013
5014 @see
5015 @return Result of the function call
5016*/
5017WDI_Status
5018WDI_SendMsg
5019(
5020 WDI_ControlBlockType* pWDICtx,
5021 wpt_uint8* pSendBuffer,
5022 wpt_uint32 uSendSize,
5023 void* pRspCb,
5024 void* pUserData,
5025 WDI_ResponseEnumType wdiExpectedResponse
5026);
5027
5028
5029/**
5030 @brief Send indication helper function - sends a message over
5031 the bus using the control transport and saves some info
5032 in the CB
5033
5034 @param pWDICtx: pointer to the WLAN DAL context
5035 pSendBuffer: buffer to be sent
5036 usSendSize: size of the buffer to be sent
5037
5038 @see
5039 @return Result of the function call
5040*/
5041WDI_Status
5042WDI_SendIndication
5043(
5044 WDI_ControlBlockType* pWDICtx,
5045 wpt_uint8* pSendBuffer,
5046 wpt_uint32 usSendSize
5047);
5048
5049/**
5050 @brief Utility function used by the DAL Core to help dequeue
5051 and schedule for execution a pending request
5052 @param
5053
5054 pWDICtx: - pointer to the WDI control block
5055 pEventData: - pointer to the evnt info that needs to be
5056 queued
5057
5058 @see
5059 @return Result of the operation
5060*/
5061WDI_Status
5062WDI_DequeuePendingReq
5063(
5064 WDI_ControlBlockType* pWDICtx
5065);
5066
5067/**
5068 @brief Utility function used by the DAL Core to help queue
5069 an association request that cannot be processed right
5070 away.- The assoc requests will be queued by BSSID
5071 @param
5072
5073 pWDICtx: - pointer to the WDI control block
5074 pEventData: pointer to the evnt info that needs to be queued
5075 macBSSID: bssid
5076
5077 @see
5078 @return Result of the operation
5079*/
5080WDI_Status
5081WDI_QueueNewAssocRequest
5082(
5083 WDI_ControlBlockType* pWDICtx,
5084 WDI_EventInfoType* pEventData,
5085 wpt_macAddr macBSSID
5086);
5087
5088/**
5089 @brief Utility function used by the DAL Core to help queue
5090 an association request that cannot be processed right
5091 away.- The assoc requests will be queued by BSSID
5092 @param
5093
5094 pWDICtx: - pointer to the WDI control block
5095 pSession: - session in which to queue
5096 pEventData: pointer to the event info that needs to be
5097 queued
5098
5099 @see
5100 @return Result of the operation
5101*/
5102WDI_Status
5103WDI_QueueAssocRequest
5104(
5105 WDI_ControlBlockType* pWDICtx,
5106 WDI_BSSSessionType* pSession,
5107 WDI_EventInfoType* pEventData
5108);
5109
5110/**
5111 @brief Utility function used by the DAL Core to help dequeue
5112 an association request that was pending
5113 The request will be queued up in front of the main
5114 pending queue for immediate processing
5115 @param
5116
5117 pWDICtx: - pointer to the WDI control block
5118
5119
5120 @see
5121 @return Result of the operation
5122*/
5123WDI_Status
5124WDI_DequeueAssocRequest
5125(
5126 WDI_ControlBlockType* pWDICtx
5127);
5128
5129/**
5130 @brief Helper routine used to init the BSS Sessions in the WDI control block
5131
5132
5133 @param pWDICtx: pointer to the WLAN DAL context
5134
5135 @see
5136*/
5137void
5138WDI_ResetAssocSessions
5139(
5140 WDI_ControlBlockType* pWDICtx
5141);
5142
5143/**
5144 @brief Helper routine used to find an empty session in the WDI
5145 CB
5146
5147
5148 @param pWDICtx: pointer to the WLAN DAL context
5149 pSession: pointer to the session (if found)
5150
5151 @see
5152 @return Index of the session in the array
5153*/
5154wpt_uint8
5155WDI_FindEmptySession
5156(
5157 WDI_ControlBlockType* pWDICtx,
5158 WDI_BSSSessionType** ppSession
5159);
5160
5161/**
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005162 @brief Helper routine used to get the total count of active
Jeff Johnson295189b2012-06-20 16:38:30 -07005163 sessions
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005164
5165
5166 @param pWDICtx: pointer to the WLAN DAL context
5167 macBSSID: pointer to BSSID. If NULL, get all the session.
5168 If not NULL, count ActiveSession by excluding (TRUE) or including (FALSE) skipBSSID.
5169 skipBSSID: if TRUE, get all the sessions except matching to macBSSID. If FALSE, get all session.
5170 This argument is ignored if macBSSID is NULL.
Jeff Johnson295189b2012-06-20 16:38:30 -07005171 @see
5172 @return Number of sessions in use
5173*/
5174wpt_uint8
5175WDI_GetActiveSessionsCount
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005176(
5177 WDI_ControlBlockType* pWDICtx,
5178 wpt_macAddr macBSSID,
5179 wpt_boolean skipBSSID
Jeff Johnson295189b2012-06-20 16:38:30 -07005180);
5181
5182/**
5183 @brief Helper routine used to delete session in the WDI
5184 CB
5185
5186
5187 @param pWDICtx: pointer to the WLAN DAL context
5188 pSession: pointer to the session (if found)
5189
5190 @see
5191 @return Index of the session in the array
5192*/
5193void
5194WDI_DeleteSession
5195(
5196 WDI_ControlBlockType* pWDICtx,
5197 WDI_BSSSessionType* ppSession
5198);
5199
5200/**
5201 @brief Helper routine used to find a session based on the BSSID
5202
5203
5204 @param pWDICtx: pointer to the WLAN DAL context
5205 macBSSID: BSSID of the session
5206 ppSession: out pointer to the session (if found)
5207
5208 @see
5209 @return Index of the session in the array
5210*/
5211wpt_uint8
5212WDI_FindAssocSession
5213(
5214 WDI_ControlBlockType* pWDICtx,
5215 wpt_macAddr macBSSID,
5216 WDI_BSSSessionType** ppSession
5217);
5218
5219
5220/**
5221 @brief Helper routine used to find a session based on the BSSID
5222
5223
5224 @param pWDICtx: pointer to the WLAN DAL context
5225 usBssIdx: BSS Index of the session
5226 ppSession: out pointer to the session (if found)
5227
5228 @see
5229 @return Index of the session in the array
5230*/
5231wpt_uint8
5232WDI_FindAssocSessionByBSSIdx
5233(
5234 WDI_ControlBlockType* pWDICtx,
5235 wpt_uint16 usBssIdx,
5236 WDI_BSSSessionType** ppSession
5237);
5238
5239/**
5240 @brief Helper routine used to find a session based on the BSSID
5241
5242
5243 @param pWDICtx: pointer to the WLAN DAL context
5244 usBssIdx: BSS Index of the session
5245 ppSession: out pointer to the session (if found)
5246
5247 @see
5248 @return Index of the session in the array
5249*/
5250wpt_uint8
5251WDI_FindAssocSessionByIdx
5252(
5253 WDI_ControlBlockType* pWDICtx,
5254 wpt_uint16 usBssIdx,
5255 WDI_BSSSessionType** ppSession
5256);
5257
5258/**
5259 @brief Helper routine used to find a session based on the BSSID
5260 @param pContext: pointer to the WLAN DAL context
5261 @param pDPContext: pointer to the Datapath context
5262
5263 @see
5264 @return
5265*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005266void
Jeff Johnson295189b2012-06-20 16:38:30 -07005267WDI_DS_AssignDatapathContext
5268(
5269 void *pContext,
5270 void *pDPContext
5271);
5272
5273/**
5274 @brief Helper routine used to find a session based on the BSSID
5275
5276
5277 @param pContext: pointer to the WLAN DAL context
5278
5279 @see
5280 @return pointer to Datapath context
5281*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005282void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005283WDI_DS_GetDatapathContext
5284(
5285 void *pContext
5286);
5287
5288/**
5289 @brief Helper routine used to find a session based on the BSSID
5290
5291
5292 @param pContext: pointer to the WLAN DAL context
5293 @param pDTDriverContext: pointer to the Transport Driver context
5294
5295 @see
5296 @return void
5297*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005298void
Jeff Johnson295189b2012-06-20 16:38:30 -07005299WDT_AssignTransportDriverContext
5300(
5301 void *pContext,
5302 void *pDTDriverContext
5303);
5304
5305/**
5306 @brief Helper routine used to find a session based on the BSSID
5307
5308
5309 @param pWDICtx: pointer to the WLAN DAL context
5310
5311 @see
5312 @return pointer to datapath context
5313*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005314void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005315WDT_GetTransportDriverContext
5316(
5317 void *pContext
5318);
5319
5320#ifdef FEATURE_WLAN_SCAN_PNO
5321/**
5322 @brief Process Set Preferred Network List Request function
5323
5324 @param pWDICtx: pointer to the WLAN DAL context
5325 pEventData: pointer to the event information structure
5326
5327 @see
5328 @return Result of the function call
5329*/
5330WDI_Status
5331WDI_ProcessSetPreferredNetworkReq
5332(
5333 WDI_ControlBlockType* pWDICtx,
5334 WDI_EventInfoType* pEventData
5335);
5336
5337/**
5338 @brief Process Set RSSI Filter Request function
5339
5340 @param pWDICtx: pointer to the WLAN DAL context
5341 pEventData: pointer to the event information structure
5342
5343 @see
5344 @return Result of the function call
5345*/
5346WDI_Status
5347WDI_ProcessSetRssiFilterReq
5348(
5349 WDI_ControlBlockType* pWDICtx,
5350 WDI_EventInfoType* pEventData
5351);
5352
5353/**
5354 @brief Process Update Scan Params function
5355
5356 @param pWDICtx: pointer to the WLAN DAL context
5357 pEventData: pointer to the event information structure
5358
5359 @see
5360 @return Result of the function call
5361*/
5362WDI_Status
5363WDI_ProcessUpdateScanParamsReq
5364(
5365 WDI_ControlBlockType* pWDICtx,
5366 WDI_EventInfoType* pEventData
5367);
5368
5369/**
5370 @brief Process Preferred Network Found Indication function
5371
5372 @param pWDICtx: pointer to the WLAN DAL context
5373 pEventData: pointer to the event information structure
5374
5375 @see
5376 @return Result of the function call
5377*/
5378WDI_Status
5379WDI_ProcessPrefNetworkFoundInd
5380(
5381 WDI_ControlBlockType* pWDICtx,
5382 WDI_EventInfoType* pEventData
5383);
5384
5385/**
5386 @brief Process PNO Rsp function (called when a
5387 response is being received over the bus from HAL)
5388
5389 @param pWDICtx: pointer to the WLAN DAL context
5390 pEventData: pointer to the event information structure
5391
5392 @see
5393 @return Result of the function call
5394*/
5395WDI_Status
5396WDI_ProcessSetPreferredNetworkRsp
5397(
5398 WDI_ControlBlockType* pWDICtx,
5399 WDI_EventInfoType* pEventData
5400);
5401
5402/**
5403 @brief Process RSSI Filter Rsp function (called when a
5404 response is being received over the bus from HAL)
5405
5406 @param pWDICtx: pointer to the WLAN DAL context
5407 pEventData: pointer to the event information structure
5408
5409 @see
5410 @return Result of the function call
5411*/
5412WDI_Status
5413WDI_ProcessSetRssiFilterRsp
5414(
5415 WDI_ControlBlockType* pWDICtx,
5416 WDI_EventInfoType* pEventData
5417);
5418
5419/**
5420 @brief Process Update Scan Params Rsp function (called when a
5421 response is being received over the bus from HAL)
5422
5423 @param pWDICtx: pointer to the WLAN DAL context
5424 pEventData: pointer to the event information structure
5425
5426 @see
5427 @return Result of the function call
5428*/
5429WDI_Status
5430WDI_ProcessUpdateScanParamsRsp
5431(
5432 WDI_ControlBlockType* pWDICtx,
5433 WDI_EventInfoType* pEventData
5434);
5435#endif // FEATURE_WLAN_SCAN_PNO
5436
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005437
5438#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5439/**
5440 @brief Process Start Roam Candidate Lookup Request function
5441
5442 @param pWDICtx: pointer to the WLAN DAL context
5443 pEventData: pointer to the event information structure
5444
5445 @see
5446 @return Result of the function call
5447*/
5448WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005449WDI_ProcessRoamScanOffloadReq
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005450(
5451 WDI_ControlBlockType* pWDICtx,
5452 WDI_EventInfoType* pEventData
5453);
5454/**
5455 @brief Process Start Roam Candidate Lookup Response function (called when a
5456 response is being received over the bus from HAL)
5457
5458 @param pWDICtx: pointer to the WLAN DAL context
5459 pEventData: pointer to the event information structure
5460
5461 @see
5462 @return Result of the function call
5463*/
5464WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005465WDI_ProcessRoamScanOffloadRsp
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005466(
5467 WDI_ControlBlockType* pWDICtx,
5468 WDI_EventInfoType* pEventData
5469);
5470#endif
5471
5472
Jeff Johnson295189b2012-06-20 16:38:30 -07005473#ifdef WLAN_FEATURE_PACKET_FILTERING
5474/**
5475 @brief Process 8023 Multicast List Request function
5476
5477 @param pWDICtx: pointer to the WLAN DAL context
5478 pEventData: pointer to the event information structure
5479
5480 @see
5481 @return Result of the function call
5482*/
5483WDI_Status
5484WDI_Process8023MulticastListReq
5485(
5486 WDI_ControlBlockType* pWDICtx,
5487 WDI_EventInfoType* pEventData
5488);
5489
5490/**
5491 @brief Process Receive Filter Set Filter Request function
5492
5493 @param pWDICtx: pointer to the WLAN DAL context
5494 pEventData: pointer to the event information structure
5495
5496 @see
5497 @return Result of the function call
5498*/
5499WDI_Status
5500WDI_ProcessReceiveFilterSetFilterReq
5501(
5502 WDI_ControlBlockType* pWDICtx,
5503 WDI_EventInfoType* pEventData
5504);
5505
5506/**
5507 @brief Process D0 PC Filter Match Count Request function
5508
5509 @param pWDICtx: pointer to the WLAN DAL context
5510 pEventData: pointer to the event information structure
5511
5512 @see
5513 @return Result of the function call
5514*/
5515WDI_Status
5516WDI_ProcessFilterMatchCountReq
5517(
5518 WDI_ControlBlockType* pWDICtx,
5519 WDI_EventInfoType* pEventData
5520);
5521
5522/**
5523 @brief Process Receive Filter Clear Filter Request function
5524
5525 @param pWDICtx: pointer to the WLAN DAL context
5526 pEventData: pointer to the event information structure
5527
5528 @see
5529 @return Result of the function call
5530*/
5531WDI_Status
5532WDI_ProcessReceiveFilterClearFilterReq
5533(
5534 WDI_ControlBlockType* pWDICtx,
5535 WDI_EventInfoType* pEventData
5536);
5537
5538/**
5539 @brief Process 8023 Multicast List Response function
5540
5541 @param pWDICtx: pointer to the WLAN DAL context
5542 pEventData: pointer to the event information structure
5543
5544 @see
5545 @return Result of the function call
5546*/
5547WDI_Status
5548WDI_Process8023MulticastListRsp
5549(
5550 WDI_ControlBlockType* pWDICtx,
5551 WDI_EventInfoType* pEventData
5552);
5553
5554/**
5555 @brief Process Receive Filter Set Filter Response function
5556
5557 @param pWDICtx: pointer to the WLAN DAL context
5558 pEventData: pointer to the event information structure
5559
5560 @see
5561 @return Result of the function call
5562*/
5563WDI_Status
5564WDI_ProcessReceiveFilterSetFilterRsp
5565(
5566 WDI_ControlBlockType* pWDICtx,
5567 WDI_EventInfoType* pEventData
5568);
5569
5570/**
5571 @brief Process D0 PC Filter Match Count Response function
5572
5573 @param pWDICtx: pointer to the WLAN DAL context
5574 pEventData: pointer to the event information structure
5575
5576 @see
5577 @return Result of the function call
5578*/
5579WDI_Status
5580WDI_ProcessFilterMatchCountRsp
5581(
5582 WDI_ControlBlockType* pWDICtx,
5583 WDI_EventInfoType* pEventData
5584);
5585
5586/**
5587 @brief Process Receive Filter Clear Filter Response function
5588
5589 @param pWDICtx: pointer to the WLAN DAL context
5590 pEventData: pointer to the event information structure
5591
5592 @see
5593 @return Result of the function call
5594*/
5595WDI_Status
5596WDI_ProcessReceiveFilterClearFilterRsp
5597(
5598 WDI_ControlBlockType* pWDICtx,
5599 WDI_EventInfoType* pEventData
5600);
5601#endif // WLAN_FEATURE_PACKET_FILTERING
5602
5603#ifdef WLAN_FEATURE_GTK_OFFLOAD
5604/**
5605 @brief Process set GTK Offload Request function
5606
5607 @param pWDICtx: pointer to the WLAN DAL context
5608 pEventData: pointer to the event information structure
5609
5610 @see
5611 @return Result of the function call
5612*/
5613WDI_Status
5614WDI_ProcessGTKOffloadReq
5615(
5616 WDI_ControlBlockType* pWDICtx,
5617 WDI_EventInfoType* pEventData
5618);
5619
5620/**
5621 @brief Process GTK Offload Get Information Request function
5622
5623 @param pWDICtx: pointer to the WLAN DAL context
5624 pEventData: pointer to the event information structure
5625
5626 @see
5627 @return Result of the function call
5628*/
5629WDI_Status
5630WDI_ProcessGTKOffloadGetInfoReq
5631(
5632 WDI_ControlBlockType* pWDICtx,
5633 WDI_EventInfoType* pEventData
5634);
5635
5636/**
5637 @brief Process host offload Rsp function (called when a
5638 response is being received over the bus from HAL)
5639
5640 @param pWDICtx: pointer to the WLAN DAL context
5641 pEventData: pointer to the event information structure
5642
5643 @see
5644 @return Result of the function call
5645*/
5646WDI_Status
5647WDI_ProcessGtkOffloadRsp
5648(
5649 WDI_ControlBlockType* pWDICtx,
5650 WDI_EventInfoType* pEventData
5651);
5652
5653/**
5654 @brief Process GTK Offload Get Information Response function
5655
5656 @param pWDICtx: pointer to the WLAN DAL context
5657 pEventData: pointer to the event information structure
5658
5659 @see
5660 @return Result of the function call
5661*/
5662WDI_Status
5663WDI_ProcessGTKOffloadGetInfoRsp
5664(
5665 WDI_ControlBlockType* pWDICtx,
5666 WDI_EventInfoType* pEventData
5667);
5668#endif // WLAN_FEATURE_GTK_OFFLOAD
5669
5670#ifdef WLAN_WAKEUP_EVENTS
5671WDI_Status
5672WDI_ProcessWakeReasonInd
5673(
5674 WDI_ControlBlockType* pWDICtx,
5675 WDI_EventInfoType* pEventData
5676);
5677#endif // WLAN_WAKEUP_EVENTS
5678
5679/**
5680 @brief Process Host-FW Capability Exchange Request function
5681
5682 @param pWDICtx: pointer to the WLAN DAL context
5683 pEventData: pointer to the event information structure
5684
5685 @see
5686 @return Result of the function call
5687*/
5688WDI_Status
5689WDI_ProcessFeatureCapsExchangeReq
5690(
5691 WDI_ControlBlockType* pWDICtx,
5692 WDI_EventInfoType* pEventData
5693);
5694
5695/**
5696 @brief Process Host-FW Capability Exchange Response function
5697
5698 @param pWDICtx: pointer to the WLAN DAL context
5699 pEventData: pointer to the event information structure
5700
5701 @see
5702 @return Result of the function call
5703*/
5704WDI_Status
5705WDI_ProcessFeatureCapsExchangeRsp
5706(
5707 WDI_ControlBlockType* pWDICtx,
5708 WDI_EventInfoType* pEventData
5709);
5710
Mohit Khanna4a70d262012-09-11 16:30:12 -07005711#ifdef WLAN_FEATURE_11AC
5712WDI_Status
5713WDI_ProcessUpdateVHTOpModeReq
5714(
5715 WDI_ControlBlockType* pWDICtx,
5716 WDI_EventInfoType* pEventData
5717);
5718
5719WDI_Status
5720WDI_ProcessUpdateVHTOpModeRsp
5721(
5722 WDI_ControlBlockType* pWDICtx,
5723 WDI_EventInfoType* pEventData
5724);
5725#endif
5726
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005727#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5728/**
5729 * @brief WDI_wdiEdTypeEncToEdTypeEnc -
5730 * The firmware expects the Encryption type to be in EdType.
5731 * This function converts the WdiEdType encryption to EdType.
5732 * @param tEdType : EdType to which the encryption needs to be converted.
5733 * @param WDI_EdType : wdiEdType passed from the upper layer.
5734 * @see
5735 * @return none
5736 * */
5737void
5738WDI_wdiEdTypeEncToEdTypeEnc
5739(
5740 tEdType *EdType,
5741 WDI_EdType wdiEdType
5742);
5743#endif
5744
Leo Chang9056f462013-08-01 19:21:11 -07005745#ifdef FEATURE_WLAN_LPHB
5746/**
5747 @brief WDI_ProcessLphbCfgRsp -
5748 LPHB configuration response from FW
5749
5750 @param pWDICtx : wdi context
5751 pEventData : indication data
5752
5753 @see
5754 @return Result of the function call
5755*/
5756WDI_Status WDI_ProcessLphbCfgRsp
5757(
5758 WDI_ControlBlockType* pWDICtx,
5759 WDI_EventInfoType* pEventData
5760);
5761#endif /* FEATURE_WLAN_LPHB */
5762
Chittajit Mitraf5413a42013-10-18 14:20:08 -07005763/**
5764 @brief Process Rate Update Indication and post it to HAL
5765
5766 @param pWDICtx: pointer to the WLAN DAL context
5767 pEventData: pointer to the event information structure
5768
5769 @see
5770 @return Result of the function call
5771*/
5772WDI_Status
5773WDI_ProcessRateUpdateInd
5774(
5775 WDI_ControlBlockType* pWDICtx,
5776 WDI_EventInfoType* pEventData
5777);
5778
Rajeev79dbe4c2013-10-05 11:03:42 +05305779#ifdef FEATURE_WLAN_BATCH_SCAN
5780/**
5781 @brief WDI_ProcessSetBatchScanRsp -
5782 Process set batch scan response from FW
5783
5784 @param pWDICtx : wdi context
5785 pEventData : indication data
5786
5787 @see
5788 @return Result of the function call
5789*/
5790WDI_Status WDI_ProcessSetBatchScanRsp
5791(
5792 WDI_ControlBlockType* pWDICtx,
5793 WDI_EventInfoType* pEventData
5794);
5795
c_hpothu92367912014-05-01 15:18:17 +05305796WDI_Status
5797WDI_ProcessGetBcnMissRateReq
5798(
5799 WDI_ControlBlockType* pWDICtx,
5800 WDI_EventInfoType* pEventData
5801);
5802
5803WDI_Status
5804WDI_ProcessGetBcnMissRateRsp
5805(
5806 WDI_ControlBlockType* pWDICtx,
5807 WDI_EventInfoType* pEventData
5808);
5809
Rajeev79dbe4c2013-10-05 11:03:42 +05305810/**
5811 @brief Process batch scan response from FW
5812
5813 @param pWDICtx: pointer to the WLAN DAL context
5814 pEventData: pointer to the event information structure
5815
5816 @see
5817 @return Result of the function call
5818*/
5819WDI_Status
5820WDI_ProcessBatchScanResultInd
5821(
5822 WDI_ControlBlockType* pWDICtx,
5823 WDI_EventInfoType* pEventData
5824);
5825
5826#endif /* FEATURE_WLAN_BATCH_SCAN */
5827
Leo Chang0b0e45a2013-12-15 15:18:55 -08005828#ifdef FEATURE_WLAN_CH_AVOID
5829/**
5830 @brief v -
5831
5832
5833 @param pWDICtx : wdi context
5834 pEventData : indication data
5835 @see
5836 @return Result of the function call
5837*/
5838WDI_Status
5839WDI_ProcessChAvoidInd
5840(
5841 WDI_ControlBlockType* pWDICtx,
5842 WDI_EventInfoType* pEventData
5843);
5844#endif /* FEATURE_WLAN_CH_AVOID */
5845
c_hpothu86041002014-04-14 19:06:51 +05305846/**
5847 @brief v -
5848
5849
5850 @param pWDICtx : wdi context
5851 pEventData : indication data
5852 @see
5853 @return Result of the function call
5854*/
5855WDI_Status
5856WDI_printRegInfo
5857(
5858 WDI_ControlBlockType* pWDICtx,
5859 WDI_EventInfoType* pEventData
5860);
Dino Mycle41bdc942014-06-10 11:30:24 +05305861
5862#ifdef WLAN_FEATURE_EXTSCAN
5863WDI_Status
5864WDI_ProcessEXTScanStartReq
5865(
5866 WDI_ControlBlockType* pWDICtx,
5867 WDI_EventInfoType* pEventData
5868);
5869WDI_Status
5870WDI_ProcessEXTScanStopReq
5871(
5872 WDI_ControlBlockType* pWDICtx,
5873 WDI_EventInfoType* pEventData
5874);
5875WDI_Status
5876WDI_ProcessEXTScanStartRsp
5877(
5878 WDI_ControlBlockType* pWDICtx,
5879 WDI_EventInfoType* pEventData
5880);
5881WDI_Status
5882WDI_ProcessEXTScanStopRsp
5883(
5884 WDI_ControlBlockType* pWDICtx,
5885 WDI_EventInfoType* pEventData
5886);
5887
5888WDI_Status
5889WDI_ProcessEXTScanGetCachedResultsReq
5890(
5891 WDI_ControlBlockType* pWDICtx,
5892 WDI_EventInfoType* pEventData
5893);
5894WDI_Status
5895WDI_ProcessEXTScanGetCachedResultsRsp
5896(
5897 WDI_ControlBlockType* pWDICtx,
5898 WDI_EventInfoType* pEventData
5899);
5900
5901WDI_Status
5902WDI_ProcessEXTScanProgressInd
5903(
5904 WDI_ControlBlockType* pWDICtx,
5905 WDI_EventInfoType* pEventData
5906);
5907
5908WDI_Status
5909WDI_ProcessEXTScanGetCapabilitiesReq
5910(
5911 WDI_ControlBlockType* pWDICtx,
5912 WDI_EventInfoType* pEventData
5913);
5914
5915WDI_Status
5916WDI_ProcessEXTScanGetCapabilitiesRsp
5917(
5918 WDI_ControlBlockType* pWDICtx,
5919 WDI_EventInfoType* pEventData
5920);
5921
5922WDI_Status
5923WDI_ProcessEXTScanSetBSSIDHotlistReq
5924(
5925 WDI_ControlBlockType* pWDICtx,
5926 WDI_EventInfoType* pEventData
5927);
5928
5929WDI_Status
5930WDI_ProcessEXTScanSetHotlistBSSIDRsp
5931(
5932 WDI_ControlBlockType* pWDICtx,
5933 WDI_EventInfoType* pEventData
5934);
5935
5936WDI_Status
5937WDI_ProcessEXTScanResetBSSIDHotlistReq
5938(
5939 WDI_ControlBlockType* pWDICtx,
5940 WDI_EventInfoType* pEventData
5941);
5942
5943WDI_Status
5944WDI_ProcessEXTScanResetHotlistBSSIDRsp
5945(
5946 WDI_ControlBlockType* pWDICtx,
5947 WDI_EventInfoType* pEventData
5948);
5949
5950WDI_Status
5951WDI_ProcessEXTScanSetSignifRSSIChangeReq
5952(
5953 WDI_ControlBlockType* pWDICtx,
5954 WDI_EventInfoType* pEventData
5955);
5956
5957WDI_Status
5958WDI_ProcessEXTScanSetSignfRSSIChangeRsp
5959(
5960 WDI_ControlBlockType* pWDICtx,
5961 WDI_EventInfoType* pEventData
5962);
5963
5964WDI_Status
5965WDI_ProcessEXTScanResetSignfRSSIChangeReq
5966(
5967 WDI_ControlBlockType* pWDICtx,
5968 WDI_EventInfoType* pEventData
5969);
5970
5971WDI_Status
5972WDI_ProcessEXTScanResetSignfRSSIChangeRsp
5973(
5974 WDI_ControlBlockType* pWDICtx,
5975 WDI_EventInfoType* pEventData
5976);
5977
5978WDI_Status
5979WDI_ProcessEXTScanScanAvailableInd
5980(
5981 WDI_ControlBlockType* pWDICtx,
5982 WDI_EventInfoType* pEventData
5983);
5984
5985WDI_Status
5986WDI_ProcessEXTScanResultInd
5987(
5988 WDI_ControlBlockType* pWDICtx,
5989 WDI_EventInfoType* pEventData
5990);
5991
5992WDI_Status
5993WDI_ProcessEXTScanBssidHotListResultInd
5994(
5995 WDI_ControlBlockType* pWDICtx,
5996 WDI_EventInfoType* pEventData
5997);
5998
5999WDI_Status
6000WDI_ProcessEXTScanSignfRssiResultInd
6001(
6002 WDI_ControlBlockType* pWDICtx,
6003 WDI_EventInfoType* pEventData
6004);
6005
6006#endif /* WLAN_FEATURE_EXTSCAN */
6007
Sunil Duttbd736ed2014-05-26 21:19:41 +05306008#ifdef WLAN_FEATURE_LINK_LAYER_STATS
6009WDI_Status
6010WDI_ProcessLLStatsSetRsp
6011(
6012 WDI_ControlBlockType* pWDICtx,
6013 WDI_EventInfoType* pEventData
6014);
6015
6016WDI_Status
6017WDI_ProcessLLStatsSetReq
6018(
6019 WDI_ControlBlockType* pWDICtx,
6020 WDI_EventInfoType* pEventData
6021);
6022
6023WDI_Status
6024WDI_ProcessLLStatsGetRsp
6025(
6026 WDI_ControlBlockType* pWDICtx,
6027 WDI_EventInfoType* pEventData
6028);
6029
6030WDI_Status
6031WDI_ProcessLLStatsGetReq
6032(
6033 WDI_ControlBlockType* pWDICtx,
6034 WDI_EventInfoType* pEventData
6035);
6036
6037WDI_Status
6038WDI_ProcessLLStatsClearRsp
6039(
6040 WDI_ControlBlockType* pWDICtx,
6041 WDI_EventInfoType* pEventData
6042);
6043
6044WDI_Status
6045WDI_ProcessLLStatsClearReq
6046(
6047 WDI_ControlBlockType* pWDICtx,
6048 WDI_EventInfoType* pEventData
6049);
6050
6051WDI_Status
6052WDI_ProcessLinkLayerStatsResultsInd
6053(
6054 WDI_ControlBlockType* pWDICtx,
6055 WDI_EventInfoType* pEventData
6056);
6057
6058#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
c_hpothu86041002014-04-14 19:06:51 +05306059
Abhishek Singh66c16762014-08-14 19:13:19 +05306060WDI_Status
6061WDI_delBaInd
6062(
6063 WDI_ControlBlockType* pWDICtx,
6064 WDI_EventInfoType* pEventData
6065);
6066
Siddharth Bhal171788a2014-09-29 21:02:40 +05306067WDI_Status
6068WDI_ProcessSpoofMacAddrReq
6069(
6070 WDI_ControlBlockType* pWDICtx,
6071 WDI_EventInfoType* pEventData
6072);
6073WDI_Status
6074WDI_ProcessSpoofMacAddrRsp
6075(
6076 WDI_ControlBlockType* pWDICtx,
6077 WDI_EventInfoType* pEventData
6078);
6079
Jeff Johnson295189b2012-06-20 16:38:30 -07006080#endif /*WLAN_QCT_WDI_I_H*/
6081