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