blob: a1970f42034115cfef5c770c17ca34b2c455d1da [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Kiet Lam1ed83fc2014-02-19 01:15:45 -08002 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
3 *
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
Gopichand Nakkala976e3252013-01-03 15:45:56 -080099#else
Yathish Hanumapuradoddi Shivanna64dfc472013-03-08 10:48:34 -0800100#define WDI_MAX_SUPPORTED_STAS 12
Gopichand Nakkala976e3252013-01-03 15:45:56 -0800101#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700102#define WDI_MAX_SUPPORTED_BSS 5
103
104/* Control transport channel size*/
105#define WDI_CT_CHANNEL_SIZE 4096
106
107/*Invalid BSS index ! TO DO: Must come from the HAL header file*/
108#define WDI_BSS_INVALID_IDX 0xFF
109
Jeff Johnson295189b2012-06-20 16:38:30 -0700110#define WDI_FTM_MAX_RECEIVE_BUFFER 6500
Jeff Johnson295189b2012-06-20 16:38:30 -0700111
112/*---------------------------------------------------------------------------
113 DAL Control Path Main States
114---------------------------------------------------------------------------*/
115typedef enum
116{
117 /* Transition in this state made upon creation and when a close request is
118 received*/
119 WDI_INIT_ST = 0,
120
121 /* Transition happens after a Start response was received from HAL (as a
122 result of a previously sent HAL Request)*/
123 WDI_STARTED_ST,
124
125 /* Transition happens when a Stop request was received */
126 WDI_STOPPED_ST,
127
128 /* Transition happens when a request is being sent down to HAL and we are
129 waiting for the response */
130 WDI_BUSY_ST,
131
132 /* Transition happens when 'SSR' shutdown request is recieved.*/
133 WDI_SHUTDOWN_ST,
134
135 WDI_MAX_ST
136}WDI_MainStateType;
137
138
139/*---------------------------------------------------------------------------
140 DAL Control Path Scan States
141---------------------------------------------------------------------------*/
142typedef enum
143{
144 /*The flag will be set to this state when init is called. Once the flag has
145 this value the only two scanning API calls allowed are Scan Start and
146 Scan Finished*/
147 WDI_SCAN_INITIALIZED_ST = 0,
148
149 /*The flag will be set to this value once the Start Scan API is called.
150 When the flag has this value only Scan End API will be allowed. */
151 WDI_SCAN_STARTED_ST = 1,
152
153 /*The flag will be set to this value when End Scan API is called. When the
154 flag is set to this value the only two Scan APIs allowed are Start and
155 Finish. */
156 WDI_SCAN_ENDED_ST = 2,
157
158 /*The flag will be set to this value in the beginning before init is called
159 and after the Finish API is called. No other scan APIs will be allowed
160 in this state until Scan Init is called again. */
161 WDI_SCAN_FINISHED_ST = 3,
162
163 WDI_SCAN_MAX_ST
164}WDI_ScanStateType;
165
166/*---------------------------------------------------------------------------
167 WLAN DAL BSS Session Type - used to allow simulatneous association
168 and keep track of each associated session
169 ---------------------------------------------------------------------------*/
170#define WDI_MAX_BSS_SESSIONS 10
171
172typedef enum
173{
174 /*Init state*/
175 WDI_ASSOC_INIT_ST,
176
177 /*Joining State*/
178 WDI_ASSOC_JOINING_ST,
179
180 /*Associated state*/
181 WDI_ASSOC_POST_ST,
182
183 WDI_ASSOC_MAX_ST
184}WDI_AssocStateType;
185
186/*---------------------------------------------------------------------------
187 WLAN DAL Supported Request Types
188 ---------------------------------------------------------------------------*/
189typedef enum
190{
191 /*WLAN DAL START Request*/
192 WDI_START_REQ = 0,
193
194 /*WLAN DAL STOP Request*/
195 WDI_STOP_REQ = 1,
196
197 /*WLAN DAL STOP Request*/
198 WDI_CLOSE_REQ = 2,
199
200
201 /*SCAN*/
202 /*WLAN DAL Init Scan Request*/
203 WDI_INIT_SCAN_REQ = 3,
204
205 /*WLAN DAL Start Scan Request*/
206 WDI_START_SCAN_REQ = 4,
207
208 /*WLAN DAL End Scan Request*/
209 WDI_END_SCAN_REQ = 5,
210
211 /*WLAN DAL Finish Scan Request*/
212 WDI_FINISH_SCAN_REQ = 6,
213
214
215 /*ASSOCIATION*/
216 /*WLAN DAL Join Request*/
217 WDI_JOIN_REQ = 7,
218
219 /*WLAN DAL Config BSS Request*/
220 WDI_CONFIG_BSS_REQ = 8,
221
222 /*WLAN DAL Del BSS Request*/
223 WDI_DEL_BSS_REQ = 9,
224
225 /*WLAN DAL Post Assoc Request*/
226 WDI_POST_ASSOC_REQ = 10,
227
228 /*WLAN DAL Del STA Request*/
229 WDI_DEL_STA_REQ = 11,
230
231 /*Security*/
232 /*WLAN DAL Set BSS Key Request*/
233 WDI_SET_BSS_KEY_REQ = 12,
234
235 /*WLAN DAL Remove BSS Key Request*/
236 WDI_RMV_BSS_KEY_REQ = 13,
237
238 /*WLAN DAL Set STA Key Request*/
239 WDI_SET_STA_KEY_REQ = 14,
240
241 /*WLAN DAL Remove STA Key Request*/
242 WDI_RMV_STA_KEY_REQ = 15,
243
244 /*QOS and BA*/
245 /*WLAN DAL Add TSpec Request*/
246 WDI_ADD_TS_REQ = 16,
247
248 /*WLAN DAL Delete TSpec Request*/
249 WDI_DEL_TS_REQ = 17,
250
251 /*WLAN DAL Update EDCA Params Request*/
252 WDI_UPD_EDCA_PRMS_REQ = 18,
253
254 /*WLAN DAL Add BA Session Request*/
255 WDI_ADD_BA_SESSION_REQ = 19,
256
257 /*WLAN DAL Delete BA Request*/
258 WDI_DEL_BA_REQ = 20,
259
260 /* Miscellaneous Control */
261 /*WLAN DAL Channel Switch Request*/
262 WDI_CH_SWITCH_REQ = 21,
263
264 /*WLAN DAL Config STA Request*/
265 WDI_CONFIG_STA_REQ = 22,
266
267 /*WLAN DAL Set Link State Request*/
268 WDI_SET_LINK_ST_REQ = 23,
269
270 /*WLAN DAL Get Stats Request*/
271 WDI_GET_STATS_REQ = 24,
272
273 /*WLAN DAL Update Config Request*/
274 WDI_UPDATE_CFG_REQ = 25,
275
276 /* WDI ADD BA Request */
277 WDI_ADD_BA_REQ = 26,
278
279 /* WDI Trigger BA Request */
280 WDI_TRIGGER_BA_REQ = 27,
281
282 /*WLAN DAL Update Beacon Params Request*/
283 WDI_UPD_BCON_PRMS_REQ = 28,
284
285 /*WLAN DAL Send Beacon template Request*/
286 WDI_SND_BCON_REQ = 29,
287
288 /*WLAN DAL Send Probe Response Template Request*/
289 WDI_UPD_PROBE_RSP_TEMPLATE_REQ = 30,
290
291 /*WLAN DAL Set STA Bcast Key Request*/
292 WDI_SET_STA_BCAST_KEY_REQ = 31,
293
294 /*WLAN DAL Remove STA Bcast Key Request*/
295 WDI_RMV_STA_BCAST_KEY_REQ = 32,
296
297 /*WLAN DAL Set Max Tx Power Request*/
298 WDI_SET_MAX_TX_POWER_REQ = 33,
299
300 /* WLAN DAL P2P GO Notice Of Absence Request */
301 WDI_P2P_GO_NOTICE_OF_ABSENCE_REQ = 34,
302
303 /*WLAN DAL Enter IMPS Request*/
304 WDI_ENTER_IMPS_REQ = 35,
305
306 /*WLAN DAL Exit IMPS Request*/
307 WDI_EXIT_IMPS_REQ = 36,
308
309 /*WLAN DAL Enter BMPS Request*/
310 WDI_ENTER_BMPS_REQ = 37,
311
312 /*WLAN DAL Exit BMPS Request*/
313 WDI_EXIT_BMPS_REQ = 38,
314
315 /*WLAN DAL Enter UAPSD Request*/
316 WDI_ENTER_UAPSD_REQ = 39,
317
318 /*WLAN DAL Exit UAPSD Request*/
319 WDI_EXIT_UAPSD_REQ = 40,
320
321 /*WLAN DAL Set UAPSD Param Request*/
322 WDI_SET_UAPSD_PARAM_REQ = 41,
323
324 /*WLAN DAL Update UAPSD Param (SoftAP mode) Request*/
325 WDI_UPDATE_UAPSD_PARAM_REQ = 42,
326
327 /*WLAN DAL Configure RXP filter Request*/
328 WDI_CONFIGURE_RXP_FILTER_REQ = 43,
329
330 /*WLAN DAL Configure Beacon filter Request*/
331 WDI_SET_BEACON_FILTER_REQ = 44,
332
333 /*WLAN DAL Remove Beacon filter Request*/
334 WDI_REM_BEACON_FILTER_REQ = 45,
335
336 /*WLAN DAL Set RSSI thresholds Request*/
337 WDI_SET_RSSI_THRESHOLDS_REQ = 46,
338
339 /*WLAN DAL host offload Request*/
340 WDI_HOST_OFFLOAD_REQ = 47,
341
342 /*WLAN DAL add wowl bc ptrn Request*/
343 WDI_WOWL_ADD_BC_PTRN_REQ = 48,
344
345 /*WLAN DAL delete wowl bc ptrn Request*/
346 WDI_WOWL_DEL_BC_PTRN_REQ = 49,
347
348 /*WLAN DAL enter wowl Request*/
349 WDI_WOWL_ENTER_REQ = 50,
350
351 /*WLAN DAL exit wowl Request*/
352 WDI_WOWL_EXIT_REQ = 51,
353
354 /*WLAN DAL Configure Apps CPU Wakeup state Request*/
355 WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_REQ = 52,
356
357 /* WLAN NV Download Request */
358 WDI_NV_DOWNLOAD_REQ = 53,
359 /*WLAN DAL Flush AC Request*/
360 WDI_FLUSH_AC_REQ = 54,
361
362 /*WLAN DAL BT AMP event Request*/
363 WDI_BTAMP_EVENT_REQ = 55,
364 /*WLAN DAL Aggregated Add TSpec Request*/
365 WDI_AGGR_ADD_TS_REQ = 56,
366
367 WDI_ADD_STA_SELF_REQ = 57,
368
369 WDI_DEL_STA_SELF_REQ = 58,
370
371 /* WLAN FTM Command request */
372 WDI_FTM_CMD_REQ = 59,
373
Jeff Johnsone7245742012-09-05 17:12:55 -0700374 /*WLAN START OEM_DATA MEAS Request*/
375 WDI_START_OEM_DATA_REQ = 60,
Jeff Johnson295189b2012-06-20 16:38:30 -0700376 /* WLAN host resume request */
377 WDI_HOST_RESUME_REQ = 61,
378
379 WDI_KEEP_ALIVE_REQ = 62,
380
381 /* Set PNO */
382 WDI_SET_PREF_NETWORK_REQ = 63,
383
384 /*RSSI Filter Request*/
385 WDI_SET_RSSI_FILTER_REQ = 64,
386
387 /* Update Scan Parameters*/
388 WDI_UPDATE_SCAN_PARAMS_REQ = 65,
389
390 WDI_SET_TX_PER_TRACKING_REQ = 66,
391
392 WDI_8023_MULTICAST_LIST_REQ = 67,
393 WDI_RECEIVE_FILTER_SET_FILTER_REQ = 68,
394 WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ = 69,
395 WDI_RECEIVE_FILTER_CLEAR_FILTER_REQ = 70,
396
397 /*This is temp fix. Should be removed once
398 * Host and Riva code is in sync*/
399 WDI_INIT_SCAN_CON_REQ = 71,
400
401 /* WLAN HAL DUMP Command request */
402 WDI_HAL_DUMP_CMD_REQ = 72,
403
404 /* WLAN DAL Shutdown Request */
405 WDI_SHUTDOWN_REQ = 73,
406
407 /*Set power parameters on the device*/
408 WDI_SET_POWER_PARAMS_REQ = 74,
409
410 /* Traffic Stream Metrics statistic request */
411 WDI_TSM_STATS_REQ = 75,
412 /* GTK Rekey Offload */
413 WDI_GTK_OFFLOAD_REQ = 76,
414 WDI_GTK_OFFLOAD_GETINFO_REQ = 77,
415
416 /*Set Thermal Migration level to RIVA*/
417 WDI_SET_TM_LEVEL_REQ = 78,
418
419 /* Send a capability exchange message to HAL */
420 WDI_FEATURE_CAPS_EXCHANGE_REQ = 79,
421
Mohit Khanna4a70d262012-09-11 16:30:12 -0700422#ifdef WLAN_FEATURE_11AC
423 /* Send a capability exchange message to HAL */
424 WDI_UPDATE_VHT_OP_MODE_REQ = 80,
425#endif
426
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800427 /*WLAN DAL Get Roam Rssi Request*/
428 WDI_GET_ROAM_RSSI_REQ = 81,
429
schang86c22c42013-03-13 18:41:24 -0700430 /*WLAN DAL Set Tx Power Request*/
431 WDI_SET_TX_POWER_REQ = 82,
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700432 WDI_ROAM_SCAN_OFFLOAD_REQ = 83,
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530433
434 WDI_TDLS_LINK_ESTABLISH_REQ = 84,
435
Leo Chang9056f462013-08-01 19:21:11 -0700436 /* WLAN FW LPHB config request */
437 WDI_LPHB_CFG_REQ = 85,
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530438
Rajeev79dbe4c2013-10-05 11:03:42 +0530439 /* WLAN FW set batch scan request */
Madan Mohan Koyyalamudi9d5d29c2013-10-23 15:18:03 -0700440 WDI_SET_BATCH_SCAN_REQ = 86,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800441
Arif Hussaina5ebce02013-08-09 15:09:58 -0700442 /*WLAN DAL Set Max Tx Power Per band Request*/
Arif Hussain874bf812013-12-27 16:39:15 -0800443 WDI_SET_MAX_TX_POWER_PER_BAND_REQ = 87,
Rajeev79dbe4c2013-10-05 11:03:42 +0530444
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -0800445 WDI_UPDATE_CHAN_REQ = 88,
446
c_hpothu92367912014-05-01 15:18:17 +0530447 WDI_GET_BCN_MISS_RATE_REQ = 89,
448
Sunil Duttbd736ed2014-05-26 21:19:41 +0530449#ifdef WLAN_FEATURE_LINK_LAYER_STATS
450 WDI_LL_STATS_SET_REQ = 90,
451 WDI_LL_STATS_GET_REQ = 91,
452 WDI_LL_STATS_CLEAR_REQ = 92,
453#endif
454
Dino Mycle41bdc942014-06-10 11:30:24 +0530455#ifdef WLAN_FEATURE_EXTSCAN
456 WDI_EXTSCAN_START_REQ = 93,
457 WDI_EXTSCAN_STOP_REQ = 94,
458 WDI_EXTSCAN_GET_CACHED_RESULTS_REQ = 95,
459 WDI_EXTSCAN_GET_CAPABILITIES_REQ = 96,
460 WDI_EXTSCAN_SET_BSSID_HOTLIST_REQ = 97,
461 WDI_EXTSCAN_RESET_BSSID_HOTLIST_REQ = 98,
462 WDI_EXTSCAN_SET_SIGNF_RSSI_CHANGE_REQ = 99,
463 WDI_EXTSCAN_RESET_SIGNF_RSSI_CHANGE_REQ = 100,
464#endif
Atul Mittalc0f739f2014-07-31 13:47:47 +0530465
Siddharth Bhal171788a2014-09-29 21:02:40 +0530466 WDI_SPOOF_MAC_ADDR_REQ = 101,
467
Abhishek Singh85b74712014-10-08 11:38:19 +0530468 WDI_GET_FW_STATS_REQ = 102,
469
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530470 /* Send command to encrypt the given message */
471 WDI_ENCRYPT_MSG_REQ = 103,
472
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530473 WDI_MGMT_LOGGING_INIT_REQ = 104,
Siddharth Bhal64246172015-02-27 01:04:37 +0530474 WDI_GET_FRAME_LOG_REQ = 105,
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530475
Srinivas Dasari32a79262015-02-19 13:04:49 +0530476 /* NAN Request */
477 WDI_NAN_REQUEST = 106,
478
Jeff Johnson295189b2012-06-20 16:38:30 -0700479 WDI_MAX_REQ,
480
481 /*Send a suspend Indication down to HAL*/
482 WDI_HOST_SUSPEND_IND = WDI_MAX_REQ ,
483
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -0800484 /* Send a traffic stats indication to HAL */
485 WDI_TRAFFIC_STATS_IND,
486
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530487 /* DHCP Start Indication */
488 WDI_DHCP_START_IND,
489
490 /* DHCP Stop Indication */
491 WDI_DHCP_STOP_IND,
492
Chet Lanctot186b5732013-03-18 10:26:30 -0700493 /* Drop/Receive unencrypted frames indication to HAL */
494 WDI_EXCLUDE_UNENCRYPTED_IND,
495
Yue Mab9c86f42013-08-14 15:59:08 -0700496 /* Send an add periodic Tx pattern indication to HAL */
497 WDI_ADD_PERIODIC_TX_PATTERN_IND,
498
499 /* Send a delete periodic Tx pattern indicationto HAL */
500 WDI_DEL_PERIODIC_TX_PATTERN_IND,
501
Rajeev79dbe4c2013-10-05 11:03:42 +0530502 /*Send stop batch scan indication to FW*/
503 WDI_STOP_BATCH_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800504
Rajeev79dbe4c2013-10-05 11:03:42 +0530505 /*Send stop batch scan indication to FW*/
506 WDI_TRIGGER_BATCH_SCAN_RESULT_IND,
Manjunathappa Prakash5c7d6362014-02-20 12:59:51 -0800507
508 /* Send Rate Update Indication */
509 WDI_RATE_UPDATE_IND,
510
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +0530511 WDI_START_HT40_OBSS_SCAN_IND,
512 WDI_STOP_HT40_OBSS_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800513
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800514 /* csa channel switch req*/
515 WDI_CH_SWITCH_REQ_V1,
Atul Mittalc0f739f2014-07-31 13:47:47 +0530516 WDI_TDLS_CHAN_SWITCH_REQ,
Abhishek Singh41988ba2015-05-25 19:42:29 +0530517 WDI_SET_RTS_CTS_HTVHT_IND,
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800518
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800519 /*Keep adding the indications to the max request
520 such that we keep them sepparate */
Jeff Johnson295189b2012-06-20 16:38:30 -0700521 WDI_MAX_UMAC_IND
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +0530522}WDI_RequestEnumType;
Jeff Johnson295189b2012-06-20 16:38:30 -0700523
524/*---------------------------------------------------------------------------
525 WLAN DAL Supported Response Types
526 ---------------------------------------------------------------------------*/
527typedef enum
528{
529 /*WLAN DAL START Response*/
530 WDI_START_RESP = 0,
531
532 /*WLAN DAL STOP Response*/
533 WDI_STOP_RESP = 1,
534
535 /*WLAN DAL STOP Response*/
536 WDI_CLOSE_RESP = 2,
537
538 /*SCAN*/
539 /*WLAN DAL Init Scan Response*/
540 WDI_INIT_SCAN_RESP = 3,
541
542 /*WLAN DAL Start Scan Response*/
543 WDI_START_SCAN_RESP = 4,
544
545 /*WLAN DAL End Scan Response*/
546 WDI_END_SCAN_RESP = 5,
547
548 /*WLAN DAL Finish Scan Response*/
549 WDI_FINISH_SCAN_RESP = 6,
550
551
552 /*ASSOCIATION*/
553 /*WLAN DAL Join Response*/
554 WDI_JOIN_RESP = 7,
555
556 /*WLAN DAL Config BSS Response*/
557 WDI_CONFIG_BSS_RESP = 8,
558
559 /*WLAN DAL Del BSS Response*/
560 WDI_DEL_BSS_RESP = 9,
561
562 /*WLAN DAL Post Assoc Response*/
563 WDI_POST_ASSOC_RESP = 10,
564
565 /*WLAN DAL Del STA Response*/
566 WDI_DEL_STA_RESP = 11,
567
568 /*WLAN DAL Set BSS Key Response*/
569 WDI_SET_BSS_KEY_RESP = 12,
570
571 /*WLAN DAL Remove BSS Key Response*/
572 WDI_RMV_BSS_KEY_RESP = 13,
573
574 /*WLAN DAL Set STA Key Response*/
575 WDI_SET_STA_KEY_RESP = 14,
576
577 /*WLAN DAL Remove STA Key Response*/
578 WDI_RMV_STA_KEY_RESP = 15,
579
580 /*WLAN DAL Add TSpec Response*/
581 WDI_ADD_TS_RESP = 16,
582
583 /*WLAN DAL Delete TSpec Response*/
584 WDI_DEL_TS_RESP = 17,
585
586 /*WLAN DAL Update EDCA Params Response*/
587 WDI_UPD_EDCA_PRMS_RESP = 18,
588
589 /*WLAN DAL Add BA Session Response*/
590 WDI_ADD_BA_SESSION_RESP = 19,
591
592 /*WLAN DAL Delete BA Response*/
593 WDI_DEL_BA_RESP = 20,
594
595 /*WLAN DAL Channel Switch Response*/
596 WDI_CH_SWITCH_RESP = 21,
597
598 /*WLAN DAL Config STA Response*/
599 WDI_CONFIG_STA_RESP = 22,
600
601 /*WLAN DAL Set Link State Response*/
602 WDI_SET_LINK_ST_RESP = 23,
603
604 /*WLAN DAL Get Stats Response*/
605 WDI_GET_STATS_RESP = 24,
606
607 /*WLAN DAL Update Config Response*/
608 WDI_UPDATE_CFG_RESP = 25,
609
610 /* WDI ADD BA Response */
611 WDI_ADD_BA_RESP = 26,
612
613 /* WDI Trigger BA Response */
614 WDI_TRIGGER_BA_RESP = 27,
615
616 /*WLAN DAL Update beacon params Response*/
617 WDI_UPD_BCON_PRMS_RESP = 28,
618
619 /*WLAN DAL Send beacon template Response*/
620 WDI_SND_BCON_RESP = 29,
621
622 /*WLAN DAL Update Probe Response Template Response*/
623 WDI_UPD_PROBE_RSP_TEMPLATE_RESP = 30,
624
625 /*WLAN DAL Set STA Key Response*/
626 WDI_SET_STA_BCAST_KEY_RESP = 31,
627
628 /*WLAN DAL Remove STA Key Response*/
629 WDI_RMV_STA_BCAST_KEY_RESP = 32,
630
631 /*WLAN DAL Set Max Tx Power Response*/
632 WDI_SET_MAX_TX_POWER_RESP = 33,
633
634 /*WLAN DAL Enter IMPS Response*/
635 WDI_ENTER_IMPS_RESP = 34,
636
637 /*WLAN DAL Exit IMPS Response*/
638 WDI_EXIT_IMPS_RESP = 35,
639
640 /*WLAN DAL Enter BMPS Response*/
641 WDI_ENTER_BMPS_RESP = 36,
642
643 /*WLAN DAL Exit BMPS Response*/
644 WDI_EXIT_BMPS_RESP = 37,
645
646 /*WLAN DAL Enter UAPSD Response*/
647 WDI_ENTER_UAPSD_RESP = 38,
648
649 /*WLAN DAL Exit UAPSD Response*/
650 WDI_EXIT_UAPSD_RESP = 39,
651
652 /*WLAN DAL Set UAPSD Param Response*/
653 WDI_SET_UAPSD_PARAM_RESP = 40,
654
655 /*WLAN DAL Update UAPSD Param (SoftAP mode) Response*/
656 WDI_UPDATE_UAPSD_PARAM_RESP = 41,
657
658 /*WLAN DAL Configure RXP filter Response*/
659 WDI_CONFIGURE_RXP_FILTER_RESP = 42,
660
661 /*WLAN DAL Set Beacon filter Response*/
662 WDI_SET_BEACON_FILTER_RESP = 43,
663
664 /*WLAN DAL Remove Beacon filter Response*/
665 WDI_REM_BEACON_FILTER_RESP = 44,
666
667 /*WLAN DAL Set RSSI thresholds Response*/
668 WDI_SET_RSSI_THRESHOLDS_RESP = 45,
669
670 /*WLAN DAL Set RSSI thresholds Response*/
671 WDI_HOST_OFFLOAD_RESP = 46,
672
673 /*WLAN DAL add wowl bc ptrn Response*/
674 WDI_WOWL_ADD_BC_PTRN_RESP = 47,
675
676 /*WLAN DAL delete wowl bc ptrn Response*/
677 WDI_WOWL_DEL_BC_PTRN_RESP = 48,
678
679 /*WLAN DAL enter wowl Response*/
680 WDI_WOWL_ENTER_RESP = 49,
681
682 /*WLAN DAL exit wowl Response*/
683 WDI_WOWL_EXIT_RESP = 50,
684
685 /*WLAN DAL Configure Apps CPU Wakeup state Response*/
686 WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_RESP = 51,
687
688 /* WLAN NV Download responce */
689 WDI_NV_DOWNLOAD_RESP = 52,
690
691 /*WLAN DAL Flush AC Response*/
692 WDI_FLUSH_AC_RESP = 53,
693
694 /*WLAN DAL Flush AC Response*/
695 WDI_BTAMP_EVENT_RESP = 54,
696
697 /*WLAN DAL Add Aggregated TSpec Response*/
698 WDI_AGGR_ADD_TS_RESP = 55,
699
700 /*Add Self STA Response*/
701 WDI_ADD_STA_SELF_RESP = 56,
702
703 /*Delete Self STA Response*/
704 WDI_DEL_STA_SELF_RESP = 57,
705
Jeff Johnsone7245742012-09-05 17:12:55 -0700706 /*WLAN START OEM_DATA Response*/
707 WDI_START_OEM_DATA_RESP = 58,
Jeff Johnson295189b2012-06-20 16:38:30 -0700708
709 /* WLAN host resume request */
710 WDI_HOST_RESUME_RESP = 59,
711
712 /* WLAN DAL P2P GO Notice Of Absence Response */
713 WDI_P2P_GO_NOTICE_OF_ABSENCE_RESP = 60,
714
715 /* FTM Response from HAL */
716 WDI_FTM_CMD_RESP = 61,
717
718 /*Keep alive response */
719 WDI_KEEP_ALIVE_RESP = 62,
720
721 /* Set PNO Response */
722 WDI_SET_PREF_NETWORK_RESP = 63,
723
724 /* Set RSSI Filter Response */
725 WDI_SET_RSSI_FILTER_RESP = 64,
726
727 /* Update Scan Parameters Resp */
728 WDI_UPDATE_SCAN_PARAMS_RESP = 65,
729
730 //Tx PER Tracking
731 WDI_SET_TX_PER_TRACKING_RESP = 66,
732
733
734
735 /* Packet Filtering Response */
736 WDI_8023_MULTICAST_LIST_RESP = 67,
737
738 WDI_RECEIVE_FILTER_SET_FILTER_RESP = 68,
739
740 WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_RESP = 69,
741
742 WDI_RECEIVE_FILTER_CLEAR_FILTER_RESP = 70,
743
744
745 /* WLAN HAL DUMP Command Response */
746 WDI_HAL_DUMP_CMD_RESP = 71,
747
748 /* WLAN Shutdown Response */
749 WDI_SHUTDOWN_RESP = 72,
750
751 /*Set power parameters response */
752 WDI_SET_POWER_PARAMS_RESP = 73,
753
754 WDI_TSM_STATS_RESP = 74,
755 /* GTK Rekey Offload */
Jeff Johnsone7245742012-09-05 17:12:55 -0700756 WDI_GTK_OFFLOAD_RESP = 75,
757 WDI_GTK_OFFLOAD_GETINFO_RESP = 76,
Jeff Johnson295189b2012-06-20 16:38:30 -0700758
759 WDI_SET_TM_LEVEL_RESP = 77,
760
761 /* FW sends its capability bitmap as a response */
762 WDI_FEATURE_CAPS_EXCHANGE_RESP = 78,
763
Mohit Khanna4a70d262012-09-11 16:30:12 -0700764#ifdef WLAN_FEATURE_11AC
765 WDI_UPDATE_VHT_OP_MODE_RESP = 79,
766#endif
767
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800768 /* WLAN DAL Get Roam Rssi Response*/
769 WDI_GET_ROAM_RSSI_RESP = 80,
770
schang86c22c42013-03-13 18:41:24 -0700771 WDI_SET_TX_POWER_RESP = 81,
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700772 WDI_ROAM_SCAN_OFFLOAD_RESP = 82,
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530773
774 WDI_TDLS_LINK_ESTABLISH_REQ_RESP = 83,
Leo Chang9056f462013-08-01 19:21:11 -0700775
776 /* WLAN FW LPHB Config response */
777 WDI_LPHB_CFG_RESP = 84,
778
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800779 WDI_SET_BATCH_SCAN_RESP = 85,
Rajeev79dbe4c2013-10-05 11:03:42 +0530780
Arif Hussain874bf812013-12-27 16:39:15 -0800781 WDI_SET_MAX_TX_POWER_PER_BAND_RSP = 86,
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -0800782
783 WDI_UPDATE_CHAN_RESP = 87,
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800784 /* channel switch resp v1*/
785 WDI_CH_SWITCH_RESP_V1 = 88,
786
c_hpothu92367912014-05-01 15:18:17 +0530787 WDI_GET_BCN_MISS_RATE_RSP = 89,
Sunil Duttbd736ed2014-05-26 21:19:41 +0530788#ifdef WLAN_FEATURE_LINK_LAYER_STATS
789 WDI_LL_STATS_SET_RSP = 90,
790 WDI_LL_STATS_GET_RSP = 91,
791 WDI_LL_STATS_CLEAR_RSP = 92,
792#endif
793
Dino Mycle41bdc942014-06-10 11:30:24 +0530794#ifdef WLAN_FEATURE_EXTSCAN
Rashmi Ramannaa3aa5b12014-07-21 19:10:17 +0530795 WDI_EXTSCAN_START_RSP = 93,
796 WDI_EXTSCAN_STOP_RSP = 94,
797 WDI_EXTSCAN_GET_CACHED_RESULTS_RSP = 95,
798 WDI_EXTSCAN_GET_CAPABILITIES_RSP = 96,
799 WDI_EXTSCAN_SET_HOTLIST_BSSID_RSP = 97,
800 WDI_EXTSCAN_RESET_HOTLIST_BSSID_RSP = 98,
801 WDI_EXTSCAN_SET_SIGNF_RSSI_CHANGE_RSP = 99,
802 WDI_EXTSCAN_RESET_SIGNF_RSSI_CHANGE_RSP = 100,
Dino Mycle41bdc942014-06-10 11:30:24 +0530803#endif
Siddharth Bhal171788a2014-09-29 21:02:40 +0530804 WDI_SPOOF_MAC_ADDR_RSP = 101,
Abhishek Singh85b74712014-10-08 11:38:19 +0530805 WDI_GET_FW_STATS_RSP = 102,
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530806
807 /* Send command to encrypt the given message */
808 WDI_ENCRYPT_MSG_RSP = 103,
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530809
810 WDI_MGMT_LOGGING_INIT_RSP = 104,
Siddharth Bhal64246172015-02-27 01:04:37 +0530811 WDI_GET_FRAME_LOG_RSP = 105,
Srinivas Dasari32a79262015-02-19 13:04:49 +0530812
813 WDI_NAN_RESPONSE = 106,
814
Jeff Johnson295189b2012-06-20 16:38:30 -0700815 /*-------------------------------------------------------------------------
816 Indications
817 !! Keep these last in the enum if possible
818 -------------------------------------------------------------------------*/
819 WDI_HAL_IND_MIN ,
820 /*When RSSI monitoring is enabled of the Lower MAC and a threshold has been
821 passed. */
822 WDI_HAL_RSSI_NOTIFICATION_IND = WDI_HAL_IND_MIN,
823
824 /*Link loss in the low MAC */
825 WDI_HAL_MISSED_BEACON_IND = WDI_HAL_IND_MIN + 1,
826
827 /*When hardware has signaled an unknown addr2 frames. The indication will
828 contain info from frames to be passed to the UMAC, this may use this info to
829 deauth the STA*/
830 WDI_HAL_UNKNOWN_ADDR2_FRAME_RX_IND = WDI_HAL_IND_MIN + 2,
831
832 /*MIC Failure detected by HW*/
833 WDI_HAL_MIC_FAILURE_IND = WDI_HAL_IND_MIN + 3,
834
835 /*Fatal Error Ind*/
836 WDI_HAL_FATAL_ERROR_IND = WDI_HAL_IND_MIN + 4,
837
838 /*Received when the RIVA SW decides to autonomously delete an associate
839 station (e.g. Soft AP TIM based dissassoc) */
840 WDI_HAL_DEL_STA_IND = WDI_HAL_IND_MIN + 5,
841
842 /*Coex indication*/
843 WDI_HAL_COEX_IND = WDI_HAL_IND_MIN + 6,
844
845 /* Tx Complete Indication */
846 WDI_HAL_TX_COMPLETE_IND = WDI_HAL_IND_MIN + 7,
847
848 WDI_HAL_P2P_NOA_ATTR_IND = WDI_HAL_IND_MIN + 8,
849
850 /* Preferred Network Found Indication */
851 WDI_HAL_PREF_NETWORK_FOUND_IND = WDI_HAL_IND_MIN + 9,
852
853 /* Wakeup Reason Indication */
854 WDI_HAL_WAKE_REASON_IND = WDI_HAL_IND_MIN + 10,
855
856 /* Tx PER Hit Indication */
857 WDI_HAL_TX_PER_HIT_IND = WDI_HAL_IND_MIN + 11,
Viral Modid86bde22012-12-10 13:09:21 -0800858
859 /* NOA Start Indication from FW to Host */
860 WDI_HAL_P2P_NOA_START_IND = WDI_HAL_IND_MIN + 12,
861
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530862 /* TDLS Indication from FW to Host */
863 WDI_HAL_TDLS_IND = WDI_HAL_IND_MIN + 13,
864
Leo Chang9056f462013-08-01 19:21:11 -0700865 /* LPHB timeout indication */
Leo Changd9df8aa2013-09-26 13:32:26 -0700866 WDI_HAL_LPHB_IND = WDI_HAL_IND_MIN + 14,
Ravi Joshid2ca7c42013-07-23 08:37:49 -0700867
868 /* IBSS Peer Inactivity Indication from FW to Host */
869 WDI_HAL_IBSS_PEER_INACTIVITY_IND = WDI_HAL_IND_MIN + 15,
870
Yue Mab9c86f42013-08-14 15:59:08 -0700871 /* Periodic Tx Pattern Indication from FW to Host */
872 WDI_HAL_PERIODIC_TX_PTRN_FW_IND = WDI_HAL_IND_MIN + 16,
873
Rajeev79dbe4c2013-10-05 11:03:42 +0530874
Rajeev79dbe4c2013-10-05 11:03:42 +0530875 WDI_BATCHSCAN_RESULT_IND = WDI_HAL_IND_MIN + 17,
Rajeev79dbe4c2013-10-05 11:03:42 +0530876
Leo Chang0b0e45a2013-12-15 15:18:55 -0800877 WDI_HAL_CH_AVOID_IND = WDI_HAL_IND_MIN + 18,
c_hpothu86041002014-04-14 19:06:51 +0530878
879 /* print register values indication from FW to Host */
880 WDI_PRINT_REG_INFO_IND = WDI_HAL_IND_MIN + 19,
Sunil Duttbd736ed2014-05-26 21:19:41 +0530881#ifdef WLAN_FEATURE_LINK_LAYER_STATS
882 WDI_HAL_LL_STATS_RESULTS_IND = WDI_HAL_IND_MIN + 20,
883#endif
Dino Mycle41bdc942014-06-10 11:30:24 +0530884#ifdef WLAN_FEATURE_EXTSCAN
Rashmi Ramannaa3aa5b12014-07-21 19:10:17 +0530885 WDI_HAL_EXTSCAN_PROGRESS_IND = WDI_HAL_IND_MIN + 21,
886 WDI_HAL_EXTSCAN_SCAN_AVAILABLE_IND = WDI_HAL_IND_MIN + 22,
887 WDI_HAL_EXTSCAN_RESULT_IND = WDI_HAL_IND_MIN + 23,
888 WDI_HAL_EXTSCAN_BSSID_HOTLIST_RESULT_IND = WDI_HAL_IND_MIN + 24,
889 WDI_HAL_EXTSCAN_SIG_RSSI_RESULT_IND = WDI_HAL_IND_MIN + 25,
Dino Mycle41bdc942014-06-10 11:30:24 +0530890#endif
Kiet Lam4d04c742014-08-27 11:14:06 -0700891 WDI_TDLS_CHAN_SWITCH_REQ_RESP = WDI_HAL_IND_MIN + 26,
892 WDI_HAL_DEL_BA_IND = WDI_HAL_IND_MIN + 27,
Srinivas Dasari32a79262015-02-19 13:04:49 +0530893 WDI_HAL_NAN_EVENT = WDI_HAL_IND_MIN + 28,
Jeff Johnson295189b2012-06-20 16:38:30 -0700894 WDI_MAX_RESP
895}WDI_ResponseEnumType;
896
897typedef struct
898{
899 /*Flag that marks a session as being in use*/
900 wpt_boolean bInUse;
901
902 /*Flag that keeps track if a series of assoc requests for this BSS are
903 currently pending in the queue or processed
904 - the flag is set to true when the Join request ends up being queued
905 - and reset to false when the Pending queue is empty */
906 wpt_boolean bAssocReqQueued;
907
908 /*BSSID of the session*/
909 wpt_macAddr macBSSID;
910
911 /*BSS Index associated with this BSSID*/
912 wpt_uint8 ucBSSIdx;
913
914 /*Associated state of the current BSS*/
915 WDI_AssocStateType wdiAssocState;
916
917 /*WDI Pending Request Queue*/
918 wpt_list wptPendingQueue;
919
920 /*DPU Information for this BSS*/
921 wpt_uint8 bcastDpuIndex;
922 wpt_uint8 bcastDpuSignature;
923 wpt_uint8 bcastMgmtDpuIndex;
924 wpt_uint8 bcastMgmtDpuSignature;
925
926 /*RMF enabled/disabled*/
927 wpt_uint8 ucRmfEnabled;
928
929 /*Bcast STA ID associated with this BSS session */
930 wpt_uint8 bcastStaIdx;
931
932 /*The type of the BSS in the session */
933 WDI_BssType wdiBssType;
934}WDI_BSSSessionType;
935
936/*---------------------------------------------------------------------------
937 WDI_ConfigBSSRspInfoType
938---------------------------------------------------------------------------*/
939typedef WPT_PACK_PRE struct
940{
941 /*BSS index allocated by HAL*/
942 wpt_uint8 ucBSSIdx;
943
944 /*BSSID of the BSS*/
945 wpt_macAddr macBSSID;
946
947 /*Broadcast DPU descriptor index allocated by HAL and used for
948 broadcast/multicast packets.*/
949 wpt_uint8 ucBcastDpuDescIndx;
950
951 /*DPU signature to be used for broadcast/multicast packets*/
952 wpt_uint8 ucBcastDpuSignature;
953
954 /*DPU descriptor index allocated by HAL, used for bcast/mcast management
955 packets*/
956 wpt_uint8 ucMgmtDpuDescIndx;
957
958 /*DPU signature to be used for bcast/mcast management packets*/
959 wpt_uint8 ucMgmtDpuSignature;
960
961 /*Status of the request received from HAL */
962 eHalStatus halStatus;
963}WPT_PACK_POST WDI_ConfigBSSRspInfoType;
964
965
966/*---------------------------------------------------------------------------
967 WDI_PostAssocRspInfoType
968---------------------------------------------------------------------------*/
969typedef WPT_PACK_PRE struct
970{
971 /*STA Index allocated by HAL.*/
972 wpt_uint16 usSTAIdx;
973
974 /*MAC Address of STA*/
975 wpt_macAddr macSTA;
976
977 /*Unicast DPU signature*/
978 wpt_uint8 ucUcastSig;
979
980 /*Broadcast DPU Signature*/
981 wpt_uint8 ucBcastSig;
982
983 /*BSSID of the BSS*/
984 wpt_macAddr macBSSID;
985
986 /*HAL Status */
987 eHalStatus halStatus;
988}WPT_PACK_POST WDI_PostAssocRspInfoType;
989
Dino Mycled3d50022014-07-07 12:58:25 +0530990#ifdef WLAN_FEATURE_LINK_LAYER_STATS
991/*---------------------------------------------------------------------------
992 WDI_LLStatsResultsType
993---------------------------------------------------------------------------*/
994typedef WPT_PACK_PRE struct
995{
996 wpt_uint32 param_id;
997 wpt_uint8 iface_id;
998 wpt_uint32 resp_id;
999 wpt_uint32 more_result_to_follow;
1000 wpt_uint8 result[1];
1001}WPT_PACK_POST WDI_LLstatsResultsType;
1002
1003#endif
1004
Jeff Johnson295189b2012-06-20 16:38:30 -07001005/*---------------------------------------------------------------------------
1006 WLAN DAL FSM Event Info Type
1007 ---------------------------------------------------------------------------*/
1008typedef struct
1009{
1010 /*Events can be linked in a list - put a node in front for that, it will be
1011 used by wpt to link them*/
1012 wpt_list_node wptListNode;
1013
1014 /*Request Received */
1015 WDI_RequestEnumType wdiRequest;
1016
1017 /*Response Received */
1018 WDI_ResponseEnumType wdiResponse;
1019
1020 /*Data associated with the request */
1021 void* pEventData;
1022
1023 /*Data Size*/
1024 wpt_uint32 uEventDataSize;
1025
1026 /*Callback function for receiving the response to the event*/
1027 void* pCBfnc;
1028
1029 /*User data to be sent along with the CB function call*/
1030 void* pUserData;
1031}WDI_EventInfoType;
1032
1033/*---------------------------------------------------------------------------
1034 WLAN DAL Session Index Type
1035 ---------------------------------------------------------------------------*/
1036typedef struct
1037{
1038 /*Events can be linked in a list - put a node in front for that, it will be
1039 used by wpt to link them*/
1040 wpt_list_node wptListNode;
1041
1042 /*Session id for the new association to be processed*/
1043 wpt_uint8 ucIndex;
1044
1045}WDI_NextSessionIdType;
1046
1047#define WDI_CONTROL_BLOCK_MAGIC 0x67736887 /* WDIC in little endian */
1048/*---------------------------------------------------------------------------
1049 WLAN DAL Control Block Type
1050 ---------------------------------------------------------------------------*/
1051typedef struct
1052{
1053 /*magic number so callbacks can validate their context pointers*/
1054 wpt_uint32 magic;
1055
1056 /*Ptr to the OS Context received from the UMAC*/
1057 void* pOSContext;
1058
1059 /*Ptr to the PAL Context received from PAL*/
1060 void* pPALContext;
1061
1062 /*Ptr to the Datapath Context received from PAL*/
1063 void* pDPContext;
1064
1065 /*Ptr to the Datapath Transport Driver Context received from PAL*/
1066 void* pDTDriverContext;
1067
1068 /*Hanlde to the control transport service*/
1069 WCTS_HandleType wctsHandle;
1070
1071 /*Flag that keeps track if CT is Opened or not*/
1072 wpt_boolean bCTOpened;
1073
1074 /*The global state of the DAL Control Path*/
1075 WDI_MainStateType uGlobalState;
1076
1077 /*Flag to keep track of the expected state transition after processing
1078 of a response */
1079 WDI_MainStateType ucExpectedStateTransition;
1080
1081 /*Main Synchronization Object for the WDI CB*/
1082 wpt_mutex wptMutex;
1083
1084 /*WDI response timer*/
1085 wpt_timer wptResponseTimer;
1086
1087 /*WDI Pending Request Queue*/
1088 wpt_list wptPendingQueue;
1089#if 0
1090 /*The state of the DAL during a scanning procedure*/
1091 WDI_ScanStateType uScanState;
1092
1093 /*Flag that keeps track if a Scan is currently in progress*/
1094 wpt_boolean bScanInProgress;
1095#endif
1096 /*Flag that keeps track if an Association is currently in progress*/
1097 wpt_boolean bAssociationInProgress;
1098
1099 /*Array of simultaneous BSS Sessions*/
1100 WDI_BSSSessionType aBSSSessions[WDI_MAX_BSS_SESSIONS];
1101
1102 /*WDI Pending Association Session Id Queue - it keeps track of the
1103 order in which queued assoc requests came in*/
1104 wpt_list wptPendingAssocSessionIdQueue;
1105
1106 /*! TO DO : - group these in a union, only one cached req can exist at a
1107 time */
1108
1109 /*Cached post assoc request - there can only be one in the system as
1110 only one request goes down to hal up until a response is received
1111 The values cached are used on response to save a station if needed */
1112 WDI_PostAssocReqParamsType wdiCachedPostAssocReq;
1113
1114 /*Cached config sta request - there can only be one in the system as
1115 only one request goes down to hal up until a response is received
1116 The values cached are used on response to save a station if needed */
1117 WDI_ConfigSTAReqParamsType wdiCachedConfigStaReq;
1118
1119 /*Cached config sta request - there can only be one in the system as
1120 only one request goes down to hal up until a response is received
1121 The values cached are used on response to save a BSS if needed */
1122 WDI_ConfigBSSReqParamsType wdiCachedConfigBssReq;
1123
1124 /*Cached set link state request - there can only be one in the system as
1125 only one request goes down to hal up until a response is received
1126 The values cached are used on response to delete a BSS if needed */
1127 WDI_SetLinkReqParamsType wdiCacheSetLinkStReq;
1128
1129 /*Cached add STA self request - there can only be one in the system as
1130 only one request goes down to hal up until a response is received
1131 The values cached are used on response to save the self STA in the table */
1132 WDI_AddSTASelfReqParamsType wdiCacheAddSTASelfReq;
1133
1134 /*Current session being handled*/
1135 wpt_uint8 ucCurrentBSSSesIdx;
1136
1137 /*Pointer to the response CB of the pending request*/
1138 void* pfncRspCB;
1139
1140 /*Pointer to the user data to be sent along with the response CB*/
1141 void* pRspCBUserData;
1142
1143 /*The expected response from HAL*/
1144 WDI_ResponseEnumType wdiExpectedResponse;
1145
1146 /*Request status callback offered by UMAC - it is called if the current
1147 req has returned PENDING as status; it delivers the status of sending
1148 the message over the BUS */
1149 WDI_ReqStatusCb wdiReqStatusCB;
1150
1151 /*The user data passed in by UMAC, it will be sent back when the above
1152 function pointer will be called */
1153 void* pReqStatusUserData;
1154
1155 /*Indication callback given by UMAC to be called by the WLAN DAL when it
1156 wishes to send something back independent of a request*/
1157 WDI_LowLevelIndCBType wdiLowLevelIndCB;
1158
1159 /*The user data passed in by UMAC, it will be sent back when the indication
1160 function pointer will be called */
1161 void* pIndUserData;
1162
1163 /*Cached start response parameters*/
1164 WDI_StartRspParamsType wdiCachedStartRspParams;
1165
1166 /* Information related to NV Image*/
1167 WDI_NvBlobInfoParams wdiNvBlobInfo;
1168
1169 /*STA Table Information*/
1170 /*Max number of stations allowed by device */
1171 wpt_uint8 ucMaxStations;
1172
1173 /*Max number of BSSes allowed by device */
1174 wpt_uint8 ucMaxBssids;
1175
1176 /* Global BSS and STA table - Memory is allocated when needed.*/
1177 void* staTable;
1178
1179#ifndef HAL_SELF_STA_PER_BSS
1180 /*Index of the Self STA */
1181 wpt_uint8 ucSelfStaId;
1182
1183 /* Self STA DPU Index */
1184 wpt_uint16 usSelfStaDpuId;
1185
1186 /*Self STA Mac*/
1187 wpt_macAddr macSelfSta;
1188#endif
1189
1190 /*Is frame translation enabled */
1191 wpt_uint8 bFrameTransEnabled;
1192
1193 /*AMSDU BD Fix Mask - used by the Fixing routine for Data Path */
1194 WDI_RxBdType wdiRxAmsduBdFixMask;
1195
1196 /*First AMSDU BD - used by the Fixing routine for Data Path */
1197 WDI_RxBdType wdiRxAmsduFirstBdCache;
1198
1199 /*This must be incremented on sta change */
1200 wpt_uint32 uBdSigSerialNum;
1201
1202 /* dpu routing flag
1203 ! TO DO: - must be set/reset when PS is enabled for UAPSD */
1204 wpt_uint8 ucDpuRF;
1205 /* Event to wait for when WCTS is told to perform an action */
1206 wpt_event wctsActionEvent;
1207 /* Event to wait for ACK from DXE after the power state is set */
1208 wpt_event setPowerStateEvent;
1209 /* DXE physical addr to be passed down to RIVA. RIVA HAL will use it to program
1210 DXE when DXE wakes up from power save*/
1211 unsigned int dxePhyAddr;
1212
Mihir Shetea4306052014-03-25 00:02:54 +05301213 wpt_boolean dxeRingsEmpty;
1214
Jeff Johnson295189b2012-06-20 16:38:30 -07001215 /*NV download request parameters */
1216 WDI_NvDownloadReqParamsType wdiCachedNvDownloadReq;
1217
1218 /* Driver Type */
1219 tDriverType driverMode;
1220
Jeff Johnson295189b2012-06-20 16:38:30 -07001221 /* Statically allocated FTM Response Buffer */
1222 wpt_uint8 ucFTMCommandRspBuffer[WDI_FTM_MAX_RECEIVE_BUFFER];
Jeff Johnson295189b2012-06-20 16:38:30 -07001223
1224 /*Driver in BMPS state*/
1225 wpt_boolean bInBmps;
1226
1227 /*version of the PNO implementation in RIVA*/
1228 wpt_uint8 wdiPNOVersion;
Madan Mohan Koyyalamudi0bfd0002012-10-24 14:39:37 -07001229
1230 /*SSR timer*/
1231 wpt_timer ssrTimer;
Pratik Bhalgatd4404592012-11-22 17:49:14 +05301232
1233 /*Version of the WLAN HAL API received on start resp*/
1234 WDI_WlanVersionType wlanVersion;
1235
Gopichand Nakkalaa5e3ede2012-12-21 15:28:36 -08001236 /*timestamp when we start response timer*/
1237 wpt_uint32 uTimeStampRspTmrStart;
1238
1239 /*timestamp when we get response timer event*/
1240 wpt_uint32 uTimeStampRspTmrExp;
Gopichand Nakkala7fbde852013-05-07 03:05:56 -07001241
1242 /* enable/disable SSR on WDI timeout */
1243 wpt_boolean bEnableSSR;
Arif Hussain6c8947a2013-11-27 13:57:14 -08001244
1245 /* timestamp derived from msm arch counter. */
1246 /*timestamp when we start response timer*/
1247 wpt_uint64 uArchTimeStampRspTmrStart;
1248
1249 /*timestamp when we get response timer event*/
1250 wpt_uint64 uArchTimeStampRspTmrExp;
Katya Nigamf02ad012014-05-05 16:12:49 +05301251
1252 /* reason for WDI_DetectedDeviceError */
1253 void * DeviceErrorReason;
Girish Gowli55caa852015-01-19 16:09:49 +05301254
Girish Gowli55caa852015-01-19 16:09:49 +05301255 /* Roam delay statistic enabled in ini*/
1256 wpt_uint8 roamDelayStatsEnabled;
Jeff Johnson295189b2012-06-20 16:38:30 -07001257}WDI_ControlBlockType;
1258
1259
1260
1261
1262/*---------------------------------------------------------------------------
1263
1264 DESCRIPTION
1265 WLAN DAL Request Processing function definition.
1266
1267 PARAMETERS
1268
1269 IN
1270 pWDICtx: pointer to the WLAN DAL context
1271 pEventData: pointer to the event information structure
1272
1273
1274 RETURN VALUE
1275 The result code associated with performing the operation
1276
1277---------------------------------------------------------------------------*/
1278typedef WDI_Status (*WDI_ReqProcFuncType)( WDI_ControlBlockType* pWDICtx,
1279 WDI_EventInfoType* pEventData);
1280
1281
1282/*---------------------------------------------------------------------------
1283
1284 DESCRIPTION
1285 WLAN DAL Response Processing function definition.
1286
1287 PARAMETERS
1288
1289 IN
1290 pWDICtx: pointer to the WLAN DAL context
1291 pEventData: pointer to the event information structure
1292
1293
1294 RETURN VALUE
1295 The result code associated with performing the operation
1296
1297---------------------------------------------------------------------------*/
1298typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx,
1299 WDI_EventInfoType* pEventData);
1300
1301
1302
1303
1304/*==========================================================================
1305 MAIN DAL FSM Definitions and Declarations
1306==========================================================================*/
1307
1308/*---------------------------------------------------------------------------
1309 DAL Control Path Main FSM
1310 ---------------------------------------------------------------------------*/
1311#define WDI_STATE_TRANSITION(_pctx, _st) (_pctx->uGlobalState = _st)
1312
1313
1314
1315/*---------------------------------------------------------------------------
1316 DAL Main Event type
1317---------------------------------------------------------------------------*/
1318typedef enum
1319{
1320 /* Start request received from UMAC */
1321 WDI_START_EVENT = 0,
1322
1323 /* Stop request received from UMAC */
1324 WDI_STOP_EVENT = 1,
1325
1326 /* HAL request received from UMAC*/
1327 WDI_REQUEST_EVENT = 2,
1328
1329 /* HAL Response received from device */
1330 WDI_RESPONSE_EVENT = 3,
1331
1332 /* Close request received from UMAC */
1333 WDI_CLOSE_EVENT = 4,
1334
1335 /* Shutdown request received from UMAC */
1336 WDI_SHUTDOWN_EVENT = 5,
1337
1338 WDI_MAX_EVENT
1339
1340}WDI_MainEventType;
1341
1342/*---------------------------------------------------------------------------
1343
1344 DESCRIPTION
1345 Main DAL state machine function definition.
1346
1347 PARAMETERS
1348
1349 IN
1350 pWDICtx: pointer to the WLAN DAL context
1351 pEventData: pointer to the event information structure
1352
1353
1354 RETURN VALUE
1355 The result code associated with performing the operation
1356
1357---------------------------------------------------------------------------*/
1358typedef WDI_Status (*WDI_MainFuncType)( WDI_ControlBlockType* pWDICtx,
1359 WDI_EventInfoType* pEventData);
1360
1361/*---------------------------------------------------------------------------
1362 MAIN DAL FSM Entry type
1363---------------------------------------------------------------------------*/
1364typedef struct
1365{
1366 WDI_MainFuncType pfnMainTbl[WDI_MAX_EVENT];
1367} WDI_MainFsmEntryType;
1368
1369/*Macro to check for valid session id*/
1370#define WDI_VALID_SESSION_IDX(_idx) ( _idx < WDI_MAX_BSS_SESSIONS )
1371
1372/*==========================================================================
1373
1374 DAL INTERNAL FUNCTION DECLARATION
1375
1376==========================================================================*/
1377
1378/**
1379 @brief Helper routine for retrieving the PAL Context from WDI -
1380 can be used by CTS, DTS, DXE and othe DAL internals
1381
1382 @param None
1383
1384 @see
1385 @return pointer to the context
1386*/
Jeff Johnson43971f52012-07-17 12:26:56 -07001387void* WDI_GET_PAL_CTX( void );
Jeff Johnson295189b2012-06-20 16:38:30 -07001388
1389/*---------------------------------------------------------------------------
1390 MAIN DAL FSM Function Declarations
1391---------------------------------------------------------------------------*/
1392/**
1393 @brief WDI_PostMainEvent - Posts an event to the Main FSM
1394
1395
1396 @param pWDICtx: pointer to the WLAN DAL context
1397 wdiEV: event posted to the main DAL FSM
1398 pEventData: pointer to the event information
1399 structure
1400
1401 @see
1402 @return Result of the function call
1403*/
1404WDI_Status
1405WDI_PostMainEvent
1406(
1407 WDI_ControlBlockType* pWDICtx,
1408 WDI_MainEventType wdiEV,
1409 WDI_EventInfoType* pEventData
1410
1411);
1412
1413/*--------------------------------------------------------------------------
1414 INIT State Functions
1415--------------------------------------------------------------------------*/
1416/**
1417 @brief Main FSM Start function for all states except BUSY
1418
1419
1420 @param pWDICtx: pointer to the WLAN DAL context
1421 pEventData: pointer to the event information structure
1422
1423 @see
1424 @return Result of the function call
1425*/
1426WDI_Status
1427WDI_MainStart
1428(
1429 WDI_ControlBlockType* pWDICtx,
1430 WDI_EventInfoType* pEventData
1431);
1432
1433/**
1434 @brief Main FSM Response function for state INIT
1435
1436
1437 @param pWDICtx: pointer to the WLAN DAL context
1438 pEventData: pointer to the event information structure
1439
1440 @see
1441 @return Result of the function call
1442*/
1443WDI_Status
1444WDI_MainRspInit
1445(
1446 WDI_ControlBlockType* pWDICtx,
1447 WDI_EventInfoType* pEventData
1448);
1449
1450/**
1451 @brief Main FSM Close function for all states except BUSY
1452
1453
1454 @param pWDICtx: pointer to the WLAN DAL context
1455 pEventData: pointer to the event information structure
1456
1457
1458 @see
1459 @return Result of the function call
1460*/
1461WDI_Status
1462WDI_MainClose
1463(
1464 WDI_ControlBlockType* pWDICtx,
1465 WDI_EventInfoType* pEventData
1466);
1467
1468/*--------------------------------------------------------------------------
1469 STARTED State Functions
1470--------------------------------------------------------------------------*/
1471/**
1472 @brief Main FSM Start function for state STARTED
1473
1474
1475 @param pWDICtx: pointer to the WLAN DAL context
1476 pEventData: pointer to the event information structure
1477
1478 @see
1479 @return Result of the function call
1480*/
1481WDI_Status
1482WDI_MainStartStarted
1483(
1484 WDI_ControlBlockType* pWDICtx,
1485 WDI_EventInfoType* pEventData
1486);
1487
1488/**
1489 @brief Main FSM Stop function for state STARTED
1490
1491
1492 @param pWDICtx: pointer to the WLAN DAL context
1493 pEventData: pointer to the event information structure
1494 uEventDataSize: size of the data sent in event
1495 pCBfnc: cb function for event response
1496 pUserData: user data
1497
1498 @see
1499 @return Result of the function call
1500*/
1501WDI_Status
1502WDI_MainStopStarted
1503(
1504 WDI_ControlBlockType* pWDICtx,
1505 WDI_EventInfoType* pEventData
1506);
1507
1508/**
1509 @brief Main FSM Request function for state started
1510
1511
1512 @param pWDICtx: pointer to the WLAN DAL context
1513 pEventData: pointer to the event information structure
1514
1515
1516 @see
1517 @return Result of the function call
1518*/
1519WDI_Status
1520WDI_MainReqStarted
1521(
1522 WDI_ControlBlockType* pWDICtx,
1523 WDI_EventInfoType* pEventData
1524);
1525
1526/**
1527 @brief Main FSM Response function for all states except INIT
1528
1529
1530 @param pWDICtx: pointer to the WLAN DAL context
1531 pEventData: pointer to the event information structure
1532
1533 @see
1534 @return Result of the function call
1535*/
1536WDI_Status
1537WDI_MainRsp
1538(
1539 WDI_ControlBlockType* pWDICtx,
1540 WDI_EventInfoType* pEventData
1541);
1542
1543/*--------------------------------------------------------------------------
1544 STOPPED State Functions
1545--------------------------------------------------------------------------*/
1546/**
1547 @brief Main FSM Stop function for state STOPPED
1548
1549
1550 @param pWDICtx: pointer to the WLAN DAL context
1551 pEventData: pointer to the event information structure
1552
1553 @see
1554 @return Result of the function call
1555*/
1556WDI_Status
1557WDI_MainStopStopped
1558(
1559 WDI_ControlBlockType* pWDICtx,
1560 WDI_EventInfoType* pEventData
1561 );
1562
1563/*--------------------------------------------------------------------------
1564 BUSY State Functions
1565--------------------------------------------------------------------------*/
1566/**
1567 @brief Main FSM Start function for state BUSY
1568
1569
1570 @param pWDICtx: pointer to the WLAN DAL context
1571 pEventData: pointer to the event information structure
1572
1573 @see
1574 @return Result of the function call
1575*/
1576WDI_Status
1577WDI_MainStartBusy
1578(
1579 WDI_ControlBlockType* pWDICtx,
1580 WDI_EventInfoType* pEventData
1581);
1582
1583/**
1584 @brief Main FSM Stop function for state BUSY
1585
1586
1587 @param pWDICtx: pointer to the WLAN DAL context
1588 pEventData: pointer to the event information structure
1589
1590 @see
1591 @return Result of the function call
1592*/
1593WDI_Status
1594WDI_MainStopBusy
1595(
1596 WDI_ControlBlockType* pWDICtx,
1597 WDI_EventInfoType* pEventData
1598);
1599
1600/**
1601 @brief Main FSM Request function for state BUSY
1602
1603
1604 @param pWDICtx: pointer to the WLAN DAL context
1605 pEventData: pointer to the event information structure
1606
1607 @see
1608 @return Result of the function call
1609*/
1610WDI_Status
1611WDI_MainReqBusy
1612(
1613 WDI_ControlBlockType* pWDICtx,
1614 WDI_EventInfoType* pEventData
1615);
1616
1617/**
1618 @brief Main FSM Close function for state BUSY
1619
1620
1621 @param pWDICtx: pointer to the WLAN DAL context
1622 pEventData: pointer to the event information structure
1623
1624 @see
1625 @return Result of the function call
1626*/
1627WDI_Status
1628WDI_MainCloseBusy
1629(
1630 WDI_ControlBlockType* pWDICtx,
1631 WDI_EventInfoType* pEventData
1632);
1633
1634/**
1635 @brief Main FSM Shutdown function for INIT & STARTED states
1636
1637
1638 @param pWDICtx: pointer to the WLAN DAL context
1639 pEventData: pointer to the event information structure
1640
1641 @see
1642 @return Result of the function call
1643*/
1644WDI_Status
1645WDI_MainShutdown
1646(
1647 WDI_ControlBlockType* pWDICtx,
1648 WDI_EventInfoType* pEventData
1649);
1650
1651/**
1652 @brief Main FSM Shutdown function for BUSY state
1653
1654
1655 @param pWDICtx: pointer to the WLAN DAL context
1656 pEventData: pointer to the event information structure
1657
1658 @see
1659 @return Result of the function call
1660*/
1661WDI_Status
1662WDI_MainShutdownBusy
1663(
1664 WDI_ControlBlockType* pWDICtx,
1665 WDI_EventInfoType* pEventData
1666);
1667
1668/*========================================================================
1669 Main DAL Control Path Request Processing API
1670========================================================================*/
1671
1672/**
1673 @brief Process Start Request function (called when Main FSM
1674 allows it)
1675
1676 @param pWDICtx: pointer to the WLAN DAL context
1677 pEventData: pointer to the event information structure
1678
1679 @see
1680 @return Result of the function call
1681*/
1682WDI_Status
1683WDI_ProcessStartReq
1684(
1685 WDI_ControlBlockType* pWDICtx,
1686 WDI_EventInfoType* pEventData
1687);
1688
1689
1690/**
1691 @brief Process Stop Request function (called when Main FSM
1692 allows it)
1693
1694 @param pWDICtx: pointer to the WLAN DAL context
1695 pEventData: pointer to the event information structure
1696
1697 @see
1698 @return Result of the function call
1699*/
1700WDI_Status
1701WDI_ProcessStopReq
1702(
1703 WDI_ControlBlockType* pWDICtx,
1704 WDI_EventInfoType* pEventData
1705);
1706
1707
1708/**
1709 @brief Process Close Request function (called when Main FSM
1710 allows it)
1711
1712 @param pWDICtx: pointer to the WLAN DAL context
1713 pEventData: pointer to the event information structure
1714
1715 @see
1716 @return Result of the function call
1717*/
1718WDI_Status
1719WDI_ProcessCloseReq
1720(
1721 WDI_ControlBlockType* pWDICtx,
1722 WDI_EventInfoType* pEventData
1723);
1724
1725/**
1726 @brief Process Shutdown Request function (called when Main FSM
1727 allows it)
1728
1729 @param pWDICtx: pointer to the WLAN DAL context
1730 pEventData: pointer to the event information structure
1731
1732 @see
1733 @return Result of the function call
1734*/
1735WDI_Status
1736WDI_ProcessShutdownReq
1737(
1738 WDI_ControlBlockType* pWDICtx,
1739 WDI_EventInfoType* pEventData
1740);
1741
1742
1743/**
1744 @brief Process Init Scan Request function (called when Main FSM
1745 allows it)
1746
1747 @param pWDICtx: pointer to the WLAN DAL context
1748 pEventData: pointer to the event information structure
1749
1750 @see
1751 @return Result of the function call
1752*/
1753WDI_Status
1754WDI_ProcessInitScanReq
1755(
1756 WDI_ControlBlockType* pWDICtx,
1757 WDI_EventInfoType* pEventData
1758);
1759
1760
1761/**
1762 @brief Process Start Scan Request function (called when Main
1763 FSM allows it)
1764
1765 @param pWDICtx: pointer to the WLAN DAL context
1766 pEventData: pointer to the event information structure
1767
1768 @see
1769 @return Result of the function call
1770*/
1771WDI_Status
1772WDI_ProcessStartScanReq
1773(
1774 WDI_ControlBlockType* pWDICtx,
1775 WDI_EventInfoType* pEventData
1776);
1777
1778
1779/**
1780 @brief Process End Scan Request function (called when Main FSM
1781 allows it)
1782
1783 @param pWDICtx: pointer to the WLAN DAL context
1784 pEventData: pointer to the event information structure
1785
1786 @see
1787 @return Result of the function call
1788*/
1789WDI_Status
1790WDI_ProcessEndScanReq
1791(
1792 WDI_ControlBlockType* pWDICtx,
1793 WDI_EventInfoType* pEventData
1794);
1795
1796
1797/**
1798 @brief Process Finish Scan Request function (called when Main
1799 FSM allows it)
1800
1801 @param pWDICtx: pointer to the WLAN DAL context
1802 pEventData: pointer to the event information structure
1803
1804 @see
1805 @return Result of the function call
1806*/
1807WDI_Status
1808WDI_ProcessFinishScanReq
1809(
1810 WDI_ControlBlockType* pWDICtx,
1811 WDI_EventInfoType* pEventData
1812);
1813
1814
1815/**
1816 @brief Process Join Request function (called when Main FSM
1817 allows it)
1818
1819 @param pWDICtx: pointer to the WLAN DAL context
1820 pEventData: pointer to the event information structure
1821
1822 @see
1823 @return Result of the function call
1824*/
1825WDI_Status
1826WDI_ProcessJoinReq
1827(
1828 WDI_ControlBlockType* pWDICtx,
1829 WDI_EventInfoType* pEventData
1830);
1831
1832
1833/**
1834 @brief Process Config BSS Request function (called when Main
1835 FSM allows it)
1836
1837 @param pWDICtx: pointer to the WLAN DAL context
1838 pEventData: pointer to the event information structure
1839
1840 @see
1841 @return Result of the function call
1842*/
1843WDI_Status
1844WDI_ProcessConfigBSSReq
1845(
1846 WDI_ControlBlockType* pWDICtx,
1847 WDI_EventInfoType* pEventData
1848);
1849
1850
1851/**
1852 @brief Process Del BSS Request function (called when Main FSM
1853 allows it)
1854
1855 @param pWDICtx: pointer to the WLAN DAL context
1856 pEventData: pointer to the event information structure
1857
1858 @see
1859 @return Result of the function call
1860*/
1861WDI_Status
1862WDI_ProcessDelBSSReq
1863(
1864 WDI_ControlBlockType* pWDICtx,
1865 WDI_EventInfoType* pEventData
1866);
1867
1868/**
1869 @brief Process Post Assoc Request function (called when Main
1870 FSM allows it)
1871
1872 @param pWDICtx: pointer to the WLAN DAL context
1873 pEventData: pointer to the event information structure
1874
1875 @see
1876 @return Result of the function call
1877*/
1878WDI_Status
1879WDI_ProcessPostAssocReq
1880(
1881 WDI_ControlBlockType* pWDICtx,
1882 WDI_EventInfoType* pEventData
1883);
1884
1885/**
1886 @brief Process Del STA Request function (called when Main FSM
1887 allows it)
1888
1889 @param pWDICtx: pointer to the WLAN DAL context
1890 pEventData: pointer to the event information structure
1891
1892 @see
1893 @return Result of the function call
1894*/
1895WDI_Status
1896WDI_ProcessDelSTAReq
1897(
1898 WDI_ControlBlockType* pWDICtx,
1899 WDI_EventInfoType* pEventData
1900);
1901
1902/**
1903 @brief Process Set BSS Key Request function (called when Main FSM
1904 allows it)
1905
1906 @param pWDICtx: pointer to the WLAN DAL context
1907 pEventData: pointer to the event information structure
1908
1909 @see
1910 @return Result of the function call
1911*/
1912WDI_Status
1913WDI_ProcessSetBssKeyReq
1914(
1915 WDI_ControlBlockType* pWDICtx,
1916 WDI_EventInfoType* pEventData
1917);
1918
1919/**
1920 @brief Process Remove BSS Key Request function (called when Main
1921 FSM allows it)
1922
1923 @param pWDICtx: pointer to the WLAN DAL context
1924 pEventData: pointer to the event information structure
1925
1926 @see
1927 @return Result of the function call
1928*/
1929WDI_Status
1930WDI_ProcessRemoveBssKeyReq
1931(
1932 WDI_ControlBlockType* pWDICtx,
1933 WDI_EventInfoType* pEventData
1934);
1935
1936/**
1937 @brief Process Set STA KeyRequest function (called when Main FSM
1938 allows it)
1939
1940 @param pWDICtx: pointer to the WLAN DAL context
1941 pEventData: pointer to the event information structure
1942
1943 @see
1944 @return Result of the function call
1945*/
1946WDI_Status
1947WDI_ProcessSetStaKeyReq
1948(
1949 WDI_ControlBlockType* pWDICtx,
1950 WDI_EventInfoType* pEventData
1951);
1952
1953/**
1954 @brief Process Remove STA Key Request function (called when
1955 Main FSM allows it)
1956
1957 @param pWDICtx: pointer to the WLAN DAL context
1958 pEventData: pointer to the event information structure
1959
1960 @see
1961 @return Result of the function call
1962*/
1963WDI_Status
1964WDI_ProcessRemoveStaKeyReq
1965(
1966 WDI_ControlBlockType* pWDICtx,
1967 WDI_EventInfoType* pEventData
1968);
1969
1970/**
1971 @brief Process Set STA KeyRequest function (called when Main FSM
1972 allows it)
1973
1974 @param pWDICtx: pointer to the WLAN DAL context
1975 pEventData: pointer to the event information structure
1976
1977 @see
1978 @return Result of the function call
1979*/
1980WDI_Status
1981WDI_ProcessSetStaBcastKeyReq
1982(
1983 WDI_ControlBlockType* pWDICtx,
1984 WDI_EventInfoType* pEventData
1985);
1986
1987/**
1988 @brief Process Remove STA Key Request function (called when
1989 Main FSM allows it)
1990
1991 @param pWDICtx: pointer to the WLAN DAL context
1992 pEventData: pointer to the event information structure
1993
1994 @see
1995 @return Result of the function call
1996*/
1997WDI_Status
1998WDI_ProcessRemoveStaBcastKeyReq
1999(
2000 WDI_ControlBlockType* pWDICtx,
2001 WDI_EventInfoType* pEventData
2002);
2003
2004/**
2005 @brief Process Add TSpec Request function (called when Main FSM
2006 allows it)
2007
2008 @param pWDICtx: pointer to the WLAN DAL context
2009 pEventData: pointer to the event information structure
2010
2011 @see
2012 @return Result of the function call
2013*/
2014WDI_Status
2015WDI_ProcessAddTSpecReq
2016(
2017 WDI_ControlBlockType* pWDICtx,
2018 WDI_EventInfoType* pEventData
2019);
2020
2021
2022/**
2023 @brief Process Del TSpec Request function (called when Main FSM
2024 allows it)
2025
2026 @param pWDICtx: pointer to the WLAN DAL context
2027 pEventData: pointer to the event information structure
2028
2029 @see
2030 @return Result of the function call
2031*/
2032WDI_Status
2033WDI_ProcessDelTSpecReq
2034(
2035 WDI_ControlBlockType* pWDICtx,
2036 WDI_EventInfoType* pEventData
2037);
2038
2039/**
2040 @brief Process Update EDCA Params Request function (called when
2041 Main FSM allows it)
2042
2043 @param pWDICtx: pointer to the WLAN DAL context
2044 pEventData: pointer to the event information structure
2045
2046 @see
2047 @return Result of the function call
2048*/
2049WDI_Status
2050WDI_ProcessUpdateEDCAParamsReq
2051(
2052 WDI_ControlBlockType* pWDICtx,
2053 WDI_EventInfoType* pEventData
2054);
2055
2056/**
2057 @brief Process Add BA Request function (called when Main FSM
2058 allows it)
2059
2060 @param pWDICtx: pointer to the WLAN DAL context
2061 pEventData: pointer to the event information structure
2062
2063 @see
2064 @return Result of the function call
2065*/
2066WDI_Status
2067WDI_ProcessAddBASessionReq
2068(
2069 WDI_ControlBlockType* pWDICtx,
2070 WDI_EventInfoType* pEventData
2071);
2072
2073/**
2074 @brief Process Del BA Request function (called when Main FSM
2075 allows it)
2076
2077 @param pWDICtx: pointer to the WLAN DAL context
2078 pEventData: pointer to the event information structure
2079
2080 @see
2081 @return Result of the function call
2082*/
2083WDI_Status
2084WDI_ProcessDelBAReq
2085(
2086 WDI_ControlBlockType* pWDICtx,
2087 WDI_EventInfoType* pEventData
2088);
2089
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002090#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07002091/**
2092 @brief Process TSM Stats Request function (called when Main FSM
2093 allows it)
2094
2095 @param pWDICtx: pointer to the WLAN DAL context
2096 pEventData: pointer to the event information structure
2097
2098 @see
2099 @return Result of the function call
2100*/
2101WDI_Status
2102WDI_ProcessTSMStatsReq
2103(
2104 WDI_ControlBlockType* pWDICtx,
2105 WDI_EventInfoType* pEventData
2106);
2107#endif
2108
2109/**
2110 @brief Process Channel Switch Request function (called when
2111 Main FSM allows it)
2112
2113 @param pWDICtx: pointer to the WLAN DAL context
2114 pEventData: pointer to the event information structure
2115
2116 @see
2117 @return Result of the function call
2118*/
2119WDI_Status
2120WDI_ProcessChannelSwitchReq
2121(
2122 WDI_ControlBlockType* pWDICtx,
2123 WDI_EventInfoType* pEventData
2124);
2125
2126/**
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08002127 @brief Process Channel Switch Request function (called when
2128 Main FSM allows it)
2129
2130 @param pWDICtx: pointer to the WLAN DAL context
2131 pEventData: pointer to the event information structure
2132
2133 @see
2134 @return Result of the function call
2135*/
2136
2137WDI_Status WDI_ProcessChannelSwitchReq_V1
2138(
2139 WDI_ControlBlockType* pWDICtx,
2140 WDI_EventInfoType* pEventData
2141);
2142
2143
2144/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002145 @brief Process Config STA Request function (called when Main FSM
2146 allows it)
2147
2148 @param pWDICtx: pointer to the WLAN DAL context
2149 pEventData: pointer to the event information structure
2150
2151 @see
2152 @return Result of the function call
2153*/
2154WDI_Status
2155WDI_ProcessConfigStaReq
2156(
2157 WDI_ControlBlockType* pWDICtx,
2158 WDI_EventInfoType* pEventData
2159);
2160
2161
2162/**
2163 @brief Process Set Link State Request function (called when
2164 Main FSM allows it)
2165
2166 @param pWDICtx: pointer to the WLAN DAL context
2167 pEventData: pointer to the event information structure
2168
2169 @see
2170 @return Result of the function call
2171*/
2172WDI_Status
2173WDI_ProcessSetLinkStateReq
2174(
2175 WDI_ControlBlockType* pWDICtx,
2176 WDI_EventInfoType* pEventData
2177);
2178
2179
2180/**
2181 @brief Process Get Stats Request function (called when Main FSM
2182 allows it)
2183
2184 @param pWDICtx: pointer to the WLAN DAL context
2185 pEventData: pointer to the event information structure
2186
2187 @see
2188 @return Result of the function call
2189*/
2190WDI_Status
2191WDI_ProcessGetStatsReq
2192(
2193 WDI_ControlBlockType* pWDICtx,
2194 WDI_EventInfoType* pEventData
2195);
2196
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002197#if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR)
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -08002198/**
2199 @brief Process Get Roam rssi Request function (called when Main FSM
2200 allows it)
2201
2202 @param pWDICtx: pointer to the WLAN DAL context
2203 pEventData: pointer to the event information structure
2204
2205 @see
2206 @return Result of the function call
2207*/
2208WDI_Status
2209WDI_ProcessGetRoamRssiReq
2210(
2211 WDI_ControlBlockType* pWDICtx,
2212 WDI_EventInfoType* pEventData
2213);
2214
2215
2216/**
2217 @brief Process Get Roam Rssi Rsp function (called when a response is
2218 being received over the bus from HAL)
2219
2220 @param pWDICtx: pointer to the WLAN DAL context
2221 pEventData: pointer to the event information structure
2222
2223 @see
2224 @return Result of the function call
2225*/
2226WDI_Status
2227WDI_ProcessGetRoamRssiRsp
2228(
2229 WDI_ControlBlockType* pWDICtx,
2230 WDI_EventInfoType* pEventData
2231);
2232
2233#endif
2234
2235
Jeff Johnson295189b2012-06-20 16:38:30 -07002236/**
2237 @brief Process Update Cfg Request function (called when Main
2238 FSM allows it)
2239
2240 @param pWDICtx: pointer to the WLAN DAL context
2241 pEventData: pointer to the event information structure
2242
2243 @see
2244 @return Result of the function call
2245*/
2246WDI_Status
2247WDI_ProcessUpdateCfgReq
2248(
2249 WDI_ControlBlockType* pWDICtx,
2250 WDI_EventInfoType* pEventData
2251);
2252
2253/**
2254 @brief Process Add BA Request function (called when Main FSM
2255 allows it)
2256
2257 @param pWDICtx: pointer to the WLAN DAL context
2258 pEventData: pointer to the event information structure
2259
2260 @see
2261 @return Result of the function call
2262*/
2263WDI_Status
2264WDI_ProcessAddBAReq
2265(
2266 WDI_ControlBlockType* pWDICtx,
2267 WDI_EventInfoType* pEventData
2268);
2269
2270/**
2271 @brief Process Trigger BA Request function (called when Main FSM
2272 allows it)
2273
2274 @param pWDICtx: pointer to the WLAN DAL context
2275 pEventData: pointer to the event information structure
2276
2277 @see
2278 @return Result of the function call
2279*/
2280WDI_Status
2281WDI_ProcessTriggerBAReq
2282(
2283 WDI_ControlBlockType* pWDICtx,
2284 WDI_EventInfoType* pEventData
2285);
2286
2287/**
2288 @brief Process Update Beacon Params Request function (called when Main
2289 FSM allows it)
2290
2291 @param pWDICtx: pointer to the WLAN DAL context
2292 pEventData: pointer to the event information structure
2293
2294 @see
2295 @return Result of the function call
2296*/
2297WDI_Status
2298WDI_ProcessUpdateBeaconParamsReq
2299(
2300 WDI_ControlBlockType* pWDICtx,
2301 WDI_EventInfoType* pEventData
2302);
2303
2304/**
2305 @brief Process Update Beacon template Request function (called when Main
2306 FSM allows it)
2307
2308 @param pWDICtx: pointer to the WLAN DAL context
2309 pEventData: pointer to the event information structure
2310
2311 @see
2312 @return Result of the function call
2313*/
2314WDI_Status
2315WDI_ProcessSendBeaconParamsReq
2316(
2317 WDI_ControlBlockType* pWDICtx,
2318 WDI_EventInfoType* pEventData
2319);
2320
2321/**
2322 @brief Process Update Beacon Params Request function (called when Main FSM
2323 allows it)
2324
2325 @param pWDICtx: pointer to the WLAN DAL context
2326 pEventData: pointer to the event information structure
2327
2328 @see
2329 @return Result of the function call
2330*/
2331WDI_Status
2332WDI_ProcessUpdateProbeRspTemplateReq
2333(
2334 WDI_ControlBlockType* pWDICtx,
2335 WDI_EventInfoType* pEventData
2336);
2337/**
2338 @brief Process NV blob download function (called when Main FSM
2339 allows it)
2340
2341 @param pWDICtx: pointer to the WLAN DAL context
2342 pEventData: pointer to the event information structure
2343
2344 @see
2345 @return Result of the function call
2346*/
2347WDI_Status
2348WDI_ProcessNvDownloadReq
2349(
2350 WDI_ControlBlockType* pWDICtx,
2351 WDI_EventInfoType* pEventData
2352);
2353
2354/**
2355 @brief Process Set Max Tx Power Request function (called when Main
2356 FSM allows it)
2357
2358 @param pWDICtx: pointer to the WLAN DAL context
2359 pEventData: pointer to the event information structure
2360
2361 @see
2362 @return Result of the function call
2363*/
2364WDI_Status WDI_ProcessSetMaxTxPowerReq
2365(
2366 WDI_ControlBlockType* pWDICtx,
2367 WDI_EventInfoType* pEventData
2368);
2369
Jeff Johnson295189b2012-06-20 16:38:30 -07002370/**
Arif Hussaina5ebce02013-08-09 15:09:58 -07002371 @brief Process Set Max Tx Power Per Band Request function (called when Main
2372 FSM allows it)
2373
2374 @param pWDICtx: pointer to the WLAN DAL context
2375 pEventData: pointer to the event information structure
2376
2377 @see
2378 @return Result of the function call
2379*/
2380WDI_Status WDI_ProcessSetMaxTxPowerPerBandReq
2381(
2382 WDI_ControlBlockType* pWDICtx,
2383 WDI_EventInfoType* pEventData
2384);
2385
2386/**
schang86c22c42013-03-13 18:41:24 -07002387 @brief Process Set Tx Power Request function (called when Main
2388 FSM 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 WDI_ProcessSetTxPowerReq
2397(
2398 WDI_ControlBlockType* pWDICtx,
2399 WDI_EventInfoType* pEventData
2400);
2401
2402/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002403 @brief Process P2P Notice Of Absence Request 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_ProcessP2PGONOAReq
2414(
2415 WDI_ControlBlockType* pWDICtx,
2416 WDI_EventInfoType* pEventData
2417);
Jeff Johnson295189b2012-06-20 16:38:30 -07002418
2419/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05302420 @brief Process TDLS Link Establish Request function (called when Main FSM
2421 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
2430WDI_ProcessTdlsLinkEstablishReq
2431(
2432 WDI_ControlBlockType* pWDICtx,
2433 WDI_EventInfoType* pEventData
2434);
2435
2436/**
Atul Mittalc0f739f2014-07-31 13:47:47 +05302437 @brief Process tdls channel switch request
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
2446WDI_ProcessTdlsChanSwitchReq
2447(
2448 WDI_ControlBlockType* pWDICtx,
2449 WDI_EventInfoType* pEventData
2450);
2451/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002452 @brief Process Enter IMPS Request function (called when
2453 Main 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
2462WDI_ProcessEnterImpsReq
2463(
2464 WDI_ControlBlockType* pWDICtx,
2465 WDI_EventInfoType* pEventData
2466);
2467
2468/**
2469 @brief Process Exit IMPS Request function (called when
2470 Main FSM allows it)
2471
2472 @param pWDICtx: pointer to the WLAN DAL context
2473 pEventData: pointer to the event information structure
2474
2475 @see
2476 @return Result of the function call
2477*/
2478WDI_Status
2479WDI_ProcessExitImpsReq
2480(
2481 WDI_ControlBlockType* pWDICtx,
2482 WDI_EventInfoType* pEventData
2483);
2484
2485/**
2486 @brief Process Enter BMPS Request function (called when Main
2487 FSM allows it)
2488
2489 @param pWDICtx: pointer to the WLAN DAL context
2490 pEventData: pointer to the event information structure
2491
2492 @see
2493 @return Result of the function call
2494*/
2495WDI_Status
2496WDI_ProcessEnterBmpsReq
2497(
2498 WDI_ControlBlockType* pWDICtx,
2499 WDI_EventInfoType* pEventData
2500);
2501
2502/**
2503 @brief Process Exit BMPS Request function (called when Main FSM
2504 allows it)
2505
2506 @param pWDICtx: pointer to the WLAN DAL context
2507 pEventData: pointer to the event information structure
2508
2509 @see
2510 @return Result of the function call
2511*/
2512WDI_Status
2513WDI_ProcessExitBmpsReq
2514(
2515 WDI_ControlBlockType* pWDICtx,
2516 WDI_EventInfoType* pEventData
2517);
2518
2519/**
2520 @brief Process Enter UAPSD Request function (called when Main
2521 FSM allows it)
2522
2523 @param pWDICtx: pointer to the WLAN DAL context
2524 pEventData: pointer to the event information structure
2525
2526 @see
2527 @return Result of the function call
2528*/
2529WDI_Status
2530WDI_ProcessEnterUapsdReq
2531(
2532 WDI_ControlBlockType* pWDICtx,
2533 WDI_EventInfoType* pEventData
2534);
2535
2536/**
2537 @brief Process Exit UAPSD Request function (called when
2538 Main FSM allows it)
2539
2540 @param pWDICtx: pointer to the WLAN DAL context
2541 pEventData: pointer to the event information structure
2542
2543 @see
2544 @return Result of the function call
2545*/
2546WDI_Status
2547WDI_ProcessExitUapsdReq
2548(
2549 WDI_ControlBlockType* pWDICtx,
2550 WDI_EventInfoType* pEventData
2551);
2552
2553/**
2554 @brief Process Set UAPSD params Request function (called when
2555 Main FSM allows it)
2556
2557 @param pWDICtx: pointer to the WLAN DAL context
2558 pEventData: pointer to the event information structure
2559
2560 @see
2561 @return Result of the function call
2562*/
2563WDI_Status
2564WDI_ProcessSetUapsdAcParamsReq
2565(
2566 WDI_ControlBlockType* pWDICtx,
2567 WDI_EventInfoType* pEventData
2568);
2569
2570/**
2571 @brief Process update UAPSD params Request function (called
2572 when Main FSM allows it)
2573
2574 @param pWDICtx: pointer to the WLAN DAL context
2575 pEventData: pointer to the event information structure
2576
2577 @see
2578 @return Result of the function call
2579*/
2580WDI_Status
2581WDI_ProcessUpdateUapsdParamsReq
2582(
2583 WDI_ControlBlockType* pWDICtx,
2584 WDI_EventInfoType* pEventData
2585);
2586
2587/**
2588 @brief Process Configure RXP filter Request function (called
2589 when Main FSM allows it)
2590
2591 @param pWDICtx: pointer to the WLAN DAL context
2592 pEventData: pointer to the event information structure
2593
2594 @see
2595 @return Result of the function call
2596*/
2597WDI_Status
2598WDI_ProcessConfigureRxpFilterReq
2599(
2600 WDI_ControlBlockType* pWDICtx,
2601 WDI_EventInfoType* pEventData
2602);
2603
2604/**
2605 @brief Process set beacon filter Request function (called
2606 when Main FSM allows it)
2607
2608 @param pWDICtx: pointer to the WLAN DAL context
2609 pEventData: pointer to the event information structure
2610
2611 @see
2612 @return Result of the function call
2613*/
2614WDI_Status
2615WDI_ProcessSetBeaconFilterReq
2616(
2617 WDI_ControlBlockType* pWDICtx,
2618 WDI_EventInfoType* pEventData
2619);
2620
2621/**
2622 @brief Process remove beacon filter Request function (called
2623 when Main FSM allows it)
2624
2625 @param pWDICtx: pointer to the WLAN DAL context
2626 pEventData: pointer to the event information structure
2627
2628 @see
2629 @return Result of the function call
2630*/
2631WDI_Status
2632WDI_ProcessRemBeaconFilterReq
2633(
2634 WDI_ControlBlockType* pWDICtx,
2635 WDI_EventInfoType* pEventData
2636);
2637
2638/**
2639 @brief Process set RSSI thresholds Request function (called
2640 when Main FSM allows it)
2641
2642 @param pWDICtx: pointer to the WLAN DAL context
2643 pEventData: pointer to the event information structure
2644
2645 @see
2646 @return Result of the function call
2647*/
2648WDI_Status
2649WDI_ProcessSetRSSIThresholdsReq
2650(
2651 WDI_ControlBlockType* pWDICtx,
2652 WDI_EventInfoType* pEventData
2653);
2654
2655/**
2656 @brief Process set RSSI thresholds Request function (called
2657 when Main FSM allows it)
2658
2659 @param pWDICtx: pointer to the WLAN DAL context
2660 pEventData: pointer to the event information structure
2661
2662 @see
2663 @return Result of the function call
2664*/
2665WDI_Status
2666WDI_ProcessHostOffloadReq
2667(
2668 WDI_ControlBlockType* pWDICtx,
2669 WDI_EventInfoType* pEventData
2670);
2671
2672/**
2673 @brief Process Keep Alive Request function (called
2674 when Main FSM allows it)
2675
2676 @param pWDICtx: pointer to the WLAN DAL context
2677 pEventData: pointer to the event information structure
2678
2679 @see
2680 @return Result of the function call
2681*/
2682WDI_Status
2683WDI_ProcessKeepAliveReq
2684(
2685 WDI_ControlBlockType* pWDICtx,
2686 WDI_EventInfoType* pEventData
2687);
2688
2689
2690/**
2691 @brief Process Wowl add bc ptrn Request function (called
2692 when Main FSM allows it)
2693
2694 @param pWDICtx: pointer to the WLAN DAL context
2695 pEventData: pointer to the event information structure
2696
2697 @see
2698 @return Result of the function call
2699*/
2700WDI_Status
2701WDI_ProcessWowlAddBcPtrnReq
2702(
2703 WDI_ControlBlockType* pWDICtx,
2704 WDI_EventInfoType* pEventData
2705);
2706
2707/**
2708 @brief Process Wowl delete bc ptrn Request function (called
2709 when Main FSM allows it)
2710
2711 @param pWDICtx: pointer to the WLAN DAL context
2712 pEventData: pointer to the event information structure
2713
2714 @see
2715 @return Result of the function call
2716*/
2717WDI_Status
2718WDI_ProcessWowlDelBcPtrnReq
2719(
2720 WDI_ControlBlockType* pWDICtx,
2721 WDI_EventInfoType* pEventData
2722);
2723
2724/**
2725 @brief Process Wowl enter Request function (called
2726 when Main FSM allows it)
2727
2728 @param pWDICtx: pointer to the WLAN DAL context
2729 pEventData: pointer to the event information structure
2730
2731 @see
2732 @return Result of the function call
2733*/
2734WDI_Status
2735WDI_ProcessWowlEnterReq
2736(
2737 WDI_ControlBlockType* pWDICtx,
2738 WDI_EventInfoType* pEventData
2739);
2740
2741/**
2742 @brief Process Wowl exit Request function (called when Main FSM
2743 allows it)
2744
2745 @param pWDICtx: pointer to the WLAN DAL context
2746 pEventData: pointer to the event information structure
2747
2748 @see
2749 @return Result of the function call
2750*/
2751WDI_Status
2752WDI_ProcessWowlExitReq
2753(
2754 WDI_ControlBlockType* pWDICtx,
2755 WDI_EventInfoType* pEventData
2756);
2757
2758/**
2759 @brief Process Configure Apps Cpu Wakeup State Request function
2760 (called when Main FSM allows it)
2761
2762 @param pWDICtx: pointer to the WLAN DAL context
2763 pEventData: pointer to the event information structure
2764
2765 @see
2766 @return Result of the function call
2767*/
2768WDI_Status
2769WDI_ProcessConfigureAppsCpuWakeupStateReq
2770(
2771 WDI_ControlBlockType* pWDICtx,
2772 WDI_EventInfoType* pEventData
2773);
2774
2775/**
2776 @brief Process Flush AC Request function (called when Main FSM
2777 allows it)
2778
2779 @param pWDICtx: pointer to the WLAN DAL context
2780 pEventData: pointer to the event information structure
2781
2782 @see
2783 @return Result of the function call
2784*/
2785WDI_Status
2786WDI_ProcessFlushAcReq
2787(
2788 WDI_ControlBlockType* pWDICtx,
2789 WDI_EventInfoType* pEventData
2790);
2791
Jeff Johnsone7245742012-09-05 17:12:55 -07002792#ifdef FEATURE_OEM_DATA_SUPPORT
2793/**
2794 @brief Process Start Oem Data Request function (called when Main
2795 FSM allows it)
2796
2797 @param pWDICtx: pointer to the WLAN DAL context
2798 pEventData: pointer to the event information structure
2799
2800 @see
2801 @return Result of the function call
2802*/
2803WDI_Status
2804WDI_ProcessStartOemDataReq
2805(
2806 WDI_ControlBlockType* pWDICtx,
2807 WDI_EventInfoType* pEventData
2808);
2809#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07002810
2811/**
2812 @brief Process Host Resume Request function (called when Main
2813 FSM allows it)
2814
2815 @param pWDICtx: pointer to the WLAN DAL context
2816 pEventData: pointer to the event information structure
2817
2818 @see
2819 @return Result of the function call
2820*/
2821WDI_Status
2822WDI_ProcessHostResumeReq
2823(
2824 WDI_ControlBlockType* pWDICtx,
2825 WDI_EventInfoType* pEventData
2826);
2827
2828/**
2829 @brief Process BT AMP event Request function (called when Main
2830 FSM allows it)
2831
2832 @param pWDICtx: pointer to the WLAN DAL context
2833 pEventData: pointer to the event information structure
2834
2835 @see
2836 @return Result of the function call
2837*/
2838WDI_Status
2839WDI_ProcessBtAmpEventReq
2840(
2841 WDI_ControlBlockType* pWDICtx,
2842 WDI_EventInfoType* pEventData
2843);
2844
2845/**
2846 @brief Process Add STA self Request function (called when Main FSM
2847 allows it)
2848
2849 @param pWDICtx: pointer to the WLAN DAL context
2850 pEventData: pointer to the event information structure
2851
2852 @see
2853 @return Result of the function call
2854*/
2855WDI_Status
2856WDI_ProcessAddSTASelfReq
2857(
2858 WDI_ControlBlockType* pWDICtx,
2859 WDI_EventInfoType* pEventData
2860);
2861
2862/**
2863 @brief Process Del Sta Self Request function (called when Main
2864 FSM allows it)
2865
2866 @param pWDICtx: pointer to the WLAN DAL context
2867 pEventData: pointer to the event information structure
2868
2869 @see
2870 @return Result of the function call
2871*/
2872WDI_Status
2873WDI_ProcessDelSTASelfReq
2874(
2875 WDI_ControlBlockType* pWDICtx,
2876 WDI_EventInfoType* pEventData
2877);
2878
2879/**
2880 @brief Process set Tx Per Tracking configurations Request function (called
2881 when Main FSM allows it)
2882
2883 @param pWDICtx: pointer to the WLAN DAL context
2884 pEventData: pointer to the event information structure
2885
2886 @see
2887 @return Result of the function call
2888*/
2889WDI_Status
2890WDI_ProcessSetTxPerTrackingReq
2891(
2892 WDI_ControlBlockType* pWDICtx,
2893 WDI_EventInfoType* pEventData
2894);
2895
2896/**
2897 @brief Process Set Power Params Request function
2898
2899 @param pWDICtx: pointer to the WLAN DAL context
2900 pEventData: pointer to the event information structure
2901
2902 @see
2903 @return Result of the function call
2904*/
2905WDI_Status
2906WDI_ProcessSetPowerParamsReq
2907(
2908 WDI_ControlBlockType* pWDICtx,
2909 WDI_EventInfoType* pEventData
2910);
2911
2912/**
2913 @brief Process Set Thermal Mitigation level Changed request
2914
2915 @param pWDICtx: pointer to the WLAN DAL context
2916 pEventData: pointer to the event information structure
2917
2918 @see
2919 @return Result of the function call
2920*/
2921WDI_Status
2922WDI_ProcessSetTmLevelReq
2923(
2924 WDI_ControlBlockType* pWDICtx,
2925 WDI_EventInfoType* pEventData
2926);
2927
Leo Chang9056f462013-08-01 19:21:11 -07002928#ifdef FEATURE_WLAN_LPHB
2929/**
2930 @brief WDI_ProcessLPHBConfReq -
2931 LPHB configuration request to FW
2932
2933 @param pWDICtx : wdi context
2934 pEventData : indication data
2935
2936 @see
2937 @return esult of the function call
2938*/
2939WDI_Status WDI_ProcessLPHBConfReq
2940(
2941 WDI_ControlBlockType* pWDICtx,
2942 WDI_EventInfoType* pEventData
2943);
2944#endif /* FEATURE_WLAN_LPHB */
2945
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08002946/**
2947 @brief WDI_ProcessUpdateChannelParamsReq -
2948 Send update channel request to FW
2949
2950 @param pWDICtx : wdi context
2951 pEventData : indication data
2952
2953 @see
2954 @return success or failure
2955*/
2956WDI_Status WDI_ProcessUpdateChannelParamsReq
2957(
2958 WDI_ControlBlockType* pWDICtx,
2959 WDI_EventInfoType* pEventData
2960);
2961
Rajeev79dbe4c2013-10-05 11:03:42 +05302962#ifdef FEATURE_WLAN_BATCH_SCAN
2963/**
2964 @brief WDI_ProcessSetBatchScanReq -
2965 Send set batch scan configuration request to FW
2966
2967 @param pWDICtx : wdi context
2968 pEventData : indication data
2969
2970 @see
2971 @return success or failure
2972*/
2973WDI_Status WDI_ProcessSetBatchScanReq
2974(
2975 WDI_ControlBlockType* pWDICtx,
2976 WDI_EventInfoType* pEventData
2977);
2978
2979/**
2980 @brief WDI_ProcessGetBatchScanReq -
2981 Send get batch scan request to FW
2982
2983 @param pWDICtx : wdi context
2984 pEventData : indication data
2985
2986 @see
2987 @return success or failure
2988*/
2989WDI_Status WDI_ProcessGetBatchScanReq
2990(
2991 WDI_ControlBlockType* pWDICtx,
2992 WDI_EventInfoType* pEventData
2993);
2994#endif /* FEATURE_WLAN_BATCH_SCAN */
2995
2996
Jeff Johnson295189b2012-06-20 16:38:30 -07002997/*=========================================================================
2998 Indications
2999=========================================================================*/
3000
3001/**
3002 @brief Process Suspend Indications function (called when Main FSM allows it)
3003
3004 @param pWDICtx: pointer to the WLAN DAL context
3005 pEventData: pointer to the event information structure
3006
3007 @see
3008 @return Result of the function call
3009*/
3010WDI_Status
3011WDI_ProcessHostSuspendInd
3012(
3013 WDI_ControlBlockType* pWDICtx,
3014 WDI_EventInfoType* pEventData
3015);
3016
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +05303017/**
3018 @brief DHCP Start Event Indication
3019
3020 @param pWDICtx: pointer to the WLAN DAL context
3021 pEventData: pointer to the event information structure
3022
3023 @see
3024 @return Result of the function call
3025*/
3026WDI_Status
3027WDI_ProcessDHCPStartInd
3028(
3029 WDI_ControlBlockType* pWDICtx,
3030 WDI_EventInfoType* pEventData
3031);
3032
3033/**
3034 @brief DHCP Stop Event Indication
3035
3036 @param pWDICtx: pointer to the WLAN DAL context
3037 pEventData: pointer to the event information structure
3038
3039 @see
3040 @return Result of the function call
3041*/
3042WDI_Status
3043WDI_ProcessDHCPStopInd
3044(
3045 WDI_ControlBlockType* pWDICtx,
3046 WDI_EventInfoType* pEventData
3047);
3048
Jeff Johnson295189b2012-06-20 16:38:30 -07003049
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -08003050/**
3051 @brief Process Traffic Stats Indications function (called when Main FSM allows it)
3052
3053 @param pWDICtx: pointer to the WLAN DAL context
3054 pEventData: pointer to the event information structure
3055
3056 @see
3057 @return Result of the function call
3058*/
3059WDI_Status
3060WDI_ProcessTrafficStatsInd
3061(
3062 WDI_ControlBlockType* pWDICtx,
3063 WDI_EventInfoType* pEventData
3064);
Chet Lanctot186b5732013-03-18 10:26:30 -07003065
3066#ifdef WLAN_FEATURE_11W
3067/**
3068 @brief Process Exclude Unencrypted Indications function (called
3069 when Main FSM allows it)
3070
3071 @param pWDICtx: pointer to the WLAN DAL context
3072 pEventData: pointer to the event information structure
3073
3074 @see
3075 @return Result of the function call
3076*/
3077WDI_Status
3078WDI_ProcessExcludeUnencryptInd
3079(
3080 WDI_ControlBlockType* pWDICtx,
3081 WDI_EventInfoType* pEventData
3082);
3083#endif
3084
Yue Mab9c86f42013-08-14 15:59:08 -07003085/**
3086 @brief Process Add Periodic Tx Pattern Indication function (called when
3087 Main FSM allows it)
3088
3089 @param pWDICtx: pointer to the WLAN DAL context
3090 pEventData: pointer to the event information structure
3091
3092 @see
3093 @return Result of the function call
3094*/
3095WDI_Status
3096WDI_ProcessAddPeriodicTxPtrnInd
3097(
3098 WDI_ControlBlockType* pWDICtx,
3099 WDI_EventInfoType* pEventData
3100);
3101
3102/**
3103 @brief Process Delete Periodic Tx Pattern Indication function (called when
3104 Main FSM allows it)
3105
3106 @param pWDICtx: pointer to the WLAN DAL context
3107 pEventData: pointer to the event information structure
3108
3109 @see
3110 @return Result of the function call
3111*/
3112WDI_Status
3113WDI_ProcessDelPeriodicTxPtrnInd
3114(
3115 WDI_ControlBlockType* pWDICtx,
3116 WDI_EventInfoType* pEventData
3117);
3118
Rajeev79dbe4c2013-10-05 11:03:42 +05303119#ifdef FEATURE_WLAN_BATCH_SCAN
3120/**
3121 @brief Process stop batch scan indications function
3122 It is called when Main FSM allows it
3123
3124 @param pWDICtx: pointer to the WLAN DAL context
3125 pEventData: pointer to the event information structure
3126
3127 @see
3128 @return Result of the function call
3129 */
3130 WDI_Status
3131 WDI_ProcessStopBatchScanInd
3132 (
3133 WDI_ControlBlockType* pWDICtx,
3134 WDI_EventInfoType* pEventData
3135 );
3136
3137/**
3138 @brief This API is called to trigger batch scan results from FW
3139 It is called when Main FSM allows it
3140
3141 @param pWDICtx: pointer to the WLAN DAL context
3142 pEventData: pointer to the event information structure
3143
3144 @see
3145 @return Result of the function call
3146 */
3147 WDI_Status
3148 WDI_ProcessTriggerBatchScanResultInd
3149 (
3150 WDI_ControlBlockType* pWDICtx,
3151 WDI_EventInfoType* pEventData
3152 );
3153
3154#endif
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +05303155/**
3156 @brief Process start OBSS scan request from Host
3157
3158 @param pWDICtx: pointer to the WLAN DAL context
3159 pEventData: pointer to the event information structure
3160
3161 @see
3162 @return Result of the function call
3163*/
3164WDI_Status
3165WDI_ProcessHT40OBSSScanInd(
3166 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
3167
3168
3169/**
3170 @brief Process stop OBSS scan request from Host
3171
3172 @param pWDICtx: pointer to the WLAN DAL context
3173 pEventData: pointer to the event information structure
3174
3175 @see
3176 @return Result of the function call
3177*/
3178WDI_Status
3179WDI_ProcessHT40OBSSStopScanInd(
3180 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
Rajeev79dbe4c2013-10-05 11:03:42 +05303181
Jeff Johnson295189b2012-06-20 16:38:30 -07003182/*========================================================================
3183 Main DAL Control Path Response Processing API
3184========================================================================*/
3185
3186
3187/**
3188 @brief Process Start Response function (called when a response
3189 is being received over the bus from HAL)
3190
3191 @param pWDICtx: pointer to the WLAN DAL context
3192 pEventData: pointer to the event information structure
3193
3194 @see
3195 @return Result of the function call
3196*/
3197WDI_Status
3198WDI_ProcessStartRsp
3199(
3200 WDI_ControlBlockType* pWDICtx,
3201 WDI_EventInfoType* pEventData
3202);
3203
3204
3205/**
3206 @brief Process Stop Response function (called when a response
3207 is being received over the bus from HAL)
3208
3209 @param pWDICtx: pointer to the WLAN DAL context
3210 pEventData: pointer to the event information structure
3211
3212 @see
3213 @return Result of the function call
3214*/
3215WDI_Status
3216WDI_ProcessStopRsp
3217(
3218 WDI_ControlBlockType* pWDICtx,
3219 WDI_EventInfoType* pEventData
3220);
3221
3222
3223/**
3224 @brief Process Close Rsp function (called when a response
3225 is being received over the bus from HAL)
3226
3227 @param pWDICtx: pointer to the WLAN DAL context
3228 pEventData: pointer to the event information structure
3229
3230 @see
3231 @return Result of the function call
3232*/
3233WDI_Status
3234WDI_ProcessCloseRsp
3235(
3236 WDI_ControlBlockType* pWDICtx,
3237 WDI_EventInfoType* pEventData
3238);
3239
3240/**
3241 @brief Process Shutdown Rsp function
3242 There is no shutdown response comming from HAL
3243 - function just kept for simmetry
3244
3245 @param pWDICtx: pointer to the WLAN DAL context
3246 pEventData: pointer to the event information structure
3247
3248 @see
3249 @return Result of the function call
3250*/
3251WDI_Status
3252WDI_ProcessShutdownRsp
3253(
3254 WDI_ControlBlockType* pWDICtx,
3255 WDI_EventInfoType* pEventData
3256);
3257
3258/**
3259 @brief Process Init Scan Rsp function (called when a response
3260 is being received over the bus from HAL)
3261
3262 @param pWDICtx: pointer to the WLAN DAL context
3263 pEventData: pointer to the event information structure
3264
3265 @see
3266 @return Result of the function call
3267*/
3268WDI_Status
3269WDI_ProcessInitScanRsp
3270(
3271 WDI_ControlBlockType* pWDICtx,
3272 WDI_EventInfoType* pEventData
3273);
3274
3275
3276/**
3277 @brief Process Start Scan Rsp function (called when a response
3278 is being received over the bus from HAL)
3279
3280 @param pWDICtx: pointer to the WLAN DAL context
3281 pEventData: pointer to the event information structure
3282
3283 @see
3284 @return Result of the function call
3285*/
3286WDI_Status
3287WDI_ProcessStartScanRsp
3288(
3289 WDI_ControlBlockType* pWDICtx,
3290 WDI_EventInfoType* pEventData
3291);
3292
3293
3294/**
3295 @brief Process End Scan Response function (called when a
3296 response is being received over the bus from HAL)
3297
3298 @param pWDICtx: pointer to the WLAN DAL context
3299 pEventData: pointer to the event information structure
3300
3301 @see
3302 @return Result of the function call
3303*/
3304WDI_Status
3305WDI_ProcessEndScanRsp
3306(
3307 WDI_ControlBlockType* pWDICtx,
3308 WDI_EventInfoType* pEventData
3309);
3310
3311
3312/**
3313 @brief Process Finish Scan Response function (called when a
3314 response is being received over the bus from HAL)
3315
3316 @param pWDICtx: pointer to the WLAN DAL context
3317 pEventData: pointer to the event information structure
3318
3319 @see
3320 @return Result of the function call
3321*/
3322WDI_Status
3323WDI_ProcessFinishScanRsp
3324(
3325 WDI_ControlBlockType* pWDICtx,
3326 WDI_EventInfoType* pEventData
3327);
3328
3329
3330/**
3331 @brief Process Join Response function (called when a response
3332 is being received over the bus from HAL)
3333
3334 @param pWDICtx: pointer to the WLAN DAL context
3335 pEventData: pointer to the event information structure
3336
3337 @see
3338 @return Result of the function call
3339*/
3340WDI_Status
3341WDI_ProcessJoinRsp
3342(
3343 WDI_ControlBlockType* pWDICtx,
3344 WDI_EventInfoType* pEventData
3345);
3346
3347
3348/**
3349 @brief Process Config BSS Response function (called when a
3350 response is being received over the bus from HAL)
3351
3352 @param pWDICtx: pointer to the WLAN DAL context
3353 pEventData: pointer to the event information structure
3354
3355 @see
3356 @return Result of the function call
3357*/
3358WDI_Status
3359WDI_ProcessConfigBSSRsp
3360(
3361 WDI_ControlBlockType* pWDICtx,
3362 WDI_EventInfoType* pEventData
3363);
3364
3365
3366/**
3367 @brief Process Del BSS Response function (called when a response
3368 is being received over the bus from HAL)
3369
3370 @param pWDICtx: pointer to the WLAN DAL context
3371 pEventData: pointer to the event information structure
3372
3373 @see
3374 @return Result of the function call
3375*/
3376WDI_Status
3377WDI_ProcessDelBSSRsp
3378(
3379 WDI_ControlBlockType* pWDICtx,
3380 WDI_EventInfoType* pEventData
3381);
3382
3383/**
3384 @brief Process Post Assoc Rsp function (called when a response
3385 is being received over the bus from HAL)
3386
3387 @param pWDICtx: pointer to the WLAN DAL context
3388 pEventData: pointer to the event information structure
3389
3390 @see
3391 @return Result of the function call
3392*/
3393WDI_Status
3394WDI_ProcessPostAssocRsp
3395(
3396 WDI_ControlBlockType* pWDICtx,
3397 WDI_EventInfoType* pEventData
3398);
3399
3400/**
3401 @brief Process Del STA Key Rsp function (called when a response
3402 is being received over the bus from HAL)
3403
3404 @param pWDICtx: pointer to the WLAN DAL context
3405 pEventData: pointer to the event information structure
3406
3407 @see
3408 @return Result of the function call
3409*/
3410WDI_Status
3411WDI_ProcessDelSTARsp
3412(
3413 WDI_ControlBlockType* pWDICtx,
3414 WDI_EventInfoType* pEventData
3415);
3416
3417/**
3418 @brief Process Set BSS Key Rsp function (called when a response
3419 is being received over the bus from HAL)
3420
3421 @param pWDICtx: pointer to the WLAN DAL context
3422 pEventData: pointer to the event information structure
3423
3424 @see
3425 @return Result of the function call
3426*/
3427WDI_Status
3428WDI_ProcessSetBssKeyRsp
3429(
3430 WDI_ControlBlockType* pWDICtx,
3431 WDI_EventInfoType* pEventData
3432);
3433
3434/**
3435 @brief Process Remove BSS Key Rsp function (called when a response
3436 is being received over the bus from HAL)
3437
3438 @param pWDICtx: pointer to the WLAN DAL context
3439 pEventData: pointer to the event information structure
3440
3441 @see
3442 @return Result of the function call
3443*/
3444WDI_Status
3445WDI_ProcessRemoveBssKeyRsp
3446(
3447 WDI_ControlBlockType* pWDICtx,
3448 WDI_EventInfoType* pEventData
3449);
3450
3451
3452/**
3453 @brief Process Set STA Key Rsp function (called when a response
3454 is being received over the bus from HAL)
3455
3456 @param pWDICtx: pointer to the WLAN DAL context
3457 pEventData: pointer to the event information structure
3458
3459 @see
3460 @return Result of the function call
3461*/
3462WDI_Status
3463WDI_ProcessSetStaKeyRsp
3464(
3465 WDI_ControlBlockType* pWDICtx,
3466 WDI_EventInfoType* pEventData
3467);
3468
3469/**
3470 @brief Process Remove STA Key Rsp function (called when a
3471 response is being received over the bus from HAL)
3472
3473 @param pWDICtx: pointer to the WLAN DAL context
3474 pEventData: pointer to the event information structure
3475
3476 @see
3477 @return Result of the function call
3478*/
3479WDI_Status
3480WDI_ProcessRemoveStaKeyRsp
3481(
3482 WDI_ControlBlockType* pWDICtx,
3483 WDI_EventInfoType* pEventData
3484);
3485
3486
3487/**
3488 @brief Process Set STA Bcast Key Rsp function (called when a
3489 response is being received over the bus from HAL)
3490
3491 @param pWDICtx: pointer to the WLAN DAL context
3492 pEventData: pointer to the event information structure
3493
3494 @see
3495 @return Result of the function call
3496*/
3497WDI_Status
3498WDI_ProcessSetStaBcastKeyRsp
3499(
3500 WDI_ControlBlockType* pWDICtx,
3501 WDI_EventInfoType* pEventData
3502);
3503
3504/**
3505 @brief Process Remove STA Bcast Key Rsp function (called when a
3506 response is being received over the bus from HAL)
3507
3508 @param pWDICtx: pointer to the WLAN DAL context
3509 pEventData: pointer to the event information structure
3510
3511 @see
3512 @return Result of the function call
3513*/
3514WDI_Status
3515WDI_ProcessRemoveStaBcastKeyRsp
3516(
3517 WDI_ControlBlockType* pWDICtx,
3518 WDI_EventInfoType* pEventData
3519);
3520
3521/**
3522 @brief Process Add TSpec Rsp function (called when a response
3523 is being received over the bus from HAL)
3524
3525 @param pWDICtx: pointer to the WLAN DAL context
3526 pEventData: pointer to the event information structure
3527
3528 @see
3529 @return Result of the function call
3530*/
3531WDI_Status
3532WDI_ProcessAddTSpecRsp
3533(
3534 WDI_ControlBlockType* pWDICtx,
3535 WDI_EventInfoType* pEventData
3536);
3537
3538
3539/**
3540 @brief Process Del TSpec Rsp function (called when a response
3541 is being received over the bus from HAL)
3542
3543 @param pWDICtx: pointer to the WLAN DAL context
3544 pEventData: pointer to the event information structure
3545
3546 @see
3547 @return Result of the function call
3548*/
3549WDI_Status
3550WDI_ProcessDelTSpecRsp
3551(
3552 WDI_ControlBlockType* pWDICtx,
3553 WDI_EventInfoType* pEventData
3554);
3555
3556/**
3557 @brief Process Update EDCA Parameters Rsp function (called when a
3558 response is being received over the bus from HAL)
3559
3560 @param pWDICtx: pointer to the WLAN DAL context
3561 pEventData: pointer to the event information structure
3562
3563 @see
3564 @return Result of the function call
3565*/
3566WDI_Status
3567WDI_ProcessUpdateEDCAParamsRsp
3568(
3569 WDI_ControlBlockType* pWDICtx,
3570 WDI_EventInfoType* pEventData
3571);
3572
3573
3574/**
3575 @brief Process Add BA Rsp function (called when a response
3576 is being received over the bus from HAL)
3577
3578 @param pWDICtx: pointer to the WLAN DAL context
3579 pEventData: pointer to the event information structure
3580
3581 @see
3582 @return Result of the function call
3583*/
3584WDI_Status
3585WDI_ProcessAddBASessionRsp
3586(
3587 WDI_ControlBlockType* pWDICtx,
3588 WDI_EventInfoType* pEventData
3589);
3590
3591
3592/**
3593 @brief Process Del BA Rsp function (called when a response
3594 is being received over the bus from HAL)
3595
3596 @param pWDICtx: pointer to the WLAN DAL context
3597 pEventData: pointer to the event information structure
3598
3599 @see
3600 @return Result of the function call
3601*/
3602WDI_Status
3603WDI_ProcessDelBARsp
3604(
3605 WDI_ControlBlockType* pWDICtx,
3606 WDI_EventInfoType* pEventData
3607);
3608
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08003609#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07003610/**
3611 @brief Process TSM stats Rsp function (called when a response
3612 is being received over the bus from HAL)
3613
3614 @param pWDICtx: pointer to the WLAN DAL context
3615 pEventData: pointer to the event information structure
3616
3617 @see
3618 @return Result of the function call
3619*/
3620WDI_Status
3621WDI_ProcessTsmStatsRsp
3622(
3623 WDI_ControlBlockType* pWDICtx,
3624 WDI_EventInfoType* pEventData
3625);
3626
3627#endif
3628
3629
3630/**
3631 @brief Process Channel Switch Rsp function (called when a response
3632 is being received over the bus from HAL)
3633
3634 @param pWDICtx: pointer to the WLAN DAL context
3635 pEventData: pointer to the event information structure
3636
3637 @see
3638 @return Result of the function call
3639*/
3640WDI_Status
3641WDI_ProcessChannelSwitchRsp
3642(
3643 WDI_ControlBlockType* pWDICtx,
3644 WDI_EventInfoType* pEventData
3645);
3646
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08003647/**
3648 @brief Process Channel Switch Rsp function (called when a response
3649 is being received over the bus from HAL)
3650
3651 @param pWDICtx: pointer to the WLAN DAL context
3652 pEventData: pointer to the event information structure
3653
3654 @see
3655 @return Result of the function call
3656*/
3657WDI_Status
3658WDI_ProcessChannelSwitchRsp_V1
3659(
3660 WDI_ControlBlockType* pWDICtx,
3661 WDI_EventInfoType* pEventData
3662);
Jeff Johnson295189b2012-06-20 16:38:30 -07003663
3664/**
3665 @brief Process Config STA Rsp function (called when a response
3666 is being received over the bus from HAL)
3667
3668 @param pWDICtx: pointer to the WLAN DAL context
3669 pEventData: pointer to the event information structure
3670
3671 @see
3672 @return Result of the function call
3673*/
3674WDI_Status
3675WDI_ProcessConfigStaRsp
3676(
3677 WDI_ControlBlockType* pWDICtx,
3678 WDI_EventInfoType* pEventData
3679);
3680
3681
3682/**
3683 @brief Process Set Link State Rsp function (called when a
3684 response is being received over the bus from HAL)
3685
3686 @param pWDICtx: pointer to the WLAN DAL context
3687 pEventData: pointer to the event information structure
3688
3689 @see
3690 @return Result of the function call
3691*/
3692WDI_Status
3693WDI_ProcessSetLinkStateRsp
3694(
3695 WDI_ControlBlockType* pWDICtx,
3696 WDI_EventInfoType* pEventData
3697);
3698
3699/**
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08003700 @brief Process Update Channel Rsp function (called when a response is
3701 being received over the bus from HAL)
3702
3703 @param pWDICtx: pointer to the WLAN DAL context
3704 pEventData: pointer to the event information structure
3705
3706 @see
3707 @return Result of the function call
3708*/
3709WDI_Status
3710WDI_ProcessUpdateChanRsp
3711(
3712 WDI_ControlBlockType* pWDICtx,
3713 WDI_EventInfoType* pEventData
3714);
3715
3716/**
Jeff Johnson295189b2012-06-20 16:38:30 -07003717 @brief Process Get Stats Rsp function (called when a response is
3718 being received over the bus from HAL)
3719
3720 @param pWDICtx: pointer to the WLAN DAL context
3721 pEventData: pointer to the event information structure
3722
3723 @see
3724 @return Result of the function call
3725*/
3726WDI_Status
3727WDI_ProcessGetStatsRsp
3728(
3729 WDI_ControlBlockType* pWDICtx,
3730 WDI_EventInfoType* pEventData
3731);
3732
3733
3734/**
3735 @brief Process Update Cfg Rsp function (called when a response is
3736 being received over the bus from HAL)
3737
3738 @param pWDICtx: pointer to the WLAN DAL context
3739 pEventData: pointer to the event information structure
3740
3741 @see
3742 @return Result of the function call
3743*/
3744WDI_Status
3745WDI_ProcessUpdateCfgRsp
3746(
3747 WDI_ControlBlockType* pWDICtx,
3748 WDI_EventInfoType* pEventData
3749);
3750
3751/**
3752 @brief Process Add BA Rsp function (called when a response
3753 is being received over the bus from HAL)
3754
3755 @param pWDICtx: pointer to the WLAN DAL context
3756 pEventData: pointer to the event information structure
3757
3758 @see
3759 @return Result of the function call
3760*/
3761WDI_Status
3762WDI_ProcessAddBARsp
3763(
3764 WDI_ControlBlockType* pWDICtx,
3765 WDI_EventInfoType* pEventData
3766);
3767
3768/**
3769 @brief Process Add BA Rsp function (called when a response
3770 is being received over the bus from HAL)
3771
3772 @param pWDICtx: pointer to the WLAN DAL context
3773 pEventData: pointer to the event information structure
3774
3775 @see
3776 @return Result of the function call
3777*/
3778WDI_Status
3779WDI_ProcessTriggerBARsp
3780(
3781 WDI_ControlBlockType* pWDICtx,
3782 WDI_EventInfoType* pEventData
3783);
3784
3785/**
3786 @brief Process Update Beacon Params Rsp function (called when a response is
3787 being received over the bus from HAL)
3788
3789 @param pWDICtx: pointer to the WLAN DAL context
3790 pEventData: pointer to the event information structure
3791
3792 @see
3793 @return Result of the function call
3794*/
3795WDI_Status
3796WDI_ProcessUpdateBeaconParamsRsp
3797(
3798 WDI_ControlBlockType* pWDICtx,
3799 WDI_EventInfoType* pEventData
3800);
3801
3802/**
3803 @brief Process Send Beacon template Rsp function (called when a response is
3804 being received over the bus from HAL)
3805
3806 @param pWDICtx: pointer to the WLAN DAL context
3807 pEventData: pointer to the event information structure
3808
3809 @see
3810 @return Result of the function call
3811*/
3812WDI_Status
3813WDI_ProcessSendBeaconParamsRsp
3814(
3815 WDI_ControlBlockType* pWDICtx,
3816 WDI_EventInfoType* pEventData
3817);
3818
3819/**
3820 @brief Process Update Probe Resp Template Rsp function (called
3821 when a response is being received over the bus from HAL)
3822
3823 @param pWDICtx: pointer to the WLAN DAL context
3824 pEventData: pointer to the event information structure
3825
3826 @see
3827 @return Result of the function call
3828*/
3829WDI_Status
3830WDI_ProcessUpdateProbeRspTemplateRsp
3831(
3832 WDI_ControlBlockType* pWDICtx,
3833 WDI_EventInfoType* pEventData
3834);
3835 /**
3836 @brief Process Set Max Tx Power Rsp function (called when a response
3837 is being received over the bus from HAL)
3838
3839 @param pWDICtx: pointer to the WLAN DAL context
3840 pEventData: pointer to the event information structure
3841
3842 @see
3843 @return Result of the function call
3844*/
3845WDI_Status
3846WDI_ProcessSetMaxTxPowerRsp
3847(
3848 WDI_ControlBlockType* pWDICtx,
3849 WDI_EventInfoType* pEventData
3850);
3851
Arif Hussain935a8fb2014-01-31 12:12:28 -08003852/**
3853 @brief Process Set Max Tx Power Per Band Rsp function (called when a response
3854 is being received over the bus from HAL)
3855
3856 @param pWDICtx: pointer to the WLAN DAL context
3857 pEventData: pointer to the event information structure
3858
3859 @see
3860 @return Result of the function call
3861*/
3862WDI_Status
3863WDI_ProcessSetMaxTxPowerPerBandRsp
3864(
3865 WDI_ControlBlockType* pWDICtx,
3866 WDI_EventInfoType* pEventData
3867);
3868
schang86c22c42013-03-13 18:41:24 -07003869 /**
3870 @brief Process Set Tx Power Rsp function (called when a response
3871 is being received over the bus from HAL)
3872
3873 @param pWDICtx: pointer to the WLAN DAL context
3874 pEventData: pointer to the event information structure
3875
3876 @see
3877 @return Result of the function call
3878*/
3879WDI_Status
3880WDI_ProcessSetTxPowerRsp
3881(
3882 WDI_ControlBlockType* pWDICtx,
3883 WDI_EventInfoType* pEventData
3884);
3885
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05303886 /**
3887 @brief Process TDLS Link Establish Req Rsp function (called when a response
3888 is being received over the bus from HAL)
3889
3890 @param pWDICtx: pointer to the WLAN DAL context
3891 pEventData: pointer to the event information structure
3892
3893 @see
3894 @return Result of the function call
3895*/
3896WDI_Status
3897WDI_ProcessLinkEstablishReqRsp
3898(
3899 WDI_ControlBlockType* pWDICtx,
3900 WDI_EventInfoType* pEventData
3901);
3902
Atul Mittalc0f739f2014-07-31 13:47:47 +05303903
3904 /**
3905 @brief Process TDLS Chan Switch Req Rsp function (called when a response
3906 is being received over the bus from HAL)
3907
3908 @param pWDICtx: pointer to the WLAN DAL context
3909 pEventData: pointer to the event information structure
3910
3911 @see
3912 @return Result of the function call
3913*/
3914WDI_Status
3915WDI_ProcessChanSwitchReqRsp
3916(
3917 WDI_ControlBlockType* pWDICtx,
3918 WDI_EventInfoType* pEventData
3919);
3920
Jeff Johnson295189b2012-06-20 16:38:30 -07003921/**
3922 @brief Process Nv download(called when a response
3923 is being received over the bus from HAL)
3924
3925 @param pWDICtx: pointer to the WLAN DAL context
3926 pEventData: pointer to the event information structure
3927
3928 @see
3929 @return Result of the function call
3930*/
3931WDI_Status
3932WDI_ProcessNvDownloadRsp
3933(
3934 WDI_ControlBlockType* pWDICtx,
3935 WDI_EventInfoType* pEventData
3936);
3937
Jeff Johnson295189b2012-06-20 16:38:30 -07003938/**
3939 @brief Process P2P Group Owner Notice Of Absense Rsp function (called
3940 when a response is being received over the bus from HAL)
3941
3942 @param pWDICtx: pointer to the WLAN DAL context
3943 pEventData: pointer to the event information structure
3944
3945 @see
3946 @return Result of the function call
3947*/
3948WDI_Status
3949WDI_ProcessP2PGONOARsp
3950(
3951 WDI_ControlBlockType* pWDICtx,
3952 WDI_EventInfoType* pEventData
3953);
Jeff Johnson295189b2012-06-20 16:38:30 -07003954
3955/**
3956 @brief Process Enter IMPS Rsp function (called when a response
3957 is being received over the bus from HAL)
3958
3959 @param pWDICtx: pointer to the WLAN DAL context
3960 pEventData: pointer to the event information structure
3961
3962 @see
3963 @return Result of the function call
3964*/
3965WDI_Status
3966WDI_ProcessEnterImpsRsp
3967(
3968 WDI_ControlBlockType* pWDICtx,
3969 WDI_EventInfoType* pEventData
3970);
3971
3972/**
3973 @brief Process Exit IMPS Rsp function (called when a response
3974 is being received over the bus from HAL)
3975
3976 @param pWDICtx: pointer to the WLAN DAL context
3977 pEventData: pointer to the event information structure
3978
3979 @see
3980 @return Result of the function call
3981*/
3982WDI_Status
3983WDI_ProcessExitImpsRsp
3984(
3985 WDI_ControlBlockType* pWDICtx,
3986 WDI_EventInfoType* pEventData
3987);
3988
3989/**
3990 @brief Process Enter BMPS Rsp function (called when a response
3991 is being received over the bus from HAL)
3992
3993 @param pWDICtx: pointer to the WLAN DAL context
3994 pEventData: pointer to the event information structure
3995
3996 @see
3997 @return Result of the function call
3998*/
3999WDI_Status
4000WDI_ProcessEnterBmpsRsp
4001(
4002 WDI_ControlBlockType* pWDICtx,
4003 WDI_EventInfoType* pEventData
4004);
4005
4006/**
4007 @brief Process Exit BMPS Rsp function (called when a response
4008 is being received over the bus from HAL)
4009
4010 @param pWDICtx: pointer to the WLAN DAL context
4011 pEventData: pointer to the event information structure
4012
4013 @see
4014 @return Result of the function call
4015*/
4016WDI_Status
4017WDI_ProcessExitBmpsRsp
4018(
4019 WDI_ControlBlockType* pWDICtx,
4020 WDI_EventInfoType* pEventData
4021);
4022
4023/**
4024 @brief Process Enter UAPSD Rsp function (called when a response
4025 is being received over the bus from HAL)
4026
4027 @param pWDICtx: pointer to the WLAN DAL context
4028 pEventData: pointer to the event information structure
4029
4030 @see
4031 @return Result of the function call
4032*/
4033WDI_Status
4034WDI_ProcessEnterUapsdRsp
4035(
4036 WDI_ControlBlockType* pWDICtx,
4037 WDI_EventInfoType* pEventData
4038);
4039
4040/**
4041 @brief Process Exit UAPSD Rsp function (called when a response
4042 is being received over the bus from HAL)
4043
4044 @param pWDICtx: pointer to the WLAN DAL context
4045 pEventData: pointer to the event information structure
4046
4047 @see
4048 @return Result of the function call
4049*/
4050WDI_Status
4051WDI_ProcessExitUapsdRsp
4052(
4053 WDI_ControlBlockType* pWDICtx,
4054 WDI_EventInfoType* pEventData
4055);
4056
4057/**
4058 @brief Process set UAPSD params Rsp function (called when a
4059 response is being received over the bus from HAL)
4060
4061 @param pWDICtx: pointer to the WLAN DAL context
4062 pEventData: pointer to the event information structure
4063
4064 @see
4065 @return Result of the function call
4066*/
4067WDI_Status
4068WDI_ProcessSetUapsdAcParamsRsp
4069(
4070 WDI_ControlBlockType* pWDICtx,
4071 WDI_EventInfoType* pEventData
4072);
4073
4074/**
4075 @brief Process update UAPSD params Rsp function (called when a
4076 response is being received over the bus from HAL)
4077
4078 @param pWDICtx: pointer to the WLAN DAL context
4079 pEventData: pointer to the event information structure
4080
4081 @see
4082 @return Result of the function call
4083*/
4084WDI_Status
4085WDI_ProcessUpdateUapsdParamsRsp
4086(
4087 WDI_ControlBlockType* pWDICtx,
4088 WDI_EventInfoType* pEventData
4089);
4090
4091/**
4092 @brief Process Configure RXP filter Rsp function (called when a
4093 response is being received over the bus from HAL)
4094
4095 @param pWDICtx: pointer to the WLAN DAL context
4096 pEventData: pointer to the event information structure
4097
4098 @see
4099 @return Result of the function call
4100*/
4101WDI_Status
4102WDI_ProcessConfigureRxpFilterRsp
4103(
4104 WDI_ControlBlockType* pWDICtx,
4105 WDI_EventInfoType* pEventData
4106);
4107
4108/**
4109 @brief Process Set beacon filter Rsp function (called when a
4110 response is being received over the bus from HAL)
4111
4112 @param pWDICtx: pointer to the WLAN DAL context
4113 pEventData: pointer to the event information structure
4114
4115 @see
4116 @return Result of the function call
4117*/
4118WDI_Status
4119WDI_ProcessSetBeaconFilterRsp
4120(
4121 WDI_ControlBlockType* pWDICtx,
4122 WDI_EventInfoType* pEventData
4123);
4124
4125/**
4126 @brief Process remove beacon filter Rsp function (called when a
4127 response is being received over the bus from HAL)
4128
4129 @param pWDICtx: pointer to the WLAN DAL context
4130 pEventData: pointer to the event information structure
4131
4132 @see
4133 @return Result of the function call
4134*/
4135WDI_Status
4136WDI_ProcessRemBeaconFilterRsp
4137(
4138 WDI_ControlBlockType* pWDICtx,
4139 WDI_EventInfoType* pEventData
4140);
4141
4142/**
4143 @brief Process set RSSI thresholds Rsp function (called when a
4144 response is being received over the bus from HAL)
4145
4146 @param pWDICtx: pointer to the WLAN DAL context
4147 pEventData: pointer to the event information structure
4148
4149 @see
4150 @return Result of the function call
4151*/
4152WDI_Status
4153WDI_ProcessSetRSSIThresoldsRsp
4154(
4155 WDI_ControlBlockType* pWDICtx,
4156 WDI_EventInfoType* pEventData
4157);
4158
4159/**
4160 @brief Process host offload Rsp function (called when a
4161 response is being received over the bus from HAL)
4162
4163 @param pWDICtx: pointer to the WLAN DAL context
4164 pEventData: pointer to the event information structure
4165
4166 @see
4167 @return Result of the function call
4168*/
4169WDI_Status
4170WDI_ProcessHostOffloadRsp
4171(
4172 WDI_ControlBlockType* pWDICtx,
4173 WDI_EventInfoType* pEventData
4174);
4175
4176/**
4177 @brief Process Keep Alive Rsp function (called when a
4178 response is being received over the bus from HAL)
4179
4180 @param pWDICtx: pointer to the WLAN DAL context
4181 pEventData: pointer to the event information structure
4182
4183 @see
4184 @return Result of the function call
4185*/
4186WDI_Status
4187WDI_ProcessKeepAliveRsp
4188(
4189 WDI_ControlBlockType* pWDICtx,
4190 WDI_EventInfoType* pEventData
4191);
4192
4193
4194/**
4195 @brief Process wowl add ptrn Rsp function (called when a
4196 response is being received over the bus from HAL)
4197
4198 @param pWDICtx: pointer to the WLAN DAL context
4199 pEventData: pointer to the event information structure
4200
4201 @see
4202 @return Result of the function call
4203*/
4204WDI_Status
4205WDI_ProcessWowlAddBcPtrnRsp
4206(
4207 WDI_ControlBlockType* pWDICtx,
4208 WDI_EventInfoType* pEventData
4209);
4210
4211/**
4212 @brief Process wowl delete ptrn Rsp function (called when a
4213 response is being received over the bus from HAL)
4214
4215 @param pWDICtx: pointer to the WLAN DAL context
4216 pEventData: pointer to the event information structure
4217
4218 @see
4219 @return Result of the function call
4220*/
4221WDI_Status
4222WDI_ProcessWowlDelBcPtrnRsp
4223(
4224 WDI_ControlBlockType* pWDICtx,
4225 WDI_EventInfoType* pEventData
4226);
4227
4228/**
4229 @brief Process wowl enter Rsp function (called when a response
4230 is being received over the bus from HAL)
4231
4232 @param pWDICtx: pointer to the WLAN DAL context
4233 pEventData: pointer to the event information structure
4234
4235 @see
4236 @return Result of the function call
4237*/
4238WDI_Status
4239WDI_ProcessWowlEnterRsp
4240(
4241 WDI_ControlBlockType* pWDICtx,
4242 WDI_EventInfoType* pEventData
4243);
4244
4245/**
4246 @brief Process wowl exit Rsp function (called when a response
4247 is being received over the bus from HAL)
4248
4249 @param pWDICtx: pointer to the WLAN DAL context
4250 pEventData: pointer to the event information structure
4251
4252 @see
4253 @return Result of the function call
4254*/
4255WDI_Status
4256WDI_ProcessWowlExitRsp
4257(
4258 WDI_ControlBlockType* pWDICtx,
4259 WDI_EventInfoType* pEventData
4260);
4261
4262/**
4263 @brief Process Configure Apps CPU wakeup State Rsp function
4264 (called when a response is being received over the bus
4265 from HAL)
4266
4267 @param pWDICtx: pointer to the WLAN DAL context
4268 pEventData: pointer to the event information structure
4269
4270 @see
4271 @return Result of the function call
4272*/
4273WDI_Status
4274WDI_ProcessConfigureAppsCpuWakeupStateRsp
4275(
4276 WDI_ControlBlockType* pWDICtx,
4277 WDI_EventInfoType* pEventData
4278);
4279/**
4280 @brief Process Flush AC Rsp function (called when a response
4281 is being received over the bus from HAL)
4282
4283 @param pWDICtx: pointer to the WLAN DAL context
4284 pEventData: pointer to the event information structure
4285
4286 @see
4287 @return Result of the function call
4288*/
4289WDI_Status
4290WDI_ProcessFlushAcRsp
4291(
4292 WDI_ControlBlockType* pWDICtx,
4293 WDI_EventInfoType* pEventData
4294);
4295
4296/**
4297 @brief Process BT AMP event Rsp function (called when a
4298 response is being received over the bus from HAL)
4299
4300 @param pWDICtx: pointer to the WLAN DAL context
4301 pEventData: pointer to the event information structure
4302
4303 @see
4304 @return Result of the function call
4305*/
4306WDI_Status
4307WDI_ProcessBtAmpEventRsp
4308(
4309 WDI_ControlBlockType* pWDICtx,
4310 WDI_EventInfoType* pEventData
4311);
4312
4313/**
4314 @brief Process ADD SELF STA Rsp function (called
4315 when a response is being received over the bus from HAL)
4316
4317 @param pWDICtx: pointer to the WLAN DAL context
4318 pEventData: pointer to the event information structure
4319
4320 @see
4321 @return Result of the function call
4322*/
4323WDI_Status
4324WDI_ProcessAddSTASelfRsp
4325(
4326 WDI_ControlBlockType* pWDICtx,
4327 WDI_EventInfoType* pEventData
4328);
4329
4330 /**
4331 @brief WDI_ProcessDelSTASelfRsp function (called when a
4332 response is being received over the bus from HAL)
4333
4334 @param pWDICtx: pointer to the WLAN DAL context
4335 pEventData: pointer to the event information structure
4336
4337 @see
4338 @return Result of the function call
4339*/
4340WDI_Status
4341WDI_ProcessDelSTASelfRsp
4342(
4343 WDI_ControlBlockType* pWDICtx,
4344 WDI_EventInfoType* pEventData
4345);
4346
Jeff Johnsone7245742012-09-05 17:12:55 -07004347#ifdef FEATURE_OEM_DATA_SUPPORT
4348/**
4349 @brief Start Oem Data Rsp function (called when a
4350 response is being received over the bus from HAL)
4351
4352 @param pWDICtx: pointer to the WLAN DAL context
4353 pEventData: pointer to the event information structure
4354
4355 @see
4356 @return Result of the function call
4357*/
4358WDI_Status
4359WDI_ProcessStartOemDataRsp
4360(
4361 WDI_ControlBlockType* pWDICtx,
4362 WDI_EventInfoType* pEventData
4363);
4364#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07004365
4366 /**
4367 @brief WDI_ProcessHostResumeRsp function (called when a
4368 response is being received over the bus from HAL)
4369
4370 @param pWDICtx: pointer to the WLAN DAL context
4371 pEventData: pointer to the event information structure
4372
4373 @see
4374 @return Result of the function call
4375*/
4376WDI_Status
4377WDI_ProcessHostResumeRsp
4378(
4379 WDI_ControlBlockType* pWDICtx,
4380 WDI_EventInfoType* pEventData
4381);
4382
4383/**
4384 @brief Process set tx per tracking Rsp function (called when a
4385 response is being received over the bus from HAL)
4386
4387 @param pWDICtx: pointer to the WLAN DAL context
4388 pEventData: pointer to the event information structure
4389
4390 @see
4391 @return Result of the function call
4392*/
4393WDI_Status
4394WDI_ProcessSetTxPerTrackingRsp
4395(
4396 WDI_ControlBlockType* pWDICtx,
4397 WDI_EventInfoType* pEventData
4398);
4399
4400/**
4401 @brief Process Power Params Rsp function (called when a
4402 response is being received over the bus from HAL)
4403
4404 @param pWDICtx: pointer to the WLAN DAL context
4405 pEventData: pointer to the event information structure
4406
4407 @see
4408 @return Result of the function call
4409*/
4410WDI_Status
4411WDI_ProcessSetPowerParamsRsp
4412(
4413 WDI_ControlBlockType* pWDICtx,
4414 WDI_EventInfoType* pEventData
4415);
4416
4417/**
4418 @brief Process Set TM Level Rsp function (called when a
4419 response is being received over the bus from HAL)
4420
4421 @param pWDICtx: pointer to the WLAN DAL context
4422 pEventData: pointer to the event information structure
4423
4424 @see
4425 @return Result of the function call
4426*/
4427WDI_Status
4428WDI_ProcessSetTmLevelRsp
4429(
4430 WDI_ControlBlockType* pWDICtx,
4431 WDI_EventInfoType* pEventData
4432);
4433
4434/*==========================================================================
4435 Indications from HAL
4436 ==========================================================================*/
4437/**
4438 @brief Process Low RSSI Indication function (called when an
4439 indication of this kind is being received over the bus
4440 from HAL)
4441
4442 @param pWDICtx: pointer to the WLAN DAL context
4443 pEventData: pointer to the event information structure
4444
4445 @see
4446 @return Result of the function call
4447*/
4448WDI_Status
4449WDI_ProcessLowRSSIInd
4450(
4451 WDI_ControlBlockType* pWDICtx,
4452 WDI_EventInfoType* pEventData
4453);
4454
4455/**
4456 @brief Process Missed Beacon Indication function (called when
4457 an indication of this kind is being received over the
4458 bus from HAL)
4459
4460 @param pWDICtx: pointer to the WLAN DAL context
4461 pEventData: pointer to the event information structure
4462
4463 @see
4464 @return Result of the function call
4465*/
4466WDI_Status
4467WDI_ProcessMissedBeaconInd
4468(
4469 WDI_ControlBlockType* pWDICtx,
4470 WDI_EventInfoType* pEventData
4471);
4472
4473
4474/**
4475 @brief Process Unk Addr Frame Indication function (called when
4476 an indication of this kind is being received over the
4477 bus from HAL)
4478
4479 @param pWDICtx: pointer to the WLAN DAL context
4480 pEventData: pointer to the event information structure
4481
4482 @see
4483 @return Result of the function call
4484*/
4485WDI_Status
4486WDI_ProcessUnkAddrFrameInd
4487(
4488 WDI_ControlBlockType* pWDICtx,
4489 WDI_EventInfoType* pEventData
4490);
4491
4492
4493/**
4494 @brief Process MIC Failure Indication function (called when an
4495 indication of this kind is being received over the bus
4496 from HAL)
4497
4498 @param pWDICtx: pointer to the WLAN DAL context
4499 pEventData: pointer to the event information structure
4500
4501 @see
4502 @return Result of the function call
4503*/
4504WDI_Status
4505WDI_ProcessMicFailureInd
4506(
4507 WDI_ControlBlockType* pWDICtx,
4508 WDI_EventInfoType* pEventData
4509);
4510
4511/**
4512 @brief Process Fatal Failure Indication function (called when
4513 an indication of this kind is being received over the
4514 bus from HAL)
4515
4516 @param pWDICtx: pointer to the WLAN DAL context
4517 pEventData: pointer to the event information structure
4518
4519 @see
4520 @return Result of the function call
4521*/
4522WDI_Status
4523WDI_ProcessFatalErrorInd
4524(
4525 WDI_ControlBlockType* pWDICtx,
4526 WDI_EventInfoType* pEventData
4527);
4528
4529/**
4530 @brief Process Delete STA Indication function (called when
4531 an indication of this kind is being received over the
4532 bus from HAL)
4533
4534 @param pWDICtx: pointer to the WLAN DAL context
4535 pEventData: pointer to the event information structure
4536
4537 @see
4538 @return Result of the function call
4539*/
4540WDI_Status
4541WDI_ProcessDelSTAInd
4542(
4543 WDI_ControlBlockType* pWDICtx,
4544 WDI_EventInfoType* pEventData
4545);
4546
4547/**
4548*@brief Process Coex Indication function (called when
4549 an indication of this kind is being received over the
4550 bus from HAL)
4551
4552 @param pWDICtx: pointer to the WLAN DAL context
4553 pEventData: pointer to the event information structure
4554
4555 @see
4556 @return Result of the function call
4557*/
4558WDI_Status
4559WDI_ProcessCoexInd
4560(
4561 WDI_ControlBlockType* pWDICtx,
4562 WDI_EventInfoType* pEventData
4563);
4564
4565/**
4566*@brief Process Tx Complete Indication function (called when
4567 an indication of this kind is being received over the
4568 bus from HAL)
4569
4570 @param pWDICtx: pointer to the WLAN DAL context
4571 pEventData: pointer to the event information structure
4572
4573 @see
4574 @return Result of the function call
4575*/
4576WDI_Status
4577WDI_ProcessTxCompleteInd
4578(
4579 WDI_ControlBlockType* pWDICtx,
4580 WDI_EventInfoType* pEventData
4581);
4582
Jeff Johnson295189b2012-06-20 16:38:30 -07004583/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05304584*@brief Process Tdls Indication function (called when
4585 an indication of this kind is being received over the
4586 bus from HAL)
4587
4588 @param pWDICtx: pointer to the WLAN DAL context
4589 pEventData: pointer to the event information structure
4590
4591 @see
4592 @return Result of the function call
4593*/
4594WDI_Status
4595WDI_ProcessTdlsInd
4596(
4597 WDI_ControlBlockType* pWDICtx,
4598 WDI_EventInfoType* pEventData
4599);
4600
4601/**
Viral Modid86bde22012-12-10 13:09:21 -08004602*@brief Process Noa Start Indication function (called when
4603 an indication of this kind is being received over the
4604 bus from HAL)
4605
4606 @param pWDICtx: pointer to the WLAN DAL context
4607 pEventData: pointer to the event information structure
4608
4609 @see
4610 @return Result of the function call
4611*/
4612WDI_Status
4613WDI_ProcessP2pNoaStartInd
4614(
4615 WDI_ControlBlockType* pWDICtx,
4616 WDI_EventInfoType* pEventData
4617);
4618
4619/**
Jeff Johnson295189b2012-06-20 16:38:30 -07004620*@brief Process Noa Attr Indication function (called when
4621 an indication of this kind is being received over the
4622 bus from HAL)
4623
4624 @param pWDICtx: pointer to the WLAN DAL context
4625 pEventData: pointer to the event information structure
4626
4627 @see
4628 @return Result of the function call
4629*/
4630WDI_Status
4631WDI_ProcessP2pNoaAttrInd
4632(
4633 WDI_ControlBlockType* pWDICtx,
4634 WDI_EventInfoType* pEventData
4635);
Jeff Johnson295189b2012-06-20 16:38:30 -07004636
4637/**
4638*@brief Process Tx Per Hit Indication function (called when
4639 an indication of this kind is being received over the
4640 bus from HAL)
4641
4642 @param pWDICtx: pointer to the WLAN DAL context
4643 pEventData: pointer to the event information structure
4644
4645 @see
4646 @return Result of the function call
4647*/
4648WDI_Status
4649WDI_ProcessTxPerHitInd
4650(
4651 WDI_ControlBlockType* pWDICtx,
4652 WDI_EventInfoType* pEventData
4653);
4654
Leo Chang9056f462013-08-01 19:21:11 -07004655#ifdef FEATURE_WLAN_LPHB
4656/**
Leo Changd9df8aa2013-09-26 13:32:26 -07004657 @brief WDI_ProcessLphbInd -
Leo Chang9056f462013-08-01 19:21:11 -07004658 This function will be invoked when FW detects low power
4659 heart beat failure
4660
4661 @param pWDICtx : wdi context
4662 pEventData : indication data
4663
4664 @see
4665 @return Result of the function call
4666*/
4667WDI_Status
Leo Changd9df8aa2013-09-26 13:32:26 -07004668WDI_ProcessLphbInd
Leo Chang9056f462013-08-01 19:21:11 -07004669(
4670 WDI_ControlBlockType* pWDICtx,
4671 WDI_EventInfoType* pEventData
4672);
4673#endif /* FEATURE_WLAN_LPHB */
4674
Yue Mab9c86f42013-08-14 15:59:08 -07004675/**
4676 @brief Process Periodic Tx Pattern Fw Indication function
4677
4678 @param pWDICtx: pointer to the WLAN DAL context
4679 pEventData: pointer to the event information structure
4680
4681 @see
4682 @return Result of the function call
4683*/
4684WDI_Status
4685WDI_ProcessPeriodicTxPtrnFwInd
4686(
4687 WDI_ControlBlockType* pWDICtx,
4688 WDI_EventInfoType* pEventData
4689);
4690
Jeff Johnson295189b2012-06-20 16:38:30 -07004691#ifdef WLAN_FEATURE_VOWIFI_11R
4692/**
4693 @brief Process Aggrgated Add TSpec Request function (called when Main FSM
4694 allows it)
4695
4696 @param pWDICtx: pointer to the WLAN DAL context
4697 pEventData: pointer to the event information structure
4698
4699 @see
4700 @return Result of the function call
4701*/
4702WDI_Status
4703WDI_ProcessAggrAddTSpecReq
4704(
4705 WDI_ControlBlockType* pWDICtx,
4706 WDI_EventInfoType* pEventData
4707);
4708
4709/**
4710 @brief Process Add TSpec Rsp function (called when a response
4711 is being received over the bus from HAL)
4712
4713 @param pWDICtx: pointer to the WLAN DAL context
4714 pEventData: pointer to the event information structure
4715
4716 @see
4717 @return Result of the function call
4718*/
4719WDI_Status
4720WDI_ProcessAggrAddTSpecRsp
4721(
4722 WDI_ControlBlockType* pWDICtx,
4723 WDI_EventInfoType* pEventData
4724);
4725
4726#endif /* WLAN_FEATURE_VOWIFI_11R */
4727
Jeff Johnson295189b2012-06-20 16:38:30 -07004728/**
4729 @brief WDI_ProcessFTMCommandReq
4730 Process FTM Command, simply route to HAL
4731
4732 @param pWDICtx: pointer to the WLAN DAL context
4733 pEventData: pointer to the event information structure
4734
4735 @see
4736 @return Result of the function call
4737*/
4738WDI_Status
4739WDI_ProcessFTMCommandReq
4740(
4741 WDI_ControlBlockType* pWDICtx,
4742 WDI_EventInfoType* pEventData
4743);
4744
4745/**
4746 @brief WDI_ProcessFTMCommandRsp
4747 Process FTM Command Response from HAL, simply route to HDD FTM
4748
4749 @param pWDICtx: pointer to the WLAN DAL context
4750 pEventData: pointer to the event information structure
4751
4752 @see
4753 @return Result of the function call
4754*/
4755WDI_Status
4756WDI_ProcessFTMCommandRsp
4757(
4758 WDI_ControlBlockType* pWDICtx,
4759 WDI_EventInfoType* pEventData
4760);
Jeff Johnson295189b2012-06-20 16:38:30 -07004761/**
4762 @brief WDI_ProcessHALDumpCmdReq
4763 Process Hal Dump Command, simply route to HAL
4764
4765 @param pWDICtx: pointer to the WLAN DAL context
4766 pEventData: pointer to the event information structure
4767
4768 @see
4769 @return Result of the function call
4770*/
4771WDI_Status
4772WDI_ProcessHALDumpCmdReq
4773(
4774 WDI_ControlBlockType* pWDICtx,
4775 WDI_EventInfoType* pEventData
4776);
4777
4778/**
4779 @brief WDI_ProcessHALDumpCmdRsp
4780 Process Hal Dump Command Response from HAL, simply route to HDD FTM
4781
4782 @param pWDICtx: pointer to the WLAN DAL context
4783 pEventData: pointer to the event information structure
4784
4785 @see
4786 @return Result of the function call
4787*/
4788WDI_Status
4789WDI_ProcessHALDumpCmdRsp
4790(
4791 WDI_ControlBlockType* pWDICtx,
4792 WDI_EventInfoType* pEventData
4793);
Ravi Joshid2ca7c42013-07-23 08:37:49 -07004794
4795/**
4796 @brief WDI_ProcessIbssPeerInactivityInd
4797 Process peer inactivity indication coming from HAL.
4798
4799 @param pWDICtx: pointer to the WLAN DAL context
4800 pEventData: pointer to the event information structure
4801
4802 @see
4803 @return Result of the function call
4804*/
4805WDI_Status
4806WDI_ProcessIbssPeerInactivityInd
4807
4808(
4809 WDI_ControlBlockType* pWDICtx,
4810 WDI_EventInfoType* pEventData
4811);
4812
4813
Jeff Johnson295189b2012-06-20 16:38:30 -07004814/*========================================================================
4815 Internal Helper Routines
4816========================================================================*/
4817
4818/**
4819 @brief WDI_CleanCB - internal helper routine used to clean the
4820 WDI Main Control Block
4821
4822 @param pWDICtx - pointer to the control block
4823
4824 @return Result of the function call
4825*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004826WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004827WDI_CleanCB
4828(
4829 WDI_ControlBlockType* pWDICtx
4830);
4831
4832/**
4833 @brief Main FSM Close function for all states except BUSY
4834
4835
4836 @param pWDICtx: pointer to the WLAN DAL context
4837 pEventData: pointer to the event information structure
4838
4839 @see
4840 @return Result of the function call
4841*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004842WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004843WDI_ProcessRequest
4844(
4845 WDI_ControlBlockType* pWDICtx,
4846 WDI_EventInfoType* pEventData
4847);
4848
4849/**
4850 @brief Get message helper function - it allocates memory for a
4851 message that is to be sent to HAL accross the bus and
4852 prefixes it with a send message header
4853
4854 @param pWDICtx: pointer to the WLAN DAL context
4855 wdiReqType: type of the request being sent
4856 uBufferLen: message buffer len
4857 pMsgBuffer: resulting allocated buffer
4858 puDataOffset: offset in the buffer where the caller
4859 can start copying its message data
4860 puBufferSize: the resulting buffer size (offset+buff
4861 len)
4862
4863 @see
4864 @return Result of the function call
4865*/
4866WDI_Status
4867WDI_GetMessageBuffer
4868(
4869 WDI_ControlBlockType* pWDICtx,
4870 WDI_RequestEnumType wdiReqType,
4871 wpt_uint16 usBufferLen,
4872 wpt_uint8** pMsgBuffer,
4873 wpt_uint16* pusDataOffset,
4874 wpt_uint16* pusBufferSize
4875);
4876
4877/**
4878 @brief WDI_DetectedDeviceError - called internally by DAL when
4879 it has detected a failure in the device
4880
4881 @param pWDICtx: pointer to the WLAN DAL context
4882 usErrorCode: error code detected by WDI or received
4883 from HAL
4884
4885 @see
4886 @return None
4887*/
4888void
4889WDI_DetectedDeviceError
4890(
4891 WDI_ControlBlockType* pWDICtx,
4892 wpt_uint16 usErrorCode
4893);
4894
4895/*=========================================================================
4896 QUEUE SUPPORT UTILITY FUNCTIONS
4897=========================================================================*/
4898
4899/**
4900 @brief Utility function used by the DAL Core to help queue a
4901 request that cannot be processed right away.
4902 @param
4903
4904 pWDICtx: - pointer to the WDI control block
4905 pEventData: - pointer to the evnt info that needs to be
4906 queued
4907
4908 @see
4909 @return Result of the operation
4910*/
4911WDI_Status
4912WDI_QueuePendingReq
4913(
4914 WDI_ControlBlockType* pWDICtx,
4915 WDI_EventInfoType* pEventData
4916);
4917
4918/**
4919 @brief Utility function used by the DAL Core to clear any
4920 pending requests - all req cb will be called with
4921 failure and the queue will be emptied.
4922 @param
4923
4924 pWDICtx: - pointer to the WDI control block
4925
4926 @see
4927 @return Result of the operation
4928*/
4929WDI_Status
4930WDI_ClearPendingRequests
4931(
4932 WDI_ControlBlockType* pWDICtx
4933);
4934
4935/**
4936 @brief This callback is invoked by the wpt when a timer that
4937 we started on send message has expire - this should
4938 never happen - it means device is stuck and cannot
4939 reply - trigger catastrophic failure
4940 @param
4941
4942 pUserData: the callback data of the user (ptr to WDI CB)
4943
4944 @see
4945 @return None
4946*/
4947void
4948WDI_ResponseTimerCB
4949(
4950 void *pUserData
4951);
4952
4953/*==========================================================================
4954 CONTRL TRANSPORT INTERACTION
4955
4956 Callback function registered with the control transport - for receiving
4957 notifications and packets
4958==========================================================================*/
4959/**
4960 @brief This callback is invoked by the control transport
4961 when it wishes to send up a notification like the ones
4962 mentioned above.
4963
4964 @param
4965
4966 wctsHandle: handle to the control transport service
4967 wctsEvent: the event being notified
4968 wctsNotifyCBData: the callback data of the user
4969
4970 @see WCTS_OpenTransport
4971
4972 @return None
4973*/
4974void
4975WDI_NotifyMsgCTSCB
4976(
4977 WCTS_HandleType wctsHandle,
4978 WCTS_NotifyEventType wctsEvent,
4979 void* wctsNotifyCBData
4980);
4981
4982/**
4983 @brief This callback is invoked by the control transport
4984 when it wishes to send up a packet received over the
4985 bus.
4986
4987 @param
4988
4989 wctsHandle: handle to the control transport service
4990 pMsg: the packet
4991 uLen: the packet length
4992 wctsRxMsgCBData: the callback data of the user
4993
4994 @see WCTS_OpenTransport
4995
4996 @return None
4997*/
4998void
4999WDI_RXMsgCTSCB
5000(
5001 WCTS_HandleType wctsHandle,
5002 void* pMsg,
5003 wpt_uint32 uLen,
5004 void* wctsRxMsgCBData
5005);
5006
5007/**
5008 @brief Process response helper function
5009
5010
5011 @param pWDICtx: pointer to the WLAN DAL context
5012 pEventData: pointer to the event information structure
5013
5014 @see
5015 @return Result of the function call
5016*/
5017WDI_Status
5018WDI_ProcessResponse
5019(
5020 WDI_ControlBlockType* pWDICtx,
5021 WDI_EventInfoType* pEventData
5022);
5023
5024/**
5025 @brief Send message helper function - sends a message over the
5026 bus using the control tranport and saves some info in
5027 the CB
5028
5029 @param pWDICtx: pointer to the WLAN DAL context
5030 pSendBuffer: buffer to be sent
5031
5032 uSendSize size of the buffer to be sent
5033 pRspCb: response callback - save in the WDI
5034 CB
5035 pUserData: user data associated with the
5036 callback
5037 wdiExpectedResponse: the code of the response that is
5038 expected to be rx-ed for this request
5039
5040 @see
5041 @return Result of the function call
5042*/
5043WDI_Status
5044WDI_SendMsg
5045(
5046 WDI_ControlBlockType* pWDICtx,
5047 wpt_uint8* pSendBuffer,
5048 wpt_uint32 uSendSize,
5049 void* pRspCb,
5050 void* pUserData,
5051 WDI_ResponseEnumType wdiExpectedResponse
5052);
5053
5054
5055/**
5056 @brief Send indication helper function - sends a message over
5057 the bus using the control transport and saves some info
5058 in the CB
5059
5060 @param pWDICtx: pointer to the WLAN DAL context
5061 pSendBuffer: buffer to be sent
5062 usSendSize: size of the buffer to be sent
5063
5064 @see
5065 @return Result of the function call
5066*/
5067WDI_Status
5068WDI_SendIndication
5069(
5070 WDI_ControlBlockType* pWDICtx,
5071 wpt_uint8* pSendBuffer,
5072 wpt_uint32 usSendSize
5073);
5074
5075/**
5076 @brief Utility function used by the DAL Core to help dequeue
5077 and schedule for execution a pending request
5078 @param
5079
5080 pWDICtx: - pointer to the WDI control block
5081 pEventData: - pointer to the evnt info that needs to be
5082 queued
5083
5084 @see
5085 @return Result of the operation
5086*/
5087WDI_Status
5088WDI_DequeuePendingReq
5089(
5090 WDI_ControlBlockType* pWDICtx
5091);
5092
5093/**
5094 @brief Utility function used by the DAL Core to help queue
5095 an association request that cannot be processed right
5096 away.- The assoc requests will be queued by BSSID
5097 @param
5098
5099 pWDICtx: - pointer to the WDI control block
5100 pEventData: pointer to the evnt info that needs to be queued
5101 macBSSID: bssid
5102
5103 @see
5104 @return Result of the operation
5105*/
5106WDI_Status
5107WDI_QueueNewAssocRequest
5108(
5109 WDI_ControlBlockType* pWDICtx,
5110 WDI_EventInfoType* pEventData,
5111 wpt_macAddr macBSSID
5112);
5113
5114/**
5115 @brief Utility function used by the DAL Core to help queue
5116 an association request that cannot be processed right
5117 away.- The assoc requests will be queued by BSSID
5118 @param
5119
5120 pWDICtx: - pointer to the WDI control block
5121 pSession: - session in which to queue
5122 pEventData: pointer to the event info that needs to be
5123 queued
5124
5125 @see
5126 @return Result of the operation
5127*/
5128WDI_Status
5129WDI_QueueAssocRequest
5130(
5131 WDI_ControlBlockType* pWDICtx,
5132 WDI_BSSSessionType* pSession,
5133 WDI_EventInfoType* pEventData
5134);
5135
5136/**
5137 @brief Utility function used by the DAL Core to help dequeue
5138 an association request that was pending
5139 The request will be queued up in front of the main
5140 pending queue for immediate processing
5141 @param
5142
5143 pWDICtx: - pointer to the WDI control block
5144
5145
5146 @see
5147 @return Result of the operation
5148*/
5149WDI_Status
5150WDI_DequeueAssocRequest
5151(
5152 WDI_ControlBlockType* pWDICtx
5153);
5154
5155/**
5156 @brief Helper routine used to init the BSS Sessions in the WDI control block
5157
5158
5159 @param pWDICtx: pointer to the WLAN DAL context
5160
5161 @see
5162*/
5163void
5164WDI_ResetAssocSessions
5165(
5166 WDI_ControlBlockType* pWDICtx
5167);
5168
5169/**
5170 @brief Helper routine used to find an empty session in the WDI
5171 CB
5172
5173
5174 @param pWDICtx: pointer to the WLAN DAL context
5175 pSession: pointer to the session (if found)
5176
5177 @see
5178 @return Index of the session in the array
5179*/
5180wpt_uint8
5181WDI_FindEmptySession
5182(
5183 WDI_ControlBlockType* pWDICtx,
5184 WDI_BSSSessionType** ppSession
5185);
5186
5187/**
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005188 @brief Helper routine used to get the total count of active
Jeff Johnson295189b2012-06-20 16:38:30 -07005189 sessions
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005190
5191
5192 @param pWDICtx: pointer to the WLAN DAL context
5193 macBSSID: pointer to BSSID. If NULL, get all the session.
5194 If not NULL, count ActiveSession by excluding (TRUE) or including (FALSE) skipBSSID.
5195 skipBSSID: if TRUE, get all the sessions except matching to macBSSID. If FALSE, get all session.
5196 This argument is ignored if macBSSID is NULL.
Jeff Johnson295189b2012-06-20 16:38:30 -07005197 @see
5198 @return Number of sessions in use
5199*/
5200wpt_uint8
5201WDI_GetActiveSessionsCount
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005202(
5203 WDI_ControlBlockType* pWDICtx,
5204 wpt_macAddr macBSSID,
5205 wpt_boolean skipBSSID
Jeff Johnson295189b2012-06-20 16:38:30 -07005206);
5207
5208/**
5209 @brief Helper routine used to delete session in the WDI
5210 CB
5211
5212
5213 @param pWDICtx: pointer to the WLAN DAL context
5214 pSession: pointer to the session (if found)
5215
5216 @see
5217 @return Index of the session in the array
5218*/
5219void
5220WDI_DeleteSession
5221(
5222 WDI_ControlBlockType* pWDICtx,
5223 WDI_BSSSessionType* ppSession
5224);
5225
5226/**
5227 @brief Helper routine used to find a session based on the BSSID
5228
5229
5230 @param pWDICtx: pointer to the WLAN DAL context
5231 macBSSID: BSSID of the session
5232 ppSession: out pointer to the session (if found)
5233
5234 @see
5235 @return Index of the session in the array
5236*/
5237wpt_uint8
5238WDI_FindAssocSession
5239(
5240 WDI_ControlBlockType* pWDICtx,
5241 wpt_macAddr macBSSID,
5242 WDI_BSSSessionType** ppSession
5243);
5244
5245
5246/**
5247 @brief Helper routine used to find a session based on the BSSID
5248
5249
5250 @param pWDICtx: pointer to the WLAN DAL context
5251 usBssIdx: BSS Index of the session
5252 ppSession: out pointer to the session (if found)
5253
5254 @see
5255 @return Index of the session in the array
5256*/
5257wpt_uint8
5258WDI_FindAssocSessionByBSSIdx
5259(
5260 WDI_ControlBlockType* pWDICtx,
5261 wpt_uint16 usBssIdx,
5262 WDI_BSSSessionType** ppSession
5263);
5264
5265/**
5266 @brief Helper routine used to find a session based on the BSSID
5267
5268
5269 @param pWDICtx: pointer to the WLAN DAL context
5270 usBssIdx: BSS Index of the session
5271 ppSession: out pointer to the session (if found)
5272
5273 @see
5274 @return Index of the session in the array
5275*/
5276wpt_uint8
5277WDI_FindAssocSessionByIdx
5278(
5279 WDI_ControlBlockType* pWDICtx,
5280 wpt_uint16 usBssIdx,
5281 WDI_BSSSessionType** ppSession
5282);
5283
5284/**
5285 @brief Helper routine used to find a session based on the BSSID
5286 @param pContext: pointer to the WLAN DAL context
5287 @param pDPContext: pointer to the Datapath context
5288
5289 @see
5290 @return
5291*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005292void
Jeff Johnson295189b2012-06-20 16:38:30 -07005293WDI_DS_AssignDatapathContext
5294(
5295 void *pContext,
5296 void *pDPContext
5297);
5298
5299/**
5300 @brief Helper routine used to find a session based on the BSSID
5301
5302
5303 @param pContext: pointer to the WLAN DAL context
5304
5305 @see
5306 @return pointer to Datapath context
5307*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005308void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005309WDI_DS_GetDatapathContext
5310(
5311 void *pContext
5312);
5313
5314/**
5315 @brief Helper routine used to find a session based on the BSSID
5316
5317
5318 @param pContext: pointer to the WLAN DAL context
5319 @param pDTDriverContext: pointer to the Transport Driver context
5320
5321 @see
5322 @return void
5323*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005324void
Jeff Johnson295189b2012-06-20 16:38:30 -07005325WDT_AssignTransportDriverContext
5326(
5327 void *pContext,
5328 void *pDTDriverContext
5329);
5330
5331/**
5332 @brief Helper routine used to find a session based on the BSSID
5333
5334
5335 @param pWDICtx: pointer to the WLAN DAL context
5336
5337 @see
5338 @return pointer to datapath context
5339*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005340void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005341WDT_GetTransportDriverContext
5342(
5343 void *pContext
5344);
5345
5346#ifdef FEATURE_WLAN_SCAN_PNO
5347/**
5348 @brief Process Set Preferred Network List Request function
5349
5350 @param pWDICtx: pointer to the WLAN DAL context
5351 pEventData: pointer to the event information structure
5352
5353 @see
5354 @return Result of the function call
5355*/
5356WDI_Status
5357WDI_ProcessSetPreferredNetworkReq
5358(
5359 WDI_ControlBlockType* pWDICtx,
5360 WDI_EventInfoType* pEventData
5361);
5362
5363/**
5364 @brief Process Set RSSI Filter Request function
5365
5366 @param pWDICtx: pointer to the WLAN DAL context
5367 pEventData: pointer to the event information structure
5368
5369 @see
5370 @return Result of the function call
5371*/
5372WDI_Status
5373WDI_ProcessSetRssiFilterReq
5374(
5375 WDI_ControlBlockType* pWDICtx,
5376 WDI_EventInfoType* pEventData
5377);
5378
5379/**
5380 @brief Process Update Scan Params function
5381
5382 @param pWDICtx: pointer to the WLAN DAL context
5383 pEventData: pointer to the event information structure
5384
5385 @see
5386 @return Result of the function call
5387*/
5388WDI_Status
5389WDI_ProcessUpdateScanParamsReq
5390(
5391 WDI_ControlBlockType* pWDICtx,
5392 WDI_EventInfoType* pEventData
5393);
5394
5395/**
5396 @brief Process Preferred Network Found Indication function
5397
5398 @param pWDICtx: pointer to the WLAN DAL context
5399 pEventData: pointer to the event information structure
5400
5401 @see
5402 @return Result of the function call
5403*/
5404WDI_Status
5405WDI_ProcessPrefNetworkFoundInd
5406(
5407 WDI_ControlBlockType* pWDICtx,
5408 WDI_EventInfoType* pEventData
5409);
5410
5411/**
5412 @brief Process PNO Rsp function (called when a
5413 response is being received over the bus from HAL)
5414
5415 @param pWDICtx: pointer to the WLAN DAL context
5416 pEventData: pointer to the event information structure
5417
5418 @see
5419 @return Result of the function call
5420*/
5421WDI_Status
5422WDI_ProcessSetPreferredNetworkRsp
5423(
5424 WDI_ControlBlockType* pWDICtx,
5425 WDI_EventInfoType* pEventData
5426);
5427
5428/**
5429 @brief Process RSSI Filter Rsp function (called when a
5430 response is being received over the bus from HAL)
5431
5432 @param pWDICtx: pointer to the WLAN DAL context
5433 pEventData: pointer to the event information structure
5434
5435 @see
5436 @return Result of the function call
5437*/
5438WDI_Status
5439WDI_ProcessSetRssiFilterRsp
5440(
5441 WDI_ControlBlockType* pWDICtx,
5442 WDI_EventInfoType* pEventData
5443);
5444
5445/**
5446 @brief Process Update Scan Params Rsp function (called when a
5447 response is being received over the bus from HAL)
5448
5449 @param pWDICtx: pointer to the WLAN DAL context
5450 pEventData: pointer to the event information structure
5451
5452 @see
5453 @return Result of the function call
5454*/
5455WDI_Status
5456WDI_ProcessUpdateScanParamsRsp
5457(
5458 WDI_ControlBlockType* pWDICtx,
5459 WDI_EventInfoType* pEventData
5460);
5461#endif // FEATURE_WLAN_SCAN_PNO
5462
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005463
5464#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5465/**
5466 @brief Process Start Roam Candidate Lookup Request function
5467
5468 @param pWDICtx: pointer to the WLAN DAL context
5469 pEventData: pointer to the event information structure
5470
5471 @see
5472 @return Result of the function call
5473*/
5474WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005475WDI_ProcessRoamScanOffloadReq
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005476(
5477 WDI_ControlBlockType* pWDICtx,
5478 WDI_EventInfoType* pEventData
5479);
5480/**
5481 @brief Process Start Roam Candidate Lookup Response function (called when a
5482 response is being received over the bus from HAL)
5483
5484 @param pWDICtx: pointer to the WLAN DAL context
5485 pEventData: pointer to the event information structure
5486
5487 @see
5488 @return Result of the function call
5489*/
5490WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005491WDI_ProcessRoamScanOffloadRsp
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005492(
5493 WDI_ControlBlockType* pWDICtx,
5494 WDI_EventInfoType* pEventData
5495);
5496#endif
5497
5498
Jeff Johnson295189b2012-06-20 16:38:30 -07005499#ifdef WLAN_FEATURE_PACKET_FILTERING
5500/**
5501 @brief Process 8023 Multicast List Request function
5502
5503 @param pWDICtx: pointer to the WLAN DAL context
5504 pEventData: pointer to the event information structure
5505
5506 @see
5507 @return Result of the function call
5508*/
5509WDI_Status
5510WDI_Process8023MulticastListReq
5511(
5512 WDI_ControlBlockType* pWDICtx,
5513 WDI_EventInfoType* pEventData
5514);
5515
5516/**
5517 @brief Process Receive Filter Set Filter Request function
5518
5519 @param pWDICtx: pointer to the WLAN DAL context
5520 pEventData: pointer to the event information structure
5521
5522 @see
5523 @return Result of the function call
5524*/
5525WDI_Status
5526WDI_ProcessReceiveFilterSetFilterReq
5527(
5528 WDI_ControlBlockType* pWDICtx,
5529 WDI_EventInfoType* pEventData
5530);
5531
5532/**
5533 @brief Process D0 PC Filter Match Count Request function
5534
5535 @param pWDICtx: pointer to the WLAN DAL context
5536 pEventData: pointer to the event information structure
5537
5538 @see
5539 @return Result of the function call
5540*/
5541WDI_Status
5542WDI_ProcessFilterMatchCountReq
5543(
5544 WDI_ControlBlockType* pWDICtx,
5545 WDI_EventInfoType* pEventData
5546);
5547
5548/**
5549 @brief Process Receive Filter Clear Filter Request function
5550
5551 @param pWDICtx: pointer to the WLAN DAL context
5552 pEventData: pointer to the event information structure
5553
5554 @see
5555 @return Result of the function call
5556*/
5557WDI_Status
5558WDI_ProcessReceiveFilterClearFilterReq
5559(
5560 WDI_ControlBlockType* pWDICtx,
5561 WDI_EventInfoType* pEventData
5562);
5563
5564/**
5565 @brief Process 8023 Multicast List Response 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
5574WDI_Process8023MulticastListRsp
5575(
5576 WDI_ControlBlockType* pWDICtx,
5577 WDI_EventInfoType* pEventData
5578);
5579
5580/**
5581 @brief Process Receive Filter Set Filter Response function
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
5590WDI_ProcessReceiveFilterSetFilterRsp
5591(
5592 WDI_ControlBlockType* pWDICtx,
5593 WDI_EventInfoType* pEventData
5594);
5595
5596/**
5597 @brief Process D0 PC Filter Match Count Response function
5598
5599 @param pWDICtx: pointer to the WLAN DAL context
5600 pEventData: pointer to the event information structure
5601
5602 @see
5603 @return Result of the function call
5604*/
5605WDI_Status
5606WDI_ProcessFilterMatchCountRsp
5607(
5608 WDI_ControlBlockType* pWDICtx,
5609 WDI_EventInfoType* pEventData
5610);
5611
5612/**
5613 @brief Process Receive Filter Clear Filter Response function
5614
5615 @param pWDICtx: pointer to the WLAN DAL context
5616 pEventData: pointer to the event information structure
5617
5618 @see
5619 @return Result of the function call
5620*/
5621WDI_Status
5622WDI_ProcessReceiveFilterClearFilterRsp
5623(
5624 WDI_ControlBlockType* pWDICtx,
5625 WDI_EventInfoType* pEventData
5626);
5627#endif // WLAN_FEATURE_PACKET_FILTERING
5628
5629#ifdef WLAN_FEATURE_GTK_OFFLOAD
5630/**
5631 @brief Process set GTK Offload 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_ProcessGTKOffloadReq
5641(
5642 WDI_ControlBlockType* pWDICtx,
5643 WDI_EventInfoType* pEventData
5644);
5645
5646/**
5647 @brief Process GTK Offload Get Information 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_ProcessGTKOffloadGetInfoReq
5657(
5658 WDI_ControlBlockType* pWDICtx,
5659 WDI_EventInfoType* pEventData
5660);
5661
5662/**
5663 @brief Process host offload Rsp function (called when a
5664 response is being received over the bus from HAL)
5665
5666 @param pWDICtx: pointer to the WLAN DAL context
5667 pEventData: pointer to the event information structure
5668
5669 @see
5670 @return Result of the function call
5671*/
5672WDI_Status
5673WDI_ProcessGtkOffloadRsp
5674(
5675 WDI_ControlBlockType* pWDICtx,
5676 WDI_EventInfoType* pEventData
5677);
5678
5679/**
5680 @brief Process GTK Offload Get Information Response function
5681
5682 @param pWDICtx: pointer to the WLAN DAL context
5683 pEventData: pointer to the event information structure
5684
5685 @see
5686 @return Result of the function call
5687*/
5688WDI_Status
5689WDI_ProcessGTKOffloadGetInfoRsp
5690(
5691 WDI_ControlBlockType* pWDICtx,
5692 WDI_EventInfoType* pEventData
5693);
5694#endif // WLAN_FEATURE_GTK_OFFLOAD
5695
5696#ifdef WLAN_WAKEUP_EVENTS
5697WDI_Status
5698WDI_ProcessWakeReasonInd
5699(
5700 WDI_ControlBlockType* pWDICtx,
5701 WDI_EventInfoType* pEventData
5702);
5703#endif // WLAN_WAKEUP_EVENTS
5704
5705/**
5706 @brief Process Host-FW Capability Exchange Request function
5707
5708 @param pWDICtx: pointer to the WLAN DAL context
5709 pEventData: pointer to the event information structure
5710
5711 @see
5712 @return Result of the function call
5713*/
5714WDI_Status
5715WDI_ProcessFeatureCapsExchangeReq
5716(
5717 WDI_ControlBlockType* pWDICtx,
5718 WDI_EventInfoType* pEventData
5719);
5720
5721/**
5722 @brief Process Host-FW Capability Exchange Response function
5723
5724 @param pWDICtx: pointer to the WLAN DAL context
5725 pEventData: pointer to the event information structure
5726
5727 @see
5728 @return Result of the function call
5729*/
5730WDI_Status
5731WDI_ProcessFeatureCapsExchangeRsp
5732(
5733 WDI_ControlBlockType* pWDICtx,
5734 WDI_EventInfoType* pEventData
5735);
5736
Mohit Khanna4a70d262012-09-11 16:30:12 -07005737#ifdef WLAN_FEATURE_11AC
5738WDI_Status
5739WDI_ProcessUpdateVHTOpModeReq
5740(
5741 WDI_ControlBlockType* pWDICtx,
5742 WDI_EventInfoType* pEventData
5743);
5744
5745WDI_Status
5746WDI_ProcessUpdateVHTOpModeRsp
5747(
5748 WDI_ControlBlockType* pWDICtx,
5749 WDI_EventInfoType* pEventData
5750);
5751#endif
5752
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005753#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5754/**
5755 * @brief WDI_wdiEdTypeEncToEdTypeEnc -
5756 * The firmware expects the Encryption type to be in EdType.
5757 * This function converts the WdiEdType encryption to EdType.
5758 * @param tEdType : EdType to which the encryption needs to be converted.
5759 * @param WDI_EdType : wdiEdType passed from the upper layer.
5760 * @see
5761 * @return none
5762 * */
5763void
5764WDI_wdiEdTypeEncToEdTypeEnc
5765(
5766 tEdType *EdType,
5767 WDI_EdType wdiEdType
5768);
5769#endif
5770
Leo Chang9056f462013-08-01 19:21:11 -07005771#ifdef FEATURE_WLAN_LPHB
5772/**
5773 @brief WDI_ProcessLphbCfgRsp -
5774 LPHB configuration response from FW
5775
5776 @param pWDICtx : wdi context
5777 pEventData : indication data
5778
5779 @see
5780 @return Result of the function call
5781*/
5782WDI_Status WDI_ProcessLphbCfgRsp
5783(
5784 WDI_ControlBlockType* pWDICtx,
5785 WDI_EventInfoType* pEventData
5786);
5787#endif /* FEATURE_WLAN_LPHB */
5788
Chittajit Mitraf5413a42013-10-18 14:20:08 -07005789/**
5790 @brief Process Rate Update Indication and post it to HAL
5791
5792 @param pWDICtx: pointer to the WLAN DAL context
5793 pEventData: pointer to the event information structure
5794
5795 @see
5796 @return Result of the function call
5797*/
5798WDI_Status
5799WDI_ProcessRateUpdateInd
5800(
5801 WDI_ControlBlockType* pWDICtx,
5802 WDI_EventInfoType* pEventData
5803);
5804
Rajeev79dbe4c2013-10-05 11:03:42 +05305805#ifdef FEATURE_WLAN_BATCH_SCAN
5806/**
5807 @brief WDI_ProcessSetBatchScanRsp -
5808 Process set batch scan response from FW
5809
5810 @param pWDICtx : wdi context
5811 pEventData : indication data
5812
5813 @see
5814 @return Result of the function call
5815*/
5816WDI_Status WDI_ProcessSetBatchScanRsp
5817(
5818 WDI_ControlBlockType* pWDICtx,
5819 WDI_EventInfoType* pEventData
5820);
5821
c_hpothu92367912014-05-01 15:18:17 +05305822WDI_Status
5823WDI_ProcessGetBcnMissRateReq
5824(
5825 WDI_ControlBlockType* pWDICtx,
5826 WDI_EventInfoType* pEventData
5827);
5828
5829WDI_Status
5830WDI_ProcessGetBcnMissRateRsp
5831(
5832 WDI_ControlBlockType* pWDICtx,
5833 WDI_EventInfoType* pEventData
5834);
5835
Rajeev79dbe4c2013-10-05 11:03:42 +05305836/**
5837 @brief Process batch scan response from FW
5838
5839 @param pWDICtx: pointer to the WLAN DAL context
5840 pEventData: pointer to the event information structure
5841
5842 @see
5843 @return Result of the function call
5844*/
5845WDI_Status
5846WDI_ProcessBatchScanResultInd
5847(
5848 WDI_ControlBlockType* pWDICtx,
5849 WDI_EventInfoType* pEventData
5850);
5851
5852#endif /* FEATURE_WLAN_BATCH_SCAN */
5853
Abhishek Singh85b74712014-10-08 11:38:19 +05305854WDI_Status
5855WDI_ProcessGetFwStatsReq
5856(
5857 WDI_ControlBlockType* pWDICtx,
5858 WDI_EventInfoType* pEventData
5859);
5860
5861WDI_Status
5862WDI_ProcessGetFwStatsRsp
5863(
5864 WDI_ControlBlockType* pWDICtx,
5865 WDI_EventInfoType* pEventData
5866);
5867
Leo Chang0b0e45a2013-12-15 15:18:55 -08005868#ifdef FEATURE_WLAN_CH_AVOID
5869/**
5870 @brief v -
5871
5872
5873 @param pWDICtx : wdi context
5874 pEventData : indication data
5875 @see
5876 @return Result of the function call
5877*/
5878WDI_Status
5879WDI_ProcessChAvoidInd
5880(
5881 WDI_ControlBlockType* pWDICtx,
5882 WDI_EventInfoType* pEventData
5883);
5884#endif /* FEATURE_WLAN_CH_AVOID */
5885
c_hpothu86041002014-04-14 19:06:51 +05305886/**
5887 @brief v -
5888
5889
5890 @param pWDICtx : wdi context
5891 pEventData : indication data
5892 @see
5893 @return Result of the function call
5894*/
5895WDI_Status
5896WDI_printRegInfo
5897(
5898 WDI_ControlBlockType* pWDICtx,
5899 WDI_EventInfoType* pEventData
5900);
Dino Mycle41bdc942014-06-10 11:30:24 +05305901
5902#ifdef WLAN_FEATURE_EXTSCAN
5903WDI_Status
5904WDI_ProcessEXTScanStartReq
5905(
5906 WDI_ControlBlockType* pWDICtx,
5907 WDI_EventInfoType* pEventData
5908);
5909WDI_Status
5910WDI_ProcessEXTScanStopReq
5911(
5912 WDI_ControlBlockType* pWDICtx,
5913 WDI_EventInfoType* pEventData
5914);
5915WDI_Status
5916WDI_ProcessEXTScanStartRsp
5917(
5918 WDI_ControlBlockType* pWDICtx,
5919 WDI_EventInfoType* pEventData
5920);
5921WDI_Status
5922WDI_ProcessEXTScanStopRsp
5923(
5924 WDI_ControlBlockType* pWDICtx,
5925 WDI_EventInfoType* pEventData
5926);
5927
5928WDI_Status
5929WDI_ProcessEXTScanGetCachedResultsReq
5930(
5931 WDI_ControlBlockType* pWDICtx,
5932 WDI_EventInfoType* pEventData
5933);
5934WDI_Status
5935WDI_ProcessEXTScanGetCachedResultsRsp
5936(
5937 WDI_ControlBlockType* pWDICtx,
5938 WDI_EventInfoType* pEventData
5939);
5940
5941WDI_Status
5942WDI_ProcessEXTScanProgressInd
5943(
5944 WDI_ControlBlockType* pWDICtx,
5945 WDI_EventInfoType* pEventData
5946);
5947
5948WDI_Status
5949WDI_ProcessEXTScanGetCapabilitiesReq
5950(
5951 WDI_ControlBlockType* pWDICtx,
5952 WDI_EventInfoType* pEventData
5953);
5954
5955WDI_Status
5956WDI_ProcessEXTScanGetCapabilitiesRsp
5957(
5958 WDI_ControlBlockType* pWDICtx,
5959 WDI_EventInfoType* pEventData
5960);
5961
5962WDI_Status
5963WDI_ProcessEXTScanSetBSSIDHotlistReq
5964(
5965 WDI_ControlBlockType* pWDICtx,
5966 WDI_EventInfoType* pEventData
5967);
5968
5969WDI_Status
5970WDI_ProcessEXTScanSetHotlistBSSIDRsp
5971(
5972 WDI_ControlBlockType* pWDICtx,
5973 WDI_EventInfoType* pEventData
5974);
5975
5976WDI_Status
5977WDI_ProcessEXTScanResetBSSIDHotlistReq
5978(
5979 WDI_ControlBlockType* pWDICtx,
5980 WDI_EventInfoType* pEventData
5981);
5982
5983WDI_Status
5984WDI_ProcessEXTScanResetHotlistBSSIDRsp
5985(
5986 WDI_ControlBlockType* pWDICtx,
5987 WDI_EventInfoType* pEventData
5988);
5989
5990WDI_Status
5991WDI_ProcessEXTScanSetSignifRSSIChangeReq
5992(
5993 WDI_ControlBlockType* pWDICtx,
5994 WDI_EventInfoType* pEventData
5995);
5996
5997WDI_Status
5998WDI_ProcessEXTScanSetSignfRSSIChangeRsp
5999(
6000 WDI_ControlBlockType* pWDICtx,
6001 WDI_EventInfoType* pEventData
6002);
6003
6004WDI_Status
6005WDI_ProcessEXTScanResetSignfRSSIChangeReq
6006(
6007 WDI_ControlBlockType* pWDICtx,
6008 WDI_EventInfoType* pEventData
6009);
6010
6011WDI_Status
6012WDI_ProcessEXTScanResetSignfRSSIChangeRsp
6013(
6014 WDI_ControlBlockType* pWDICtx,
6015 WDI_EventInfoType* pEventData
6016);
6017
6018WDI_Status
6019WDI_ProcessEXTScanScanAvailableInd
6020(
6021 WDI_ControlBlockType* pWDICtx,
6022 WDI_EventInfoType* pEventData
6023);
6024
6025WDI_Status
6026WDI_ProcessEXTScanResultInd
6027(
6028 WDI_ControlBlockType* pWDICtx,
6029 WDI_EventInfoType* pEventData
6030);
6031
6032WDI_Status
6033WDI_ProcessEXTScanBssidHotListResultInd
6034(
6035 WDI_ControlBlockType* pWDICtx,
6036 WDI_EventInfoType* pEventData
6037);
6038
6039WDI_Status
6040WDI_ProcessEXTScanSignfRssiResultInd
6041(
6042 WDI_ControlBlockType* pWDICtx,
6043 WDI_EventInfoType* pEventData
6044);
6045
6046#endif /* WLAN_FEATURE_EXTSCAN */
6047
Sunil Duttbd736ed2014-05-26 21:19:41 +05306048#ifdef WLAN_FEATURE_LINK_LAYER_STATS
6049WDI_Status
6050WDI_ProcessLLStatsSetRsp
6051(
6052 WDI_ControlBlockType* pWDICtx,
6053 WDI_EventInfoType* pEventData
6054);
6055
6056WDI_Status
6057WDI_ProcessLLStatsSetReq
6058(
6059 WDI_ControlBlockType* pWDICtx,
6060 WDI_EventInfoType* pEventData
6061);
6062
6063WDI_Status
6064WDI_ProcessLLStatsGetRsp
6065(
6066 WDI_ControlBlockType* pWDICtx,
6067 WDI_EventInfoType* pEventData
6068);
6069
6070WDI_Status
6071WDI_ProcessLLStatsGetReq
6072(
6073 WDI_ControlBlockType* pWDICtx,
6074 WDI_EventInfoType* pEventData
6075);
6076
6077WDI_Status
6078WDI_ProcessLLStatsClearRsp
6079(
6080 WDI_ControlBlockType* pWDICtx,
6081 WDI_EventInfoType* pEventData
6082);
6083
6084WDI_Status
6085WDI_ProcessLLStatsClearReq
6086(
6087 WDI_ControlBlockType* pWDICtx,
6088 WDI_EventInfoType* pEventData
6089);
6090
6091WDI_Status
6092WDI_ProcessLinkLayerStatsResultsInd
6093(
6094 WDI_ControlBlockType* pWDICtx,
6095 WDI_EventInfoType* pEventData
6096);
6097
6098#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
c_hpothu86041002014-04-14 19:06:51 +05306099
Abhishek Singh66c16762014-08-14 19:13:19 +05306100WDI_Status
6101WDI_delBaInd
6102(
6103 WDI_ControlBlockType* pWDICtx,
6104 WDI_EventInfoType* pEventData
6105);
6106
Siddharth Bhal171788a2014-09-29 21:02:40 +05306107WDI_Status
6108WDI_ProcessSpoofMacAddrReq
6109(
6110 WDI_ControlBlockType* pWDICtx,
6111 WDI_EventInfoType* pEventData
6112);
6113WDI_Status
6114WDI_ProcessSpoofMacAddrRsp
6115(
6116 WDI_ControlBlockType* pWDICtx,
6117 WDI_EventInfoType* pEventData
6118);
6119
Srinivas Dasari4dae48f2014-11-26 21:14:16 +05306120WDI_Status
Siddharth Bhal64246172015-02-27 01:04:37 +05306121WDI_ProcessGetFrameLogRsp
6122(
6123 WDI_ControlBlockType* pWDICtx,
6124 WDI_EventInfoType* pEventData
6125);
6126WDI_Status
6127WDI_ProcessGetFrameLogReq
6128(
6129 WDI_ControlBlockType* pWDICtx,
6130 WDI_EventInfoType* pEventData
6131);
6132
6133WDI_Status
Siddharth Bhalb7c421c2015-02-27 00:26:09 +05306134WDI_ProcessMgmtLoggingInitReq
6135(
6136 WDI_ControlBlockType* pWDICtx,
6137 WDI_EventInfoType* pEventData
6138);
6139
6140WDI_Status
6141WDI_ProcessMgmtFrameLoggingInitRsp
6142(
6143 WDI_ControlBlockType* pWDICtx,
6144 WDI_EventInfoType* pEventData
6145);
6146
6147WDI_Status
Srinivas Dasari4dae48f2014-11-26 21:14:16 +05306148WDI_ProcessEncryptMsgReq
6149(
6150 WDI_ControlBlockType* pWDICtx,
6151 WDI_EventInfoType* pEventData
6152);
6153
6154WDI_Status
6155WDI_ProcessEncryptMsgRsp
6156(
6157 WDI_ControlBlockType* pWDICtx,
6158 WDI_EventInfoType* pEventData
6159);
Srinivas Dasari32a79262015-02-19 13:04:49 +05306160
6161/**
6162 @brief Process NAN Request
6163
6164 @param pWDICtx: pointer to the WLAN DAL context
6165 pEventData: pointer to the event information structure
6166
6167 @see
6168 @return Result of the function call
6169*/
6170WDI_Status
6171WDI_ProcessNanRequest
6172(
6173 WDI_ControlBlockType* pWDICtx,
6174 WDI_EventInfoType* pEventData
6175);
6176
6177/**
6178 @brief Process NAN Response
6179
6180 @param pWDICtx: pointer to the WLAN DAL context
6181 pEventData: pointer to the event information structure
6182
6183 @see
6184 @return Result of the function call
6185*/
6186WDI_Status
6187WDI_ProcessNanResponse
6188(
6189 WDI_ControlBlockType* pWDICtx,
6190 WDI_EventInfoType* pEventData
6191);
6192
6193/**
6194*@brief Process NAN Event function (called when
6195 an indication is being received over the
6196 bus from HAL)
6197
6198 @param pWDICtx: pointer to the WLAN DAL context
6199 pEventData: pointer to the event information structure
6200
6201 @see
6202 @return Result of the function call
6203*/
6204WDI_Status
6205WDI_ProcessNanEvent
6206(
6207 WDI_ControlBlockType* pWDICtx,
6208 WDI_EventInfoType* pEventData
6209);
6210
Abhishek Singh41988ba2015-05-25 19:42:29 +05306211/**
6212 @brief WDI_ProcessSetRtsCtsHtvhtInd
6213 Set RTS/CTS indication for diff modes.
6214
6215 @param pWDICtx: pointer to the WLAN DAL context
6216 pEventData: pointer to the event information structure
6217
6218 @return Result of the function call
6219*/
6220
6221
6222WDI_Status
6223WDI_ProcessSetRtsCtsHtvhtInd
6224(
6225 WDI_ControlBlockType* pWDICtx,
6226 WDI_EventInfoType* pEventData
6227);
6228
6229
Jeff Johnson295189b2012-06-20 16:38:30 -07006230#endif /*WLAN_QCT_WDI_I_H*/
6231