blob: 3bcf995d047e0f48405a42095f026fc3d78ed858 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Agrawal Ashishaf1de652016-03-02 18:03:43 +05302 * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
Kiet Lam1ed83fc2014-02-19 01:15:45 -08003 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21
22/*
Kiet Lama7f454d2014-07-24 12:04:06 -070023 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080026 */
Kiet Lam1ed83fc2014-02-19 01:15:45 -080027
28
Kiet Lama7f454d2014-07-24 12:04:06 -070029
30
Jeff Johnson295189b2012-06-20 16:38:30 -070031#ifndef WLAN_QCT_WDI_I_H
32#define WLAN_QCT_WDI_I_H
33
34/*===========================================================================
35
36 W L A N D E V I C E A B S T R A C T I O N L A Y E R
37 I N T E R N A L A P I F O R T H E
38 D A T A P A T H
39
40
41DESCRIPTION
42 This file contains the internal API exposed by the DAL Control Path Core
Kiet Lam1ed83fc2014-02-19 01:15:45 -080043 module to be used by the DAL Data Path Core.
Jeff Johnson295189b2012-06-20 16:38:30 -070044===========================================================================*/
45
46
47/*===========================================================================
48
49 EDIT HISTORY FOR FILE
50
51
52 This section contains comments describing changes made to the module.
53 Notice that changes are listed in reverse chronological order.
54
55
56 $Header:$ $DateTime: $ $Author: $
57
58
59when who what, where, why
60-------- --- ----------------------------------------------------------
6110/05/11 hap Adding support for Keep Alive
6208/19/10 lti Created module.
63
64===========================================================================*/
65
66#include "wlan_qct_pal_type.h"
67#include "wlan_qct_pal_api.h"
68#include "wlan_qct_pal_list.h"
69#include "wlan_qct_pal_sync.h"
70#include "wlan_qct_pal_timer.h"
71#include "wlan_qct_wdi_cts.h"
72#include "wlan_qct_wdi_bd.h"
73
74#include "wlan_hal_msg.h"
75#include "wlan_status_code.h"
76#include "wlan_qct_dev_defs.h"
77/*----------------------------------------------------------------------------
78 * Preprocessor Definitions and Constants
79 * -------------------------------------------------------------------------*/
80
81/*Assert macro - redefined for WDI so it is more flexible in disabling*/
82#define WDI_ASSERT(_cond) WPAL_ASSERT(_cond)
83
84/*Error codes that can be returned by WDI - the HAL Error codes are not
85 propagated outside WDI because they are too explicit when refering to RIVA
86 HW errors - they are masked under dev internal failure*/
87#define WDI_ERR_BASIC_OP_FAILURE 0
88#define WDI_ERR_TRANSPORT_FAILURE 1
89#define WDI_ERR_INVALID_RSP_FMT 2
90#define WDI_ERR_RSP_TIMEOUT 3
91#define WDI_ERR_DEV_INTERNAL_FAILURE 4
92
93/*In prima 12 HW stations are supported including BCAST STA(staId 0)
94 and SELF STA(staId 1) so total ASSOC stations which can connect to Prima
95 SoftAP = 12 - 1(Self STa) - 1(Bcast Sta) = 10 Stations. */
Gopichand Nakkala976e3252013-01-03 15:45:56 -080096
97#ifdef WLAN_SOFTAP_VSTA_FEATURE
Yathish Hanumapuradoddi Shivanna64dfc472013-03-08 10:48:34 -080098#define WDI_MAX_SUPPORTED_STAS 41
Gopichand Nakkala976e3252013-01-03 15:45:56 -080099#else
Yathish Hanumapuradoddi Shivanna64dfc472013-03-08 10:48:34 -0800100#define WDI_MAX_SUPPORTED_STAS 12
Gopichand Nakkala976e3252013-01-03 15:45:56 -0800101#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700102#define WDI_MAX_SUPPORTED_BSS 5
103
104/* Control transport channel size*/
105#define WDI_CT_CHANNEL_SIZE 4096
106
107/*Invalid BSS index ! TO DO: Must come from the HAL header file*/
108#define WDI_BSS_INVALID_IDX 0xFF
109
Jeff Johnson295189b2012-06-20 16:38:30 -0700110#define WDI_FTM_MAX_RECEIVE_BUFFER 6500
Jeff Johnson295189b2012-06-20 16:38:30 -0700111
112/*---------------------------------------------------------------------------
113 DAL Control Path Main States
114---------------------------------------------------------------------------*/
115typedef enum
116{
117 /* Transition in this state made upon creation and when a close request is
118 received*/
119 WDI_INIT_ST = 0,
120
121 /* Transition happens after a Start response was received from HAL (as a
122 result of a previously sent HAL Request)*/
123 WDI_STARTED_ST,
124
125 /* Transition happens when a Stop request was received */
126 WDI_STOPPED_ST,
127
128 /* Transition happens when a request is being sent down to HAL and we are
129 waiting for the response */
130 WDI_BUSY_ST,
131
132 /* Transition happens when 'SSR' shutdown request is recieved.*/
133 WDI_SHUTDOWN_ST,
134
135 WDI_MAX_ST
136}WDI_MainStateType;
137
138
139/*---------------------------------------------------------------------------
140 DAL Control Path Scan States
141---------------------------------------------------------------------------*/
142typedef enum
143{
144 /*The flag will be set to this state when init is called. Once the flag has
145 this value the only two scanning API calls allowed are Scan Start and
146 Scan Finished*/
147 WDI_SCAN_INITIALIZED_ST = 0,
148
149 /*The flag will be set to this value once the Start Scan API is called.
150 When the flag has this value only Scan End API will be allowed. */
151 WDI_SCAN_STARTED_ST = 1,
152
153 /*The flag will be set to this value when End Scan API is called. When the
154 flag is set to this value the only two Scan APIs allowed are Start and
155 Finish. */
156 WDI_SCAN_ENDED_ST = 2,
157
158 /*The flag will be set to this value in the beginning before init is called
159 and after the Finish API is called. No other scan APIs will be allowed
160 in this state until Scan Init is called again. */
161 WDI_SCAN_FINISHED_ST = 3,
162
163 WDI_SCAN_MAX_ST
164}WDI_ScanStateType;
165
166/*---------------------------------------------------------------------------
167 WLAN DAL BSS Session Type - used to allow simulatneous association
168 and keep track of each associated session
169 ---------------------------------------------------------------------------*/
170#define WDI_MAX_BSS_SESSIONS 10
171
172typedef enum
173{
174 /*Init state*/
175 WDI_ASSOC_INIT_ST,
176
177 /*Joining State*/
178 WDI_ASSOC_JOINING_ST,
179
180 /*Associated state*/
181 WDI_ASSOC_POST_ST,
182
183 WDI_ASSOC_MAX_ST
184}WDI_AssocStateType;
185
186/*---------------------------------------------------------------------------
187 WLAN DAL Supported Request Types
188 ---------------------------------------------------------------------------*/
189typedef enum
190{
191 /*WLAN DAL START Request*/
192 WDI_START_REQ = 0,
193
194 /*WLAN DAL STOP Request*/
195 WDI_STOP_REQ = 1,
196
197 /*WLAN DAL STOP Request*/
198 WDI_CLOSE_REQ = 2,
199
200
201 /*SCAN*/
202 /*WLAN DAL Init Scan Request*/
203 WDI_INIT_SCAN_REQ = 3,
204
205 /*WLAN DAL Start Scan Request*/
206 WDI_START_SCAN_REQ = 4,
207
208 /*WLAN DAL End Scan Request*/
209 WDI_END_SCAN_REQ = 5,
210
211 /*WLAN DAL Finish Scan Request*/
212 WDI_FINISH_SCAN_REQ = 6,
213
214
215 /*ASSOCIATION*/
216 /*WLAN DAL Join Request*/
217 WDI_JOIN_REQ = 7,
218
219 /*WLAN DAL Config BSS Request*/
220 WDI_CONFIG_BSS_REQ = 8,
221
222 /*WLAN DAL Del BSS Request*/
223 WDI_DEL_BSS_REQ = 9,
224
225 /*WLAN DAL Post Assoc Request*/
226 WDI_POST_ASSOC_REQ = 10,
227
228 /*WLAN DAL Del STA Request*/
229 WDI_DEL_STA_REQ = 11,
230
231 /*Security*/
232 /*WLAN DAL Set BSS Key Request*/
233 WDI_SET_BSS_KEY_REQ = 12,
234
235 /*WLAN DAL Remove BSS Key Request*/
236 WDI_RMV_BSS_KEY_REQ = 13,
237
238 /*WLAN DAL Set STA Key Request*/
239 WDI_SET_STA_KEY_REQ = 14,
240
241 /*WLAN DAL Remove STA Key Request*/
242 WDI_RMV_STA_KEY_REQ = 15,
243
244 /*QOS and BA*/
245 /*WLAN DAL Add TSpec Request*/
246 WDI_ADD_TS_REQ = 16,
247
248 /*WLAN DAL Delete TSpec Request*/
249 WDI_DEL_TS_REQ = 17,
250
251 /*WLAN DAL Update EDCA Params Request*/
252 WDI_UPD_EDCA_PRMS_REQ = 18,
253
254 /*WLAN DAL Add BA Session Request*/
255 WDI_ADD_BA_SESSION_REQ = 19,
256
257 /*WLAN DAL Delete BA Request*/
258 WDI_DEL_BA_REQ = 20,
259
260 /* Miscellaneous Control */
261 /*WLAN DAL Channel Switch Request*/
262 WDI_CH_SWITCH_REQ = 21,
263
264 /*WLAN DAL Config STA Request*/
265 WDI_CONFIG_STA_REQ = 22,
266
267 /*WLAN DAL Set Link State Request*/
268 WDI_SET_LINK_ST_REQ = 23,
269
270 /*WLAN DAL Get Stats Request*/
271 WDI_GET_STATS_REQ = 24,
272
273 /*WLAN DAL Update Config Request*/
274 WDI_UPDATE_CFG_REQ = 25,
275
276 /* WDI ADD BA Request */
277 WDI_ADD_BA_REQ = 26,
278
279 /* WDI Trigger BA Request */
280 WDI_TRIGGER_BA_REQ = 27,
281
282 /*WLAN DAL Update Beacon Params Request*/
283 WDI_UPD_BCON_PRMS_REQ = 28,
284
285 /*WLAN DAL Send Beacon template Request*/
286 WDI_SND_BCON_REQ = 29,
287
288 /*WLAN DAL Send Probe Response Template Request*/
289 WDI_UPD_PROBE_RSP_TEMPLATE_REQ = 30,
290
291 /*WLAN DAL Set STA Bcast Key Request*/
292 WDI_SET_STA_BCAST_KEY_REQ = 31,
293
294 /*WLAN DAL Remove STA Bcast Key Request*/
295 WDI_RMV_STA_BCAST_KEY_REQ = 32,
296
297 /*WLAN DAL Set Max Tx Power Request*/
298 WDI_SET_MAX_TX_POWER_REQ = 33,
299
300 /* WLAN DAL P2P GO Notice Of Absence Request */
301 WDI_P2P_GO_NOTICE_OF_ABSENCE_REQ = 34,
302
303 /*WLAN DAL Enter IMPS Request*/
304 WDI_ENTER_IMPS_REQ = 35,
305
306 /*WLAN DAL Exit IMPS Request*/
307 WDI_EXIT_IMPS_REQ = 36,
308
309 /*WLAN DAL Enter BMPS Request*/
310 WDI_ENTER_BMPS_REQ = 37,
311
312 /*WLAN DAL Exit BMPS Request*/
313 WDI_EXIT_BMPS_REQ = 38,
314
315 /*WLAN DAL Enter UAPSD Request*/
316 WDI_ENTER_UAPSD_REQ = 39,
317
318 /*WLAN DAL Exit UAPSD Request*/
319 WDI_EXIT_UAPSD_REQ = 40,
320
321 /*WLAN DAL Set UAPSD Param Request*/
322 WDI_SET_UAPSD_PARAM_REQ = 41,
323
324 /*WLAN DAL Update UAPSD Param (SoftAP mode) Request*/
325 WDI_UPDATE_UAPSD_PARAM_REQ = 42,
326
327 /*WLAN DAL Configure RXP filter Request*/
328 WDI_CONFIGURE_RXP_FILTER_REQ = 43,
329
330 /*WLAN DAL Configure Beacon filter Request*/
331 WDI_SET_BEACON_FILTER_REQ = 44,
332
333 /*WLAN DAL Remove Beacon filter Request*/
334 WDI_REM_BEACON_FILTER_REQ = 45,
335
336 /*WLAN DAL Set RSSI thresholds Request*/
337 WDI_SET_RSSI_THRESHOLDS_REQ = 46,
338
339 /*WLAN DAL host offload Request*/
340 WDI_HOST_OFFLOAD_REQ = 47,
341
342 /*WLAN DAL add wowl bc ptrn Request*/
343 WDI_WOWL_ADD_BC_PTRN_REQ = 48,
344
345 /*WLAN DAL delete wowl bc ptrn Request*/
346 WDI_WOWL_DEL_BC_PTRN_REQ = 49,
347
348 /*WLAN DAL enter wowl Request*/
349 WDI_WOWL_ENTER_REQ = 50,
350
351 /*WLAN DAL exit wowl Request*/
352 WDI_WOWL_EXIT_REQ = 51,
353
354 /*WLAN DAL Configure Apps CPU Wakeup state Request*/
355 WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_REQ = 52,
356
357 /* WLAN NV Download Request */
358 WDI_NV_DOWNLOAD_REQ = 53,
359 /*WLAN DAL Flush AC Request*/
360 WDI_FLUSH_AC_REQ = 54,
361
362 /*WLAN DAL BT AMP event Request*/
363 WDI_BTAMP_EVENT_REQ = 55,
364 /*WLAN DAL Aggregated Add TSpec Request*/
365 WDI_AGGR_ADD_TS_REQ = 56,
366
367 WDI_ADD_STA_SELF_REQ = 57,
368
369 WDI_DEL_STA_SELF_REQ = 58,
370
371 /* WLAN FTM Command request */
372 WDI_FTM_CMD_REQ = 59,
373
Jeff Johnsone7245742012-09-05 17:12:55 -0700374 /*WLAN START OEM_DATA MEAS Request*/
375 WDI_START_OEM_DATA_REQ = 60,
Jeff Johnson295189b2012-06-20 16:38:30 -0700376 /* WLAN host resume request */
377 WDI_HOST_RESUME_REQ = 61,
378
379 WDI_KEEP_ALIVE_REQ = 62,
380
381 /* Set PNO */
382 WDI_SET_PREF_NETWORK_REQ = 63,
383
384 /*RSSI Filter Request*/
385 WDI_SET_RSSI_FILTER_REQ = 64,
386
387 /* Update Scan Parameters*/
388 WDI_UPDATE_SCAN_PARAMS_REQ = 65,
389
390 WDI_SET_TX_PER_TRACKING_REQ = 66,
391
392 WDI_8023_MULTICAST_LIST_REQ = 67,
393 WDI_RECEIVE_FILTER_SET_FILTER_REQ = 68,
394 WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ = 69,
395 WDI_RECEIVE_FILTER_CLEAR_FILTER_REQ = 70,
396
397 /*This is temp fix. Should be removed once
398 * Host and Riva code is in sync*/
399 WDI_INIT_SCAN_CON_REQ = 71,
400
401 /* WLAN HAL DUMP Command request */
402 WDI_HAL_DUMP_CMD_REQ = 72,
403
404 /* WLAN DAL Shutdown Request */
405 WDI_SHUTDOWN_REQ = 73,
406
407 /*Set power parameters on the device*/
408 WDI_SET_POWER_PARAMS_REQ = 74,
409
410 /* Traffic Stream Metrics statistic request */
411 WDI_TSM_STATS_REQ = 75,
412 /* GTK Rekey Offload */
413 WDI_GTK_OFFLOAD_REQ = 76,
414 WDI_GTK_OFFLOAD_GETINFO_REQ = 77,
415
416 /*Set Thermal Migration level to RIVA*/
417 WDI_SET_TM_LEVEL_REQ = 78,
418
419 /* Send a capability exchange message to HAL */
420 WDI_FEATURE_CAPS_EXCHANGE_REQ = 79,
421
Mohit Khanna4a70d262012-09-11 16:30:12 -0700422#ifdef WLAN_FEATURE_11AC
423 /* Send a capability exchange message to HAL */
424 WDI_UPDATE_VHT_OP_MODE_REQ = 80,
425#endif
426
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800427 /*WLAN DAL Get Roam Rssi Request*/
428 WDI_GET_ROAM_RSSI_REQ = 81,
429
schang86c22c42013-03-13 18:41:24 -0700430 /*WLAN DAL Set Tx Power Request*/
431 WDI_SET_TX_POWER_REQ = 82,
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700432 WDI_ROAM_SCAN_OFFLOAD_REQ = 83,
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530433
434 WDI_TDLS_LINK_ESTABLISH_REQ = 84,
435
Leo Chang9056f462013-08-01 19:21:11 -0700436 /* WLAN FW LPHB config request */
437 WDI_LPHB_CFG_REQ = 85,
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530438
Rajeev79dbe4c2013-10-05 11:03:42 +0530439 /* WLAN FW set batch scan request */
Madan Mohan Koyyalamudi9d5d29c2013-10-23 15:18:03 -0700440 WDI_SET_BATCH_SCAN_REQ = 86,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800441
Arif Hussaina5ebce02013-08-09 15:09:58 -0700442 /*WLAN DAL Set Max Tx Power Per band Request*/
Arif Hussain874bf812013-12-27 16:39:15 -0800443 WDI_SET_MAX_TX_POWER_PER_BAND_REQ = 87,
Rajeev79dbe4c2013-10-05 11:03:42 +0530444
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -0800445 WDI_UPDATE_CHAN_REQ = 88,
446
c_hpothu92367912014-05-01 15:18:17 +0530447 WDI_GET_BCN_MISS_RATE_REQ = 89,
448
Sunil Duttbd736ed2014-05-26 21:19:41 +0530449#ifdef WLAN_FEATURE_LINK_LAYER_STATS
450 WDI_LL_STATS_SET_REQ = 90,
451 WDI_LL_STATS_GET_REQ = 91,
452 WDI_LL_STATS_CLEAR_REQ = 92,
453#endif
454
Dino Mycle41bdc942014-06-10 11:30:24 +0530455#ifdef WLAN_FEATURE_EXTSCAN
456 WDI_EXTSCAN_START_REQ = 93,
457 WDI_EXTSCAN_STOP_REQ = 94,
458 WDI_EXTSCAN_GET_CACHED_RESULTS_REQ = 95,
459 WDI_EXTSCAN_GET_CAPABILITIES_REQ = 96,
460 WDI_EXTSCAN_SET_BSSID_HOTLIST_REQ = 97,
461 WDI_EXTSCAN_RESET_BSSID_HOTLIST_REQ = 98,
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +0530462 WDI_EXTSCAN_SET_SSID_HOTLIST_REQ = 99,
463 WDI_EXTSCAN_RESET_SSID_HOTLIST_REQ = 100,
Dino Mycle41bdc942014-06-10 11:30:24 +0530464#endif
Atul Mittalc0f739f2014-07-31 13:47:47 +0530465
Siddharth Bhal171788a2014-09-29 21:02:40 +0530466 WDI_SPOOF_MAC_ADDR_REQ = 101,
467
Abhishek Singh85b74712014-10-08 11:38:19 +0530468 WDI_GET_FW_STATS_REQ = 102,
469
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530470 /* Send command to encrypt the given message */
471 WDI_ENCRYPT_MSG_REQ = 103,
472
Siddharth Bhald1be97f2015-05-27 22:39:59 +0530473 WDI_FW_LOGGING_INIT_REQ = 104,
Siddharth Bhal64246172015-02-27 01:04:37 +0530474 WDI_GET_FRAME_LOG_REQ = 105,
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530475
Srinivas Dasari32a79262015-02-19 13:04:49 +0530476 /* NAN Request */
477 WDI_NAN_REQUEST = 106,
478
Katya Nigamf0511f62015-05-05 16:40:57 +0530479 WDI_MON_START_REQ = 107,
480 WDI_MON_STOP_REQ = 108,
Sachin Ahuja715aafc2015-07-21 23:35:10 +0530481 WDI_FATAL_EVENT_LOGGING_REQ = 109,
c_manjeecfd1efb2015-09-25 19:32:34 +0530482 WDI_FWR_MEM_DUMP_REQ = 110,
Gupta, Kapil7c34b322015-09-30 13:12:35 +0530483 WDI_START_RSSI_MONITOR_REQ = 111,
484 WDI_STOP_RSSI_MONITOR_REQ = 112,
Katya Nigamf0511f62015-05-05 16:40:57 +0530485
Arun Khandavalli7eeb1592015-10-19 21:36:57 +0530486 WDI_WIFI_CONFIG_SET_REQ = 113,
487
Jeff Johnson295189b2012-06-20 16:38:30 -0700488 WDI_MAX_REQ,
489
490 /*Send a suspend Indication down to HAL*/
491 WDI_HOST_SUSPEND_IND = WDI_MAX_REQ ,
492
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -0800493 /* Send a traffic stats indication to HAL */
494 WDI_TRAFFIC_STATS_IND,
495
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530496 /* DHCP Start Indication */
497 WDI_DHCP_START_IND,
498
499 /* DHCP Stop Indication */
500 WDI_DHCP_STOP_IND,
501
Chet Lanctot186b5732013-03-18 10:26:30 -0700502 /* Drop/Receive unencrypted frames indication to HAL */
503 WDI_EXCLUDE_UNENCRYPTED_IND,
504
Yue Mab9c86f42013-08-14 15:59:08 -0700505 /* Send an add periodic Tx pattern indication to HAL */
506 WDI_ADD_PERIODIC_TX_PATTERN_IND,
507
508 /* Send a delete periodic Tx pattern indicationto HAL */
509 WDI_DEL_PERIODIC_TX_PATTERN_IND,
510
Rajeev79dbe4c2013-10-05 11:03:42 +0530511 /*Send stop batch scan indication to FW*/
512 WDI_STOP_BATCH_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800513
Rajeev79dbe4c2013-10-05 11:03:42 +0530514 /*Send stop batch scan indication to FW*/
515 WDI_TRIGGER_BATCH_SCAN_RESULT_IND,
Manjunathappa Prakash5c7d6362014-02-20 12:59:51 -0800516
517 /* Send Rate Update Indication */
518 WDI_RATE_UPDATE_IND,
519
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +0530520 WDI_START_HT40_OBSS_SCAN_IND,
521 WDI_STOP_HT40_OBSS_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800522
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800523 /* csa channel switch req*/
524 WDI_CH_SWITCH_REQ_V1,
Atul Mittalc0f739f2014-07-31 13:47:47 +0530525 WDI_TDLS_CHAN_SWITCH_REQ,
Abhishek Singh41988ba2015-05-25 19:42:29 +0530526 WDI_SET_RTS_CTS_HTVHT_IND,
Siddharth Bhald1be97f2015-05-27 22:39:59 +0530527 WDI_FW_LOGGING_DXE_DONE_IND,
Mahesh A Saptasagarbeca12c2015-09-07 16:21:06 +0530528 WDI_SEND_FREQ_RANGE_CONTROL_IND,
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800529
Padma, Santhosh Kumarc1f7f052015-08-26 12:29:01 +0530530#ifdef WLAN_FEATURE_EXTSCAN
531 WDI_HIGH_PRIORITY_DATA_INFO_IND,
532#endif
533
Padma, Santhosh Kumar2ccac212015-10-20 17:27:27 +0530534#ifdef FEATURE_OEM_DATA_SUPPORT
535 WDI_START_OEM_DATA_REQ_IND_NEW,
536#endif
537
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800538 /*Keep adding the indications to the max request
Mahesh A Saptasagarbeca12c2015-09-07 16:21:06 +0530539 such that we keep them separate */
Mahesh A Saptasagarb63b3e22015-12-22 15:06:10 +0530540 WDI_ANTENNA_DIVERSITY_SELECTION_REQ,
Mahesh A Saptasagar41f9ddd2016-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 Saptasagarb63b3e22015-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 Saptasagarb63b3e22015-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;
Agrawal Ashishaf1de652016-03-02 18:03:43 +05301292 /* enable/disable sendMgmtPktViaWQ5 params in ini */
1293 wpt_boolean sendMgmtPktViaWQ5;
1294
Jeff Johnson295189b2012-06-20 16:38:30 -07001295}WDI_ControlBlockType;
1296
1297
1298
1299
1300/*---------------------------------------------------------------------------
1301
1302 DESCRIPTION
1303 WLAN DAL Request Processing function definition.
1304
1305 PARAMETERS
1306
1307 IN
1308 pWDICtx: pointer to the WLAN DAL context
1309 pEventData: pointer to the event information structure
1310
1311
1312 RETURN VALUE
1313 The result code associated with performing the operation
1314
1315---------------------------------------------------------------------------*/
1316typedef WDI_Status (*WDI_ReqProcFuncType)( WDI_ControlBlockType* pWDICtx,
1317 WDI_EventInfoType* pEventData);
1318
1319
1320/*---------------------------------------------------------------------------
1321
1322 DESCRIPTION
1323 WLAN DAL Response Processing function definition.
1324
1325 PARAMETERS
1326
1327 IN
1328 pWDICtx: pointer to the WLAN DAL context
1329 pEventData: pointer to the event information structure
1330
1331
1332 RETURN VALUE
1333 The result code associated with performing the operation
1334
1335---------------------------------------------------------------------------*/
1336typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx,
1337 WDI_EventInfoType* pEventData);
1338
1339
1340
1341
1342/*==========================================================================
1343 MAIN DAL FSM Definitions and Declarations
1344==========================================================================*/
1345
1346/*---------------------------------------------------------------------------
1347 DAL Control Path Main FSM
1348 ---------------------------------------------------------------------------*/
1349#define WDI_STATE_TRANSITION(_pctx, _st) (_pctx->uGlobalState = _st)
1350
1351
1352
1353/*---------------------------------------------------------------------------
1354 DAL Main Event type
1355---------------------------------------------------------------------------*/
1356typedef enum
1357{
1358 /* Start request received from UMAC */
1359 WDI_START_EVENT = 0,
1360
1361 /* Stop request received from UMAC */
1362 WDI_STOP_EVENT = 1,
1363
1364 /* HAL request received from UMAC*/
1365 WDI_REQUEST_EVENT = 2,
1366
1367 /* HAL Response received from device */
1368 WDI_RESPONSE_EVENT = 3,
1369
1370 /* Close request received from UMAC */
1371 WDI_CLOSE_EVENT = 4,
1372
1373 /* Shutdown request received from UMAC */
1374 WDI_SHUTDOWN_EVENT = 5,
1375
1376 WDI_MAX_EVENT
1377
1378}WDI_MainEventType;
1379
1380/*---------------------------------------------------------------------------
1381
1382 DESCRIPTION
1383 Main DAL state machine function definition.
1384
1385 PARAMETERS
1386
1387 IN
1388 pWDICtx: pointer to the WLAN DAL context
1389 pEventData: pointer to the event information structure
1390
1391
1392 RETURN VALUE
1393 The result code associated with performing the operation
1394
1395---------------------------------------------------------------------------*/
1396typedef WDI_Status (*WDI_MainFuncType)( WDI_ControlBlockType* pWDICtx,
1397 WDI_EventInfoType* pEventData);
1398
1399/*---------------------------------------------------------------------------
1400 MAIN DAL FSM Entry type
1401---------------------------------------------------------------------------*/
1402typedef struct
1403{
1404 WDI_MainFuncType pfnMainTbl[WDI_MAX_EVENT];
1405} WDI_MainFsmEntryType;
1406
1407/*Macro to check for valid session id*/
1408#define WDI_VALID_SESSION_IDX(_idx) ( _idx < WDI_MAX_BSS_SESSIONS )
1409
1410/*==========================================================================
1411
1412 DAL INTERNAL FUNCTION DECLARATION
1413
1414==========================================================================*/
1415
1416/**
1417 @brief Helper routine for retrieving the PAL Context from WDI -
1418 can be used by CTS, DTS, DXE and othe DAL internals
1419
1420 @param None
1421
1422 @see
1423 @return pointer to the context
1424*/
Jeff Johnson43971f52012-07-17 12:26:56 -07001425void* WDI_GET_PAL_CTX( void );
Jeff Johnson295189b2012-06-20 16:38:30 -07001426
1427/*---------------------------------------------------------------------------
1428 MAIN DAL FSM Function Declarations
1429---------------------------------------------------------------------------*/
1430/**
1431 @brief WDI_PostMainEvent - Posts an event to the Main FSM
1432
1433
1434 @param pWDICtx: pointer to the WLAN DAL context
1435 wdiEV: event posted to the main DAL FSM
1436 pEventData: pointer to the event information
1437 structure
1438
1439 @see
1440 @return Result of the function call
1441*/
1442WDI_Status
1443WDI_PostMainEvent
1444(
1445 WDI_ControlBlockType* pWDICtx,
1446 WDI_MainEventType wdiEV,
1447 WDI_EventInfoType* pEventData
1448
1449);
1450
1451/*--------------------------------------------------------------------------
1452 INIT State Functions
1453--------------------------------------------------------------------------*/
1454/**
1455 @brief Main FSM Start function for all states except BUSY
1456
1457
1458 @param pWDICtx: pointer to the WLAN DAL context
1459 pEventData: pointer to the event information structure
1460
1461 @see
1462 @return Result of the function call
1463*/
1464WDI_Status
1465WDI_MainStart
1466(
1467 WDI_ControlBlockType* pWDICtx,
1468 WDI_EventInfoType* pEventData
1469);
1470
1471/**
1472 @brief Main FSM Response function for state INIT
1473
1474
1475 @param pWDICtx: pointer to the WLAN DAL context
1476 pEventData: pointer to the event information structure
1477
1478 @see
1479 @return Result of the function call
1480*/
1481WDI_Status
1482WDI_MainRspInit
1483(
1484 WDI_ControlBlockType* pWDICtx,
1485 WDI_EventInfoType* pEventData
1486);
1487
1488/**
1489 @brief Main FSM Close function for all states except BUSY
1490
1491
1492 @param pWDICtx: pointer to the WLAN DAL context
1493 pEventData: pointer to the event information structure
1494
1495
1496 @see
1497 @return Result of the function call
1498*/
1499WDI_Status
1500WDI_MainClose
1501(
1502 WDI_ControlBlockType* pWDICtx,
1503 WDI_EventInfoType* pEventData
1504);
1505
1506/*--------------------------------------------------------------------------
1507 STARTED State Functions
1508--------------------------------------------------------------------------*/
1509/**
1510 @brief Main FSM Start function for state STARTED
1511
1512
1513 @param pWDICtx: pointer to the WLAN DAL context
1514 pEventData: pointer to the event information structure
1515
1516 @see
1517 @return Result of the function call
1518*/
1519WDI_Status
1520WDI_MainStartStarted
1521(
1522 WDI_ControlBlockType* pWDICtx,
1523 WDI_EventInfoType* pEventData
1524);
1525
1526/**
1527 @brief Main FSM Stop function for state STARTED
1528
1529
1530 @param pWDICtx: pointer to the WLAN DAL context
1531 pEventData: pointer to the event information structure
1532 uEventDataSize: size of the data sent in event
1533 pCBfnc: cb function for event response
1534 pUserData: user data
1535
1536 @see
1537 @return Result of the function call
1538*/
1539WDI_Status
1540WDI_MainStopStarted
1541(
1542 WDI_ControlBlockType* pWDICtx,
1543 WDI_EventInfoType* pEventData
1544);
1545
1546/**
1547 @brief Main FSM Request function for state started
1548
1549
1550 @param pWDICtx: pointer to the WLAN DAL context
1551 pEventData: pointer to the event information structure
1552
1553
1554 @see
1555 @return Result of the function call
1556*/
1557WDI_Status
1558WDI_MainReqStarted
1559(
1560 WDI_ControlBlockType* pWDICtx,
1561 WDI_EventInfoType* pEventData
1562);
1563
1564/**
1565 @brief Main FSM Response function for all states except INIT
1566
1567
1568 @param pWDICtx: pointer to the WLAN DAL context
1569 pEventData: pointer to the event information structure
1570
1571 @see
1572 @return Result of the function call
1573*/
1574WDI_Status
1575WDI_MainRsp
1576(
1577 WDI_ControlBlockType* pWDICtx,
1578 WDI_EventInfoType* pEventData
1579);
1580
1581/*--------------------------------------------------------------------------
1582 STOPPED State Functions
1583--------------------------------------------------------------------------*/
1584/**
1585 @brief Main FSM Stop function for state STOPPED
1586
1587
1588 @param pWDICtx: pointer to the WLAN DAL context
1589 pEventData: pointer to the event information structure
1590
1591 @see
1592 @return Result of the function call
1593*/
1594WDI_Status
1595WDI_MainStopStopped
1596(
1597 WDI_ControlBlockType* pWDICtx,
1598 WDI_EventInfoType* pEventData
1599 );
1600
1601/*--------------------------------------------------------------------------
1602 BUSY State Functions
1603--------------------------------------------------------------------------*/
1604/**
1605 @brief Main FSM Start function for state BUSY
1606
1607
1608 @param pWDICtx: pointer to the WLAN DAL context
1609 pEventData: pointer to the event information structure
1610
1611 @see
1612 @return Result of the function call
1613*/
1614WDI_Status
1615WDI_MainStartBusy
1616(
1617 WDI_ControlBlockType* pWDICtx,
1618 WDI_EventInfoType* pEventData
1619);
1620
1621/**
1622 @brief Main FSM Stop function for state BUSY
1623
1624
1625 @param pWDICtx: pointer to the WLAN DAL context
1626 pEventData: pointer to the event information structure
1627
1628 @see
1629 @return Result of the function call
1630*/
1631WDI_Status
1632WDI_MainStopBusy
1633(
1634 WDI_ControlBlockType* pWDICtx,
1635 WDI_EventInfoType* pEventData
1636);
1637
1638/**
1639 @brief Main FSM Request function for state BUSY
1640
1641
1642 @param pWDICtx: pointer to the WLAN DAL context
1643 pEventData: pointer to the event information structure
1644
1645 @see
1646 @return Result of the function call
1647*/
1648WDI_Status
1649WDI_MainReqBusy
1650(
1651 WDI_ControlBlockType* pWDICtx,
1652 WDI_EventInfoType* pEventData
1653);
1654
1655/**
1656 @brief Main FSM Close function for state BUSY
1657
1658
1659 @param pWDICtx: pointer to the WLAN DAL context
1660 pEventData: pointer to the event information structure
1661
1662 @see
1663 @return Result of the function call
1664*/
1665WDI_Status
1666WDI_MainCloseBusy
1667(
1668 WDI_ControlBlockType* pWDICtx,
1669 WDI_EventInfoType* pEventData
1670);
1671
1672/**
1673 @brief Main FSM Shutdown function for INIT & STARTED states
1674
1675
1676 @param pWDICtx: pointer to the WLAN DAL context
1677 pEventData: pointer to the event information structure
1678
1679 @see
1680 @return Result of the function call
1681*/
1682WDI_Status
1683WDI_MainShutdown
1684(
1685 WDI_ControlBlockType* pWDICtx,
1686 WDI_EventInfoType* pEventData
1687);
1688
1689/**
1690 @brief Main FSM Shutdown function for BUSY state
1691
1692
1693 @param pWDICtx: pointer to the WLAN DAL context
1694 pEventData: pointer to the event information structure
1695
1696 @see
1697 @return Result of the function call
1698*/
1699WDI_Status
1700WDI_MainShutdownBusy
1701(
1702 WDI_ControlBlockType* pWDICtx,
1703 WDI_EventInfoType* pEventData
1704);
1705
1706/*========================================================================
1707 Main DAL Control Path Request Processing API
1708========================================================================*/
1709
1710/**
1711 @brief Process Start Request function (called when Main FSM
1712 allows it)
1713
1714 @param pWDICtx: pointer to the WLAN DAL context
1715 pEventData: pointer to the event information structure
1716
1717 @see
1718 @return Result of the function call
1719*/
1720WDI_Status
1721WDI_ProcessStartReq
1722(
1723 WDI_ControlBlockType* pWDICtx,
1724 WDI_EventInfoType* pEventData
1725);
1726
1727
1728/**
1729 @brief Process Stop Request function (called when Main FSM
1730 allows it)
1731
1732 @param pWDICtx: pointer to the WLAN DAL context
1733 pEventData: pointer to the event information structure
1734
1735 @see
1736 @return Result of the function call
1737*/
1738WDI_Status
1739WDI_ProcessStopReq
1740(
1741 WDI_ControlBlockType* pWDICtx,
1742 WDI_EventInfoType* pEventData
1743);
1744
1745
1746/**
1747 @brief Process Close Request function (called when Main FSM
1748 allows it)
1749
1750 @param pWDICtx: pointer to the WLAN DAL context
1751 pEventData: pointer to the event information structure
1752
1753 @see
1754 @return Result of the function call
1755*/
1756WDI_Status
1757WDI_ProcessCloseReq
1758(
1759 WDI_ControlBlockType* pWDICtx,
1760 WDI_EventInfoType* pEventData
1761);
1762
1763/**
1764 @brief Process Shutdown Request function (called when Main FSM
1765 allows it)
1766
1767 @param pWDICtx: pointer to the WLAN DAL context
1768 pEventData: pointer to the event information structure
1769
1770 @see
1771 @return Result of the function call
1772*/
1773WDI_Status
1774WDI_ProcessShutdownReq
1775(
1776 WDI_ControlBlockType* pWDICtx,
1777 WDI_EventInfoType* pEventData
1778);
1779
1780
1781/**
1782 @brief Process Init Scan Request function (called when Main FSM
1783 allows it)
1784
1785 @param pWDICtx: pointer to the WLAN DAL context
1786 pEventData: pointer to the event information structure
1787
1788 @see
1789 @return Result of the function call
1790*/
1791WDI_Status
1792WDI_ProcessInitScanReq
1793(
1794 WDI_ControlBlockType* pWDICtx,
1795 WDI_EventInfoType* pEventData
1796);
1797
1798
1799/**
1800 @brief Process Start Scan Request function (called when Main
1801 FSM allows it)
1802
1803 @param pWDICtx: pointer to the WLAN DAL context
1804 pEventData: pointer to the event information structure
1805
1806 @see
1807 @return Result of the function call
1808*/
1809WDI_Status
1810WDI_ProcessStartScanReq
1811(
1812 WDI_ControlBlockType* pWDICtx,
1813 WDI_EventInfoType* pEventData
1814);
1815
1816
1817/**
1818 @brief Process End Scan Request function (called when Main FSM
1819 allows it)
1820
1821 @param pWDICtx: pointer to the WLAN DAL context
1822 pEventData: pointer to the event information structure
1823
1824 @see
1825 @return Result of the function call
1826*/
1827WDI_Status
1828WDI_ProcessEndScanReq
1829(
1830 WDI_ControlBlockType* pWDICtx,
1831 WDI_EventInfoType* pEventData
1832);
1833
1834
1835/**
1836 @brief Process Finish Scan Request function (called when Main
1837 FSM allows it)
1838
1839 @param pWDICtx: pointer to the WLAN DAL context
1840 pEventData: pointer to the event information structure
1841
1842 @see
1843 @return Result of the function call
1844*/
1845WDI_Status
1846WDI_ProcessFinishScanReq
1847(
1848 WDI_ControlBlockType* pWDICtx,
1849 WDI_EventInfoType* pEventData
1850);
1851
1852
1853/**
1854 @brief Process Join Request function (called when Main FSM
1855 allows it)
1856
1857 @param pWDICtx: pointer to the WLAN DAL context
1858 pEventData: pointer to the event information structure
1859
1860 @see
1861 @return Result of the function call
1862*/
1863WDI_Status
1864WDI_ProcessJoinReq
1865(
1866 WDI_ControlBlockType* pWDICtx,
1867 WDI_EventInfoType* pEventData
1868);
1869
1870
1871/**
1872 @brief Process Config BSS Request function (called when Main
1873 FSM allows it)
1874
1875 @param pWDICtx: pointer to the WLAN DAL context
1876 pEventData: pointer to the event information structure
1877
1878 @see
1879 @return Result of the function call
1880*/
1881WDI_Status
1882WDI_ProcessConfigBSSReq
1883(
1884 WDI_ControlBlockType* pWDICtx,
1885 WDI_EventInfoType* pEventData
1886);
1887
1888
1889/**
1890 @brief Process Del BSS Request function (called when Main FSM
1891 allows it)
1892
1893 @param pWDICtx: pointer to the WLAN DAL context
1894 pEventData: pointer to the event information structure
1895
1896 @see
1897 @return Result of the function call
1898*/
1899WDI_Status
1900WDI_ProcessDelBSSReq
1901(
1902 WDI_ControlBlockType* pWDICtx,
1903 WDI_EventInfoType* pEventData
1904);
1905
1906/**
1907 @brief Process Post Assoc Request function (called when Main
1908 FSM allows it)
1909
1910 @param pWDICtx: pointer to the WLAN DAL context
1911 pEventData: pointer to the event information structure
1912
1913 @see
1914 @return Result of the function call
1915*/
1916WDI_Status
1917WDI_ProcessPostAssocReq
1918(
1919 WDI_ControlBlockType* pWDICtx,
1920 WDI_EventInfoType* pEventData
1921);
1922
1923/**
1924 @brief Process Del STA Request function (called when Main FSM
1925 allows it)
1926
1927 @param pWDICtx: pointer to the WLAN DAL context
1928 pEventData: pointer to the event information structure
1929
1930 @see
1931 @return Result of the function call
1932*/
1933WDI_Status
1934WDI_ProcessDelSTAReq
1935(
1936 WDI_ControlBlockType* pWDICtx,
1937 WDI_EventInfoType* pEventData
1938);
1939
1940/**
1941 @brief Process Set BSS Key Request function (called when Main FSM
1942 allows it)
1943
1944 @param pWDICtx: pointer to the WLAN DAL context
1945 pEventData: pointer to the event information structure
1946
1947 @see
1948 @return Result of the function call
1949*/
1950WDI_Status
1951WDI_ProcessSetBssKeyReq
1952(
1953 WDI_ControlBlockType* pWDICtx,
1954 WDI_EventInfoType* pEventData
1955);
1956
1957/**
1958 @brief Process Remove BSS Key Request function (called when Main
1959 FSM allows it)
1960
1961 @param pWDICtx: pointer to the WLAN DAL context
1962 pEventData: pointer to the event information structure
1963
1964 @see
1965 @return Result of the function call
1966*/
1967WDI_Status
1968WDI_ProcessRemoveBssKeyReq
1969(
1970 WDI_ControlBlockType* pWDICtx,
1971 WDI_EventInfoType* pEventData
1972);
1973
1974/**
1975 @brief Process Set STA KeyRequest function (called when Main FSM
1976 allows it)
1977
1978 @param pWDICtx: pointer to the WLAN DAL context
1979 pEventData: pointer to the event information structure
1980
1981 @see
1982 @return Result of the function call
1983*/
1984WDI_Status
1985WDI_ProcessSetStaKeyReq
1986(
1987 WDI_ControlBlockType* pWDICtx,
1988 WDI_EventInfoType* pEventData
1989);
1990
1991/**
1992 @brief Process Remove STA Key Request function (called when
1993 Main FSM allows it)
1994
1995 @param pWDICtx: pointer to the WLAN DAL context
1996 pEventData: pointer to the event information structure
1997
1998 @see
1999 @return Result of the function call
2000*/
2001WDI_Status
2002WDI_ProcessRemoveStaKeyReq
2003(
2004 WDI_ControlBlockType* pWDICtx,
2005 WDI_EventInfoType* pEventData
2006);
2007
2008/**
2009 @brief Process Set STA KeyRequest function (called when Main FSM
2010 allows it)
2011
2012 @param pWDICtx: pointer to the WLAN DAL context
2013 pEventData: pointer to the event information structure
2014
2015 @see
2016 @return Result of the function call
2017*/
2018WDI_Status
2019WDI_ProcessSetStaBcastKeyReq
2020(
2021 WDI_ControlBlockType* pWDICtx,
2022 WDI_EventInfoType* pEventData
2023);
2024
2025/**
2026 @brief Process Remove STA Key Request function (called when
2027 Main FSM allows it)
2028
2029 @param pWDICtx: pointer to the WLAN DAL context
2030 pEventData: pointer to the event information structure
2031
2032 @see
2033 @return Result of the function call
2034*/
2035WDI_Status
2036WDI_ProcessRemoveStaBcastKeyReq
2037(
2038 WDI_ControlBlockType* pWDICtx,
2039 WDI_EventInfoType* pEventData
2040);
2041
2042/**
2043 @brief Process Add TSpec Request function (called when Main FSM
2044 allows it)
2045
2046 @param pWDICtx: pointer to the WLAN DAL context
2047 pEventData: pointer to the event information structure
2048
2049 @see
2050 @return Result of the function call
2051*/
2052WDI_Status
2053WDI_ProcessAddTSpecReq
2054(
2055 WDI_ControlBlockType* pWDICtx,
2056 WDI_EventInfoType* pEventData
2057);
2058
2059
2060/**
2061 @brief Process Del TSpec Request function (called when Main FSM
2062 allows it)
2063
2064 @param pWDICtx: pointer to the WLAN DAL context
2065 pEventData: pointer to the event information structure
2066
2067 @see
2068 @return Result of the function call
2069*/
2070WDI_Status
2071WDI_ProcessDelTSpecReq
2072(
2073 WDI_ControlBlockType* pWDICtx,
2074 WDI_EventInfoType* pEventData
2075);
2076
2077/**
2078 @brief Process Update EDCA Params Request function (called when
2079 Main FSM allows it)
2080
2081 @param pWDICtx: pointer to the WLAN DAL context
2082 pEventData: pointer to the event information structure
2083
2084 @see
2085 @return Result of the function call
2086*/
2087WDI_Status
2088WDI_ProcessUpdateEDCAParamsReq
2089(
2090 WDI_ControlBlockType* pWDICtx,
2091 WDI_EventInfoType* pEventData
2092);
2093
2094/**
2095 @brief Process Add BA Request function (called when Main FSM
2096 allows it)
2097
2098 @param pWDICtx: pointer to the WLAN DAL context
2099 pEventData: pointer to the event information structure
2100
2101 @see
2102 @return Result of the function call
2103*/
2104WDI_Status
2105WDI_ProcessAddBASessionReq
2106(
2107 WDI_ControlBlockType* pWDICtx,
2108 WDI_EventInfoType* pEventData
2109);
2110
2111/**
2112 @brief Process Del BA Request function (called when Main FSM
2113 allows it)
2114
2115 @param pWDICtx: pointer to the WLAN DAL context
2116 pEventData: pointer to the event information structure
2117
2118 @see
2119 @return Result of the function call
2120*/
2121WDI_Status
2122WDI_ProcessDelBAReq
2123(
2124 WDI_ControlBlockType* pWDICtx,
2125 WDI_EventInfoType* pEventData
2126);
2127
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002128#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07002129/**
2130 @brief Process TSM Stats Request function (called when Main FSM
2131 allows it)
2132
2133 @param pWDICtx: pointer to the WLAN DAL context
2134 pEventData: pointer to the event information structure
2135
2136 @see
2137 @return Result of the function call
2138*/
2139WDI_Status
2140WDI_ProcessTSMStatsReq
2141(
2142 WDI_ControlBlockType* pWDICtx,
2143 WDI_EventInfoType* pEventData
2144);
2145#endif
2146
2147/**
2148 @brief Process Channel Switch Request function (called when
2149 Main FSM allows it)
2150
2151 @param pWDICtx: pointer to the WLAN DAL context
2152 pEventData: pointer to the event information structure
2153
2154 @see
2155 @return Result of the function call
2156*/
2157WDI_Status
2158WDI_ProcessChannelSwitchReq
2159(
2160 WDI_ControlBlockType* pWDICtx,
2161 WDI_EventInfoType* pEventData
2162);
2163
2164/**
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08002165 @brief Process Channel Switch Request function (called when
2166 Main FSM allows it)
2167
2168 @param pWDICtx: pointer to the WLAN DAL context
2169 pEventData: pointer to the event information structure
2170
2171 @see
2172 @return Result of the function call
2173*/
2174
2175WDI_Status WDI_ProcessChannelSwitchReq_V1
2176(
2177 WDI_ControlBlockType* pWDICtx,
2178 WDI_EventInfoType* pEventData
2179);
2180
2181
2182/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002183 @brief Process Config STA Request function (called when Main FSM
2184 allows it)
2185
2186 @param pWDICtx: pointer to the WLAN DAL context
2187 pEventData: pointer to the event information structure
2188
2189 @see
2190 @return Result of the function call
2191*/
2192WDI_Status
2193WDI_ProcessConfigStaReq
2194(
2195 WDI_ControlBlockType* pWDICtx,
2196 WDI_EventInfoType* pEventData
2197);
2198
2199
2200/**
2201 @brief Process Set Link State Request function (called when
2202 Main FSM allows it)
2203
2204 @param pWDICtx: pointer to the WLAN DAL context
2205 pEventData: pointer to the event information structure
2206
2207 @see
2208 @return Result of the function call
2209*/
2210WDI_Status
2211WDI_ProcessSetLinkStateReq
2212(
2213 WDI_ControlBlockType* pWDICtx,
2214 WDI_EventInfoType* pEventData
2215);
2216
2217
2218/**
2219 @brief Process Get Stats Request function (called when Main FSM
2220 allows it)
2221
2222 @param pWDICtx: pointer to the WLAN DAL context
2223 pEventData: pointer to the event information structure
2224
2225 @see
2226 @return Result of the function call
2227*/
2228WDI_Status
2229WDI_ProcessGetStatsReq
2230(
2231 WDI_ControlBlockType* pWDICtx,
2232 WDI_EventInfoType* pEventData
2233);
2234
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002235#if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR)
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -08002236/**
2237 @brief Process Get Roam rssi Request function (called when Main FSM
2238 allows it)
2239
2240 @param pWDICtx: pointer to the WLAN DAL context
2241 pEventData: pointer to the event information structure
2242
2243 @see
2244 @return Result of the function call
2245*/
2246WDI_Status
2247WDI_ProcessGetRoamRssiReq
2248(
2249 WDI_ControlBlockType* pWDICtx,
2250 WDI_EventInfoType* pEventData
2251);
2252
2253
2254/**
2255 @brief Process Get Roam Rssi Rsp function (called when a response is
2256 being received over the bus from HAL)
2257
2258 @param pWDICtx: pointer to the WLAN DAL context
2259 pEventData: pointer to the event information structure
2260
2261 @see
2262 @return Result of the function call
2263*/
2264WDI_Status
2265WDI_ProcessGetRoamRssiRsp
2266(
2267 WDI_ControlBlockType* pWDICtx,
2268 WDI_EventInfoType* pEventData
2269);
2270
2271#endif
2272
2273
Jeff Johnson295189b2012-06-20 16:38:30 -07002274/**
2275 @brief Process Update Cfg Request function (called when Main
2276 FSM allows it)
2277
2278 @param pWDICtx: pointer to the WLAN DAL context
2279 pEventData: pointer to the event information structure
2280
2281 @see
2282 @return Result of the function call
2283*/
2284WDI_Status
2285WDI_ProcessUpdateCfgReq
2286(
2287 WDI_ControlBlockType* pWDICtx,
2288 WDI_EventInfoType* pEventData
2289);
2290
2291/**
2292 @brief Process Add BA Request function (called when Main FSM
2293 allows it)
2294
2295 @param pWDICtx: pointer to the WLAN DAL context
2296 pEventData: pointer to the event information structure
2297
2298 @see
2299 @return Result of the function call
2300*/
2301WDI_Status
2302WDI_ProcessAddBAReq
2303(
2304 WDI_ControlBlockType* pWDICtx,
2305 WDI_EventInfoType* pEventData
2306);
2307
2308/**
2309 @brief Process Trigger BA Request function (called when Main FSM
2310 allows it)
2311
2312 @param pWDICtx: pointer to the WLAN DAL context
2313 pEventData: pointer to the event information structure
2314
2315 @see
2316 @return Result of the function call
2317*/
2318WDI_Status
2319WDI_ProcessTriggerBAReq
2320(
2321 WDI_ControlBlockType* pWDICtx,
2322 WDI_EventInfoType* pEventData
2323);
2324
2325/**
2326 @brief Process Update Beacon Params Request function (called when Main
2327 FSM allows it)
2328
2329 @param pWDICtx: pointer to the WLAN DAL context
2330 pEventData: pointer to the event information structure
2331
2332 @see
2333 @return Result of the function call
2334*/
2335WDI_Status
2336WDI_ProcessUpdateBeaconParamsReq
2337(
2338 WDI_ControlBlockType* pWDICtx,
2339 WDI_EventInfoType* pEventData
2340);
2341
2342/**
2343 @brief Process Update Beacon template Request function (called when Main
2344 FSM allows it)
2345
2346 @param pWDICtx: pointer to the WLAN DAL context
2347 pEventData: pointer to the event information structure
2348
2349 @see
2350 @return Result of the function call
2351*/
2352WDI_Status
2353WDI_ProcessSendBeaconParamsReq
2354(
2355 WDI_ControlBlockType* pWDICtx,
2356 WDI_EventInfoType* pEventData
2357);
2358
2359/**
2360 @brief Process Update Beacon Params Request function (called when Main FSM
2361 allows it)
2362
2363 @param pWDICtx: pointer to the WLAN DAL context
2364 pEventData: pointer to the event information structure
2365
2366 @see
2367 @return Result of the function call
2368*/
2369WDI_Status
2370WDI_ProcessUpdateProbeRspTemplateReq
2371(
2372 WDI_ControlBlockType* pWDICtx,
2373 WDI_EventInfoType* pEventData
2374);
2375/**
2376 @brief Process NV blob download function (called when Main FSM
2377 allows it)
2378
2379 @param pWDICtx: pointer to the WLAN DAL context
2380 pEventData: pointer to the event information structure
2381
2382 @see
2383 @return Result of the function call
2384*/
2385WDI_Status
2386WDI_ProcessNvDownloadReq
2387(
2388 WDI_ControlBlockType* pWDICtx,
2389 WDI_EventInfoType* pEventData
2390);
2391
2392/**
2393 @brief Process Set Max Tx Power Request function (called when Main
2394 FSM allows it)
2395
2396 @param pWDICtx: pointer to the WLAN DAL context
2397 pEventData: pointer to the event information structure
2398
2399 @see
2400 @return Result of the function call
2401*/
2402WDI_Status WDI_ProcessSetMaxTxPowerReq
2403(
2404 WDI_ControlBlockType* pWDICtx,
2405 WDI_EventInfoType* pEventData
2406);
2407
Jeff Johnson295189b2012-06-20 16:38:30 -07002408/**
Arif Hussaina5ebce02013-08-09 15:09:58 -07002409 @brief Process Set Max Tx Power Per Band Request function (called when Main
2410 FSM allows it)
2411
2412 @param pWDICtx: pointer to the WLAN DAL context
2413 pEventData: pointer to the event information structure
2414
2415 @see
2416 @return Result of the function call
2417*/
2418WDI_Status WDI_ProcessSetMaxTxPowerPerBandReq
2419(
2420 WDI_ControlBlockType* pWDICtx,
2421 WDI_EventInfoType* pEventData
2422);
2423
2424/**
schang86c22c42013-03-13 18:41:24 -07002425 @brief Process Set Tx Power Request function (called when Main
2426 FSM allows it)
2427
2428 @param pWDICtx: pointer to the WLAN DAL context
2429 pEventData: pointer to the event information structure
2430
2431 @see
2432 @return Result of the function call
2433*/
2434WDI_Status WDI_ProcessSetTxPowerReq
2435(
2436 WDI_ControlBlockType* pWDICtx,
2437 WDI_EventInfoType* pEventData
2438);
2439
2440/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002441 @brief Process P2P Notice Of Absence Request function (called when Main FSM
2442 allows it)
2443
2444 @param pWDICtx: pointer to the WLAN DAL context
2445 pEventData: pointer to the event information structure
2446
2447 @see
2448 @return Result of the function call
2449*/
2450WDI_Status
2451WDI_ProcessP2PGONOAReq
2452(
2453 WDI_ControlBlockType* pWDICtx,
2454 WDI_EventInfoType* pEventData
2455);
Jeff Johnson295189b2012-06-20 16:38:30 -07002456
2457/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05302458 @brief Process TDLS Link Establish Request function (called when Main FSM
2459 allows it)
2460
2461 @param pWDICtx: pointer to the WLAN DAL context
2462 pEventData: pointer to the event information structure
2463
2464 @see
2465 @return Result of the function call
2466*/
2467WDI_Status
2468WDI_ProcessTdlsLinkEstablishReq
2469(
2470 WDI_ControlBlockType* pWDICtx,
2471 WDI_EventInfoType* pEventData
2472);
2473
2474/**
Atul Mittalc0f739f2014-07-31 13:47:47 +05302475 @brief Process tdls channel switch request
2476
2477 @param pWDICtx: pointer to the WLAN DAL context
2478 pEventData: pointer to the event information structure
2479
2480 @see
2481 @return Result of the function call
2482*/
2483WDI_Status
2484WDI_ProcessTdlsChanSwitchReq
2485(
2486 WDI_ControlBlockType* pWDICtx,
2487 WDI_EventInfoType* pEventData
2488);
2489/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002490 @brief Process Enter IMPS Request function (called when
2491 Main FSM allows it)
2492
2493 @param pWDICtx: pointer to the WLAN DAL context
2494 pEventData: pointer to the event information structure
2495
2496 @see
2497 @return Result of the function call
2498*/
2499WDI_Status
2500WDI_ProcessEnterImpsReq
2501(
2502 WDI_ControlBlockType* pWDICtx,
2503 WDI_EventInfoType* pEventData
2504);
2505
2506/**
2507 @brief Process Exit IMPS Request function (called when
2508 Main FSM allows it)
2509
2510 @param pWDICtx: pointer to the WLAN DAL context
2511 pEventData: pointer to the event information structure
2512
2513 @see
2514 @return Result of the function call
2515*/
2516WDI_Status
2517WDI_ProcessExitImpsReq
2518(
2519 WDI_ControlBlockType* pWDICtx,
2520 WDI_EventInfoType* pEventData
2521);
2522
2523/**
2524 @brief Process Enter BMPS Request function (called when Main
2525 FSM allows it)
2526
2527 @param pWDICtx: pointer to the WLAN DAL context
2528 pEventData: pointer to the event information structure
2529
2530 @see
2531 @return Result of the function call
2532*/
2533WDI_Status
2534WDI_ProcessEnterBmpsReq
2535(
2536 WDI_ControlBlockType* pWDICtx,
2537 WDI_EventInfoType* pEventData
2538);
2539
2540/**
2541 @brief Process Exit BMPS Request function (called when Main FSM
2542 allows it)
2543
2544 @param pWDICtx: pointer to the WLAN DAL context
2545 pEventData: pointer to the event information structure
2546
2547 @see
2548 @return Result of the function call
2549*/
2550WDI_Status
2551WDI_ProcessExitBmpsReq
2552(
2553 WDI_ControlBlockType* pWDICtx,
2554 WDI_EventInfoType* pEventData
2555);
2556
2557/**
2558 @brief Process Enter UAPSD Request function (called when Main
2559 FSM allows it)
2560
2561 @param pWDICtx: pointer to the WLAN DAL context
2562 pEventData: pointer to the event information structure
2563
2564 @see
2565 @return Result of the function call
2566*/
2567WDI_Status
2568WDI_ProcessEnterUapsdReq
2569(
2570 WDI_ControlBlockType* pWDICtx,
2571 WDI_EventInfoType* pEventData
2572);
2573
2574/**
2575 @brief Process Exit UAPSD Request function (called when
2576 Main FSM allows it)
2577
2578 @param pWDICtx: pointer to the WLAN DAL context
2579 pEventData: pointer to the event information structure
2580
2581 @see
2582 @return Result of the function call
2583*/
2584WDI_Status
2585WDI_ProcessExitUapsdReq
2586(
2587 WDI_ControlBlockType* pWDICtx,
2588 WDI_EventInfoType* pEventData
2589);
2590
2591/**
2592 @brief Process Set UAPSD params Request function (called when
2593 Main FSM allows it)
2594
2595 @param pWDICtx: pointer to the WLAN DAL context
2596 pEventData: pointer to the event information structure
2597
2598 @see
2599 @return Result of the function call
2600*/
2601WDI_Status
2602WDI_ProcessSetUapsdAcParamsReq
2603(
2604 WDI_ControlBlockType* pWDICtx,
2605 WDI_EventInfoType* pEventData
2606);
2607
2608/**
2609 @brief Process update UAPSD params Request function (called
2610 when Main FSM allows it)
2611
2612 @param pWDICtx: pointer to the WLAN DAL context
2613 pEventData: pointer to the event information structure
2614
2615 @see
2616 @return Result of the function call
2617*/
2618WDI_Status
2619WDI_ProcessUpdateUapsdParamsReq
2620(
2621 WDI_ControlBlockType* pWDICtx,
2622 WDI_EventInfoType* pEventData
2623);
2624
2625/**
2626 @brief Process Configure RXP filter Request function (called
2627 when Main FSM allows it)
2628
2629 @param pWDICtx: pointer to the WLAN DAL context
2630 pEventData: pointer to the event information structure
2631
2632 @see
2633 @return Result of the function call
2634*/
2635WDI_Status
2636WDI_ProcessConfigureRxpFilterReq
2637(
2638 WDI_ControlBlockType* pWDICtx,
2639 WDI_EventInfoType* pEventData
2640);
2641
2642/**
2643 @brief Process set beacon filter Request function (called
2644 when Main FSM allows it)
2645
2646 @param pWDICtx: pointer to the WLAN DAL context
2647 pEventData: pointer to the event information structure
2648
2649 @see
2650 @return Result of the function call
2651*/
2652WDI_Status
2653WDI_ProcessSetBeaconFilterReq
2654(
2655 WDI_ControlBlockType* pWDICtx,
2656 WDI_EventInfoType* pEventData
2657);
2658
2659/**
2660 @brief Process remove beacon filter Request function (called
2661 when Main FSM allows it)
2662
2663 @param pWDICtx: pointer to the WLAN DAL context
2664 pEventData: pointer to the event information structure
2665
2666 @see
2667 @return Result of the function call
2668*/
2669WDI_Status
2670WDI_ProcessRemBeaconFilterReq
2671(
2672 WDI_ControlBlockType* pWDICtx,
2673 WDI_EventInfoType* pEventData
2674);
2675
2676/**
2677 @brief Process set RSSI thresholds Request function (called
2678 when Main FSM allows it)
2679
2680 @param pWDICtx: pointer to the WLAN DAL context
2681 pEventData: pointer to the event information structure
2682
2683 @see
2684 @return Result of the function call
2685*/
2686WDI_Status
2687WDI_ProcessSetRSSIThresholdsReq
2688(
2689 WDI_ControlBlockType* pWDICtx,
2690 WDI_EventInfoType* pEventData
2691);
2692
2693/**
2694 @brief Process set RSSI thresholds Request function (called
2695 when Main FSM allows it)
2696
2697 @param pWDICtx: pointer to the WLAN DAL context
2698 pEventData: pointer to the event information structure
2699
2700 @see
2701 @return Result of the function call
2702*/
2703WDI_Status
2704WDI_ProcessHostOffloadReq
2705(
2706 WDI_ControlBlockType* pWDICtx,
2707 WDI_EventInfoType* pEventData
2708);
2709
2710/**
2711 @brief Process Keep Alive Request function (called
2712 when Main FSM allows it)
2713
2714 @param pWDICtx: pointer to the WLAN DAL context
2715 pEventData: pointer to the event information structure
2716
2717 @see
2718 @return Result of the function call
2719*/
2720WDI_Status
2721WDI_ProcessKeepAliveReq
2722(
2723 WDI_ControlBlockType* pWDICtx,
2724 WDI_EventInfoType* pEventData
2725);
2726
2727
2728/**
2729 @brief Process Wowl add bc ptrn Request function (called
2730 when Main FSM allows it)
2731
2732 @param pWDICtx: pointer to the WLAN DAL context
2733 pEventData: pointer to the event information structure
2734
2735 @see
2736 @return Result of the function call
2737*/
2738WDI_Status
2739WDI_ProcessWowlAddBcPtrnReq
2740(
2741 WDI_ControlBlockType* pWDICtx,
2742 WDI_EventInfoType* pEventData
2743);
2744
2745/**
2746 @brief Process Wowl delete bc ptrn Request function (called
2747 when Main FSM allows it)
2748
2749 @param pWDICtx: pointer to the WLAN DAL context
2750 pEventData: pointer to the event information structure
2751
2752 @see
2753 @return Result of the function call
2754*/
2755WDI_Status
2756WDI_ProcessWowlDelBcPtrnReq
2757(
2758 WDI_ControlBlockType* pWDICtx,
2759 WDI_EventInfoType* pEventData
2760);
2761
2762/**
2763 @brief Process Wowl enter Request function (called
2764 when Main FSM allows it)
2765
2766 @param pWDICtx: pointer to the WLAN DAL context
2767 pEventData: pointer to the event information structure
2768
2769 @see
2770 @return Result of the function call
2771*/
2772WDI_Status
2773WDI_ProcessWowlEnterReq
2774(
2775 WDI_ControlBlockType* pWDICtx,
2776 WDI_EventInfoType* pEventData
2777);
2778
2779/**
2780 @brief Process Wowl exit Request function (called when Main FSM
2781 allows it)
2782
2783 @param pWDICtx: pointer to the WLAN DAL context
2784 pEventData: pointer to the event information structure
2785
2786 @see
2787 @return Result of the function call
2788*/
2789WDI_Status
2790WDI_ProcessWowlExitReq
2791(
2792 WDI_ControlBlockType* pWDICtx,
2793 WDI_EventInfoType* pEventData
2794);
2795
2796/**
2797 @brief Process Configure Apps Cpu Wakeup State Request function
2798 (called when Main FSM allows it)
2799
2800 @param pWDICtx: pointer to the WLAN DAL context
2801 pEventData: pointer to the event information structure
2802
2803 @see
2804 @return Result of the function call
2805*/
2806WDI_Status
2807WDI_ProcessConfigureAppsCpuWakeupStateReq
2808(
2809 WDI_ControlBlockType* pWDICtx,
2810 WDI_EventInfoType* pEventData
2811);
2812
2813/**
2814 @brief Process Flush AC Request function (called when Main FSM
2815 allows it)
2816
2817 @param pWDICtx: pointer to the WLAN DAL context
2818 pEventData: pointer to the event information structure
2819
2820 @see
2821 @return Result of the function call
2822*/
2823WDI_Status
2824WDI_ProcessFlushAcReq
2825(
2826 WDI_ControlBlockType* pWDICtx,
2827 WDI_EventInfoType* pEventData
2828);
2829
Jeff Johnsone7245742012-09-05 17:12:55 -07002830#ifdef FEATURE_OEM_DATA_SUPPORT
2831/**
2832 @brief Process Start Oem Data Request function (called when Main
2833 FSM allows it)
2834
2835 @param pWDICtx: pointer to the WLAN DAL context
2836 pEventData: pointer to the event information structure
2837
2838 @see
2839 @return Result of the function call
2840*/
2841WDI_Status
2842WDI_ProcessStartOemDataReq
2843(
2844 WDI_ControlBlockType* pWDICtx,
2845 WDI_EventInfoType* pEventData
2846);
2847#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07002848
2849/**
2850 @brief Process Host Resume Request function (called when Main
2851 FSM allows it)
2852
2853 @param pWDICtx: pointer to the WLAN DAL context
2854 pEventData: pointer to the event information structure
2855
2856 @see
2857 @return Result of the function call
2858*/
2859WDI_Status
2860WDI_ProcessHostResumeReq
2861(
2862 WDI_ControlBlockType* pWDICtx,
2863 WDI_EventInfoType* pEventData
2864);
2865
2866/**
2867 @brief Process BT AMP event Request function (called when Main
2868 FSM allows it)
2869
2870 @param pWDICtx: pointer to the WLAN DAL context
2871 pEventData: pointer to the event information structure
2872
2873 @see
2874 @return Result of the function call
2875*/
2876WDI_Status
2877WDI_ProcessBtAmpEventReq
2878(
2879 WDI_ControlBlockType* pWDICtx,
2880 WDI_EventInfoType* pEventData
2881);
2882
2883/**
2884 @brief Process Add STA self Request function (called when Main FSM
2885 allows it)
2886
2887 @param pWDICtx: pointer to the WLAN DAL context
2888 pEventData: pointer to the event information structure
2889
2890 @see
2891 @return Result of the function call
2892*/
2893WDI_Status
2894WDI_ProcessAddSTASelfReq
2895(
2896 WDI_ControlBlockType* pWDICtx,
2897 WDI_EventInfoType* pEventData
2898);
2899
2900/**
2901 @brief Process Del Sta Self Request function (called when Main
2902 FSM allows it)
2903
2904 @param pWDICtx: pointer to the WLAN DAL context
2905 pEventData: pointer to the event information structure
2906
2907 @see
2908 @return Result of the function call
2909*/
2910WDI_Status
2911WDI_ProcessDelSTASelfReq
2912(
2913 WDI_ControlBlockType* pWDICtx,
2914 WDI_EventInfoType* pEventData
2915);
2916
2917/**
2918 @brief Process set Tx Per Tracking configurations Request function (called
2919 when Main FSM allows it)
2920
2921 @param pWDICtx: pointer to the WLAN DAL context
2922 pEventData: pointer to the event information structure
2923
2924 @see
2925 @return Result of the function call
2926*/
2927WDI_Status
2928WDI_ProcessSetTxPerTrackingReq
2929(
2930 WDI_ControlBlockType* pWDICtx,
2931 WDI_EventInfoType* pEventData
2932);
2933
2934/**
2935 @brief Process Set Power Params Request function
2936
2937 @param pWDICtx: pointer to the WLAN DAL context
2938 pEventData: pointer to the event information structure
2939
2940 @see
2941 @return Result of the function call
2942*/
2943WDI_Status
2944WDI_ProcessSetPowerParamsReq
2945(
2946 WDI_ControlBlockType* pWDICtx,
2947 WDI_EventInfoType* pEventData
2948);
2949
2950/**
2951 @brief Process Set Thermal Mitigation level Changed request
2952
2953 @param pWDICtx: pointer to the WLAN DAL context
2954 pEventData: pointer to the event information structure
2955
2956 @see
2957 @return Result of the function call
2958*/
2959WDI_Status
2960WDI_ProcessSetTmLevelReq
2961(
2962 WDI_ControlBlockType* pWDICtx,
2963 WDI_EventInfoType* pEventData
2964);
2965
Leo Chang9056f462013-08-01 19:21:11 -07002966#ifdef FEATURE_WLAN_LPHB
2967/**
2968 @brief WDI_ProcessLPHBConfReq -
2969 LPHB configuration request to FW
2970
2971 @param pWDICtx : wdi context
2972 pEventData : indication data
2973
2974 @see
2975 @return esult of the function call
2976*/
2977WDI_Status WDI_ProcessLPHBConfReq
2978(
2979 WDI_ControlBlockType* pWDICtx,
2980 WDI_EventInfoType* pEventData
2981);
2982#endif /* FEATURE_WLAN_LPHB */
2983
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08002984/**
2985 @brief WDI_ProcessUpdateChannelParamsReq -
2986 Send update channel request to FW
2987
2988 @param pWDICtx : wdi context
2989 pEventData : indication data
2990
2991 @see
2992 @return success or failure
2993*/
2994WDI_Status WDI_ProcessUpdateChannelParamsReq
2995(
2996 WDI_ControlBlockType* pWDICtx,
2997 WDI_EventInfoType* pEventData
2998);
2999
Rajeev79dbe4c2013-10-05 11:03:42 +05303000#ifdef FEATURE_WLAN_BATCH_SCAN
3001/**
3002 @brief WDI_ProcessSetBatchScanReq -
3003 Send set batch scan configuration request to FW
3004
3005 @param pWDICtx : wdi context
3006 pEventData : indication data
3007
3008 @see
3009 @return success or failure
3010*/
3011WDI_Status WDI_ProcessSetBatchScanReq
3012(
3013 WDI_ControlBlockType* pWDICtx,
3014 WDI_EventInfoType* pEventData
3015);
3016
3017/**
3018 @brief WDI_ProcessGetBatchScanReq -
3019 Send get batch scan request to FW
3020
3021 @param pWDICtx : wdi context
3022 pEventData : indication data
3023
3024 @see
3025 @return success or failure
3026*/
3027WDI_Status WDI_ProcessGetBatchScanReq
3028(
3029 WDI_ControlBlockType* pWDICtx,
3030 WDI_EventInfoType* pEventData
3031);
3032#endif /* FEATURE_WLAN_BATCH_SCAN */
3033
3034
Jeff Johnson295189b2012-06-20 16:38:30 -07003035/*=========================================================================
3036 Indications
3037=========================================================================*/
3038
3039/**
3040 @brief Process Suspend Indications function (called when Main FSM allows it)
3041
3042 @param pWDICtx: pointer to the WLAN DAL context
3043 pEventData: pointer to the event information structure
3044
3045 @see
3046 @return Result of the function call
3047*/
3048WDI_Status
3049WDI_ProcessHostSuspendInd
3050(
3051 WDI_ControlBlockType* pWDICtx,
3052 WDI_EventInfoType* pEventData
3053);
3054
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +05303055/**
3056 @brief DHCP Start Event Indication
3057
3058 @param pWDICtx: pointer to the WLAN DAL context
3059 pEventData: pointer to the event information structure
3060
3061 @see
3062 @return Result of the function call
3063*/
3064WDI_Status
3065WDI_ProcessDHCPStartInd
3066(
3067 WDI_ControlBlockType* pWDICtx,
3068 WDI_EventInfoType* pEventData
3069);
3070
3071/**
3072 @brief DHCP Stop Event Indication
3073
3074 @param pWDICtx: pointer to the WLAN DAL context
3075 pEventData: pointer to the event information structure
3076
3077 @see
3078 @return Result of the function call
3079*/
3080WDI_Status
3081WDI_ProcessDHCPStopInd
3082(
3083 WDI_ControlBlockType* pWDICtx,
3084 WDI_EventInfoType* pEventData
3085);
3086
Jeff Johnson295189b2012-06-20 16:38:30 -07003087
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -08003088/**
3089 @brief Process Traffic Stats Indications function (called when Main FSM allows it)
3090
3091 @param pWDICtx: pointer to the WLAN DAL context
3092 pEventData: pointer to the event information structure
3093
3094 @see
3095 @return Result of the function call
3096*/
3097WDI_Status
3098WDI_ProcessTrafficStatsInd
3099(
3100 WDI_ControlBlockType* pWDICtx,
3101 WDI_EventInfoType* pEventData
3102);
Chet Lanctot186b5732013-03-18 10:26:30 -07003103
3104#ifdef WLAN_FEATURE_11W
3105/**
3106 @brief Process Exclude Unencrypted Indications function (called
3107 when Main FSM allows it)
3108
3109 @param pWDICtx: pointer to the WLAN DAL context
3110 pEventData: pointer to the event information structure
3111
3112 @see
3113 @return Result of the function call
3114*/
3115WDI_Status
3116WDI_ProcessExcludeUnencryptInd
3117(
3118 WDI_ControlBlockType* pWDICtx,
3119 WDI_EventInfoType* pEventData
3120);
3121#endif
3122
Yue Mab9c86f42013-08-14 15:59:08 -07003123/**
3124 @brief Process Add Periodic Tx Pattern Indication function (called when
3125 Main FSM allows it)
3126
3127 @param pWDICtx: pointer to the WLAN DAL context
3128 pEventData: pointer to the event information structure
3129
3130 @see
3131 @return Result of the function call
3132*/
3133WDI_Status
3134WDI_ProcessAddPeriodicTxPtrnInd
3135(
3136 WDI_ControlBlockType* pWDICtx,
3137 WDI_EventInfoType* pEventData
3138);
3139
3140/**
3141 @brief Process Delete Periodic Tx Pattern Indication function (called when
3142 Main FSM allows it)
3143
3144 @param pWDICtx: pointer to the WLAN DAL context
3145 pEventData: pointer to the event information structure
3146
3147 @see
3148 @return Result of the function call
3149*/
3150WDI_Status
3151WDI_ProcessDelPeriodicTxPtrnInd
3152(
3153 WDI_ControlBlockType* pWDICtx,
3154 WDI_EventInfoType* pEventData
3155);
3156
Rajeev79dbe4c2013-10-05 11:03:42 +05303157#ifdef FEATURE_WLAN_BATCH_SCAN
3158/**
3159 @brief Process stop batch scan indications function
3160 It is called when Main FSM allows it
3161
3162 @param pWDICtx: pointer to the WLAN DAL context
3163 pEventData: pointer to the event information structure
3164
3165 @see
3166 @return Result of the function call
3167 */
3168 WDI_Status
3169 WDI_ProcessStopBatchScanInd
3170 (
3171 WDI_ControlBlockType* pWDICtx,
3172 WDI_EventInfoType* pEventData
3173 );
3174
3175/**
3176 @brief This API is called to trigger batch scan results from FW
3177 It is called when Main FSM allows it
3178
3179 @param pWDICtx: pointer to the WLAN DAL context
3180 pEventData: pointer to the event information structure
3181
3182 @see
3183 @return Result of the function call
3184 */
3185 WDI_Status
3186 WDI_ProcessTriggerBatchScanResultInd
3187 (
3188 WDI_ControlBlockType* pWDICtx,
3189 WDI_EventInfoType* pEventData
3190 );
3191
3192#endif
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +05303193/**
3194 @brief Process start OBSS scan request from Host
3195
3196 @param pWDICtx: pointer to the WLAN DAL context
3197 pEventData: pointer to the event information structure
3198
3199 @see
3200 @return Result of the function call
3201*/
3202WDI_Status
3203WDI_ProcessHT40OBSSScanInd(
3204 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
3205
3206
3207/**
3208 @brief Process stop OBSS scan request from Host
3209
3210 @param pWDICtx: pointer to the WLAN DAL context
3211 pEventData: pointer to the event information structure
3212
3213 @see
3214 @return Result of the function call
3215*/
3216WDI_Status
3217WDI_ProcessHT40OBSSStopScanInd(
3218 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
Rajeev79dbe4c2013-10-05 11:03:42 +05303219
Jeff Johnson295189b2012-06-20 16:38:30 -07003220/*========================================================================
3221 Main DAL Control Path Response Processing API
3222========================================================================*/
3223
3224
3225/**
3226 @brief Process Start Response function (called when a response
3227 is being received over the bus from HAL)
3228
3229 @param pWDICtx: pointer to the WLAN DAL context
3230 pEventData: pointer to the event information structure
3231
3232 @see
3233 @return Result of the function call
3234*/
3235WDI_Status
3236WDI_ProcessStartRsp
3237(
3238 WDI_ControlBlockType* pWDICtx,
3239 WDI_EventInfoType* pEventData
3240);
3241
3242
3243/**
3244 @brief Process Stop Response function (called when a response
3245 is being received over the bus from HAL)
3246
3247 @param pWDICtx: pointer to the WLAN DAL context
3248 pEventData: pointer to the event information structure
3249
3250 @see
3251 @return Result of the function call
3252*/
3253WDI_Status
3254WDI_ProcessStopRsp
3255(
3256 WDI_ControlBlockType* pWDICtx,
3257 WDI_EventInfoType* pEventData
3258);
3259
3260
3261/**
3262 @brief Process Close Rsp function (called when a response
3263 is being received over the bus from HAL)
3264
3265 @param pWDICtx: pointer to the WLAN DAL context
3266 pEventData: pointer to the event information structure
3267
3268 @see
3269 @return Result of the function call
3270*/
3271WDI_Status
3272WDI_ProcessCloseRsp
3273(
3274 WDI_ControlBlockType* pWDICtx,
3275 WDI_EventInfoType* pEventData
3276);
3277
3278/**
3279 @brief Process Shutdown Rsp function
3280 There is no shutdown response comming from HAL
3281 - function just kept for simmetry
3282
3283 @param pWDICtx: pointer to the WLAN DAL context
3284 pEventData: pointer to the event information structure
3285
3286 @see
3287 @return Result of the function call
3288*/
3289WDI_Status
3290WDI_ProcessShutdownRsp
3291(
3292 WDI_ControlBlockType* pWDICtx,
3293 WDI_EventInfoType* pEventData
3294);
3295
3296/**
3297 @brief Process Init Scan Rsp function (called when a response
3298 is being received over the bus from HAL)
3299
3300 @param pWDICtx: pointer to the WLAN DAL context
3301 pEventData: pointer to the event information structure
3302
3303 @see
3304 @return Result of the function call
3305*/
3306WDI_Status
3307WDI_ProcessInitScanRsp
3308(
3309 WDI_ControlBlockType* pWDICtx,
3310 WDI_EventInfoType* pEventData
3311);
3312
3313
3314/**
3315 @brief Process Start Scan Rsp function (called when a response
3316 is being received over the bus from HAL)
3317
3318 @param pWDICtx: pointer to the WLAN DAL context
3319 pEventData: pointer to the event information structure
3320
3321 @see
3322 @return Result of the function call
3323*/
3324WDI_Status
3325WDI_ProcessStartScanRsp
3326(
3327 WDI_ControlBlockType* pWDICtx,
3328 WDI_EventInfoType* pEventData
3329);
3330
3331
3332/**
3333 @brief Process End Scan Response function (called when a
3334 response is being received over the bus from HAL)
3335
3336 @param pWDICtx: pointer to the WLAN DAL context
3337 pEventData: pointer to the event information structure
3338
3339 @see
3340 @return Result of the function call
3341*/
3342WDI_Status
3343WDI_ProcessEndScanRsp
3344(
3345 WDI_ControlBlockType* pWDICtx,
3346 WDI_EventInfoType* pEventData
3347);
3348
3349
3350/**
3351 @brief Process Finish Scan Response function (called when a
3352 response is being received over the bus from HAL)
3353
3354 @param pWDICtx: pointer to the WLAN DAL context
3355 pEventData: pointer to the event information structure
3356
3357 @see
3358 @return Result of the function call
3359*/
3360WDI_Status
3361WDI_ProcessFinishScanRsp
3362(
3363 WDI_ControlBlockType* pWDICtx,
3364 WDI_EventInfoType* pEventData
3365);
3366
3367
3368/**
3369 @brief Process Join Response function (called when a response
3370 is being received over the bus from HAL)
3371
3372 @param pWDICtx: pointer to the WLAN DAL context
3373 pEventData: pointer to the event information structure
3374
3375 @see
3376 @return Result of the function call
3377*/
3378WDI_Status
3379WDI_ProcessJoinRsp
3380(
3381 WDI_ControlBlockType* pWDICtx,
3382 WDI_EventInfoType* pEventData
3383);
3384
3385
3386/**
3387 @brief Process Config BSS Response function (called when a
3388 response is being received over the bus from HAL)
3389
3390 @param pWDICtx: pointer to the WLAN DAL context
3391 pEventData: pointer to the event information structure
3392
3393 @see
3394 @return Result of the function call
3395*/
3396WDI_Status
3397WDI_ProcessConfigBSSRsp
3398(
3399 WDI_ControlBlockType* pWDICtx,
3400 WDI_EventInfoType* pEventData
3401);
3402
3403
3404/**
3405 @brief Process Del BSS Response function (called when a response
3406 is being received over the bus from HAL)
3407
3408 @param pWDICtx: pointer to the WLAN DAL context
3409 pEventData: pointer to the event information structure
3410
3411 @see
3412 @return Result of the function call
3413*/
3414WDI_Status
3415WDI_ProcessDelBSSRsp
3416(
3417 WDI_ControlBlockType* pWDICtx,
3418 WDI_EventInfoType* pEventData
3419);
3420
3421/**
3422 @brief Process Post Assoc Rsp function (called when a response
3423 is being received over the bus from HAL)
3424
3425 @param pWDICtx: pointer to the WLAN DAL context
3426 pEventData: pointer to the event information structure
3427
3428 @see
3429 @return Result of the function call
3430*/
3431WDI_Status
3432WDI_ProcessPostAssocRsp
3433(
3434 WDI_ControlBlockType* pWDICtx,
3435 WDI_EventInfoType* pEventData
3436);
3437
3438/**
3439 @brief Process Del STA Key Rsp function (called when a response
3440 is being received over the bus from HAL)
3441
3442 @param pWDICtx: pointer to the WLAN DAL context
3443 pEventData: pointer to the event information structure
3444
3445 @see
3446 @return Result of the function call
3447*/
3448WDI_Status
3449WDI_ProcessDelSTARsp
3450(
3451 WDI_ControlBlockType* pWDICtx,
3452 WDI_EventInfoType* pEventData
3453);
3454
3455/**
3456 @brief Process Set BSS Key Rsp function (called when a response
3457 is being received over the bus from HAL)
3458
3459 @param pWDICtx: pointer to the WLAN DAL context
3460 pEventData: pointer to the event information structure
3461
3462 @see
3463 @return Result of the function call
3464*/
3465WDI_Status
3466WDI_ProcessSetBssKeyRsp
3467(
3468 WDI_ControlBlockType* pWDICtx,
3469 WDI_EventInfoType* pEventData
3470);
3471
3472/**
3473 @brief Process Remove BSS Key Rsp function (called when a response
3474 is being received over the bus from HAL)
3475
3476 @param pWDICtx: pointer to the WLAN DAL context
3477 pEventData: pointer to the event information structure
3478
3479 @see
3480 @return Result of the function call
3481*/
3482WDI_Status
3483WDI_ProcessRemoveBssKeyRsp
3484(
3485 WDI_ControlBlockType* pWDICtx,
3486 WDI_EventInfoType* pEventData
3487);
3488
3489
3490/**
3491 @brief Process Set STA Key Rsp function (called when a response
3492 is being received over the bus from HAL)
3493
3494 @param pWDICtx: pointer to the WLAN DAL context
3495 pEventData: pointer to the event information structure
3496
3497 @see
3498 @return Result of the function call
3499*/
3500WDI_Status
3501WDI_ProcessSetStaKeyRsp
3502(
3503 WDI_ControlBlockType* pWDICtx,
3504 WDI_EventInfoType* pEventData
3505);
3506
3507/**
3508 @brief Process Remove STA Key Rsp function (called when a
3509 response is being received over the bus from HAL)
3510
3511 @param pWDICtx: pointer to the WLAN DAL context
3512 pEventData: pointer to the event information structure
3513
3514 @see
3515 @return Result of the function call
3516*/
3517WDI_Status
3518WDI_ProcessRemoveStaKeyRsp
3519(
3520 WDI_ControlBlockType* pWDICtx,
3521 WDI_EventInfoType* pEventData
3522);
3523
3524
3525/**
3526 @brief Process Set STA Bcast Key Rsp function (called when a
3527 response is being received over the bus from HAL)
3528
3529 @param pWDICtx: pointer to the WLAN DAL context
3530 pEventData: pointer to the event information structure
3531
3532 @see
3533 @return Result of the function call
3534*/
3535WDI_Status
3536WDI_ProcessSetStaBcastKeyRsp
3537(
3538 WDI_ControlBlockType* pWDICtx,
3539 WDI_EventInfoType* pEventData
3540);
3541
3542/**
3543 @brief Process Remove STA Bcast Key Rsp function (called when a
3544 response is being received over the bus from HAL)
3545
3546 @param pWDICtx: pointer to the WLAN DAL context
3547 pEventData: pointer to the event information structure
3548
3549 @see
3550 @return Result of the function call
3551*/
3552WDI_Status
3553WDI_ProcessRemoveStaBcastKeyRsp
3554(
3555 WDI_ControlBlockType* pWDICtx,
3556 WDI_EventInfoType* pEventData
3557);
3558
3559/**
3560 @brief Process Add TSpec Rsp function (called when a response
3561 is being received over the bus from HAL)
3562
3563 @param pWDICtx: pointer to the WLAN DAL context
3564 pEventData: pointer to the event information structure
3565
3566 @see
3567 @return Result of the function call
3568*/
3569WDI_Status
3570WDI_ProcessAddTSpecRsp
3571(
3572 WDI_ControlBlockType* pWDICtx,
3573 WDI_EventInfoType* pEventData
3574);
3575
3576
3577/**
3578 @brief Process Del TSpec Rsp function (called when a response
3579 is being received over the bus from HAL)
3580
3581 @param pWDICtx: pointer to the WLAN DAL context
3582 pEventData: pointer to the event information structure
3583
3584 @see
3585 @return Result of the function call
3586*/
3587WDI_Status
3588WDI_ProcessDelTSpecRsp
3589(
3590 WDI_ControlBlockType* pWDICtx,
3591 WDI_EventInfoType* pEventData
3592);
3593
3594/**
3595 @brief Process Update EDCA Parameters Rsp function (called when a
3596 response is being received over the bus from HAL)
3597
3598 @param pWDICtx: pointer to the WLAN DAL context
3599 pEventData: pointer to the event information structure
3600
3601 @see
3602 @return Result of the function call
3603*/
3604WDI_Status
3605WDI_ProcessUpdateEDCAParamsRsp
3606(
3607 WDI_ControlBlockType* pWDICtx,
3608 WDI_EventInfoType* pEventData
3609);
3610
3611
3612/**
3613 @brief Process Add BA Rsp function (called when a response
3614 is being received over the bus from HAL)
3615
3616 @param pWDICtx: pointer to the WLAN DAL context
3617 pEventData: pointer to the event information structure
3618
3619 @see
3620 @return Result of the function call
3621*/
3622WDI_Status
3623WDI_ProcessAddBASessionRsp
3624(
3625 WDI_ControlBlockType* pWDICtx,
3626 WDI_EventInfoType* pEventData
3627);
3628
3629
3630/**
3631 @brief Process Del BA Rsp function (called when a response
3632 is being received over the bus from HAL)
3633
3634 @param pWDICtx: pointer to the WLAN DAL context
3635 pEventData: pointer to the event information structure
3636
3637 @see
3638 @return Result of the function call
3639*/
3640WDI_Status
3641WDI_ProcessDelBARsp
3642(
3643 WDI_ControlBlockType* pWDICtx,
3644 WDI_EventInfoType* pEventData
3645);
3646
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08003647#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07003648/**
3649 @brief Process TSM stats Rsp function (called when a response
3650 is being received over the bus from HAL)
3651
3652 @param pWDICtx: pointer to the WLAN DAL context
3653 pEventData: pointer to the event information structure
3654
3655 @see
3656 @return Result of the function call
3657*/
3658WDI_Status
3659WDI_ProcessTsmStatsRsp
3660(
3661 WDI_ControlBlockType* pWDICtx,
3662 WDI_EventInfoType* pEventData
3663);
3664
3665#endif
3666
3667
3668/**
3669 @brief Process Channel Switch Rsp function (called when a response
3670 is being received over the bus from HAL)
3671
3672 @param pWDICtx: pointer to the WLAN DAL context
3673 pEventData: pointer to the event information structure
3674
3675 @see
3676 @return Result of the function call
3677*/
3678WDI_Status
3679WDI_ProcessChannelSwitchRsp
3680(
3681 WDI_ControlBlockType* pWDICtx,
3682 WDI_EventInfoType* pEventData
3683);
3684
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08003685/**
3686 @brief Process Channel Switch Rsp function (called when a response
3687 is being received over the bus from HAL)
3688
3689 @param pWDICtx: pointer to the WLAN DAL context
3690 pEventData: pointer to the event information structure
3691
3692 @see
3693 @return Result of the function call
3694*/
3695WDI_Status
3696WDI_ProcessChannelSwitchRsp_V1
3697(
3698 WDI_ControlBlockType* pWDICtx,
3699 WDI_EventInfoType* pEventData
3700);
Jeff Johnson295189b2012-06-20 16:38:30 -07003701
3702/**
3703 @brief Process Config STA Rsp function (called when a response
3704 is being received over the bus from HAL)
3705
3706 @param pWDICtx: pointer to the WLAN DAL context
3707 pEventData: pointer to the event information structure
3708
3709 @see
3710 @return Result of the function call
3711*/
3712WDI_Status
3713WDI_ProcessConfigStaRsp
3714(
3715 WDI_ControlBlockType* pWDICtx,
3716 WDI_EventInfoType* pEventData
3717);
3718
3719
3720/**
3721 @brief Process Set Link State Rsp function (called when a
3722 response is being received over the bus from HAL)
3723
3724 @param pWDICtx: pointer to the WLAN DAL context
3725 pEventData: pointer to the event information structure
3726
3727 @see
3728 @return Result of the function call
3729*/
3730WDI_Status
3731WDI_ProcessSetLinkStateRsp
3732(
3733 WDI_ControlBlockType* pWDICtx,
3734 WDI_EventInfoType* pEventData
3735);
3736
3737/**
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08003738 @brief Process Update Channel Rsp function (called when a response is
3739 being received over the bus from HAL)
3740
3741 @param pWDICtx: pointer to the WLAN DAL context
3742 pEventData: pointer to the event information structure
3743
3744 @see
3745 @return Result of the function call
3746*/
3747WDI_Status
3748WDI_ProcessUpdateChanRsp
3749(
3750 WDI_ControlBlockType* pWDICtx,
3751 WDI_EventInfoType* pEventData
3752);
3753
3754/**
Jeff Johnson295189b2012-06-20 16:38:30 -07003755 @brief Process Get Stats Rsp function (called when a response is
3756 being received over the bus from HAL)
3757
3758 @param pWDICtx: pointer to the WLAN DAL context
3759 pEventData: pointer to the event information structure
3760
3761 @see
3762 @return Result of the function call
3763*/
3764WDI_Status
3765WDI_ProcessGetStatsRsp
3766(
3767 WDI_ControlBlockType* pWDICtx,
3768 WDI_EventInfoType* pEventData
3769);
3770
3771
3772/**
3773 @brief Process Update Cfg Rsp function (called when a response is
3774 being received over the bus from HAL)
3775
3776 @param pWDICtx: pointer to the WLAN DAL context
3777 pEventData: pointer to the event information structure
3778
3779 @see
3780 @return Result of the function call
3781*/
3782WDI_Status
3783WDI_ProcessUpdateCfgRsp
3784(
3785 WDI_ControlBlockType* pWDICtx,
3786 WDI_EventInfoType* pEventData
3787);
3788
3789/**
3790 @brief Process Add BA Rsp function (called when a response
3791 is being received over the bus from HAL)
3792
3793 @param pWDICtx: pointer to the WLAN DAL context
3794 pEventData: pointer to the event information structure
3795
3796 @see
3797 @return Result of the function call
3798*/
3799WDI_Status
3800WDI_ProcessAddBARsp
3801(
3802 WDI_ControlBlockType* pWDICtx,
3803 WDI_EventInfoType* pEventData
3804);
3805
3806/**
3807 @brief Process Add BA Rsp function (called when a response
3808 is being received over the bus from HAL)
3809
3810 @param pWDICtx: pointer to the WLAN DAL context
3811 pEventData: pointer to the event information structure
3812
3813 @see
3814 @return Result of the function call
3815*/
3816WDI_Status
3817WDI_ProcessTriggerBARsp
3818(
3819 WDI_ControlBlockType* pWDICtx,
3820 WDI_EventInfoType* pEventData
3821);
3822
3823/**
3824 @brief Process Update Beacon Params Rsp function (called when a response is
3825 being received over the bus from HAL)
3826
3827 @param pWDICtx: pointer to the WLAN DAL context
3828 pEventData: pointer to the event information structure
3829
3830 @see
3831 @return Result of the function call
3832*/
3833WDI_Status
3834WDI_ProcessUpdateBeaconParamsRsp
3835(
3836 WDI_ControlBlockType* pWDICtx,
3837 WDI_EventInfoType* pEventData
3838);
3839
3840/**
3841 @brief Process Send Beacon template Rsp function (called when a response is
3842 being received over the bus from HAL)
3843
3844 @param pWDICtx: pointer to the WLAN DAL context
3845 pEventData: pointer to the event information structure
3846
3847 @see
3848 @return Result of the function call
3849*/
3850WDI_Status
3851WDI_ProcessSendBeaconParamsRsp
3852(
3853 WDI_ControlBlockType* pWDICtx,
3854 WDI_EventInfoType* pEventData
3855);
3856
3857/**
3858 @brief Process Update Probe Resp Template Rsp function (called
3859 when a response is being received over the bus from HAL)
3860
3861 @param pWDICtx: pointer to the WLAN DAL context
3862 pEventData: pointer to the event information structure
3863
3864 @see
3865 @return Result of the function call
3866*/
3867WDI_Status
3868WDI_ProcessUpdateProbeRspTemplateRsp
3869(
3870 WDI_ControlBlockType* pWDICtx,
3871 WDI_EventInfoType* pEventData
3872);
3873 /**
3874 @brief Process Set Max Tx Power Rsp function (called when a response
3875 is being received over the bus from HAL)
3876
3877 @param pWDICtx: pointer to the WLAN DAL context
3878 pEventData: pointer to the event information structure
3879
3880 @see
3881 @return Result of the function call
3882*/
3883WDI_Status
3884WDI_ProcessSetMaxTxPowerRsp
3885(
3886 WDI_ControlBlockType* pWDICtx,
3887 WDI_EventInfoType* pEventData
3888);
3889
Arif Hussain935a8fb2014-01-31 12:12:28 -08003890/**
3891 @brief Process Set Max Tx Power Per Band Rsp function (called when a response
3892 is being received over the bus from HAL)
3893
3894 @param pWDICtx: pointer to the WLAN DAL context
3895 pEventData: pointer to the event information structure
3896
3897 @see
3898 @return Result of the function call
3899*/
3900WDI_Status
3901WDI_ProcessSetMaxTxPowerPerBandRsp
3902(
3903 WDI_ControlBlockType* pWDICtx,
3904 WDI_EventInfoType* pEventData
3905);
3906
schang86c22c42013-03-13 18:41:24 -07003907 /**
3908 @brief Process Set Tx Power Rsp function (called when a response
3909 is being received over the bus from HAL)
3910
3911 @param pWDICtx: pointer to the WLAN DAL context
3912 pEventData: pointer to the event information structure
3913
3914 @see
3915 @return Result of the function call
3916*/
3917WDI_Status
3918WDI_ProcessSetTxPowerRsp
3919(
3920 WDI_ControlBlockType* pWDICtx,
3921 WDI_EventInfoType* pEventData
3922);
3923
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05303924 /**
3925 @brief Process TDLS Link Establish Req Rsp function (called when a response
3926 is being received over the bus from HAL)
3927
3928 @param pWDICtx: pointer to the WLAN DAL context
3929 pEventData: pointer to the event information structure
3930
3931 @see
3932 @return Result of the function call
3933*/
3934WDI_Status
3935WDI_ProcessLinkEstablishReqRsp
3936(
3937 WDI_ControlBlockType* pWDICtx,
3938 WDI_EventInfoType* pEventData
3939);
3940
Atul Mittalc0f739f2014-07-31 13:47:47 +05303941
3942 /**
3943 @brief Process TDLS Chan Switch Req Rsp function (called when a response
3944 is being received over the bus from HAL)
3945
3946 @param pWDICtx: pointer to the WLAN DAL context
3947 pEventData: pointer to the event information structure
3948
3949 @see
3950 @return Result of the function call
3951*/
3952WDI_Status
3953WDI_ProcessChanSwitchReqRsp
3954(
3955 WDI_ControlBlockType* pWDICtx,
3956 WDI_EventInfoType* pEventData
3957);
3958
Jeff Johnson295189b2012-06-20 16:38:30 -07003959/**
3960 @brief Process Nv download(called when a response
3961 is being received over the bus from HAL)
3962
3963 @param pWDICtx: pointer to the WLAN DAL context
3964 pEventData: pointer to the event information structure
3965
3966 @see
3967 @return Result of the function call
3968*/
3969WDI_Status
3970WDI_ProcessNvDownloadRsp
3971(
3972 WDI_ControlBlockType* pWDICtx,
3973 WDI_EventInfoType* pEventData
3974);
3975
Jeff Johnson295189b2012-06-20 16:38:30 -07003976/**
3977 @brief Process P2P Group Owner Notice Of Absense Rsp function (called
3978 when a response is being received over the bus from HAL)
3979
3980 @param pWDICtx: pointer to the WLAN DAL context
3981 pEventData: pointer to the event information structure
3982
3983 @see
3984 @return Result of the function call
3985*/
3986WDI_Status
3987WDI_ProcessP2PGONOARsp
3988(
3989 WDI_ControlBlockType* pWDICtx,
3990 WDI_EventInfoType* pEventData
3991);
Jeff Johnson295189b2012-06-20 16:38:30 -07003992
3993/**
3994 @brief Process Enter IMPS Rsp function (called when a response
3995 is being received over the bus from HAL)
3996
3997 @param pWDICtx: pointer to the WLAN DAL context
3998 pEventData: pointer to the event information structure
3999
4000 @see
4001 @return Result of the function call
4002*/
4003WDI_Status
4004WDI_ProcessEnterImpsRsp
4005(
4006 WDI_ControlBlockType* pWDICtx,
4007 WDI_EventInfoType* pEventData
4008);
4009
4010/**
4011 @brief Process Exit IMPS Rsp function (called when a response
4012 is being received over the bus from HAL)
4013
4014 @param pWDICtx: pointer to the WLAN DAL context
4015 pEventData: pointer to the event information structure
4016
4017 @see
4018 @return Result of the function call
4019*/
4020WDI_Status
4021WDI_ProcessExitImpsRsp
4022(
4023 WDI_ControlBlockType* pWDICtx,
4024 WDI_EventInfoType* pEventData
4025);
4026
4027/**
4028 @brief Process Enter BMPS Rsp function (called when a response
4029 is being received over the bus from HAL)
4030
4031 @param pWDICtx: pointer to the WLAN DAL context
4032 pEventData: pointer to the event information structure
4033
4034 @see
4035 @return Result of the function call
4036*/
4037WDI_Status
4038WDI_ProcessEnterBmpsRsp
4039(
4040 WDI_ControlBlockType* pWDICtx,
4041 WDI_EventInfoType* pEventData
4042);
4043
4044/**
4045 @brief Process Exit BMPS Rsp function (called when a response
4046 is being received over the bus from HAL)
4047
4048 @param pWDICtx: pointer to the WLAN DAL context
4049 pEventData: pointer to the event information structure
4050
4051 @see
4052 @return Result of the function call
4053*/
4054WDI_Status
4055WDI_ProcessExitBmpsRsp
4056(
4057 WDI_ControlBlockType* pWDICtx,
4058 WDI_EventInfoType* pEventData
4059);
4060
4061/**
4062 @brief Process Enter UAPSD Rsp function (called when a response
4063 is being received over the bus from HAL)
4064
4065 @param pWDICtx: pointer to the WLAN DAL context
4066 pEventData: pointer to the event information structure
4067
4068 @see
4069 @return Result of the function call
4070*/
4071WDI_Status
4072WDI_ProcessEnterUapsdRsp
4073(
4074 WDI_ControlBlockType* pWDICtx,
4075 WDI_EventInfoType* pEventData
4076);
4077
4078/**
4079 @brief Process Exit UAPSD Rsp function (called when a response
4080 is being received over the bus from HAL)
4081
4082 @param pWDICtx: pointer to the WLAN DAL context
4083 pEventData: pointer to the event information structure
4084
4085 @see
4086 @return Result of the function call
4087*/
4088WDI_Status
4089WDI_ProcessExitUapsdRsp
4090(
4091 WDI_ControlBlockType* pWDICtx,
4092 WDI_EventInfoType* pEventData
4093);
4094
4095/**
4096 @brief Process set UAPSD params Rsp function (called when a
4097 response is being received over the bus from HAL)
4098
4099 @param pWDICtx: pointer to the WLAN DAL context
4100 pEventData: pointer to the event information structure
4101
4102 @see
4103 @return Result of the function call
4104*/
4105WDI_Status
4106WDI_ProcessSetUapsdAcParamsRsp
4107(
4108 WDI_ControlBlockType* pWDICtx,
4109 WDI_EventInfoType* pEventData
4110);
4111
4112/**
4113 @brief Process update UAPSD params Rsp function (called when a
4114 response is being received over the bus from HAL)
4115
4116 @param pWDICtx: pointer to the WLAN DAL context
4117 pEventData: pointer to the event information structure
4118
4119 @see
4120 @return Result of the function call
4121*/
4122WDI_Status
4123WDI_ProcessUpdateUapsdParamsRsp
4124(
4125 WDI_ControlBlockType* pWDICtx,
4126 WDI_EventInfoType* pEventData
4127);
4128
4129/**
4130 @brief Process Configure RXP filter Rsp function (called when a
4131 response is being received over the bus from HAL)
4132
4133 @param pWDICtx: pointer to the WLAN DAL context
4134 pEventData: pointer to the event information structure
4135
4136 @see
4137 @return Result of the function call
4138*/
4139WDI_Status
4140WDI_ProcessConfigureRxpFilterRsp
4141(
4142 WDI_ControlBlockType* pWDICtx,
4143 WDI_EventInfoType* pEventData
4144);
4145
4146/**
4147 @brief Process Set beacon filter Rsp function (called when a
4148 response is being received over the bus from HAL)
4149
4150 @param pWDICtx: pointer to the WLAN DAL context
4151 pEventData: pointer to the event information structure
4152
4153 @see
4154 @return Result of the function call
4155*/
4156WDI_Status
4157WDI_ProcessSetBeaconFilterRsp
4158(
4159 WDI_ControlBlockType* pWDICtx,
4160 WDI_EventInfoType* pEventData
4161);
4162
4163/**
4164 @brief Process remove beacon filter Rsp function (called when a
4165 response is being received over the bus from HAL)
4166
4167 @param pWDICtx: pointer to the WLAN DAL context
4168 pEventData: pointer to the event information structure
4169
4170 @see
4171 @return Result of the function call
4172*/
4173WDI_Status
4174WDI_ProcessRemBeaconFilterRsp
4175(
4176 WDI_ControlBlockType* pWDICtx,
4177 WDI_EventInfoType* pEventData
4178);
4179
4180/**
4181 @brief Process set RSSI thresholds Rsp function (called when a
4182 response is being received over the bus from HAL)
4183
4184 @param pWDICtx: pointer to the WLAN DAL context
4185 pEventData: pointer to the event information structure
4186
4187 @see
4188 @return Result of the function call
4189*/
4190WDI_Status
4191WDI_ProcessSetRSSIThresoldsRsp
4192(
4193 WDI_ControlBlockType* pWDICtx,
4194 WDI_EventInfoType* pEventData
4195);
4196
4197/**
4198 @brief Process host offload Rsp function (called when a
4199 response is being received over the bus from HAL)
4200
4201 @param pWDICtx: pointer to the WLAN DAL context
4202 pEventData: pointer to the event information structure
4203
4204 @see
4205 @return Result of the function call
4206*/
4207WDI_Status
4208WDI_ProcessHostOffloadRsp
4209(
4210 WDI_ControlBlockType* pWDICtx,
4211 WDI_EventInfoType* pEventData
4212);
4213
4214/**
4215 @brief Process Keep Alive Rsp function (called when a
4216 response is being received over the bus from HAL)
4217
4218 @param pWDICtx: pointer to the WLAN DAL context
4219 pEventData: pointer to the event information structure
4220
4221 @see
4222 @return Result of the function call
4223*/
4224WDI_Status
4225WDI_ProcessKeepAliveRsp
4226(
4227 WDI_ControlBlockType* pWDICtx,
4228 WDI_EventInfoType* pEventData
4229);
4230
4231
4232/**
4233 @brief Process wowl add ptrn Rsp function (called when a
4234 response is being received over the bus from HAL)
4235
4236 @param pWDICtx: pointer to the WLAN DAL context
4237 pEventData: pointer to the event information structure
4238
4239 @see
4240 @return Result of the function call
4241*/
4242WDI_Status
4243WDI_ProcessWowlAddBcPtrnRsp
4244(
4245 WDI_ControlBlockType* pWDICtx,
4246 WDI_EventInfoType* pEventData
4247);
4248
4249/**
4250 @brief Process wowl delete ptrn Rsp function (called when a
4251 response is being received over the bus from HAL)
4252
4253 @param pWDICtx: pointer to the WLAN DAL context
4254 pEventData: pointer to the event information structure
4255
4256 @see
4257 @return Result of the function call
4258*/
4259WDI_Status
4260WDI_ProcessWowlDelBcPtrnRsp
4261(
4262 WDI_ControlBlockType* pWDICtx,
4263 WDI_EventInfoType* pEventData
4264);
4265
4266/**
4267 @brief Process wowl enter Rsp function (called when a response
4268 is being received over the bus from HAL)
4269
4270 @param pWDICtx: pointer to the WLAN DAL context
4271 pEventData: pointer to the event information structure
4272
4273 @see
4274 @return Result of the function call
4275*/
4276WDI_Status
4277WDI_ProcessWowlEnterRsp
4278(
4279 WDI_ControlBlockType* pWDICtx,
4280 WDI_EventInfoType* pEventData
4281);
4282
4283/**
4284 @brief Process wowl exit Rsp function (called when a response
4285 is being received over the bus from HAL)
4286
4287 @param pWDICtx: pointer to the WLAN DAL context
4288 pEventData: pointer to the event information structure
4289
4290 @see
4291 @return Result of the function call
4292*/
4293WDI_Status
4294WDI_ProcessWowlExitRsp
4295(
4296 WDI_ControlBlockType* pWDICtx,
4297 WDI_EventInfoType* pEventData
4298);
4299
4300/**
4301 @brief Process Configure Apps CPU wakeup State Rsp function
4302 (called when a response is being received over the bus
4303 from HAL)
4304
4305 @param pWDICtx: pointer to the WLAN DAL context
4306 pEventData: pointer to the event information structure
4307
4308 @see
4309 @return Result of the function call
4310*/
4311WDI_Status
4312WDI_ProcessConfigureAppsCpuWakeupStateRsp
4313(
4314 WDI_ControlBlockType* pWDICtx,
4315 WDI_EventInfoType* pEventData
4316);
4317/**
4318 @brief Process Flush AC Rsp function (called when a response
4319 is being received over the bus from HAL)
4320
4321 @param pWDICtx: pointer to the WLAN DAL context
4322 pEventData: pointer to the event information structure
4323
4324 @see
4325 @return Result of the function call
4326*/
4327WDI_Status
4328WDI_ProcessFlushAcRsp
4329(
4330 WDI_ControlBlockType* pWDICtx,
4331 WDI_EventInfoType* pEventData
4332);
4333
4334/**
4335 @brief Process BT AMP event Rsp function (called when a
4336 response is being received over the bus from HAL)
4337
4338 @param pWDICtx: pointer to the WLAN DAL context
4339 pEventData: pointer to the event information structure
4340
4341 @see
4342 @return Result of the function call
4343*/
4344WDI_Status
4345WDI_ProcessBtAmpEventRsp
4346(
4347 WDI_ControlBlockType* pWDICtx,
4348 WDI_EventInfoType* pEventData
4349);
4350
4351/**
4352 @brief Process ADD SELF STA Rsp function (called
4353 when a response is being received over the bus from HAL)
4354
4355 @param pWDICtx: pointer to the WLAN DAL context
4356 pEventData: pointer to the event information structure
4357
4358 @see
4359 @return Result of the function call
4360*/
4361WDI_Status
4362WDI_ProcessAddSTASelfRsp
4363(
4364 WDI_ControlBlockType* pWDICtx,
4365 WDI_EventInfoType* pEventData
4366);
4367
4368 /**
4369 @brief WDI_ProcessDelSTASelfRsp function (called when a
4370 response is being received over the bus from HAL)
4371
4372 @param pWDICtx: pointer to the WLAN DAL context
4373 pEventData: pointer to the event information structure
4374
4375 @see
4376 @return Result of the function call
4377*/
4378WDI_Status
4379WDI_ProcessDelSTASelfRsp
4380(
4381 WDI_ControlBlockType* pWDICtx,
4382 WDI_EventInfoType* pEventData
4383);
4384
Jeff Johnsone7245742012-09-05 17:12:55 -07004385#ifdef FEATURE_OEM_DATA_SUPPORT
4386/**
4387 @brief Start Oem Data Rsp function (called when a
4388 response is being received over the bus from HAL)
4389
4390 @param pWDICtx: pointer to the WLAN DAL context
4391 pEventData: pointer to the event information structure
4392
4393 @see
4394 @return Result of the function call
4395*/
4396WDI_Status
4397WDI_ProcessStartOemDataRsp
4398(
4399 WDI_ControlBlockType* pWDICtx,
4400 WDI_EventInfoType* pEventData
4401);
4402#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07004403
4404 /**
4405 @brief WDI_ProcessHostResumeRsp function (called when a
4406 response is being received over the bus from HAL)
4407
4408 @param pWDICtx: pointer to the WLAN DAL context
4409 pEventData: pointer to the event information structure
4410
4411 @see
4412 @return Result of the function call
4413*/
4414WDI_Status
4415WDI_ProcessHostResumeRsp
4416(
4417 WDI_ControlBlockType* pWDICtx,
4418 WDI_EventInfoType* pEventData
4419);
4420
4421/**
4422 @brief Process set tx per tracking Rsp function (called when a
4423 response is being received over the bus from HAL)
4424
4425 @param pWDICtx: pointer to the WLAN DAL context
4426 pEventData: pointer to the event information structure
4427
4428 @see
4429 @return Result of the function call
4430*/
4431WDI_Status
4432WDI_ProcessSetTxPerTrackingRsp
4433(
4434 WDI_ControlBlockType* pWDICtx,
4435 WDI_EventInfoType* pEventData
4436);
4437
4438/**
4439 @brief Process Power Params Rsp function (called when a
4440 response is being received over the bus from HAL)
4441
4442 @param pWDICtx: pointer to the WLAN DAL context
4443 pEventData: pointer to the event information structure
4444
4445 @see
4446 @return Result of the function call
4447*/
4448WDI_Status
4449WDI_ProcessSetPowerParamsRsp
4450(
4451 WDI_ControlBlockType* pWDICtx,
4452 WDI_EventInfoType* pEventData
4453);
4454
4455/**
4456 @brief Process Set TM Level Rsp function (called when a
4457 response is being received over the bus from HAL)
4458
4459 @param pWDICtx: pointer to the WLAN DAL context
4460 pEventData: pointer to the event information structure
4461
4462 @see
4463 @return Result of the function call
4464*/
4465WDI_Status
4466WDI_ProcessSetTmLevelRsp
4467(
4468 WDI_ControlBlockType* pWDICtx,
4469 WDI_EventInfoType* pEventData
4470);
4471
4472/*==========================================================================
4473 Indications from HAL
4474 ==========================================================================*/
4475/**
4476 @brief Process Low RSSI Indication function (called when an
4477 indication of this kind is being received over the bus
4478 from HAL)
4479
4480 @param pWDICtx: pointer to the WLAN DAL context
4481 pEventData: pointer to the event information structure
4482
4483 @see
4484 @return Result of the function call
4485*/
4486WDI_Status
4487WDI_ProcessLowRSSIInd
4488(
4489 WDI_ControlBlockType* pWDICtx,
4490 WDI_EventInfoType* pEventData
4491);
4492
4493/**
4494 @brief Process Missed Beacon Indication function (called when
4495 an indication of this kind is being received over the
4496 bus from HAL)
4497
4498 @param pWDICtx: pointer to the WLAN DAL context
4499 pEventData: pointer to the event information structure
4500
4501 @see
4502 @return Result of the function call
4503*/
4504WDI_Status
4505WDI_ProcessMissedBeaconInd
4506(
4507 WDI_ControlBlockType* pWDICtx,
4508 WDI_EventInfoType* pEventData
4509);
4510
4511
4512/**
4513 @brief Process Unk Addr Frame Indication function (called when
4514 an indication of this kind is being received over the
4515 bus from HAL)
4516
4517 @param pWDICtx: pointer to the WLAN DAL context
4518 pEventData: pointer to the event information structure
4519
4520 @see
4521 @return Result of the function call
4522*/
4523WDI_Status
4524WDI_ProcessUnkAddrFrameInd
4525(
4526 WDI_ControlBlockType* pWDICtx,
4527 WDI_EventInfoType* pEventData
4528);
4529
4530
4531/**
4532 @brief Process MIC Failure Indication function (called when an
4533 indication of this kind is being received over the bus
4534 from HAL)
4535
4536 @param pWDICtx: pointer to the WLAN DAL context
4537 pEventData: pointer to the event information structure
4538
4539 @see
4540 @return Result of the function call
4541*/
4542WDI_Status
4543WDI_ProcessMicFailureInd
4544(
4545 WDI_ControlBlockType* pWDICtx,
4546 WDI_EventInfoType* pEventData
4547);
4548
4549/**
4550 @brief Process Fatal Failure Indication function (called when
4551 an indication of this kind is being received over the
4552 bus from HAL)
4553
4554 @param pWDICtx: pointer to the WLAN DAL context
4555 pEventData: pointer to the event information structure
4556
4557 @see
4558 @return Result of the function call
4559*/
4560WDI_Status
4561WDI_ProcessFatalErrorInd
4562(
4563 WDI_ControlBlockType* pWDICtx,
4564 WDI_EventInfoType* pEventData
4565);
4566
4567/**
4568 @brief Process Delete STA Indication function (called when
4569 an indication of this kind is being received over the
4570 bus from HAL)
4571
4572 @param pWDICtx: pointer to the WLAN DAL context
4573 pEventData: pointer to the event information structure
4574
4575 @see
4576 @return Result of the function call
4577*/
4578WDI_Status
4579WDI_ProcessDelSTAInd
4580(
4581 WDI_ControlBlockType* pWDICtx,
4582 WDI_EventInfoType* pEventData
4583);
4584
4585/**
4586*@brief Process Coex Indication function (called when
4587 an indication of this kind is being received over the
4588 bus from HAL)
4589
4590 @param pWDICtx: pointer to the WLAN DAL context
4591 pEventData: pointer to the event information structure
4592
4593 @see
4594 @return Result of the function call
4595*/
4596WDI_Status
4597WDI_ProcessCoexInd
4598(
4599 WDI_ControlBlockType* pWDICtx,
4600 WDI_EventInfoType* pEventData
4601);
4602
4603/**
4604*@brief Process Tx Complete Indication function (called when
4605 an indication of this kind is being received over the
4606 bus from HAL)
4607
4608 @param pWDICtx: pointer to the WLAN DAL context
4609 pEventData: pointer to the event information structure
4610
4611 @see
4612 @return Result of the function call
4613*/
4614WDI_Status
4615WDI_ProcessTxCompleteInd
4616(
4617 WDI_ControlBlockType* pWDICtx,
4618 WDI_EventInfoType* pEventData
4619);
4620
Jeff Johnson295189b2012-06-20 16:38:30 -07004621/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05304622*@brief Process Tdls Indication function (called when
4623 an indication of this kind is being received over the
4624 bus from HAL)
4625
4626 @param pWDICtx: pointer to the WLAN DAL context
4627 pEventData: pointer to the event information structure
4628
4629 @see
4630 @return Result of the function call
4631*/
4632WDI_Status
4633WDI_ProcessTdlsInd
4634(
4635 WDI_ControlBlockType* pWDICtx,
4636 WDI_EventInfoType* pEventData
4637);
4638
4639/**
Viral Modid86bde22012-12-10 13:09:21 -08004640*@brief Process Noa Start Indication function (called when
4641 an indication of this kind is being received over the
4642 bus from HAL)
4643
4644 @param pWDICtx: pointer to the WLAN DAL context
4645 pEventData: pointer to the event information structure
4646
4647 @see
4648 @return Result of the function call
4649*/
4650WDI_Status
4651WDI_ProcessP2pNoaStartInd
4652(
4653 WDI_ControlBlockType* pWDICtx,
4654 WDI_EventInfoType* pEventData
4655);
4656
4657/**
Jeff Johnson295189b2012-06-20 16:38:30 -07004658*@brief Process Noa Attr Indication function (called when
4659 an indication of this kind is being received over the
4660 bus from HAL)
4661
4662 @param pWDICtx: pointer to the WLAN DAL context
4663 pEventData: pointer to the event information structure
4664
4665 @see
4666 @return Result of the function call
4667*/
4668WDI_Status
4669WDI_ProcessP2pNoaAttrInd
4670(
4671 WDI_ControlBlockType* pWDICtx,
4672 WDI_EventInfoType* pEventData
4673);
Jeff Johnson295189b2012-06-20 16:38:30 -07004674
4675/**
4676*@brief Process Tx Per Hit Indication function (called when
4677 an indication of this kind is being received over the
4678 bus from HAL)
4679
4680 @param pWDICtx: pointer to the WLAN DAL context
4681 pEventData: pointer to the event information structure
4682
4683 @see
4684 @return Result of the function call
4685*/
4686WDI_Status
4687WDI_ProcessTxPerHitInd
4688(
4689 WDI_ControlBlockType* pWDICtx,
4690 WDI_EventInfoType* pEventData
4691);
4692
Leo Chang9056f462013-08-01 19:21:11 -07004693#ifdef FEATURE_WLAN_LPHB
4694/**
Leo Changd9df8aa2013-09-26 13:32:26 -07004695 @brief WDI_ProcessLphbInd -
Leo Chang9056f462013-08-01 19:21:11 -07004696 This function will be invoked when FW detects low power
4697 heart beat failure
4698
4699 @param pWDICtx : wdi context
4700 pEventData : indication data
4701
4702 @see
4703 @return Result of the function call
4704*/
4705WDI_Status
Leo Changd9df8aa2013-09-26 13:32:26 -07004706WDI_ProcessLphbInd
Leo Chang9056f462013-08-01 19:21:11 -07004707(
4708 WDI_ControlBlockType* pWDICtx,
4709 WDI_EventInfoType* pEventData
4710);
4711#endif /* FEATURE_WLAN_LPHB */
4712
Yue Mab9c86f42013-08-14 15:59:08 -07004713/**
4714 @brief Process Periodic Tx Pattern Fw Indication function
4715
4716 @param pWDICtx: pointer to the WLAN DAL context
4717 pEventData: pointer to the event information structure
4718
4719 @see
4720 @return Result of the function call
4721*/
4722WDI_Status
4723WDI_ProcessPeriodicTxPtrnFwInd
4724(
4725 WDI_ControlBlockType* pWDICtx,
4726 WDI_EventInfoType* pEventData
4727);
4728
Jeff Johnson295189b2012-06-20 16:38:30 -07004729#ifdef WLAN_FEATURE_VOWIFI_11R
4730/**
4731 @brief Process Aggrgated Add TSpec Request function (called when Main FSM
4732 allows it)
4733
4734 @param pWDICtx: pointer to the WLAN DAL context
4735 pEventData: pointer to the event information structure
4736
4737 @see
4738 @return Result of the function call
4739*/
4740WDI_Status
4741WDI_ProcessAggrAddTSpecReq
4742(
4743 WDI_ControlBlockType* pWDICtx,
4744 WDI_EventInfoType* pEventData
4745);
4746
4747/**
4748 @brief Process Add TSpec Rsp function (called when a response
4749 is being received over the bus from HAL)
4750
4751 @param pWDICtx: pointer to the WLAN DAL context
4752 pEventData: pointer to the event information structure
4753
4754 @see
4755 @return Result of the function call
4756*/
4757WDI_Status
4758WDI_ProcessAggrAddTSpecRsp
4759(
4760 WDI_ControlBlockType* pWDICtx,
4761 WDI_EventInfoType* pEventData
4762);
4763
4764#endif /* WLAN_FEATURE_VOWIFI_11R */
4765
Jeff Johnson295189b2012-06-20 16:38:30 -07004766/**
4767 @brief WDI_ProcessFTMCommandReq
4768 Process FTM Command, simply route to HAL
4769
4770 @param pWDICtx: pointer to the WLAN DAL context
4771 pEventData: pointer to the event information structure
4772
4773 @see
4774 @return Result of the function call
4775*/
4776WDI_Status
4777WDI_ProcessFTMCommandReq
4778(
4779 WDI_ControlBlockType* pWDICtx,
4780 WDI_EventInfoType* pEventData
4781);
4782
4783/**
4784 @brief WDI_ProcessFTMCommandRsp
4785 Process FTM Command Response from HAL, simply route to HDD FTM
4786
4787 @param pWDICtx: pointer to the WLAN DAL context
4788 pEventData: pointer to the event information structure
4789
4790 @see
4791 @return Result of the function call
4792*/
4793WDI_Status
4794WDI_ProcessFTMCommandRsp
4795(
4796 WDI_ControlBlockType* pWDICtx,
4797 WDI_EventInfoType* pEventData
4798);
Jeff Johnson295189b2012-06-20 16:38:30 -07004799/**
4800 @brief WDI_ProcessHALDumpCmdReq
4801 Process Hal Dump Command, simply route to HAL
4802
4803 @param pWDICtx: pointer to the WLAN DAL context
4804 pEventData: pointer to the event information structure
4805
4806 @see
4807 @return Result of the function call
4808*/
4809WDI_Status
4810WDI_ProcessHALDumpCmdReq
4811(
4812 WDI_ControlBlockType* pWDICtx,
4813 WDI_EventInfoType* pEventData
4814);
4815
4816/**
4817 @brief WDI_ProcessHALDumpCmdRsp
4818 Process Hal Dump Command Response from HAL, simply route to HDD FTM
4819
4820 @param pWDICtx: pointer to the WLAN DAL context
4821 pEventData: pointer to the event information structure
4822
4823 @see
4824 @return Result of the function call
4825*/
4826WDI_Status
4827WDI_ProcessHALDumpCmdRsp
4828(
4829 WDI_ControlBlockType* pWDICtx,
4830 WDI_EventInfoType* pEventData
4831);
Ravi Joshid2ca7c42013-07-23 08:37:49 -07004832
4833/**
4834 @brief WDI_ProcessIbssPeerInactivityInd
4835 Process peer inactivity indication coming from HAL.
4836
4837 @param pWDICtx: pointer to the WLAN DAL context
4838 pEventData: pointer to the event information structure
4839
4840 @see
4841 @return Result of the function call
4842*/
4843WDI_Status
4844WDI_ProcessIbssPeerInactivityInd
4845
4846(
4847 WDI_ControlBlockType* pWDICtx,
4848 WDI_EventInfoType* pEventData
4849);
4850
4851
Jeff Johnson295189b2012-06-20 16:38:30 -07004852/*========================================================================
4853 Internal Helper Routines
4854========================================================================*/
4855
4856/**
4857 @brief WDI_CleanCB - internal helper routine used to clean the
4858 WDI Main Control Block
4859
4860 @param pWDICtx - pointer to the control block
4861
4862 @return Result of the function call
4863*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004864WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004865WDI_CleanCB
4866(
4867 WDI_ControlBlockType* pWDICtx
4868);
4869
4870/**
4871 @brief Main FSM Close function for all states except BUSY
4872
4873
4874 @param pWDICtx: pointer to the WLAN DAL context
4875 pEventData: pointer to the event information structure
4876
4877 @see
4878 @return Result of the function call
4879*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004880WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004881WDI_ProcessRequest
4882(
4883 WDI_ControlBlockType* pWDICtx,
4884 WDI_EventInfoType* pEventData
4885);
4886
4887/**
4888 @brief Get message helper function - it allocates memory for a
4889 message that is to be sent to HAL accross the bus and
4890 prefixes it with a send message header
4891
4892 @param pWDICtx: pointer to the WLAN DAL context
4893 wdiReqType: type of the request being sent
4894 uBufferLen: message buffer len
4895 pMsgBuffer: resulting allocated buffer
4896 puDataOffset: offset in the buffer where the caller
4897 can start copying its message data
4898 puBufferSize: the resulting buffer size (offset+buff
4899 len)
4900
4901 @see
4902 @return Result of the function call
4903*/
4904WDI_Status
4905WDI_GetMessageBuffer
4906(
4907 WDI_ControlBlockType* pWDICtx,
4908 WDI_RequestEnumType wdiReqType,
4909 wpt_uint16 usBufferLen,
4910 wpt_uint8** pMsgBuffer,
4911 wpt_uint16* pusDataOffset,
4912 wpt_uint16* pusBufferSize
4913);
4914
4915/**
4916 @brief WDI_DetectedDeviceError - called internally by DAL when
4917 it has detected a failure in the device
4918
4919 @param pWDICtx: pointer to the WLAN DAL context
4920 usErrorCode: error code detected by WDI or received
4921 from HAL
4922
4923 @see
4924 @return None
4925*/
4926void
4927WDI_DetectedDeviceError
4928(
4929 WDI_ControlBlockType* pWDICtx,
4930 wpt_uint16 usErrorCode
4931);
4932
4933/*=========================================================================
4934 QUEUE SUPPORT UTILITY FUNCTIONS
4935=========================================================================*/
4936
4937/**
4938 @brief Utility function used by the DAL Core to help queue a
4939 request that cannot be processed right away.
4940 @param
4941
4942 pWDICtx: - pointer to the WDI control block
4943 pEventData: - pointer to the evnt info that needs to be
4944 queued
4945
4946 @see
4947 @return Result of the operation
4948*/
4949WDI_Status
4950WDI_QueuePendingReq
4951(
4952 WDI_ControlBlockType* pWDICtx,
4953 WDI_EventInfoType* pEventData
4954);
4955
4956/**
4957 @brief Utility function used by the DAL Core to clear any
4958 pending requests - all req cb will be called with
4959 failure and the queue will be emptied.
4960 @param
4961
4962 pWDICtx: - pointer to the WDI control block
4963
4964 @see
4965 @return Result of the operation
4966*/
4967WDI_Status
4968WDI_ClearPendingRequests
4969(
4970 WDI_ControlBlockType* pWDICtx
4971);
4972
4973/**
4974 @brief This callback is invoked by the wpt when a timer that
4975 we started on send message has expire - this should
4976 never happen - it means device is stuck and cannot
4977 reply - trigger catastrophic failure
4978 @param
4979
4980 pUserData: the callback data of the user (ptr to WDI CB)
4981
4982 @see
4983 @return None
4984*/
4985void
4986WDI_ResponseTimerCB
4987(
4988 void *pUserData
4989);
4990
4991/*==========================================================================
4992 CONTRL TRANSPORT INTERACTION
4993
4994 Callback function registered with the control transport - for receiving
4995 notifications and packets
4996==========================================================================*/
4997/**
4998 @brief This callback is invoked by the control transport
4999 when it wishes to send up a notification like the ones
5000 mentioned above.
5001
5002 @param
5003
5004 wctsHandle: handle to the control transport service
5005 wctsEvent: the event being notified
5006 wctsNotifyCBData: the callback data of the user
5007
5008 @see WCTS_OpenTransport
5009
5010 @return None
5011*/
5012void
5013WDI_NotifyMsgCTSCB
5014(
5015 WCTS_HandleType wctsHandle,
5016 WCTS_NotifyEventType wctsEvent,
5017 void* wctsNotifyCBData
5018);
5019
5020/**
5021 @brief This callback is invoked by the control transport
5022 when it wishes to send up a packet received over the
5023 bus.
5024
5025 @param
5026
5027 wctsHandle: handle to the control transport service
5028 pMsg: the packet
5029 uLen: the packet length
5030 wctsRxMsgCBData: the callback data of the user
5031
5032 @see WCTS_OpenTransport
5033
5034 @return None
5035*/
5036void
5037WDI_RXMsgCTSCB
5038(
5039 WCTS_HandleType wctsHandle,
5040 void* pMsg,
5041 wpt_uint32 uLen,
5042 void* wctsRxMsgCBData
5043);
5044
5045/**
5046 @brief Process response helper function
5047
5048
5049 @param pWDICtx: pointer to the WLAN DAL context
5050 pEventData: pointer to the event information structure
5051
5052 @see
5053 @return Result of the function call
5054*/
5055WDI_Status
5056WDI_ProcessResponse
5057(
5058 WDI_ControlBlockType* pWDICtx,
5059 WDI_EventInfoType* pEventData
5060);
5061
5062/**
5063 @brief Send message helper function - sends a message over the
5064 bus using the control tranport and saves some info in
5065 the CB
5066
5067 @param pWDICtx: pointer to the WLAN DAL context
5068 pSendBuffer: buffer to be sent
5069
5070 uSendSize size of the buffer to be sent
5071 pRspCb: response callback - save in the WDI
5072 CB
5073 pUserData: user data associated with the
5074 callback
5075 wdiExpectedResponse: the code of the response that is
5076 expected to be rx-ed for this request
5077
5078 @see
5079 @return Result of the function call
5080*/
5081WDI_Status
5082WDI_SendMsg
5083(
5084 WDI_ControlBlockType* pWDICtx,
5085 wpt_uint8* pSendBuffer,
5086 wpt_uint32 uSendSize,
5087 void* pRspCb,
5088 void* pUserData,
5089 WDI_ResponseEnumType wdiExpectedResponse
5090);
5091
5092
5093/**
5094 @brief Send indication helper function - sends a message over
5095 the bus using the control transport and saves some info
5096 in the CB
5097
5098 @param pWDICtx: pointer to the WLAN DAL context
5099 pSendBuffer: buffer to be sent
5100 usSendSize: size of the buffer to be sent
5101
5102 @see
5103 @return Result of the function call
5104*/
5105WDI_Status
5106WDI_SendIndication
5107(
5108 WDI_ControlBlockType* pWDICtx,
5109 wpt_uint8* pSendBuffer,
5110 wpt_uint32 usSendSize
5111);
5112
5113/**
5114 @brief Utility function used by the DAL Core to help dequeue
5115 and schedule for execution a pending request
5116 @param
5117
5118 pWDICtx: - pointer to the WDI control block
5119 pEventData: - pointer to the evnt info that needs to be
5120 queued
5121
5122 @see
5123 @return Result of the operation
5124*/
5125WDI_Status
5126WDI_DequeuePendingReq
5127(
5128 WDI_ControlBlockType* pWDICtx
5129);
5130
5131/**
5132 @brief Utility function used by the DAL Core to help queue
5133 an association request that cannot be processed right
5134 away.- The assoc requests will be queued by BSSID
5135 @param
5136
5137 pWDICtx: - pointer to the WDI control block
5138 pEventData: pointer to the evnt info that needs to be queued
5139 macBSSID: bssid
5140
5141 @see
5142 @return Result of the operation
5143*/
5144WDI_Status
5145WDI_QueueNewAssocRequest
5146(
5147 WDI_ControlBlockType* pWDICtx,
5148 WDI_EventInfoType* pEventData,
5149 wpt_macAddr macBSSID
5150);
5151
5152/**
5153 @brief Utility function used by the DAL Core to help queue
5154 an association request that cannot be processed right
5155 away.- The assoc requests will be queued by BSSID
5156 @param
5157
5158 pWDICtx: - pointer to the WDI control block
5159 pSession: - session in which to queue
5160 pEventData: pointer to the event info that needs to be
5161 queued
5162
5163 @see
5164 @return Result of the operation
5165*/
5166WDI_Status
5167WDI_QueueAssocRequest
5168(
5169 WDI_ControlBlockType* pWDICtx,
5170 WDI_BSSSessionType* pSession,
5171 WDI_EventInfoType* pEventData
5172);
5173
5174/**
5175 @brief Utility function used by the DAL Core to help dequeue
5176 an association request that was pending
5177 The request will be queued up in front of the main
5178 pending queue for immediate processing
5179 @param
5180
5181 pWDICtx: - pointer to the WDI control block
5182
5183
5184 @see
5185 @return Result of the operation
5186*/
5187WDI_Status
5188WDI_DequeueAssocRequest
5189(
5190 WDI_ControlBlockType* pWDICtx
5191);
5192
5193/**
5194 @brief Helper routine used to init the BSS Sessions in the WDI control block
5195
5196
5197 @param pWDICtx: pointer to the WLAN DAL context
5198
5199 @see
5200*/
5201void
5202WDI_ResetAssocSessions
5203(
5204 WDI_ControlBlockType* pWDICtx
5205);
5206
5207/**
5208 @brief Helper routine used to find an empty session in the WDI
5209 CB
5210
5211
5212 @param pWDICtx: pointer to the WLAN DAL context
5213 pSession: pointer to the session (if found)
5214
5215 @see
5216 @return Index of the session in the array
5217*/
5218wpt_uint8
5219WDI_FindEmptySession
5220(
5221 WDI_ControlBlockType* pWDICtx,
5222 WDI_BSSSessionType** ppSession
5223);
5224
5225/**
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005226 @brief Helper routine used to get the total count of active
Jeff Johnson295189b2012-06-20 16:38:30 -07005227 sessions
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005228
5229
5230 @param pWDICtx: pointer to the WLAN DAL context
5231 macBSSID: pointer to BSSID. If NULL, get all the session.
5232 If not NULL, count ActiveSession by excluding (TRUE) or including (FALSE) skipBSSID.
5233 skipBSSID: if TRUE, get all the sessions except matching to macBSSID. If FALSE, get all session.
5234 This argument is ignored if macBSSID is NULL.
Jeff Johnson295189b2012-06-20 16:38:30 -07005235 @see
5236 @return Number of sessions in use
5237*/
5238wpt_uint8
5239WDI_GetActiveSessionsCount
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005240(
5241 WDI_ControlBlockType* pWDICtx,
5242 wpt_macAddr macBSSID,
5243 wpt_boolean skipBSSID
Jeff Johnson295189b2012-06-20 16:38:30 -07005244);
5245
5246/**
5247 @brief Helper routine used to delete session in the WDI
5248 CB
5249
5250
5251 @param pWDICtx: pointer to the WLAN DAL context
5252 pSession: pointer to the session (if found)
5253
5254 @see
5255 @return Index of the session in the array
5256*/
5257void
5258WDI_DeleteSession
5259(
5260 WDI_ControlBlockType* pWDICtx,
5261 WDI_BSSSessionType* ppSession
5262);
5263
5264/**
5265 @brief Helper routine used to find a session based on the BSSID
5266
5267
5268 @param pWDICtx: pointer to the WLAN DAL context
5269 macBSSID: BSSID of the session
5270 ppSession: out pointer to the session (if found)
5271
5272 @see
5273 @return Index of the session in the array
5274*/
5275wpt_uint8
5276WDI_FindAssocSession
5277(
5278 WDI_ControlBlockType* pWDICtx,
5279 wpt_macAddr macBSSID,
5280 WDI_BSSSessionType** ppSession
5281);
5282
5283
5284/**
5285 @brief Helper routine used to find a session based on the BSSID
5286
5287
5288 @param pWDICtx: pointer to the WLAN DAL context
5289 usBssIdx: BSS Index of the session
5290 ppSession: out pointer to the session (if found)
5291
5292 @see
5293 @return Index of the session in the array
5294*/
5295wpt_uint8
5296WDI_FindAssocSessionByBSSIdx
5297(
5298 WDI_ControlBlockType* pWDICtx,
5299 wpt_uint16 usBssIdx,
5300 WDI_BSSSessionType** ppSession
5301);
5302
5303/**
5304 @brief Helper routine used to find a session based on the BSSID
5305
5306
5307 @param pWDICtx: pointer to the WLAN DAL context
5308 usBssIdx: BSS Index of the session
5309 ppSession: out pointer to the session (if found)
5310
5311 @see
5312 @return Index of the session in the array
5313*/
5314wpt_uint8
5315WDI_FindAssocSessionByIdx
5316(
5317 WDI_ControlBlockType* pWDICtx,
5318 wpt_uint16 usBssIdx,
5319 WDI_BSSSessionType** ppSession
5320);
5321
5322/**
5323 @brief Helper routine used to find a session based on the BSSID
5324 @param pContext: pointer to the WLAN DAL context
5325 @param pDPContext: pointer to the Datapath context
5326
5327 @see
5328 @return
5329*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005330void
Jeff Johnson295189b2012-06-20 16:38:30 -07005331WDI_DS_AssignDatapathContext
5332(
5333 void *pContext,
5334 void *pDPContext
5335);
5336
5337/**
5338 @brief Helper routine used to find a session based on the BSSID
5339
5340
5341 @param pContext: pointer to the WLAN DAL context
5342
5343 @see
5344 @return pointer to Datapath context
5345*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005346void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005347WDI_DS_GetDatapathContext
5348(
5349 void *pContext
5350);
5351
5352/**
5353 @brief Helper routine used to find a session based on the BSSID
5354
5355
5356 @param pContext: pointer to the WLAN DAL context
5357 @param pDTDriverContext: pointer to the Transport Driver context
5358
5359 @see
5360 @return void
5361*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005362void
Jeff Johnson295189b2012-06-20 16:38:30 -07005363WDT_AssignTransportDriverContext
5364(
5365 void *pContext,
5366 void *pDTDriverContext
5367);
5368
5369/**
5370 @brief Helper routine used to find a session based on the BSSID
5371
5372
5373 @param pWDICtx: pointer to the WLAN DAL context
5374
5375 @see
5376 @return pointer to datapath context
5377*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005378void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005379WDT_GetTransportDriverContext
5380(
5381 void *pContext
5382);
5383
5384#ifdef FEATURE_WLAN_SCAN_PNO
5385/**
5386 @brief Process Set Preferred Network List Request function
5387
5388 @param pWDICtx: pointer to the WLAN DAL context
5389 pEventData: pointer to the event information structure
5390
5391 @see
5392 @return Result of the function call
5393*/
5394WDI_Status
5395WDI_ProcessSetPreferredNetworkReq
5396(
5397 WDI_ControlBlockType* pWDICtx,
5398 WDI_EventInfoType* pEventData
5399);
5400
5401/**
5402 @brief Process Set RSSI Filter Request function
5403
5404 @param pWDICtx: pointer to the WLAN DAL context
5405 pEventData: pointer to the event information structure
5406
5407 @see
5408 @return Result of the function call
5409*/
5410WDI_Status
5411WDI_ProcessSetRssiFilterReq
5412(
5413 WDI_ControlBlockType* pWDICtx,
5414 WDI_EventInfoType* pEventData
5415);
5416
5417/**
5418 @brief Process Update Scan Params function
5419
5420 @param pWDICtx: pointer to the WLAN DAL context
5421 pEventData: pointer to the event information structure
5422
5423 @see
5424 @return Result of the function call
5425*/
5426WDI_Status
5427WDI_ProcessUpdateScanParamsReq
5428(
5429 WDI_ControlBlockType* pWDICtx,
5430 WDI_EventInfoType* pEventData
5431);
5432
5433/**
5434 @brief Process Preferred Network Found Indication function
5435
5436 @param pWDICtx: pointer to the WLAN DAL context
5437 pEventData: pointer to the event information structure
5438
5439 @see
5440 @return Result of the function call
5441*/
5442WDI_Status
5443WDI_ProcessPrefNetworkFoundInd
5444(
5445 WDI_ControlBlockType* pWDICtx,
5446 WDI_EventInfoType* pEventData
5447);
5448
5449/**
5450 @brief Process PNO Rsp function (called when a
5451 response is being received over the bus from HAL)
5452
5453 @param pWDICtx: pointer to the WLAN DAL context
5454 pEventData: pointer to the event information structure
5455
5456 @see
5457 @return Result of the function call
5458*/
5459WDI_Status
5460WDI_ProcessSetPreferredNetworkRsp
5461(
5462 WDI_ControlBlockType* pWDICtx,
5463 WDI_EventInfoType* pEventData
5464);
5465
5466/**
5467 @brief Process RSSI Filter Rsp function (called when a
5468 response is being received over the bus from HAL)
5469
5470 @param pWDICtx: pointer to the WLAN DAL context
5471 pEventData: pointer to the event information structure
5472
5473 @see
5474 @return Result of the function call
5475*/
5476WDI_Status
5477WDI_ProcessSetRssiFilterRsp
5478(
5479 WDI_ControlBlockType* pWDICtx,
5480 WDI_EventInfoType* pEventData
5481);
5482
5483/**
5484 @brief Process Update Scan Params Rsp function (called when a
5485 response is being received over the bus from HAL)
5486
5487 @param pWDICtx: pointer to the WLAN DAL context
5488 pEventData: pointer to the event information structure
5489
5490 @see
5491 @return Result of the function call
5492*/
5493WDI_Status
5494WDI_ProcessUpdateScanParamsRsp
5495(
5496 WDI_ControlBlockType* pWDICtx,
5497 WDI_EventInfoType* pEventData
5498);
5499#endif // FEATURE_WLAN_SCAN_PNO
5500
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005501
5502#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5503/**
5504 @brief Process Start Roam Candidate Lookup Request function
5505
5506 @param pWDICtx: pointer to the WLAN DAL context
5507 pEventData: pointer to the event information structure
5508
5509 @see
5510 @return Result of the function call
5511*/
5512WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005513WDI_ProcessRoamScanOffloadReq
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005514(
5515 WDI_ControlBlockType* pWDICtx,
5516 WDI_EventInfoType* pEventData
5517);
5518/**
5519 @brief Process Start Roam Candidate Lookup Response function (called when a
5520 response is being received over the bus from HAL)
5521
5522 @param pWDICtx: pointer to the WLAN DAL context
5523 pEventData: pointer to the event information structure
5524
5525 @see
5526 @return Result of the function call
5527*/
5528WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005529WDI_ProcessRoamScanOffloadRsp
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005530(
5531 WDI_ControlBlockType* pWDICtx,
5532 WDI_EventInfoType* pEventData
5533);
5534#endif
5535
5536
Jeff Johnson295189b2012-06-20 16:38:30 -07005537#ifdef WLAN_FEATURE_PACKET_FILTERING
5538/**
5539 @brief Process 8023 Multicast List Request function
5540
5541 @param pWDICtx: pointer to the WLAN DAL context
5542 pEventData: pointer to the event information structure
5543
5544 @see
5545 @return Result of the function call
5546*/
5547WDI_Status
5548WDI_Process8023MulticastListReq
5549(
5550 WDI_ControlBlockType* pWDICtx,
5551 WDI_EventInfoType* pEventData
5552);
5553
5554/**
5555 @brief Process Receive Filter Set Filter Request function
5556
5557 @param pWDICtx: pointer to the WLAN DAL context
5558 pEventData: pointer to the event information structure
5559
5560 @see
5561 @return Result of the function call
5562*/
5563WDI_Status
5564WDI_ProcessReceiveFilterSetFilterReq
5565(
5566 WDI_ControlBlockType* pWDICtx,
5567 WDI_EventInfoType* pEventData
5568);
5569
5570/**
5571 @brief Process D0 PC Filter Match Count Request function
5572
5573 @param pWDICtx: pointer to the WLAN DAL context
5574 pEventData: pointer to the event information structure
5575
5576 @see
5577 @return Result of the function call
5578*/
5579WDI_Status
5580WDI_ProcessFilterMatchCountReq
5581(
5582 WDI_ControlBlockType* pWDICtx,
5583 WDI_EventInfoType* pEventData
5584);
5585
5586/**
5587 @brief Process Receive Filter Clear Filter Request function
5588
5589 @param pWDICtx: pointer to the WLAN DAL context
5590 pEventData: pointer to the event information structure
5591
5592 @see
5593 @return Result of the function call
5594*/
5595WDI_Status
5596WDI_ProcessReceiveFilterClearFilterReq
5597(
5598 WDI_ControlBlockType* pWDICtx,
5599 WDI_EventInfoType* pEventData
5600);
5601
5602/**
5603 @brief Process 8023 Multicast List Response function
5604
5605 @param pWDICtx: pointer to the WLAN DAL context
5606 pEventData: pointer to the event information structure
5607
5608 @see
5609 @return Result of the function call
5610*/
5611WDI_Status
5612WDI_Process8023MulticastListRsp
5613(
5614 WDI_ControlBlockType* pWDICtx,
5615 WDI_EventInfoType* pEventData
5616);
5617
5618/**
5619 @brief Process Receive Filter Set Filter Response function
5620
5621 @param pWDICtx: pointer to the WLAN DAL context
5622 pEventData: pointer to the event information structure
5623
5624 @see
5625 @return Result of the function call
5626*/
5627WDI_Status
5628WDI_ProcessReceiveFilterSetFilterRsp
5629(
5630 WDI_ControlBlockType* pWDICtx,
5631 WDI_EventInfoType* pEventData
5632);
5633
5634/**
5635 @brief Process D0 PC Filter Match Count Response function
5636
5637 @param pWDICtx: pointer to the WLAN DAL context
5638 pEventData: pointer to the event information structure
5639
5640 @see
5641 @return Result of the function call
5642*/
5643WDI_Status
5644WDI_ProcessFilterMatchCountRsp
5645(
5646 WDI_ControlBlockType* pWDICtx,
5647 WDI_EventInfoType* pEventData
5648);
5649
5650/**
5651 @brief Process Receive Filter Clear Filter Response function
5652
5653 @param pWDICtx: pointer to the WLAN DAL context
5654 pEventData: pointer to the event information structure
5655
5656 @see
5657 @return Result of the function call
5658*/
5659WDI_Status
5660WDI_ProcessReceiveFilterClearFilterRsp
5661(
5662 WDI_ControlBlockType* pWDICtx,
5663 WDI_EventInfoType* pEventData
5664);
5665#endif // WLAN_FEATURE_PACKET_FILTERING
5666
5667#ifdef WLAN_FEATURE_GTK_OFFLOAD
5668/**
5669 @brief Process set GTK Offload Request function
5670
5671 @param pWDICtx: pointer to the WLAN DAL context
5672 pEventData: pointer to the event information structure
5673
5674 @see
5675 @return Result of the function call
5676*/
5677WDI_Status
5678WDI_ProcessGTKOffloadReq
5679(
5680 WDI_ControlBlockType* pWDICtx,
5681 WDI_EventInfoType* pEventData
5682);
5683
5684/**
5685 @brief Process GTK Offload Get Information Request function
5686
5687 @param pWDICtx: pointer to the WLAN DAL context
5688 pEventData: pointer to the event information structure
5689
5690 @see
5691 @return Result of the function call
5692*/
5693WDI_Status
5694WDI_ProcessGTKOffloadGetInfoReq
5695(
5696 WDI_ControlBlockType* pWDICtx,
5697 WDI_EventInfoType* pEventData
5698);
5699
5700/**
5701 @brief Process host offload Rsp function (called when a
5702 response is being received over the bus from HAL)
5703
5704 @param pWDICtx: pointer to the WLAN DAL context
5705 pEventData: pointer to the event information structure
5706
5707 @see
5708 @return Result of the function call
5709*/
5710WDI_Status
5711WDI_ProcessGtkOffloadRsp
5712(
5713 WDI_ControlBlockType* pWDICtx,
5714 WDI_EventInfoType* pEventData
5715);
5716
5717/**
5718 @brief Process GTK Offload Get Information Response function
5719
5720 @param pWDICtx: pointer to the WLAN DAL context
5721 pEventData: pointer to the event information structure
5722
5723 @see
5724 @return Result of the function call
5725*/
5726WDI_Status
5727WDI_ProcessGTKOffloadGetInfoRsp
5728(
5729 WDI_ControlBlockType* pWDICtx,
5730 WDI_EventInfoType* pEventData
5731);
5732#endif // WLAN_FEATURE_GTK_OFFLOAD
5733
5734#ifdef WLAN_WAKEUP_EVENTS
5735WDI_Status
5736WDI_ProcessWakeReasonInd
5737(
5738 WDI_ControlBlockType* pWDICtx,
5739 WDI_EventInfoType* pEventData
5740);
5741#endif // WLAN_WAKEUP_EVENTS
5742
5743/**
5744 @brief Process Host-FW Capability Exchange Request function
5745
5746 @param pWDICtx: pointer to the WLAN DAL context
5747 pEventData: pointer to the event information structure
5748
5749 @see
5750 @return Result of the function call
5751*/
5752WDI_Status
5753WDI_ProcessFeatureCapsExchangeReq
5754(
5755 WDI_ControlBlockType* pWDICtx,
5756 WDI_EventInfoType* pEventData
5757);
5758
5759/**
5760 @brief Process Host-FW Capability Exchange Response function
5761
5762 @param pWDICtx: pointer to the WLAN DAL context
5763 pEventData: pointer to the event information structure
5764
5765 @see
5766 @return Result of the function call
5767*/
5768WDI_Status
5769WDI_ProcessFeatureCapsExchangeRsp
5770(
5771 WDI_ControlBlockType* pWDICtx,
5772 WDI_EventInfoType* pEventData
5773);
5774
Mohit Khanna4a70d262012-09-11 16:30:12 -07005775#ifdef WLAN_FEATURE_11AC
5776WDI_Status
5777WDI_ProcessUpdateVHTOpModeReq
5778(
5779 WDI_ControlBlockType* pWDICtx,
5780 WDI_EventInfoType* pEventData
5781);
5782
5783WDI_Status
5784WDI_ProcessUpdateVHTOpModeRsp
5785(
5786 WDI_ControlBlockType* pWDICtx,
5787 WDI_EventInfoType* pEventData
5788);
5789#endif
5790
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005791#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5792/**
5793 * @brief WDI_wdiEdTypeEncToEdTypeEnc -
5794 * The firmware expects the Encryption type to be in EdType.
5795 * This function converts the WdiEdType encryption to EdType.
5796 * @param tEdType : EdType to which the encryption needs to be converted.
5797 * @param WDI_EdType : wdiEdType passed from the upper layer.
5798 * @see
5799 * @return none
5800 * */
5801void
5802WDI_wdiEdTypeEncToEdTypeEnc
5803(
5804 tEdType *EdType,
5805 WDI_EdType wdiEdType
5806);
5807#endif
5808
Leo Chang9056f462013-08-01 19:21:11 -07005809#ifdef FEATURE_WLAN_LPHB
5810/**
5811 @brief WDI_ProcessLphbCfgRsp -
5812 LPHB configuration response from FW
5813
5814 @param pWDICtx : wdi context
5815 pEventData : indication data
5816
5817 @see
5818 @return Result of the function call
5819*/
5820WDI_Status WDI_ProcessLphbCfgRsp
5821(
5822 WDI_ControlBlockType* pWDICtx,
5823 WDI_EventInfoType* pEventData
5824);
5825#endif /* FEATURE_WLAN_LPHB */
5826
Chittajit Mitraf5413a42013-10-18 14:20:08 -07005827/**
5828 @brief Process Rate Update Indication and post it to HAL
5829
5830 @param pWDICtx: pointer to the WLAN DAL context
5831 pEventData: pointer to the event information structure
5832
5833 @see
5834 @return Result of the function call
5835*/
5836WDI_Status
5837WDI_ProcessRateUpdateInd
5838(
5839 WDI_ControlBlockType* pWDICtx,
5840 WDI_EventInfoType* pEventData
5841);
5842
Rajeev79dbe4c2013-10-05 11:03:42 +05305843#ifdef FEATURE_WLAN_BATCH_SCAN
5844/**
5845 @brief WDI_ProcessSetBatchScanRsp -
5846 Process set batch scan response from FW
5847
5848 @param pWDICtx : wdi context
5849 pEventData : indication data
5850
5851 @see
5852 @return Result of the function call
5853*/
5854WDI_Status WDI_ProcessSetBatchScanRsp
5855(
5856 WDI_ControlBlockType* pWDICtx,
5857 WDI_EventInfoType* pEventData
5858);
5859
c_hpothu92367912014-05-01 15:18:17 +05305860WDI_Status
5861WDI_ProcessGetBcnMissRateReq
5862(
5863 WDI_ControlBlockType* pWDICtx,
5864 WDI_EventInfoType* pEventData
5865);
5866
5867WDI_Status
5868WDI_ProcessGetBcnMissRateRsp
5869(
5870 WDI_ControlBlockType* pWDICtx,
5871 WDI_EventInfoType* pEventData
5872);
5873
Rajeev79dbe4c2013-10-05 11:03:42 +05305874/**
5875 @brief Process batch scan response from FW
5876
5877 @param pWDICtx: pointer to the WLAN DAL context
5878 pEventData: pointer to the event information structure
5879
5880 @see
5881 @return Result of the function call
5882*/
5883WDI_Status
5884WDI_ProcessBatchScanResultInd
5885(
5886 WDI_ControlBlockType* pWDICtx,
5887 WDI_EventInfoType* pEventData
5888);
5889
5890#endif /* FEATURE_WLAN_BATCH_SCAN */
5891
Abhishek Singh85b74712014-10-08 11:38:19 +05305892WDI_Status
5893WDI_ProcessGetFwStatsReq
5894(
5895 WDI_ControlBlockType* pWDICtx,
5896 WDI_EventInfoType* pEventData
5897);
5898
5899WDI_Status
5900WDI_ProcessGetFwStatsRsp
5901(
5902 WDI_ControlBlockType* pWDICtx,
5903 WDI_EventInfoType* pEventData
5904);
5905
Leo Chang0b0e45a2013-12-15 15:18:55 -08005906#ifdef FEATURE_WLAN_CH_AVOID
5907/**
5908 @brief v -
5909
5910
5911 @param pWDICtx : wdi context
5912 pEventData : indication data
5913 @see
5914 @return Result of the function call
5915*/
5916WDI_Status
5917WDI_ProcessChAvoidInd
5918(
5919 WDI_ControlBlockType* pWDICtx,
5920 WDI_EventInfoType* pEventData
5921);
5922#endif /* FEATURE_WLAN_CH_AVOID */
5923
c_hpothu86041002014-04-14 19:06:51 +05305924/**
5925 @brief v -
5926
5927
5928 @param pWDICtx : wdi context
5929 pEventData : indication data
5930 @see
5931 @return Result of the function call
5932*/
5933WDI_Status
5934WDI_printRegInfo
5935(
5936 WDI_ControlBlockType* pWDICtx,
5937 WDI_EventInfoType* pEventData
5938);
Dino Mycle41bdc942014-06-10 11:30:24 +05305939
5940#ifdef WLAN_FEATURE_EXTSCAN
5941WDI_Status
5942WDI_ProcessEXTScanStartReq
5943(
5944 WDI_ControlBlockType* pWDICtx,
5945 WDI_EventInfoType* pEventData
5946);
5947WDI_Status
5948WDI_ProcessEXTScanStopReq
5949(
5950 WDI_ControlBlockType* pWDICtx,
5951 WDI_EventInfoType* pEventData
5952);
5953WDI_Status
5954WDI_ProcessEXTScanStartRsp
5955(
5956 WDI_ControlBlockType* pWDICtx,
5957 WDI_EventInfoType* pEventData
5958);
5959WDI_Status
5960WDI_ProcessEXTScanStopRsp
5961(
5962 WDI_ControlBlockType* pWDICtx,
5963 WDI_EventInfoType* pEventData
5964);
5965
5966WDI_Status
5967WDI_ProcessEXTScanGetCachedResultsReq
5968(
5969 WDI_ControlBlockType* pWDICtx,
5970 WDI_EventInfoType* pEventData
5971);
5972WDI_Status
5973WDI_ProcessEXTScanGetCachedResultsRsp
5974(
5975 WDI_ControlBlockType* pWDICtx,
5976 WDI_EventInfoType* pEventData
5977);
5978
5979WDI_Status
5980WDI_ProcessEXTScanProgressInd
5981(
5982 WDI_ControlBlockType* pWDICtx,
5983 WDI_EventInfoType* pEventData
5984);
5985
5986WDI_Status
5987WDI_ProcessEXTScanGetCapabilitiesReq
5988(
5989 WDI_ControlBlockType* pWDICtx,
5990 WDI_EventInfoType* pEventData
5991);
5992
5993WDI_Status
5994WDI_ProcessEXTScanGetCapabilitiesRsp
5995(
5996 WDI_ControlBlockType* pWDICtx,
5997 WDI_EventInfoType* pEventData
5998);
5999
6000WDI_Status
6001WDI_ProcessEXTScanSetBSSIDHotlistReq
6002(
6003 WDI_ControlBlockType* pWDICtx,
6004 WDI_EventInfoType* pEventData
6005);
6006
6007WDI_Status
6008WDI_ProcessEXTScanSetHotlistBSSIDRsp
6009(
6010 WDI_ControlBlockType* pWDICtx,
6011 WDI_EventInfoType* pEventData
6012);
6013
6014WDI_Status
6015WDI_ProcessEXTScanResetBSSIDHotlistReq
6016(
6017 WDI_ControlBlockType* pWDICtx,
6018 WDI_EventInfoType* pEventData
6019);
6020
6021WDI_Status
6022WDI_ProcessEXTScanResetHotlistBSSIDRsp
6023(
6024 WDI_ControlBlockType* pWDICtx,
6025 WDI_EventInfoType* pEventData
6026);
6027
6028WDI_Status
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +05306029WDI_ProcessEXTScanSetSSIDHotlistReq
6030(
6031 WDI_ControlBlockType* pWDICtx,
6032 WDI_EventInfoType* pEventData
6033);
6034
6035WDI_Status
6036WDI_ProcessEXTScanSetHotlistSSIDRsp
6037(
6038 WDI_ControlBlockType* pWDICtx,
6039 WDI_EventInfoType* pEventData
6040);
6041
6042WDI_Status
6043WDI_ProcessEXTScanResetSSIDHotlistReq
6044(
6045 WDI_ControlBlockType* pWDICtx,
6046 WDI_EventInfoType* pEventData
6047);
6048
6049WDI_Status
6050WDI_ProcessEXTScanResetHotlistSSIDRsp
6051(
6052 WDI_ControlBlockType* pWDICtx,
6053 WDI_EventInfoType* pEventData
6054);
6055
6056WDI_Status
Padma, Santhosh Kumarc1f7f052015-08-26 12:29:01 +05306057WDI_ProcessHighPriorityDataInfoInd
6058(
6059 WDI_ControlBlockType* pWDICtx,
6060 WDI_EventInfoType* pEventData
6061);
6062
6063WDI_Status
Dino Mycle41bdc942014-06-10 11:30:24 +05306064WDI_ProcessEXTScanScanAvailableInd
6065(
6066 WDI_ControlBlockType* pWDICtx,
6067 WDI_EventInfoType* pEventData
6068);
6069
6070WDI_Status
6071WDI_ProcessEXTScanResultInd
6072(
6073 WDI_ControlBlockType* pWDICtx,
6074 WDI_EventInfoType* pEventData
6075);
6076
6077WDI_Status
6078WDI_ProcessEXTScanBssidHotListResultInd
6079(
6080 WDI_ControlBlockType* pWDICtx,
6081 WDI_EventInfoType* pEventData
6082);
6083
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +05306084WDI_Status
6085WDI_ProcessEXTScanSsidHotListResultInd
6086(
6087 WDI_ControlBlockType* pWDICtx,
6088 WDI_EventInfoType* pEventData
6089);
6090
6091
Dino Mycle41bdc942014-06-10 11:30:24 +05306092#endif /* WLAN_FEATURE_EXTSCAN */
6093
Sunil Duttbd736ed2014-05-26 21:19:41 +05306094#ifdef WLAN_FEATURE_LINK_LAYER_STATS
6095WDI_Status
6096WDI_ProcessLLStatsSetRsp
6097(
6098 WDI_ControlBlockType* pWDICtx,
6099 WDI_EventInfoType* pEventData
6100);
6101
6102WDI_Status
6103WDI_ProcessLLStatsSetReq
6104(
6105 WDI_ControlBlockType* pWDICtx,
6106 WDI_EventInfoType* pEventData
6107);
6108
6109WDI_Status
6110WDI_ProcessLLStatsGetRsp
6111(
6112 WDI_ControlBlockType* pWDICtx,
6113 WDI_EventInfoType* pEventData
6114);
6115
6116WDI_Status
6117WDI_ProcessLLStatsGetReq
6118(
6119 WDI_ControlBlockType* pWDICtx,
6120 WDI_EventInfoType* pEventData
6121);
6122
6123WDI_Status
6124WDI_ProcessLLStatsClearRsp
6125(
6126 WDI_ControlBlockType* pWDICtx,
6127 WDI_EventInfoType* pEventData
6128);
6129
6130WDI_Status
6131WDI_ProcessLLStatsClearReq
6132(
6133 WDI_ControlBlockType* pWDICtx,
6134 WDI_EventInfoType* pEventData
6135);
6136
6137WDI_Status
6138WDI_ProcessLinkLayerStatsResultsInd
6139(
6140 WDI_ControlBlockType* pWDICtx,
6141 WDI_EventInfoType* pEventData
6142);
6143
6144#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
c_hpothu86041002014-04-14 19:06:51 +05306145
Abhishek Singh66c16762014-08-14 19:13:19 +05306146WDI_Status
6147WDI_delBaInd
6148(
6149 WDI_ControlBlockType* pWDICtx,
6150 WDI_EventInfoType* pEventData
6151);
6152
Siddharth Bhal171788a2014-09-29 21:02:40 +05306153WDI_Status
6154WDI_ProcessSpoofMacAddrReq
6155(
6156 WDI_ControlBlockType* pWDICtx,
6157 WDI_EventInfoType* pEventData
6158);
6159WDI_Status
6160WDI_ProcessSpoofMacAddrRsp
6161(
6162 WDI_ControlBlockType* pWDICtx,
6163 WDI_EventInfoType* pEventData
6164);
6165
Srinivas Dasari4dae48f2014-11-26 21:14:16 +05306166WDI_Status
Siddharth Bhal64246172015-02-27 01:04:37 +05306167WDI_ProcessGetFrameLogRsp
6168(
6169 WDI_ControlBlockType* pWDICtx,
6170 WDI_EventInfoType* pEventData
6171);
6172WDI_Status
6173WDI_ProcessGetFrameLogReq
6174(
6175 WDI_ControlBlockType* pWDICtx,
6176 WDI_EventInfoType* pEventData
6177);
6178
6179WDI_Status
Siddharth Bhald1be97f2015-05-27 22:39:59 +05306180WDI_ProcessFWLoggingDXEdoneInd
Siddharth Bhalb7c421c2015-02-27 00:26:09 +05306181(
6182 WDI_ControlBlockType* pWDICtx,
6183 WDI_EventInfoType* pEventData
6184);
6185
6186WDI_Status
Sachin Ahuja715aafc2015-07-21 23:35:10 +05306187WDI_ProcessFatalEventLogsReq
6188
6189(
6190 WDI_ControlBlockType* pWDICtx,
6191 WDI_EventInfoType* pEventData
6192);
6193
6194WDI_Status
6195WDI_ProcessFatalEventLogsRsp
6196(
6197 WDI_ControlBlockType* pWDICtx,
6198 WDI_EventInfoType* pEventData
6199);
6200
6201WDI_Status
Siddharth Bhald1be97f2015-05-27 22:39:59 +05306202WDI_ProcessFWLoggingInitReq
6203(
6204 WDI_ControlBlockType* pWDICtx,
6205 WDI_EventInfoType* pEventData
6206);
6207
6208WDI_Status
6209WDI_ProcessFWFrameLoggingInitRsp
Siddharth Bhalb7c421c2015-02-27 00:26:09 +05306210(
6211 WDI_ControlBlockType* pWDICtx,
6212 WDI_EventInfoType* pEventData
6213);
6214
6215WDI_Status
Gupta, Kapil7c34b322015-09-30 13:12:35 +05306216WDI_ProcessRssiMonitorStartReq
6217(
6218 WDI_ControlBlockType* pWDICtx,
6219 WDI_EventInfoType* pEventData
6220);
6221
6222WDI_Status
6223WDI_ProcessRssiMonitorStartRsp
6224(
6225 WDI_ControlBlockType* pWDICtx,
6226 WDI_EventInfoType* pEventData
6227);
6228
6229WDI_Status
6230WDI_ProcessRssiMonitorStopReq
6231(
6232 WDI_ControlBlockType* pWDICtx,
6233 WDI_EventInfoType* pEventData
6234);
6235
6236WDI_Status
6237WDI_ProcessRssiMonitorStopRsp
6238(
6239 WDI_ControlBlockType* pWDICtx,
6240 WDI_EventInfoType* pEventData
6241);
6242
6243WDI_Status
Srinivas Dasari4dae48f2014-11-26 21:14:16 +05306244WDI_ProcessEncryptMsgReq
6245(
6246 WDI_ControlBlockType* pWDICtx,
6247 WDI_EventInfoType* pEventData
6248);
6249
6250WDI_Status
6251WDI_ProcessEncryptMsgRsp
6252(
6253 WDI_ControlBlockType* pWDICtx,
6254 WDI_EventInfoType* pEventData
6255);
Srinivas Dasari32a79262015-02-19 13:04:49 +05306256
6257/**
6258 @brief Process NAN Request
6259
6260 @param pWDICtx: pointer to the WLAN DAL context
6261 pEventData: pointer to the event information structure
6262
6263 @see
6264 @return Result of the function call
6265*/
6266WDI_Status
6267WDI_ProcessNanRequest
6268(
6269 WDI_ControlBlockType* pWDICtx,
6270 WDI_EventInfoType* pEventData
6271);
6272
6273/**
6274 @brief Process NAN Response
6275
6276 @param pWDICtx: pointer to the WLAN DAL context
6277 pEventData: pointer to the event information structure
6278
6279 @see
6280 @return Result of the function call
6281*/
6282WDI_Status
6283WDI_ProcessNanResponse
6284(
6285 WDI_ControlBlockType* pWDICtx,
6286 WDI_EventInfoType* pEventData
6287);
6288
6289/**
6290*@brief Process NAN Event function (called when
6291 an indication is being received over the
6292 bus from HAL)
6293
6294 @param pWDICtx: pointer to the WLAN DAL context
6295 pEventData: pointer to the event information structure
6296
6297 @see
6298 @return Result of the function call
6299*/
6300WDI_Status
6301WDI_ProcessNanEvent
6302(
6303 WDI_ControlBlockType* pWDICtx,
6304 WDI_EventInfoType* pEventData
6305);
6306
Sachin Ahuja3d47fcd2015-08-28 16:02:06 +05306307
6308/**
6309*@brief Process Lost Link param function (called when
6310 an indication is being received over the
6311 bus from HAL)
6312
6313 @param pWDICtx: pointer to the WLAN DAL context
6314 pEventData: pointer to the event information structure
6315
6316 @see
6317 @return Result of the function call
6318*/
6319
6320WDI_Status
6321WDI_Process_LostLinkParamInd
6322(
6323 WDI_ControlBlockType* pWDICtx,
6324 WDI_EventInfoType* pEventData
6325);
6326
Gupta, Kapil7c34b322015-09-30 13:12:35 +05306327WDI_Status
6328WDI_Process_RssiBreachedInd
6329(
6330 WDI_ControlBlockType* pWDICtx,
6331 WDI_EventInfoType* pEventData
6332);
6333
Sachin Ahuja3d47fcd2015-08-28 16:02:06 +05306334
Abhishek Singh41988ba2015-05-25 19:42:29 +05306335/**
6336 @brief WDI_ProcessSetRtsCtsHtvhtInd
6337 Set RTS/CTS indication for diff modes.
6338
6339 @param pWDICtx: pointer to the WLAN DAL context
6340 pEventData: pointer to the event information structure
6341
6342 @return Result of the function call
6343*/
6344
6345
6346WDI_Status
6347WDI_ProcessSetRtsCtsHtvhtInd
6348(
6349 WDI_ControlBlockType* pWDICtx,
6350 WDI_EventInfoType* pEventData
6351);
6352
Katya Nigamf0511f62015-05-05 16:40:57 +05306353WDI_Status
6354WDI_ProcessMonStartReq
6355(
6356 WDI_ControlBlockType* pWDICtx,
6357 WDI_EventInfoType* pEventData
6358);
6359
6360WDI_Status
6361WDI_ProcessMonStartRsp
6362(
6363 WDI_ControlBlockType* pWDICtx,
6364 WDI_EventInfoType* pEventData
6365);
6366
6367WDI_Status
6368WDI_ProcessMonStopReq
6369(
6370 WDI_ControlBlockType* pWDICtx,
6371 WDI_EventInfoType* pEventData
6372);
6373
6374WDI_Status
6375WDI_ProcessMonStopRsp
6376(
6377 WDI_ControlBlockType* pWDICtx,
6378 WDI_EventInfoType* pEventData
6379);
Abhishek Singh41988ba2015-05-25 19:42:29 +05306380
Mahesh A Saptasagarbeca12c2015-09-07 16:21:06 +05306381WDI_Status
6382WDI_ProcessEnableDisableCAEventInd
6383(
6384 WDI_ControlBlockType* pWDICtx,
6385 WDI_EventInfoType* pEventData
6386);
6387
c_manjeecfd1efb2015-09-25 19:32:34 +05306388WDI_Status
6389WDI_ProcessFwrMemDumpReq
6390(
6391 WDI_ControlBlockType* pWDICtx,
6392 WDI_EventInfoType* pEventData
6393);
6394
6395WDI_Status
6396 WDI_ProcessFwrMemDumpRsp
6397(
6398 WDI_ControlBlockType* pWDICtx,
6399 WDI_EventInfoType* pEventData
6400);
6401
Arun Khandavalli7eeb1592015-10-19 21:36:57 +05306402WDI_Status
6403WDI_ProcessWifiConfigReq
6404(
6405 WDI_ControlBlockType* pWDICtx,
6406 WDI_EventInfoType* pEventData
6407);
6408
6409WDI_Status
6410WDI_ProcessWificonfigSetRsp
6411(
6412 WDI_ControlBlockType* pWDICtx,
6413 WDI_EventInfoType* pEventData
6414);
6415
Padma, Santhosh Kumar2ccac212015-10-20 17:27:27 +05306416#ifdef FEATURE_OEM_DATA_SUPPORT
6417/**
6418 @brief WDI_ProcessStartOemDataReqIndNew -
6419 Send OEM Data request new indication to FW
6420
6421 @param pWDICtx : wdi context
6422 pEventData : indication data
6423
6424 @see
6425 @return none
6426*/
6427WDI_Status
6428WDI_ProcessStartOemDataReqIndNew
6429(
6430 WDI_ControlBlockType* pWDICtx,
6431 WDI_EventInfoType* pEventData
6432);
6433
6434/**
6435 @brief Process OemDataRsp New Indication indication from FW
6436
6437 @param pWDICtx: pointer to the WLAN DAL context
6438 pEventData: pointer to the event information structure
6439
6440 @see
6441 @return Result of the function call
6442*/
6443WDI_Status
6444WDI_ProcessStartOemDataRspIndNew
6445(
6446 WDI_ControlBlockType* pWDICtx,
6447 WDI_EventInfoType* pEventData
6448);
6449#endif
6450
Mahesh A Saptasagarb63b3e22015-12-22 15:06:10 +05306451/**
6452 @brief Process get current antenna index command
6453
6454 @param pWDICtx: pointer to the WLAN DAL context
6455 pEventData: pointer to the event information structure
6456
6457 @see
6458 @return Result of the function call
6459*/
6460WDI_Status
6461WDI_ProcessGetCurrentAntennaIndex
6462(
6463 WDI_ControlBlockType* pWDICtx,
6464 WDI_EventInfoType* pEventData
6465);
6466
6467/**
6468 @brief Process get current antenna index response from FW
6469
6470 @param pWDICtx: pointer to the WLAN DAL context
6471 pEventData: pointer to the event information structure
6472
6473 @see
6474 @return Result of the function call
6475*/
6476WDI_Status
6477WDI_ProcessGetCurrentAntennaIndexRsp
6478(
6479 WDI_ControlBlockType* pWDICtx,
6480 WDI_EventInfoType* pEventData
6481);
Padma, Santhosh Kumar2ccac212015-10-20 17:27:27 +05306482
Mahesh A Saptasagar41f9ddd2016-02-09 14:01:03 +05306483/**
6484 @brief Process set modified roam params command
6485
6486 @param pWDICtx: pointer to the WLAN DAL context
6487 pEventData: pointer to the event information structure
6488
6489 @see
6490 @return Result of the function call
6491*/
6492WDI_Status
6493WDI_ProcessBcnMissPenaltyCount
6494(
6495 WDI_ControlBlockType* pWDICtx,
6496 WDI_EventInfoType* pEventData
6497);
Jeff Johnson295189b2012-06-20 16:38:30 -07006498#endif /*WLAN_QCT_WDI_I_H*/
6499