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