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