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