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