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