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