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