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