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