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