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