blob: 02f7574ea58094e45608db5f792ece96e07b584b [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Kiet Lam1ed83fc2014-02-19 01:15:45 -08002 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
3 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21
22/*
Kiet Lama7f454d2014-07-24 12:04:06 -070023 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080026 */
Kiet Lam1ed83fc2014-02-19 01:15:45 -080027
28
Kiet Lama7f454d2014-07-24 12:04:06 -070029
30
Jeff Johnson295189b2012-06-20 16:38:30 -070031#ifndef WLAN_QCT_WDI_I_H
32#define WLAN_QCT_WDI_I_H
33
34/*===========================================================================
35
36 W L A N D E V I C E A B S T R A C T I O N L A Y E R
37 I N T E R N A L A P I F O R T H E
38 D A T A P A T H
39
40
41DESCRIPTION
42 This file contains the internal API exposed by the DAL Control Path Core
Kiet Lam1ed83fc2014-02-19 01:15:45 -080043 module to be used by the DAL Data Path Core.
Jeff Johnson295189b2012-06-20 16:38:30 -070044===========================================================================*/
45
46
47/*===========================================================================
48
49 EDIT HISTORY FOR FILE
50
51
52 This section contains comments describing changes made to the module.
53 Notice that changes are listed in reverse chronological order.
54
55
56 $Header:$ $DateTime: $ $Author: $
57
58
59when who what, where, why
60-------- --- ----------------------------------------------------------
6110/05/11 hap Adding support for Keep Alive
6208/19/10 lti Created module.
63
64===========================================================================*/
65
66#include "wlan_qct_pal_type.h"
67#include "wlan_qct_pal_api.h"
68#include "wlan_qct_pal_list.h"
69#include "wlan_qct_pal_sync.h"
70#include "wlan_qct_pal_timer.h"
71#include "wlan_qct_wdi_cts.h"
72#include "wlan_qct_wdi_bd.h"
73
74#include "wlan_hal_msg.h"
75#include "wlan_status_code.h"
76#include "wlan_qct_dev_defs.h"
77/*----------------------------------------------------------------------------
78 * Preprocessor Definitions and Constants
79 * -------------------------------------------------------------------------*/
80
81/*Assert macro - redefined for WDI so it is more flexible in disabling*/
82#define WDI_ASSERT(_cond) WPAL_ASSERT(_cond)
83
84/*Error codes that can be returned by WDI - the HAL Error codes are not
85 propagated outside WDI because they are too explicit when refering to RIVA
86 HW errors - they are masked under dev internal failure*/
87#define WDI_ERR_BASIC_OP_FAILURE 0
88#define WDI_ERR_TRANSPORT_FAILURE 1
89#define WDI_ERR_INVALID_RSP_FMT 2
90#define WDI_ERR_RSP_TIMEOUT 3
91#define WDI_ERR_DEV_INTERNAL_FAILURE 4
92
93/*In prima 12 HW stations are supported including BCAST STA(staId 0)
94 and SELF STA(staId 1) so total ASSOC stations which can connect to Prima
95 SoftAP = 12 - 1(Self STa) - 1(Bcast Sta) = 10 Stations. */
Gopichand Nakkala976e3252013-01-03 15:45:56 -080096
97#ifdef WLAN_SOFTAP_VSTA_FEATURE
Yathish Hanumapuradoddi Shivanna64dfc472013-03-08 10:48:34 -080098#define WDI_MAX_SUPPORTED_STAS 41
Gopichand Nakkala976e3252013-01-03 15:45:56 -080099#else
Yathish Hanumapuradoddi Shivanna64dfc472013-03-08 10:48:34 -0800100#define WDI_MAX_SUPPORTED_STAS 12
Gopichand Nakkala976e3252013-01-03 15:45:56 -0800101#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700102#define WDI_MAX_SUPPORTED_BSS 5
103
104/* Control transport channel size*/
105#define WDI_CT_CHANNEL_SIZE 4096
106
107/*Invalid BSS index ! TO DO: Must come from the HAL header file*/
108#define WDI_BSS_INVALID_IDX 0xFF
109
Jeff Johnson295189b2012-06-20 16:38:30 -0700110#define WDI_FTM_MAX_RECEIVE_BUFFER 6500
Jeff Johnson295189b2012-06-20 16:38:30 -0700111
112/*---------------------------------------------------------------------------
113 DAL Control Path Main States
114---------------------------------------------------------------------------*/
115typedef enum
116{
117 /* Transition in this state made upon creation and when a close request is
118 received*/
119 WDI_INIT_ST = 0,
120
121 /* Transition happens after a Start response was received from HAL (as a
122 result of a previously sent HAL Request)*/
123 WDI_STARTED_ST,
124
125 /* Transition happens when a Stop request was received */
126 WDI_STOPPED_ST,
127
128 /* Transition happens when a request is being sent down to HAL and we are
129 waiting for the response */
130 WDI_BUSY_ST,
131
132 /* Transition happens when 'SSR' shutdown request is recieved.*/
133 WDI_SHUTDOWN_ST,
134
135 WDI_MAX_ST
136}WDI_MainStateType;
137
138
139/*---------------------------------------------------------------------------
140 DAL Control Path Scan States
141---------------------------------------------------------------------------*/
142typedef enum
143{
144 /*The flag will be set to this state when init is called. Once the flag has
145 this value the only two scanning API calls allowed are Scan Start and
146 Scan Finished*/
147 WDI_SCAN_INITIALIZED_ST = 0,
148
149 /*The flag will be set to this value once the Start Scan API is called.
150 When the flag has this value only Scan End API will be allowed. */
151 WDI_SCAN_STARTED_ST = 1,
152
153 /*The flag will be set to this value when End Scan API is called. When the
154 flag is set to this value the only two Scan APIs allowed are Start and
155 Finish. */
156 WDI_SCAN_ENDED_ST = 2,
157
158 /*The flag will be set to this value in the beginning before init is called
159 and after the Finish API is called. No other scan APIs will be allowed
160 in this state until Scan Init is called again. */
161 WDI_SCAN_FINISHED_ST = 3,
162
163 WDI_SCAN_MAX_ST
164}WDI_ScanStateType;
165
166/*---------------------------------------------------------------------------
167 WLAN DAL BSS Session Type - used to allow simulatneous association
168 and keep track of each associated session
169 ---------------------------------------------------------------------------*/
170#define WDI_MAX_BSS_SESSIONS 10
171
172typedef enum
173{
174 /*Init state*/
175 WDI_ASSOC_INIT_ST,
176
177 /*Joining State*/
178 WDI_ASSOC_JOINING_ST,
179
180 /*Associated state*/
181 WDI_ASSOC_POST_ST,
182
183 WDI_ASSOC_MAX_ST
184}WDI_AssocStateType;
185
186/*---------------------------------------------------------------------------
187 WLAN DAL Supported Request Types
188 ---------------------------------------------------------------------------*/
189typedef enum
190{
191 /*WLAN DAL START Request*/
192 WDI_START_REQ = 0,
193
194 /*WLAN DAL STOP Request*/
195 WDI_STOP_REQ = 1,
196
197 /*WLAN DAL STOP Request*/
198 WDI_CLOSE_REQ = 2,
199
200
201 /*SCAN*/
202 /*WLAN DAL Init Scan Request*/
203 WDI_INIT_SCAN_REQ = 3,
204
205 /*WLAN DAL Start Scan Request*/
206 WDI_START_SCAN_REQ = 4,
207
208 /*WLAN DAL End Scan Request*/
209 WDI_END_SCAN_REQ = 5,
210
211 /*WLAN DAL Finish Scan Request*/
212 WDI_FINISH_SCAN_REQ = 6,
213
214
215 /*ASSOCIATION*/
216 /*WLAN DAL Join Request*/
217 WDI_JOIN_REQ = 7,
218
219 /*WLAN DAL Config BSS Request*/
220 WDI_CONFIG_BSS_REQ = 8,
221
222 /*WLAN DAL Del BSS Request*/
223 WDI_DEL_BSS_REQ = 9,
224
225 /*WLAN DAL Post Assoc Request*/
226 WDI_POST_ASSOC_REQ = 10,
227
228 /*WLAN DAL Del STA Request*/
229 WDI_DEL_STA_REQ = 11,
230
231 /*Security*/
232 /*WLAN DAL Set BSS Key Request*/
233 WDI_SET_BSS_KEY_REQ = 12,
234
235 /*WLAN DAL Remove BSS Key Request*/
236 WDI_RMV_BSS_KEY_REQ = 13,
237
238 /*WLAN DAL Set STA Key Request*/
239 WDI_SET_STA_KEY_REQ = 14,
240
241 /*WLAN DAL Remove STA Key Request*/
242 WDI_RMV_STA_KEY_REQ = 15,
243
244 /*QOS and BA*/
245 /*WLAN DAL Add TSpec Request*/
246 WDI_ADD_TS_REQ = 16,
247
248 /*WLAN DAL Delete TSpec Request*/
249 WDI_DEL_TS_REQ = 17,
250
251 /*WLAN DAL Update EDCA Params Request*/
252 WDI_UPD_EDCA_PRMS_REQ = 18,
253
254 /*WLAN DAL Add BA Session Request*/
255 WDI_ADD_BA_SESSION_REQ = 19,
256
257 /*WLAN DAL Delete BA Request*/
258 WDI_DEL_BA_REQ = 20,
259
260 /* Miscellaneous Control */
261 /*WLAN DAL Channel Switch Request*/
262 WDI_CH_SWITCH_REQ = 21,
263
264 /*WLAN DAL Config STA Request*/
265 WDI_CONFIG_STA_REQ = 22,
266
267 /*WLAN DAL Set Link State Request*/
268 WDI_SET_LINK_ST_REQ = 23,
269
270 /*WLAN DAL Get Stats Request*/
271 WDI_GET_STATS_REQ = 24,
272
273 /*WLAN DAL Update Config Request*/
274 WDI_UPDATE_CFG_REQ = 25,
275
276 /* WDI ADD BA Request */
277 WDI_ADD_BA_REQ = 26,
278
279 /* WDI Trigger BA Request */
280 WDI_TRIGGER_BA_REQ = 27,
281
282 /*WLAN DAL Update Beacon Params Request*/
283 WDI_UPD_BCON_PRMS_REQ = 28,
284
285 /*WLAN DAL Send Beacon template Request*/
286 WDI_SND_BCON_REQ = 29,
287
288 /*WLAN DAL Send Probe Response Template Request*/
289 WDI_UPD_PROBE_RSP_TEMPLATE_REQ = 30,
290
291 /*WLAN DAL Set STA Bcast Key Request*/
292 WDI_SET_STA_BCAST_KEY_REQ = 31,
293
294 /*WLAN DAL Remove STA Bcast Key Request*/
295 WDI_RMV_STA_BCAST_KEY_REQ = 32,
296
297 /*WLAN DAL Set Max Tx Power Request*/
298 WDI_SET_MAX_TX_POWER_REQ = 33,
299
300 /* WLAN DAL P2P GO Notice Of Absence Request */
301 WDI_P2P_GO_NOTICE_OF_ABSENCE_REQ = 34,
302
303 /*WLAN DAL Enter IMPS Request*/
304 WDI_ENTER_IMPS_REQ = 35,
305
306 /*WLAN DAL Exit IMPS Request*/
307 WDI_EXIT_IMPS_REQ = 36,
308
309 /*WLAN DAL Enter BMPS Request*/
310 WDI_ENTER_BMPS_REQ = 37,
311
312 /*WLAN DAL Exit BMPS Request*/
313 WDI_EXIT_BMPS_REQ = 38,
314
315 /*WLAN DAL Enter UAPSD Request*/
316 WDI_ENTER_UAPSD_REQ = 39,
317
318 /*WLAN DAL Exit UAPSD Request*/
319 WDI_EXIT_UAPSD_REQ = 40,
320
321 /*WLAN DAL Set UAPSD Param Request*/
322 WDI_SET_UAPSD_PARAM_REQ = 41,
323
324 /*WLAN DAL Update UAPSD Param (SoftAP mode) Request*/
325 WDI_UPDATE_UAPSD_PARAM_REQ = 42,
326
327 /*WLAN DAL Configure RXP filter Request*/
328 WDI_CONFIGURE_RXP_FILTER_REQ = 43,
329
330 /*WLAN DAL Configure Beacon filter Request*/
331 WDI_SET_BEACON_FILTER_REQ = 44,
332
333 /*WLAN DAL Remove Beacon filter Request*/
334 WDI_REM_BEACON_FILTER_REQ = 45,
335
336 /*WLAN DAL Set RSSI thresholds Request*/
337 WDI_SET_RSSI_THRESHOLDS_REQ = 46,
338
339 /*WLAN DAL host offload Request*/
340 WDI_HOST_OFFLOAD_REQ = 47,
341
342 /*WLAN DAL add wowl bc ptrn Request*/
343 WDI_WOWL_ADD_BC_PTRN_REQ = 48,
344
345 /*WLAN DAL delete wowl bc ptrn Request*/
346 WDI_WOWL_DEL_BC_PTRN_REQ = 49,
347
348 /*WLAN DAL enter wowl Request*/
349 WDI_WOWL_ENTER_REQ = 50,
350
351 /*WLAN DAL exit wowl Request*/
352 WDI_WOWL_EXIT_REQ = 51,
353
354 /*WLAN DAL Configure Apps CPU Wakeup state Request*/
355 WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_REQ = 52,
356
357 /* WLAN NV Download Request */
358 WDI_NV_DOWNLOAD_REQ = 53,
359 /*WLAN DAL Flush AC Request*/
360 WDI_FLUSH_AC_REQ = 54,
361
362 /*WLAN DAL BT AMP event Request*/
363 WDI_BTAMP_EVENT_REQ = 55,
364 /*WLAN DAL Aggregated Add TSpec Request*/
365 WDI_AGGR_ADD_TS_REQ = 56,
366
367 WDI_ADD_STA_SELF_REQ = 57,
368
369 WDI_DEL_STA_SELF_REQ = 58,
370
371 /* WLAN FTM Command request */
372 WDI_FTM_CMD_REQ = 59,
373
Jeff Johnsone7245742012-09-05 17:12:55 -0700374 /*WLAN START OEM_DATA MEAS Request*/
375 WDI_START_OEM_DATA_REQ = 60,
Jeff Johnson295189b2012-06-20 16:38:30 -0700376 /* WLAN host resume request */
377 WDI_HOST_RESUME_REQ = 61,
378
379 WDI_KEEP_ALIVE_REQ = 62,
380
381 /* Set PNO */
382 WDI_SET_PREF_NETWORK_REQ = 63,
383
384 /*RSSI Filter Request*/
385 WDI_SET_RSSI_FILTER_REQ = 64,
386
387 /* Update Scan Parameters*/
388 WDI_UPDATE_SCAN_PARAMS_REQ = 65,
389
390 WDI_SET_TX_PER_TRACKING_REQ = 66,
391
392 WDI_8023_MULTICAST_LIST_REQ = 67,
393 WDI_RECEIVE_FILTER_SET_FILTER_REQ = 68,
394 WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ = 69,
395 WDI_RECEIVE_FILTER_CLEAR_FILTER_REQ = 70,
396
397 /*This is temp fix. Should be removed once
398 * Host and Riva code is in sync*/
399 WDI_INIT_SCAN_CON_REQ = 71,
400
401 /* WLAN HAL DUMP Command request */
402 WDI_HAL_DUMP_CMD_REQ = 72,
403
404 /* WLAN DAL Shutdown Request */
405 WDI_SHUTDOWN_REQ = 73,
406
407 /*Set power parameters on the device*/
408 WDI_SET_POWER_PARAMS_REQ = 74,
409
410 /* Traffic Stream Metrics statistic request */
411 WDI_TSM_STATS_REQ = 75,
412 /* GTK Rekey Offload */
413 WDI_GTK_OFFLOAD_REQ = 76,
414 WDI_GTK_OFFLOAD_GETINFO_REQ = 77,
415
416 /*Set Thermal Migration level to RIVA*/
417 WDI_SET_TM_LEVEL_REQ = 78,
418
419 /* Send a capability exchange message to HAL */
420 WDI_FEATURE_CAPS_EXCHANGE_REQ = 79,
421
Mohit Khanna4a70d262012-09-11 16:30:12 -0700422#ifdef WLAN_FEATURE_11AC
423 /* Send a capability exchange message to HAL */
424 WDI_UPDATE_VHT_OP_MODE_REQ = 80,
425#endif
426
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800427 /*WLAN DAL Get Roam Rssi Request*/
428 WDI_GET_ROAM_RSSI_REQ = 81,
429
schang86c22c42013-03-13 18:41:24 -0700430 /*WLAN DAL Set Tx Power Request*/
431 WDI_SET_TX_POWER_REQ = 82,
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700432 WDI_ROAM_SCAN_OFFLOAD_REQ = 83,
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530433
434 WDI_TDLS_LINK_ESTABLISH_REQ = 84,
435
Leo Chang9056f462013-08-01 19:21:11 -0700436 /* WLAN FW LPHB config request */
437 WDI_LPHB_CFG_REQ = 85,
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530438
Rajeev79dbe4c2013-10-05 11:03:42 +0530439 /* WLAN FW set batch scan request */
Madan Mohan Koyyalamudi9d5d29c2013-10-23 15:18:03 -0700440 WDI_SET_BATCH_SCAN_REQ = 86,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800441
Arif Hussaina5ebce02013-08-09 15:09:58 -0700442 /*WLAN DAL Set Max Tx Power Per band Request*/
Arif Hussain874bf812013-12-27 16:39:15 -0800443 WDI_SET_MAX_TX_POWER_PER_BAND_REQ = 87,
Rajeev79dbe4c2013-10-05 11:03:42 +0530444
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -0800445 WDI_UPDATE_CHAN_REQ = 88,
446
c_hpothu92367912014-05-01 15:18:17 +0530447 WDI_GET_BCN_MISS_RATE_REQ = 89,
448
Sunil Duttbd736ed2014-05-26 21:19:41 +0530449#ifdef WLAN_FEATURE_LINK_LAYER_STATS
450 WDI_LL_STATS_SET_REQ = 90,
451 WDI_LL_STATS_GET_REQ = 91,
452 WDI_LL_STATS_CLEAR_REQ = 92,
453#endif
454
Dino Mycle41bdc942014-06-10 11:30:24 +0530455#ifdef WLAN_FEATURE_EXTSCAN
456 WDI_EXTSCAN_START_REQ = 93,
457 WDI_EXTSCAN_STOP_REQ = 94,
458 WDI_EXTSCAN_GET_CACHED_RESULTS_REQ = 95,
459 WDI_EXTSCAN_GET_CAPABILITIES_REQ = 96,
460 WDI_EXTSCAN_SET_BSSID_HOTLIST_REQ = 97,
461 WDI_EXTSCAN_RESET_BSSID_HOTLIST_REQ = 98,
462 WDI_EXTSCAN_SET_SIGNF_RSSI_CHANGE_REQ = 99,
463 WDI_EXTSCAN_RESET_SIGNF_RSSI_CHANGE_REQ = 100,
464#endif
Atul Mittalc0f739f2014-07-31 13:47:47 +0530465
Siddharth Bhal171788a2014-09-29 21:02:40 +0530466 WDI_SPOOF_MAC_ADDR_REQ = 101,
467
Abhishek Singh85b74712014-10-08 11:38:19 +0530468 WDI_GET_FW_STATS_REQ = 102,
469
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530470 /* Send command to encrypt the given message */
471 WDI_ENCRYPT_MSG_REQ = 103,
472
Jeff Johnson295189b2012-06-20 16:38:30 -0700473 WDI_MAX_REQ,
474
475 /*Send a suspend Indication down to HAL*/
476 WDI_HOST_SUSPEND_IND = WDI_MAX_REQ ,
477
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -0800478 /* Send a traffic stats indication to HAL */
479 WDI_TRAFFIC_STATS_IND,
480
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530481 /* DHCP Start Indication */
482 WDI_DHCP_START_IND,
483
484 /* DHCP Stop Indication */
485 WDI_DHCP_STOP_IND,
486
Chet Lanctot186b5732013-03-18 10:26:30 -0700487 /* Drop/Receive unencrypted frames indication to HAL */
488 WDI_EXCLUDE_UNENCRYPTED_IND,
489
Yue Mab9c86f42013-08-14 15:59:08 -0700490 /* Send an add periodic Tx pattern indication to HAL */
491 WDI_ADD_PERIODIC_TX_PATTERN_IND,
492
493 /* Send a delete periodic Tx pattern indicationto HAL */
494 WDI_DEL_PERIODIC_TX_PATTERN_IND,
495
Rajeev79dbe4c2013-10-05 11:03:42 +0530496 /*Send stop batch scan indication to FW*/
497 WDI_STOP_BATCH_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800498
Rajeev79dbe4c2013-10-05 11:03:42 +0530499 /*Send stop batch scan indication to FW*/
500 WDI_TRIGGER_BATCH_SCAN_RESULT_IND,
Manjunathappa Prakash5c7d6362014-02-20 12:59:51 -0800501
502 /* Send Rate Update Indication */
503 WDI_RATE_UPDATE_IND,
504
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +0530505 WDI_START_HT40_OBSS_SCAN_IND,
506 WDI_STOP_HT40_OBSS_SCAN_IND,
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800507
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800508 /* csa channel switch req*/
509 WDI_CH_SWITCH_REQ_V1,
Atul Mittalc0f739f2014-07-31 13:47:47 +0530510 WDI_TDLS_CHAN_SWITCH_REQ,
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800511
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800512 /*Keep adding the indications to the max request
513 such that we keep them sepparate */
Jeff Johnson295189b2012-06-20 16:38:30 -0700514 WDI_MAX_UMAC_IND
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +0530515}WDI_RequestEnumType;
Jeff Johnson295189b2012-06-20 16:38:30 -0700516
517/*---------------------------------------------------------------------------
518 WLAN DAL Supported Response Types
519 ---------------------------------------------------------------------------*/
520typedef enum
521{
522 /*WLAN DAL START Response*/
523 WDI_START_RESP = 0,
524
525 /*WLAN DAL STOP Response*/
526 WDI_STOP_RESP = 1,
527
528 /*WLAN DAL STOP Response*/
529 WDI_CLOSE_RESP = 2,
530
531 /*SCAN*/
532 /*WLAN DAL Init Scan Response*/
533 WDI_INIT_SCAN_RESP = 3,
534
535 /*WLAN DAL Start Scan Response*/
536 WDI_START_SCAN_RESP = 4,
537
538 /*WLAN DAL End Scan Response*/
539 WDI_END_SCAN_RESP = 5,
540
541 /*WLAN DAL Finish Scan Response*/
542 WDI_FINISH_SCAN_RESP = 6,
543
544
545 /*ASSOCIATION*/
546 /*WLAN DAL Join Response*/
547 WDI_JOIN_RESP = 7,
548
549 /*WLAN DAL Config BSS Response*/
550 WDI_CONFIG_BSS_RESP = 8,
551
552 /*WLAN DAL Del BSS Response*/
553 WDI_DEL_BSS_RESP = 9,
554
555 /*WLAN DAL Post Assoc Response*/
556 WDI_POST_ASSOC_RESP = 10,
557
558 /*WLAN DAL Del STA Response*/
559 WDI_DEL_STA_RESP = 11,
560
561 /*WLAN DAL Set BSS Key Response*/
562 WDI_SET_BSS_KEY_RESP = 12,
563
564 /*WLAN DAL Remove BSS Key Response*/
565 WDI_RMV_BSS_KEY_RESP = 13,
566
567 /*WLAN DAL Set STA Key Response*/
568 WDI_SET_STA_KEY_RESP = 14,
569
570 /*WLAN DAL Remove STA Key Response*/
571 WDI_RMV_STA_KEY_RESP = 15,
572
573 /*WLAN DAL Add TSpec Response*/
574 WDI_ADD_TS_RESP = 16,
575
576 /*WLAN DAL Delete TSpec Response*/
577 WDI_DEL_TS_RESP = 17,
578
579 /*WLAN DAL Update EDCA Params Response*/
580 WDI_UPD_EDCA_PRMS_RESP = 18,
581
582 /*WLAN DAL Add BA Session Response*/
583 WDI_ADD_BA_SESSION_RESP = 19,
584
585 /*WLAN DAL Delete BA Response*/
586 WDI_DEL_BA_RESP = 20,
587
588 /*WLAN DAL Channel Switch Response*/
589 WDI_CH_SWITCH_RESP = 21,
590
591 /*WLAN DAL Config STA Response*/
592 WDI_CONFIG_STA_RESP = 22,
593
594 /*WLAN DAL Set Link State Response*/
595 WDI_SET_LINK_ST_RESP = 23,
596
597 /*WLAN DAL Get Stats Response*/
598 WDI_GET_STATS_RESP = 24,
599
600 /*WLAN DAL Update Config Response*/
601 WDI_UPDATE_CFG_RESP = 25,
602
603 /* WDI ADD BA Response */
604 WDI_ADD_BA_RESP = 26,
605
606 /* WDI Trigger BA Response */
607 WDI_TRIGGER_BA_RESP = 27,
608
609 /*WLAN DAL Update beacon params Response*/
610 WDI_UPD_BCON_PRMS_RESP = 28,
611
612 /*WLAN DAL Send beacon template Response*/
613 WDI_SND_BCON_RESP = 29,
614
615 /*WLAN DAL Update Probe Response Template Response*/
616 WDI_UPD_PROBE_RSP_TEMPLATE_RESP = 30,
617
618 /*WLAN DAL Set STA Key Response*/
619 WDI_SET_STA_BCAST_KEY_RESP = 31,
620
621 /*WLAN DAL Remove STA Key Response*/
622 WDI_RMV_STA_BCAST_KEY_RESP = 32,
623
624 /*WLAN DAL Set Max Tx Power Response*/
625 WDI_SET_MAX_TX_POWER_RESP = 33,
626
627 /*WLAN DAL Enter IMPS Response*/
628 WDI_ENTER_IMPS_RESP = 34,
629
630 /*WLAN DAL Exit IMPS Response*/
631 WDI_EXIT_IMPS_RESP = 35,
632
633 /*WLAN DAL Enter BMPS Response*/
634 WDI_ENTER_BMPS_RESP = 36,
635
636 /*WLAN DAL Exit BMPS Response*/
637 WDI_EXIT_BMPS_RESP = 37,
638
639 /*WLAN DAL Enter UAPSD Response*/
640 WDI_ENTER_UAPSD_RESP = 38,
641
642 /*WLAN DAL Exit UAPSD Response*/
643 WDI_EXIT_UAPSD_RESP = 39,
644
645 /*WLAN DAL Set UAPSD Param Response*/
646 WDI_SET_UAPSD_PARAM_RESP = 40,
647
648 /*WLAN DAL Update UAPSD Param (SoftAP mode) Response*/
649 WDI_UPDATE_UAPSD_PARAM_RESP = 41,
650
651 /*WLAN DAL Configure RXP filter Response*/
652 WDI_CONFIGURE_RXP_FILTER_RESP = 42,
653
654 /*WLAN DAL Set Beacon filter Response*/
655 WDI_SET_BEACON_FILTER_RESP = 43,
656
657 /*WLAN DAL Remove Beacon filter Response*/
658 WDI_REM_BEACON_FILTER_RESP = 44,
659
660 /*WLAN DAL Set RSSI thresholds Response*/
661 WDI_SET_RSSI_THRESHOLDS_RESP = 45,
662
663 /*WLAN DAL Set RSSI thresholds Response*/
664 WDI_HOST_OFFLOAD_RESP = 46,
665
666 /*WLAN DAL add wowl bc ptrn Response*/
667 WDI_WOWL_ADD_BC_PTRN_RESP = 47,
668
669 /*WLAN DAL delete wowl bc ptrn Response*/
670 WDI_WOWL_DEL_BC_PTRN_RESP = 48,
671
672 /*WLAN DAL enter wowl Response*/
673 WDI_WOWL_ENTER_RESP = 49,
674
675 /*WLAN DAL exit wowl Response*/
676 WDI_WOWL_EXIT_RESP = 50,
677
678 /*WLAN DAL Configure Apps CPU Wakeup state Response*/
679 WDI_CONFIGURE_APPS_CPU_WAKEUP_STATE_RESP = 51,
680
681 /* WLAN NV Download responce */
682 WDI_NV_DOWNLOAD_RESP = 52,
683
684 /*WLAN DAL Flush AC Response*/
685 WDI_FLUSH_AC_RESP = 53,
686
687 /*WLAN DAL Flush AC Response*/
688 WDI_BTAMP_EVENT_RESP = 54,
689
690 /*WLAN DAL Add Aggregated TSpec Response*/
691 WDI_AGGR_ADD_TS_RESP = 55,
692
693 /*Add Self STA Response*/
694 WDI_ADD_STA_SELF_RESP = 56,
695
696 /*Delete Self STA Response*/
697 WDI_DEL_STA_SELF_RESP = 57,
698
Jeff Johnsone7245742012-09-05 17:12:55 -0700699 /*WLAN START OEM_DATA Response*/
700 WDI_START_OEM_DATA_RESP = 58,
Jeff Johnson295189b2012-06-20 16:38:30 -0700701
702 /* WLAN host resume request */
703 WDI_HOST_RESUME_RESP = 59,
704
705 /* WLAN DAL P2P GO Notice Of Absence Response */
706 WDI_P2P_GO_NOTICE_OF_ABSENCE_RESP = 60,
707
708 /* FTM Response from HAL */
709 WDI_FTM_CMD_RESP = 61,
710
711 /*Keep alive response */
712 WDI_KEEP_ALIVE_RESP = 62,
713
714 /* Set PNO Response */
715 WDI_SET_PREF_NETWORK_RESP = 63,
716
717 /* Set RSSI Filter Response */
718 WDI_SET_RSSI_FILTER_RESP = 64,
719
720 /* Update Scan Parameters Resp */
721 WDI_UPDATE_SCAN_PARAMS_RESP = 65,
722
723 //Tx PER Tracking
724 WDI_SET_TX_PER_TRACKING_RESP = 66,
725
726
727
728 /* Packet Filtering Response */
729 WDI_8023_MULTICAST_LIST_RESP = 67,
730
731 WDI_RECEIVE_FILTER_SET_FILTER_RESP = 68,
732
733 WDI_PACKET_COALESCING_FILTER_MATCH_COUNT_RESP = 69,
734
735 WDI_RECEIVE_FILTER_CLEAR_FILTER_RESP = 70,
736
737
738 /* WLAN HAL DUMP Command Response */
739 WDI_HAL_DUMP_CMD_RESP = 71,
740
741 /* WLAN Shutdown Response */
742 WDI_SHUTDOWN_RESP = 72,
743
744 /*Set power parameters response */
745 WDI_SET_POWER_PARAMS_RESP = 73,
746
747 WDI_TSM_STATS_RESP = 74,
748 /* GTK Rekey Offload */
Jeff Johnsone7245742012-09-05 17:12:55 -0700749 WDI_GTK_OFFLOAD_RESP = 75,
750 WDI_GTK_OFFLOAD_GETINFO_RESP = 76,
Jeff Johnson295189b2012-06-20 16:38:30 -0700751
752 WDI_SET_TM_LEVEL_RESP = 77,
753
754 /* FW sends its capability bitmap as a response */
755 WDI_FEATURE_CAPS_EXCHANGE_RESP = 78,
756
Mohit Khanna4a70d262012-09-11 16:30:12 -0700757#ifdef WLAN_FEATURE_11AC
758 WDI_UPDATE_VHT_OP_MODE_RESP = 79,
759#endif
760
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800761 /* WLAN DAL Get Roam Rssi Response*/
762 WDI_GET_ROAM_RSSI_RESP = 80,
763
schang86c22c42013-03-13 18:41:24 -0700764 WDI_SET_TX_POWER_RESP = 81,
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700765 WDI_ROAM_SCAN_OFFLOAD_RESP = 82,
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530766
767 WDI_TDLS_LINK_ESTABLISH_REQ_RESP = 83,
Leo Chang9056f462013-08-01 19:21:11 -0700768
769 /* WLAN FW LPHB Config response */
770 WDI_LPHB_CFG_RESP = 84,
771
Rajeev Kumar58c7d512013-12-26 14:42:24 -0800772 WDI_SET_BATCH_SCAN_RESP = 85,
Rajeev79dbe4c2013-10-05 11:03:42 +0530773
Arif Hussain874bf812013-12-27 16:39:15 -0800774 WDI_SET_MAX_TX_POWER_PER_BAND_RSP = 86,
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -0800775
776 WDI_UPDATE_CHAN_RESP = 87,
Kalikinkar dhara1e83b772014-02-06 12:59:22 -0800777 /* channel switch resp v1*/
778 WDI_CH_SWITCH_RESP_V1 = 88,
779
c_hpothu92367912014-05-01 15:18:17 +0530780 WDI_GET_BCN_MISS_RATE_RSP = 89,
Sunil Duttbd736ed2014-05-26 21:19:41 +0530781#ifdef WLAN_FEATURE_LINK_LAYER_STATS
782 WDI_LL_STATS_SET_RSP = 90,
783 WDI_LL_STATS_GET_RSP = 91,
784 WDI_LL_STATS_CLEAR_RSP = 92,
785#endif
786
Dino Mycle41bdc942014-06-10 11:30:24 +0530787#ifdef WLAN_FEATURE_EXTSCAN
Rashmi Ramannaa3aa5b12014-07-21 19:10:17 +0530788 WDI_EXTSCAN_START_RSP = 93,
789 WDI_EXTSCAN_STOP_RSP = 94,
790 WDI_EXTSCAN_GET_CACHED_RESULTS_RSP = 95,
791 WDI_EXTSCAN_GET_CAPABILITIES_RSP = 96,
792 WDI_EXTSCAN_SET_HOTLIST_BSSID_RSP = 97,
793 WDI_EXTSCAN_RESET_HOTLIST_BSSID_RSP = 98,
794 WDI_EXTSCAN_SET_SIGNF_RSSI_CHANGE_RSP = 99,
795 WDI_EXTSCAN_RESET_SIGNF_RSSI_CHANGE_RSP = 100,
Dino Mycle41bdc942014-06-10 11:30:24 +0530796#endif
Siddharth Bhal171788a2014-09-29 21:02:40 +0530797 WDI_SPOOF_MAC_ADDR_RSP = 101,
Abhishek Singh85b74712014-10-08 11:38:19 +0530798 WDI_GET_FW_STATS_RSP = 102,
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530799
800 /* Send command to encrypt the given message */
801 WDI_ENCRYPT_MSG_RSP = 103,
Jeff Johnson295189b2012-06-20 16:38:30 -0700802 /*-------------------------------------------------------------------------
803 Indications
804 !! Keep these last in the enum if possible
805 -------------------------------------------------------------------------*/
806 WDI_HAL_IND_MIN ,
807 /*When RSSI monitoring is enabled of the Lower MAC and a threshold has been
808 passed. */
809 WDI_HAL_RSSI_NOTIFICATION_IND = WDI_HAL_IND_MIN,
810
811 /*Link loss in the low MAC */
812 WDI_HAL_MISSED_BEACON_IND = WDI_HAL_IND_MIN + 1,
813
814 /*When hardware has signaled an unknown addr2 frames. The indication will
815 contain info from frames to be passed to the UMAC, this may use this info to
816 deauth the STA*/
817 WDI_HAL_UNKNOWN_ADDR2_FRAME_RX_IND = WDI_HAL_IND_MIN + 2,
818
819 /*MIC Failure detected by HW*/
820 WDI_HAL_MIC_FAILURE_IND = WDI_HAL_IND_MIN + 3,
821
822 /*Fatal Error Ind*/
823 WDI_HAL_FATAL_ERROR_IND = WDI_HAL_IND_MIN + 4,
824
825 /*Received when the RIVA SW decides to autonomously delete an associate
826 station (e.g. Soft AP TIM based dissassoc) */
827 WDI_HAL_DEL_STA_IND = WDI_HAL_IND_MIN + 5,
828
829 /*Coex indication*/
830 WDI_HAL_COEX_IND = WDI_HAL_IND_MIN + 6,
831
832 /* Tx Complete Indication */
833 WDI_HAL_TX_COMPLETE_IND = WDI_HAL_IND_MIN + 7,
834
835 WDI_HAL_P2P_NOA_ATTR_IND = WDI_HAL_IND_MIN + 8,
836
837 /* Preferred Network Found Indication */
838 WDI_HAL_PREF_NETWORK_FOUND_IND = WDI_HAL_IND_MIN + 9,
839
840 /* Wakeup Reason Indication */
841 WDI_HAL_WAKE_REASON_IND = WDI_HAL_IND_MIN + 10,
842
843 /* Tx PER Hit Indication */
844 WDI_HAL_TX_PER_HIT_IND = WDI_HAL_IND_MIN + 11,
Viral Modid86bde22012-12-10 13:09:21 -0800845
846 /* NOA Start Indication from FW to Host */
847 WDI_HAL_P2P_NOA_START_IND = WDI_HAL_IND_MIN + 12,
848
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530849 /* TDLS Indication from FW to Host */
850 WDI_HAL_TDLS_IND = WDI_HAL_IND_MIN + 13,
851
Leo Chang9056f462013-08-01 19:21:11 -0700852 /* LPHB timeout indication */
Leo Changd9df8aa2013-09-26 13:32:26 -0700853 WDI_HAL_LPHB_IND = WDI_HAL_IND_MIN + 14,
Ravi Joshid2ca7c42013-07-23 08:37:49 -0700854
855 /* IBSS Peer Inactivity Indication from FW to Host */
856 WDI_HAL_IBSS_PEER_INACTIVITY_IND = WDI_HAL_IND_MIN + 15,
857
Yue Mab9c86f42013-08-14 15:59:08 -0700858 /* Periodic Tx Pattern Indication from FW to Host */
859 WDI_HAL_PERIODIC_TX_PTRN_FW_IND = WDI_HAL_IND_MIN + 16,
860
Rajeev79dbe4c2013-10-05 11:03:42 +0530861
Rajeev79dbe4c2013-10-05 11:03:42 +0530862 WDI_BATCHSCAN_RESULT_IND = WDI_HAL_IND_MIN + 17,
Rajeev79dbe4c2013-10-05 11:03:42 +0530863
Leo Chang0b0e45a2013-12-15 15:18:55 -0800864 WDI_HAL_CH_AVOID_IND = WDI_HAL_IND_MIN + 18,
c_hpothu86041002014-04-14 19:06:51 +0530865
866 /* print register values indication from FW to Host */
867 WDI_PRINT_REG_INFO_IND = WDI_HAL_IND_MIN + 19,
Sunil Duttbd736ed2014-05-26 21:19:41 +0530868#ifdef WLAN_FEATURE_LINK_LAYER_STATS
869 WDI_HAL_LL_STATS_RESULTS_IND = WDI_HAL_IND_MIN + 20,
870#endif
Dino Mycle41bdc942014-06-10 11:30:24 +0530871#ifdef WLAN_FEATURE_EXTSCAN
Rashmi Ramannaa3aa5b12014-07-21 19:10:17 +0530872 WDI_HAL_EXTSCAN_PROGRESS_IND = WDI_HAL_IND_MIN + 21,
873 WDI_HAL_EXTSCAN_SCAN_AVAILABLE_IND = WDI_HAL_IND_MIN + 22,
874 WDI_HAL_EXTSCAN_RESULT_IND = WDI_HAL_IND_MIN + 23,
875 WDI_HAL_EXTSCAN_BSSID_HOTLIST_RESULT_IND = WDI_HAL_IND_MIN + 24,
876 WDI_HAL_EXTSCAN_SIG_RSSI_RESULT_IND = WDI_HAL_IND_MIN + 25,
Dino Mycle41bdc942014-06-10 11:30:24 +0530877#endif
Kiet Lam4d04c742014-08-27 11:14:06 -0700878 WDI_TDLS_CHAN_SWITCH_REQ_RESP = WDI_HAL_IND_MIN + 26,
879 WDI_HAL_DEL_BA_IND = WDI_HAL_IND_MIN + 27,
Jeff Johnson295189b2012-06-20 16:38:30 -0700880 WDI_MAX_RESP
881}WDI_ResponseEnumType;
882
883typedef struct
884{
885 /*Flag that marks a session as being in use*/
886 wpt_boolean bInUse;
887
888 /*Flag that keeps track if a series of assoc requests for this BSS are
889 currently pending in the queue or processed
890 - the flag is set to true when the Join request ends up being queued
891 - and reset to false when the Pending queue is empty */
892 wpt_boolean bAssocReqQueued;
893
894 /*BSSID of the session*/
895 wpt_macAddr macBSSID;
896
897 /*BSS Index associated with this BSSID*/
898 wpt_uint8 ucBSSIdx;
899
900 /*Associated state of the current BSS*/
901 WDI_AssocStateType wdiAssocState;
902
903 /*WDI Pending Request Queue*/
904 wpt_list wptPendingQueue;
905
906 /*DPU Information for this BSS*/
907 wpt_uint8 bcastDpuIndex;
908 wpt_uint8 bcastDpuSignature;
909 wpt_uint8 bcastMgmtDpuIndex;
910 wpt_uint8 bcastMgmtDpuSignature;
911
912 /*RMF enabled/disabled*/
913 wpt_uint8 ucRmfEnabled;
914
915 /*Bcast STA ID associated with this BSS session */
916 wpt_uint8 bcastStaIdx;
917
918 /*The type of the BSS in the session */
919 WDI_BssType wdiBssType;
920}WDI_BSSSessionType;
921
922/*---------------------------------------------------------------------------
923 WDI_ConfigBSSRspInfoType
924---------------------------------------------------------------------------*/
925typedef WPT_PACK_PRE struct
926{
927 /*BSS index allocated by HAL*/
928 wpt_uint8 ucBSSIdx;
929
930 /*BSSID of the BSS*/
931 wpt_macAddr macBSSID;
932
933 /*Broadcast DPU descriptor index allocated by HAL and used for
934 broadcast/multicast packets.*/
935 wpt_uint8 ucBcastDpuDescIndx;
936
937 /*DPU signature to be used for broadcast/multicast packets*/
938 wpt_uint8 ucBcastDpuSignature;
939
940 /*DPU descriptor index allocated by HAL, used for bcast/mcast management
941 packets*/
942 wpt_uint8 ucMgmtDpuDescIndx;
943
944 /*DPU signature to be used for bcast/mcast management packets*/
945 wpt_uint8 ucMgmtDpuSignature;
946
947 /*Status of the request received from HAL */
948 eHalStatus halStatus;
949}WPT_PACK_POST WDI_ConfigBSSRspInfoType;
950
951
952/*---------------------------------------------------------------------------
953 WDI_PostAssocRspInfoType
954---------------------------------------------------------------------------*/
955typedef WPT_PACK_PRE struct
956{
957 /*STA Index allocated by HAL.*/
958 wpt_uint16 usSTAIdx;
959
960 /*MAC Address of STA*/
961 wpt_macAddr macSTA;
962
963 /*Unicast DPU signature*/
964 wpt_uint8 ucUcastSig;
965
966 /*Broadcast DPU Signature*/
967 wpt_uint8 ucBcastSig;
968
969 /*BSSID of the BSS*/
970 wpt_macAddr macBSSID;
971
972 /*HAL Status */
973 eHalStatus halStatus;
974}WPT_PACK_POST WDI_PostAssocRspInfoType;
975
Dino Mycled3d50022014-07-07 12:58:25 +0530976#ifdef WLAN_FEATURE_LINK_LAYER_STATS
977/*---------------------------------------------------------------------------
978 WDI_LLStatsResultsType
979---------------------------------------------------------------------------*/
980typedef WPT_PACK_PRE struct
981{
982 wpt_uint32 param_id;
983 wpt_uint8 iface_id;
984 wpt_uint32 resp_id;
985 wpt_uint32 more_result_to_follow;
986 wpt_uint8 result[1];
987}WPT_PACK_POST WDI_LLstatsResultsType;
988
989#endif
990
Jeff Johnson295189b2012-06-20 16:38:30 -0700991/*---------------------------------------------------------------------------
992 WLAN DAL FSM Event Info Type
993 ---------------------------------------------------------------------------*/
994typedef struct
995{
996 /*Events can be linked in a list - put a node in front for that, it will be
997 used by wpt to link them*/
998 wpt_list_node wptListNode;
999
1000 /*Request Received */
1001 WDI_RequestEnumType wdiRequest;
1002
1003 /*Response Received */
1004 WDI_ResponseEnumType wdiResponse;
1005
1006 /*Data associated with the request */
1007 void* pEventData;
1008
1009 /*Data Size*/
1010 wpt_uint32 uEventDataSize;
1011
1012 /*Callback function for receiving the response to the event*/
1013 void* pCBfnc;
1014
1015 /*User data to be sent along with the CB function call*/
1016 void* pUserData;
1017}WDI_EventInfoType;
1018
1019/*---------------------------------------------------------------------------
1020 WLAN DAL Session Index Type
1021 ---------------------------------------------------------------------------*/
1022typedef struct
1023{
1024 /*Events can be linked in a list - put a node in front for that, it will be
1025 used by wpt to link them*/
1026 wpt_list_node wptListNode;
1027
1028 /*Session id for the new association to be processed*/
1029 wpt_uint8 ucIndex;
1030
1031}WDI_NextSessionIdType;
1032
1033#define WDI_CONTROL_BLOCK_MAGIC 0x67736887 /* WDIC in little endian */
1034/*---------------------------------------------------------------------------
1035 WLAN DAL Control Block Type
1036 ---------------------------------------------------------------------------*/
1037typedef struct
1038{
1039 /*magic number so callbacks can validate their context pointers*/
1040 wpt_uint32 magic;
1041
1042 /*Ptr to the OS Context received from the UMAC*/
1043 void* pOSContext;
1044
1045 /*Ptr to the PAL Context received from PAL*/
1046 void* pPALContext;
1047
1048 /*Ptr to the Datapath Context received from PAL*/
1049 void* pDPContext;
1050
1051 /*Ptr to the Datapath Transport Driver Context received from PAL*/
1052 void* pDTDriverContext;
1053
1054 /*Hanlde to the control transport service*/
1055 WCTS_HandleType wctsHandle;
1056
1057 /*Flag that keeps track if CT is Opened or not*/
1058 wpt_boolean bCTOpened;
1059
1060 /*The global state of the DAL Control Path*/
1061 WDI_MainStateType uGlobalState;
1062
1063 /*Flag to keep track of the expected state transition after processing
1064 of a response */
1065 WDI_MainStateType ucExpectedStateTransition;
1066
1067 /*Main Synchronization Object for the WDI CB*/
1068 wpt_mutex wptMutex;
1069
1070 /*WDI response timer*/
1071 wpt_timer wptResponseTimer;
1072
1073 /*WDI Pending Request Queue*/
1074 wpt_list wptPendingQueue;
1075#if 0
1076 /*The state of the DAL during a scanning procedure*/
1077 WDI_ScanStateType uScanState;
1078
1079 /*Flag that keeps track if a Scan is currently in progress*/
1080 wpt_boolean bScanInProgress;
1081#endif
1082 /*Flag that keeps track if an Association is currently in progress*/
1083 wpt_boolean bAssociationInProgress;
1084
1085 /*Array of simultaneous BSS Sessions*/
1086 WDI_BSSSessionType aBSSSessions[WDI_MAX_BSS_SESSIONS];
1087
1088 /*WDI Pending Association Session Id Queue - it keeps track of the
1089 order in which queued assoc requests came in*/
1090 wpt_list wptPendingAssocSessionIdQueue;
1091
1092 /*! TO DO : - group these in a union, only one cached req can exist at a
1093 time */
1094
1095 /*Cached post assoc request - there can only be one in the system as
1096 only one request goes down to hal up until a response is received
1097 The values cached are used on response to save a station if needed */
1098 WDI_PostAssocReqParamsType wdiCachedPostAssocReq;
1099
1100 /*Cached config sta request - there can only be one in the system as
1101 only one request goes down to hal up until a response is received
1102 The values cached are used on response to save a station if needed */
1103 WDI_ConfigSTAReqParamsType wdiCachedConfigStaReq;
1104
1105 /*Cached config sta request - there can only be one in the system as
1106 only one request goes down to hal up until a response is received
1107 The values cached are used on response to save a BSS if needed */
1108 WDI_ConfigBSSReqParamsType wdiCachedConfigBssReq;
1109
1110 /*Cached set link state request - there can only be one in the system as
1111 only one request goes down to hal up until a response is received
1112 The values cached are used on response to delete a BSS if needed */
1113 WDI_SetLinkReqParamsType wdiCacheSetLinkStReq;
1114
1115 /*Cached add STA self request - there can only be one in the system as
1116 only one request goes down to hal up until a response is received
1117 The values cached are used on response to save the self STA in the table */
1118 WDI_AddSTASelfReqParamsType wdiCacheAddSTASelfReq;
1119
1120 /*Current session being handled*/
1121 wpt_uint8 ucCurrentBSSSesIdx;
1122
1123 /*Pointer to the response CB of the pending request*/
1124 void* pfncRspCB;
1125
1126 /*Pointer to the user data to be sent along with the response CB*/
1127 void* pRspCBUserData;
1128
1129 /*The expected response from HAL*/
1130 WDI_ResponseEnumType wdiExpectedResponse;
1131
1132 /*Request status callback offered by UMAC - it is called if the current
1133 req has returned PENDING as status; it delivers the status of sending
1134 the message over the BUS */
1135 WDI_ReqStatusCb wdiReqStatusCB;
1136
1137 /*The user data passed in by UMAC, it will be sent back when the above
1138 function pointer will be called */
1139 void* pReqStatusUserData;
1140
1141 /*Indication callback given by UMAC to be called by the WLAN DAL when it
1142 wishes to send something back independent of a request*/
1143 WDI_LowLevelIndCBType wdiLowLevelIndCB;
1144
1145 /*The user data passed in by UMAC, it will be sent back when the indication
1146 function pointer will be called */
1147 void* pIndUserData;
1148
1149 /*Cached start response parameters*/
1150 WDI_StartRspParamsType wdiCachedStartRspParams;
1151
1152 /* Information related to NV Image*/
1153 WDI_NvBlobInfoParams wdiNvBlobInfo;
1154
1155 /*STA Table Information*/
1156 /*Max number of stations allowed by device */
1157 wpt_uint8 ucMaxStations;
1158
1159 /*Max number of BSSes allowed by device */
1160 wpt_uint8 ucMaxBssids;
1161
1162 /* Global BSS and STA table - Memory is allocated when needed.*/
1163 void* staTable;
1164
1165#ifndef HAL_SELF_STA_PER_BSS
1166 /*Index of the Self STA */
1167 wpt_uint8 ucSelfStaId;
1168
1169 /* Self STA DPU Index */
1170 wpt_uint16 usSelfStaDpuId;
1171
1172 /*Self STA Mac*/
1173 wpt_macAddr macSelfSta;
1174#endif
1175
1176 /*Is frame translation enabled */
1177 wpt_uint8 bFrameTransEnabled;
1178
1179 /*AMSDU BD Fix Mask - used by the Fixing routine for Data Path */
1180 WDI_RxBdType wdiRxAmsduBdFixMask;
1181
1182 /*First AMSDU BD - used by the Fixing routine for Data Path */
1183 WDI_RxBdType wdiRxAmsduFirstBdCache;
1184
1185 /*This must be incremented on sta change */
1186 wpt_uint32 uBdSigSerialNum;
1187
1188 /* dpu routing flag
1189 ! TO DO: - must be set/reset when PS is enabled for UAPSD */
1190 wpt_uint8 ucDpuRF;
1191 /* Event to wait for when WCTS is told to perform an action */
1192 wpt_event wctsActionEvent;
1193 /* Event to wait for ACK from DXE after the power state is set */
1194 wpt_event setPowerStateEvent;
1195 /* DXE physical addr to be passed down to RIVA. RIVA HAL will use it to program
1196 DXE when DXE wakes up from power save*/
1197 unsigned int dxePhyAddr;
1198
Mihir Shetea4306052014-03-25 00:02:54 +05301199 wpt_boolean dxeRingsEmpty;
1200
Jeff Johnson295189b2012-06-20 16:38:30 -07001201 /*NV download request parameters */
1202 WDI_NvDownloadReqParamsType wdiCachedNvDownloadReq;
1203
1204 /* Driver Type */
1205 tDriverType driverMode;
1206
Jeff Johnson295189b2012-06-20 16:38:30 -07001207 /* Statically allocated FTM Response Buffer */
1208 wpt_uint8 ucFTMCommandRspBuffer[WDI_FTM_MAX_RECEIVE_BUFFER];
Jeff Johnson295189b2012-06-20 16:38:30 -07001209
1210 /*Driver in BMPS state*/
1211 wpt_boolean bInBmps;
1212
1213 /*version of the PNO implementation in RIVA*/
1214 wpt_uint8 wdiPNOVersion;
Madan Mohan Koyyalamudi0bfd0002012-10-24 14:39:37 -07001215
1216 /*SSR timer*/
1217 wpt_timer ssrTimer;
Pratik Bhalgatd4404592012-11-22 17:49:14 +05301218
1219 /*Version of the WLAN HAL API received on start resp*/
1220 WDI_WlanVersionType wlanVersion;
1221
Gopichand Nakkalaa5e3ede2012-12-21 15:28:36 -08001222 /*timestamp when we start response timer*/
1223 wpt_uint32 uTimeStampRspTmrStart;
1224
1225 /*timestamp when we get response timer event*/
1226 wpt_uint32 uTimeStampRspTmrExp;
Gopichand Nakkala7fbde852013-05-07 03:05:56 -07001227
1228 /* enable/disable SSR on WDI timeout */
1229 wpt_boolean bEnableSSR;
Arif Hussain6c8947a2013-11-27 13:57:14 -08001230
1231 /* timestamp derived from msm arch counter. */
1232 /*timestamp when we start response timer*/
1233 wpt_uint64 uArchTimeStampRspTmrStart;
1234
1235 /*timestamp when we get response timer event*/
1236 wpt_uint64 uArchTimeStampRspTmrExp;
Katya Nigamf02ad012014-05-05 16:12:49 +05301237
1238 /* reason for WDI_DetectedDeviceError */
1239 void * DeviceErrorReason;
Girish Gowli55caa852015-01-19 16:09:49 +05301240
1241#ifdef DEBUG_ROAM_DELAY
1242 /* Roam delay statistic enabled in ini*/
1243 wpt_uint8 roamDelayStatsEnabled;
1244#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07001245}WDI_ControlBlockType;
1246
1247
1248
1249
1250/*---------------------------------------------------------------------------
1251
1252 DESCRIPTION
1253 WLAN DAL Request Processing function definition.
1254
1255 PARAMETERS
1256
1257 IN
1258 pWDICtx: pointer to the WLAN DAL context
1259 pEventData: pointer to the event information structure
1260
1261
1262 RETURN VALUE
1263 The result code associated with performing the operation
1264
1265---------------------------------------------------------------------------*/
1266typedef WDI_Status (*WDI_ReqProcFuncType)( WDI_ControlBlockType* pWDICtx,
1267 WDI_EventInfoType* pEventData);
1268
1269
1270/*---------------------------------------------------------------------------
1271
1272 DESCRIPTION
1273 WLAN DAL Response Processing function definition.
1274
1275 PARAMETERS
1276
1277 IN
1278 pWDICtx: pointer to the WLAN DAL context
1279 pEventData: pointer to the event information structure
1280
1281
1282 RETURN VALUE
1283 The result code associated with performing the operation
1284
1285---------------------------------------------------------------------------*/
1286typedef WDI_Status (*WDI_RspProcFuncType)( WDI_ControlBlockType* pWDICtx,
1287 WDI_EventInfoType* pEventData);
1288
1289
1290
1291
1292/*==========================================================================
1293 MAIN DAL FSM Definitions and Declarations
1294==========================================================================*/
1295
1296/*---------------------------------------------------------------------------
1297 DAL Control Path Main FSM
1298 ---------------------------------------------------------------------------*/
1299#define WDI_STATE_TRANSITION(_pctx, _st) (_pctx->uGlobalState = _st)
1300
1301
1302
1303/*---------------------------------------------------------------------------
1304 DAL Main Event type
1305---------------------------------------------------------------------------*/
1306typedef enum
1307{
1308 /* Start request received from UMAC */
1309 WDI_START_EVENT = 0,
1310
1311 /* Stop request received from UMAC */
1312 WDI_STOP_EVENT = 1,
1313
1314 /* HAL request received from UMAC*/
1315 WDI_REQUEST_EVENT = 2,
1316
1317 /* HAL Response received from device */
1318 WDI_RESPONSE_EVENT = 3,
1319
1320 /* Close request received from UMAC */
1321 WDI_CLOSE_EVENT = 4,
1322
1323 /* Shutdown request received from UMAC */
1324 WDI_SHUTDOWN_EVENT = 5,
1325
1326 WDI_MAX_EVENT
1327
1328}WDI_MainEventType;
1329
1330/*---------------------------------------------------------------------------
1331
1332 DESCRIPTION
1333 Main DAL state machine function definition.
1334
1335 PARAMETERS
1336
1337 IN
1338 pWDICtx: pointer to the WLAN DAL context
1339 pEventData: pointer to the event information structure
1340
1341
1342 RETURN VALUE
1343 The result code associated with performing the operation
1344
1345---------------------------------------------------------------------------*/
1346typedef WDI_Status (*WDI_MainFuncType)( WDI_ControlBlockType* pWDICtx,
1347 WDI_EventInfoType* pEventData);
1348
1349/*---------------------------------------------------------------------------
1350 MAIN DAL FSM Entry type
1351---------------------------------------------------------------------------*/
1352typedef struct
1353{
1354 WDI_MainFuncType pfnMainTbl[WDI_MAX_EVENT];
1355} WDI_MainFsmEntryType;
1356
1357/*Macro to check for valid session id*/
1358#define WDI_VALID_SESSION_IDX(_idx) ( _idx < WDI_MAX_BSS_SESSIONS )
1359
1360/*==========================================================================
1361
1362 DAL INTERNAL FUNCTION DECLARATION
1363
1364==========================================================================*/
1365
1366/**
1367 @brief Helper routine for retrieving the PAL Context from WDI -
1368 can be used by CTS, DTS, DXE and othe DAL internals
1369
1370 @param None
1371
1372 @see
1373 @return pointer to the context
1374*/
Jeff Johnson43971f52012-07-17 12:26:56 -07001375void* WDI_GET_PAL_CTX( void );
Jeff Johnson295189b2012-06-20 16:38:30 -07001376
1377/*---------------------------------------------------------------------------
1378 MAIN DAL FSM Function Declarations
1379---------------------------------------------------------------------------*/
1380/**
1381 @brief WDI_PostMainEvent - Posts an event to the Main FSM
1382
1383
1384 @param pWDICtx: pointer to the WLAN DAL context
1385 wdiEV: event posted to the main DAL FSM
1386 pEventData: pointer to the event information
1387 structure
1388
1389 @see
1390 @return Result of the function call
1391*/
1392WDI_Status
1393WDI_PostMainEvent
1394(
1395 WDI_ControlBlockType* pWDICtx,
1396 WDI_MainEventType wdiEV,
1397 WDI_EventInfoType* pEventData
1398
1399);
1400
1401/*--------------------------------------------------------------------------
1402 INIT State Functions
1403--------------------------------------------------------------------------*/
1404/**
1405 @brief Main FSM Start function for all states except BUSY
1406
1407
1408 @param pWDICtx: pointer to the WLAN DAL context
1409 pEventData: pointer to the event information structure
1410
1411 @see
1412 @return Result of the function call
1413*/
1414WDI_Status
1415WDI_MainStart
1416(
1417 WDI_ControlBlockType* pWDICtx,
1418 WDI_EventInfoType* pEventData
1419);
1420
1421/**
1422 @brief Main FSM Response function for state INIT
1423
1424
1425 @param pWDICtx: pointer to the WLAN DAL context
1426 pEventData: pointer to the event information structure
1427
1428 @see
1429 @return Result of the function call
1430*/
1431WDI_Status
1432WDI_MainRspInit
1433(
1434 WDI_ControlBlockType* pWDICtx,
1435 WDI_EventInfoType* pEventData
1436);
1437
1438/**
1439 @brief Main FSM Close 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
1446 @see
1447 @return Result of the function call
1448*/
1449WDI_Status
1450WDI_MainClose
1451(
1452 WDI_ControlBlockType* pWDICtx,
1453 WDI_EventInfoType* pEventData
1454);
1455
1456/*--------------------------------------------------------------------------
1457 STARTED State Functions
1458--------------------------------------------------------------------------*/
1459/**
1460 @brief Main FSM Start function for state STARTED
1461
1462
1463 @param pWDICtx: pointer to the WLAN DAL context
1464 pEventData: pointer to the event information structure
1465
1466 @see
1467 @return Result of the function call
1468*/
1469WDI_Status
1470WDI_MainStartStarted
1471(
1472 WDI_ControlBlockType* pWDICtx,
1473 WDI_EventInfoType* pEventData
1474);
1475
1476/**
1477 @brief Main FSM Stop function for state STARTED
1478
1479
1480 @param pWDICtx: pointer to the WLAN DAL context
1481 pEventData: pointer to the event information structure
1482 uEventDataSize: size of the data sent in event
1483 pCBfnc: cb function for event response
1484 pUserData: user data
1485
1486 @see
1487 @return Result of the function call
1488*/
1489WDI_Status
1490WDI_MainStopStarted
1491(
1492 WDI_ControlBlockType* pWDICtx,
1493 WDI_EventInfoType* pEventData
1494);
1495
1496/**
1497 @brief Main FSM Request function for state started
1498
1499
1500 @param pWDICtx: pointer to the WLAN DAL context
1501 pEventData: pointer to the event information structure
1502
1503
1504 @see
1505 @return Result of the function call
1506*/
1507WDI_Status
1508WDI_MainReqStarted
1509(
1510 WDI_ControlBlockType* pWDICtx,
1511 WDI_EventInfoType* pEventData
1512);
1513
1514/**
1515 @brief Main FSM Response function for all states except INIT
1516
1517
1518 @param pWDICtx: pointer to the WLAN DAL context
1519 pEventData: pointer to the event information structure
1520
1521 @see
1522 @return Result of the function call
1523*/
1524WDI_Status
1525WDI_MainRsp
1526(
1527 WDI_ControlBlockType* pWDICtx,
1528 WDI_EventInfoType* pEventData
1529);
1530
1531/*--------------------------------------------------------------------------
1532 STOPPED State Functions
1533--------------------------------------------------------------------------*/
1534/**
1535 @brief Main FSM Stop function for state STOPPED
1536
1537
1538 @param pWDICtx: pointer to the WLAN DAL context
1539 pEventData: pointer to the event information structure
1540
1541 @see
1542 @return Result of the function call
1543*/
1544WDI_Status
1545WDI_MainStopStopped
1546(
1547 WDI_ControlBlockType* pWDICtx,
1548 WDI_EventInfoType* pEventData
1549 );
1550
1551/*--------------------------------------------------------------------------
1552 BUSY State Functions
1553--------------------------------------------------------------------------*/
1554/**
1555 @brief Main FSM Start function for state BUSY
1556
1557
1558 @param pWDICtx: pointer to the WLAN DAL context
1559 pEventData: pointer to the event information structure
1560
1561 @see
1562 @return Result of the function call
1563*/
1564WDI_Status
1565WDI_MainStartBusy
1566(
1567 WDI_ControlBlockType* pWDICtx,
1568 WDI_EventInfoType* pEventData
1569);
1570
1571/**
1572 @brief Main FSM Stop function for state BUSY
1573
1574
1575 @param pWDICtx: pointer to the WLAN DAL context
1576 pEventData: pointer to the event information structure
1577
1578 @see
1579 @return Result of the function call
1580*/
1581WDI_Status
1582WDI_MainStopBusy
1583(
1584 WDI_ControlBlockType* pWDICtx,
1585 WDI_EventInfoType* pEventData
1586);
1587
1588/**
1589 @brief Main FSM Request 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_MainReqBusy
1600(
1601 WDI_ControlBlockType* pWDICtx,
1602 WDI_EventInfoType* pEventData
1603);
1604
1605/**
1606 @brief Main FSM Close 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_MainCloseBusy
1617(
1618 WDI_ControlBlockType* pWDICtx,
1619 WDI_EventInfoType* pEventData
1620);
1621
1622/**
1623 @brief Main FSM Shutdown function for INIT & STARTED states
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_MainShutdown
1634(
1635 WDI_ControlBlockType* pWDICtx,
1636 WDI_EventInfoType* pEventData
1637);
1638
1639/**
1640 @brief Main FSM Shutdown function for BUSY state
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_MainShutdownBusy
1651(
1652 WDI_ControlBlockType* pWDICtx,
1653 WDI_EventInfoType* pEventData
1654);
1655
1656/*========================================================================
1657 Main DAL Control Path Request Processing API
1658========================================================================*/
1659
1660/**
1661 @brief Process Start Request function (called when Main FSM
1662 allows it)
1663
1664 @param pWDICtx: pointer to the WLAN DAL context
1665 pEventData: pointer to the event information structure
1666
1667 @see
1668 @return Result of the function call
1669*/
1670WDI_Status
1671WDI_ProcessStartReq
1672(
1673 WDI_ControlBlockType* pWDICtx,
1674 WDI_EventInfoType* pEventData
1675);
1676
1677
1678/**
1679 @brief Process Stop Request function (called when Main FSM
1680 allows it)
1681
1682 @param pWDICtx: pointer to the WLAN DAL context
1683 pEventData: pointer to the event information structure
1684
1685 @see
1686 @return Result of the function call
1687*/
1688WDI_Status
1689WDI_ProcessStopReq
1690(
1691 WDI_ControlBlockType* pWDICtx,
1692 WDI_EventInfoType* pEventData
1693);
1694
1695
1696/**
1697 @brief Process Close Request function (called when Main FSM
1698 allows it)
1699
1700 @param pWDICtx: pointer to the WLAN DAL context
1701 pEventData: pointer to the event information structure
1702
1703 @see
1704 @return Result of the function call
1705*/
1706WDI_Status
1707WDI_ProcessCloseReq
1708(
1709 WDI_ControlBlockType* pWDICtx,
1710 WDI_EventInfoType* pEventData
1711);
1712
1713/**
1714 @brief Process Shutdown Request function (called when Main FSM
1715 allows it)
1716
1717 @param pWDICtx: pointer to the WLAN DAL context
1718 pEventData: pointer to the event information structure
1719
1720 @see
1721 @return Result of the function call
1722*/
1723WDI_Status
1724WDI_ProcessShutdownReq
1725(
1726 WDI_ControlBlockType* pWDICtx,
1727 WDI_EventInfoType* pEventData
1728);
1729
1730
1731/**
1732 @brief Process Init Scan Request function (called when Main FSM
1733 allows it)
1734
1735 @param pWDICtx: pointer to the WLAN DAL context
1736 pEventData: pointer to the event information structure
1737
1738 @see
1739 @return Result of the function call
1740*/
1741WDI_Status
1742WDI_ProcessInitScanReq
1743(
1744 WDI_ControlBlockType* pWDICtx,
1745 WDI_EventInfoType* pEventData
1746);
1747
1748
1749/**
1750 @brief Process Start Scan Request function (called when Main
1751 FSM allows it)
1752
1753 @param pWDICtx: pointer to the WLAN DAL context
1754 pEventData: pointer to the event information structure
1755
1756 @see
1757 @return Result of the function call
1758*/
1759WDI_Status
1760WDI_ProcessStartScanReq
1761(
1762 WDI_ControlBlockType* pWDICtx,
1763 WDI_EventInfoType* pEventData
1764);
1765
1766
1767/**
1768 @brief Process End Scan Request function (called when Main FSM
1769 allows it)
1770
1771 @param pWDICtx: pointer to the WLAN DAL context
1772 pEventData: pointer to the event information structure
1773
1774 @see
1775 @return Result of the function call
1776*/
1777WDI_Status
1778WDI_ProcessEndScanReq
1779(
1780 WDI_ControlBlockType* pWDICtx,
1781 WDI_EventInfoType* pEventData
1782);
1783
1784
1785/**
1786 @brief Process Finish Scan Request function (called when Main
1787 FSM allows it)
1788
1789 @param pWDICtx: pointer to the WLAN DAL context
1790 pEventData: pointer to the event information structure
1791
1792 @see
1793 @return Result of the function call
1794*/
1795WDI_Status
1796WDI_ProcessFinishScanReq
1797(
1798 WDI_ControlBlockType* pWDICtx,
1799 WDI_EventInfoType* pEventData
1800);
1801
1802
1803/**
1804 @brief Process Join Request function (called when Main FSM
1805 allows it)
1806
1807 @param pWDICtx: pointer to the WLAN DAL context
1808 pEventData: pointer to the event information structure
1809
1810 @see
1811 @return Result of the function call
1812*/
1813WDI_Status
1814WDI_ProcessJoinReq
1815(
1816 WDI_ControlBlockType* pWDICtx,
1817 WDI_EventInfoType* pEventData
1818);
1819
1820
1821/**
1822 @brief Process Config BSS Request function (called when Main
1823 FSM allows it)
1824
1825 @param pWDICtx: pointer to the WLAN DAL context
1826 pEventData: pointer to the event information structure
1827
1828 @see
1829 @return Result of the function call
1830*/
1831WDI_Status
1832WDI_ProcessConfigBSSReq
1833(
1834 WDI_ControlBlockType* pWDICtx,
1835 WDI_EventInfoType* pEventData
1836);
1837
1838
1839/**
1840 @brief Process Del BSS Request function (called when Main FSM
1841 allows it)
1842
1843 @param pWDICtx: pointer to the WLAN DAL context
1844 pEventData: pointer to the event information structure
1845
1846 @see
1847 @return Result of the function call
1848*/
1849WDI_Status
1850WDI_ProcessDelBSSReq
1851(
1852 WDI_ControlBlockType* pWDICtx,
1853 WDI_EventInfoType* pEventData
1854);
1855
1856/**
1857 @brief Process Post Assoc Request function (called when Main
1858 FSM allows it)
1859
1860 @param pWDICtx: pointer to the WLAN DAL context
1861 pEventData: pointer to the event information structure
1862
1863 @see
1864 @return Result of the function call
1865*/
1866WDI_Status
1867WDI_ProcessPostAssocReq
1868(
1869 WDI_ControlBlockType* pWDICtx,
1870 WDI_EventInfoType* pEventData
1871);
1872
1873/**
1874 @brief Process Del STA 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_ProcessDelSTAReq
1885(
1886 WDI_ControlBlockType* pWDICtx,
1887 WDI_EventInfoType* pEventData
1888);
1889
1890/**
1891 @brief Process Set BSS Key Request function (called when Main FSM
1892 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_ProcessSetBssKeyReq
1902(
1903 WDI_ControlBlockType* pWDICtx,
1904 WDI_EventInfoType* pEventData
1905);
1906
1907/**
1908 @brief Process Remove BSS Key Request function (called when Main
1909 FSM 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_ProcessRemoveBssKeyReq
1919(
1920 WDI_ControlBlockType* pWDICtx,
1921 WDI_EventInfoType* pEventData
1922);
1923
1924/**
1925 @brief Process Set STA KeyRequest 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_ProcessSetStaKeyReq
1936(
1937 WDI_ControlBlockType* pWDICtx,
1938 WDI_EventInfoType* pEventData
1939);
1940
1941/**
1942 @brief Process Remove STA Key Request function (called when
1943 Main 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_ProcessRemoveStaKeyReq
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_ProcessSetStaBcastKeyReq
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_ProcessRemoveStaBcastKeyReq
1987(
1988 WDI_ControlBlockType* pWDICtx,
1989 WDI_EventInfoType* pEventData
1990);
1991
1992/**
1993 @brief Process Add TSpec Request 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_ProcessAddTSpecReq
2004(
2005 WDI_ControlBlockType* pWDICtx,
2006 WDI_EventInfoType* pEventData
2007);
2008
2009
2010/**
2011 @brief Process Del TSpec Request function (called when Main FSM
2012 allows it)
2013
2014 @param pWDICtx: pointer to the WLAN DAL context
2015 pEventData: pointer to the event information structure
2016
2017 @see
2018 @return Result of the function call
2019*/
2020WDI_Status
2021WDI_ProcessDelTSpecReq
2022(
2023 WDI_ControlBlockType* pWDICtx,
2024 WDI_EventInfoType* pEventData
2025);
2026
2027/**
2028 @brief Process Update EDCA Params Request function (called when
2029 Main FSM allows it)
2030
2031 @param pWDICtx: pointer to the WLAN DAL context
2032 pEventData: pointer to the event information structure
2033
2034 @see
2035 @return Result of the function call
2036*/
2037WDI_Status
2038WDI_ProcessUpdateEDCAParamsReq
2039(
2040 WDI_ControlBlockType* pWDICtx,
2041 WDI_EventInfoType* pEventData
2042);
2043
2044/**
2045 @brief Process Add BA 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_ProcessAddBASessionReq
2056(
2057 WDI_ControlBlockType* pWDICtx,
2058 WDI_EventInfoType* pEventData
2059);
2060
2061/**
2062 @brief Process Del BA Request function (called when Main FSM
2063 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_ProcessDelBAReq
2073(
2074 WDI_ControlBlockType* pWDICtx,
2075 WDI_EventInfoType* pEventData
2076);
2077
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002078#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07002079/**
2080 @brief Process TSM Stats Request function (called when Main FSM
2081 allows it)
2082
2083 @param pWDICtx: pointer to the WLAN DAL context
2084 pEventData: pointer to the event information structure
2085
2086 @see
2087 @return Result of the function call
2088*/
2089WDI_Status
2090WDI_ProcessTSMStatsReq
2091(
2092 WDI_ControlBlockType* pWDICtx,
2093 WDI_EventInfoType* pEventData
2094);
2095#endif
2096
2097/**
2098 @brief Process Channel Switch Request function (called when
2099 Main FSM allows it)
2100
2101 @param pWDICtx: pointer to the WLAN DAL context
2102 pEventData: pointer to the event information structure
2103
2104 @see
2105 @return Result of the function call
2106*/
2107WDI_Status
2108WDI_ProcessChannelSwitchReq
2109(
2110 WDI_ControlBlockType* pWDICtx,
2111 WDI_EventInfoType* pEventData
2112);
2113
2114/**
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08002115 @brief Process Channel Switch Request function (called when
2116 Main FSM allows it)
2117
2118 @param pWDICtx: pointer to the WLAN DAL context
2119 pEventData: pointer to the event information structure
2120
2121 @see
2122 @return Result of the function call
2123*/
2124
2125WDI_Status WDI_ProcessChannelSwitchReq_V1
2126(
2127 WDI_ControlBlockType* pWDICtx,
2128 WDI_EventInfoType* pEventData
2129);
2130
2131
2132/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002133 @brief Process Config STA Request function (called when Main FSM
2134 allows it)
2135
2136 @param pWDICtx: pointer to the WLAN DAL context
2137 pEventData: pointer to the event information structure
2138
2139 @see
2140 @return Result of the function call
2141*/
2142WDI_Status
2143WDI_ProcessConfigStaReq
2144(
2145 WDI_ControlBlockType* pWDICtx,
2146 WDI_EventInfoType* pEventData
2147);
2148
2149
2150/**
2151 @brief Process Set Link State Request function (called when
2152 Main FSM allows it)
2153
2154 @param pWDICtx: pointer to the WLAN DAL context
2155 pEventData: pointer to the event information structure
2156
2157 @see
2158 @return Result of the function call
2159*/
2160WDI_Status
2161WDI_ProcessSetLinkStateReq
2162(
2163 WDI_ControlBlockType* pWDICtx,
2164 WDI_EventInfoType* pEventData
2165);
2166
2167
2168/**
2169 @brief Process Get Stats Request function (called when Main FSM
2170 allows it)
2171
2172 @param pWDICtx: pointer to the WLAN DAL context
2173 pEventData: pointer to the event information structure
2174
2175 @see
2176 @return Result of the function call
2177*/
2178WDI_Status
2179WDI_ProcessGetStatsReq
2180(
2181 WDI_ControlBlockType* pWDICtx,
2182 WDI_EventInfoType* pEventData
2183);
2184
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002185#if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR)
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -08002186/**
2187 @brief Process Get Roam rssi Request function (called when Main FSM
2188 allows it)
2189
2190 @param pWDICtx: pointer to the WLAN DAL context
2191 pEventData: pointer to the event information structure
2192
2193 @see
2194 @return Result of the function call
2195*/
2196WDI_Status
2197WDI_ProcessGetRoamRssiReq
2198(
2199 WDI_ControlBlockType* pWDICtx,
2200 WDI_EventInfoType* pEventData
2201);
2202
2203
2204/**
2205 @brief Process Get Roam Rssi Rsp function (called when a response is
2206 being received over the bus from HAL)
2207
2208 @param pWDICtx: pointer to the WLAN DAL context
2209 pEventData: pointer to the event information structure
2210
2211 @see
2212 @return Result of the function call
2213*/
2214WDI_Status
2215WDI_ProcessGetRoamRssiRsp
2216(
2217 WDI_ControlBlockType* pWDICtx,
2218 WDI_EventInfoType* pEventData
2219);
2220
2221#endif
2222
2223
Jeff Johnson295189b2012-06-20 16:38:30 -07002224/**
2225 @brief Process Update Cfg Request function (called when Main
2226 FSM allows it)
2227
2228 @param pWDICtx: pointer to the WLAN DAL context
2229 pEventData: pointer to the event information structure
2230
2231 @see
2232 @return Result of the function call
2233*/
2234WDI_Status
2235WDI_ProcessUpdateCfgReq
2236(
2237 WDI_ControlBlockType* pWDICtx,
2238 WDI_EventInfoType* pEventData
2239);
2240
2241/**
2242 @brief Process Add BA Request function (called when Main FSM
2243 allows it)
2244
2245 @param pWDICtx: pointer to the WLAN DAL context
2246 pEventData: pointer to the event information structure
2247
2248 @see
2249 @return Result of the function call
2250*/
2251WDI_Status
2252WDI_ProcessAddBAReq
2253(
2254 WDI_ControlBlockType* pWDICtx,
2255 WDI_EventInfoType* pEventData
2256);
2257
2258/**
2259 @brief Process Trigger BA Request function (called when Main FSM
2260 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_ProcessTriggerBAReq
2270(
2271 WDI_ControlBlockType* pWDICtx,
2272 WDI_EventInfoType* pEventData
2273);
2274
2275/**
2276 @brief Process Update Beacon Params Request function (called when Main
2277 FSM 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_ProcessUpdateBeaconParamsReq
2287(
2288 WDI_ControlBlockType* pWDICtx,
2289 WDI_EventInfoType* pEventData
2290);
2291
2292/**
2293 @brief Process Update Beacon template Request function (called when Main
2294 FSM 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_ProcessSendBeaconParamsReq
2304(
2305 WDI_ControlBlockType* pWDICtx,
2306 WDI_EventInfoType* pEventData
2307);
2308
2309/**
2310 @brief Process Update Beacon Params Request function (called when Main FSM
2311 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_ProcessUpdateProbeRspTemplateReq
2321(
2322 WDI_ControlBlockType* pWDICtx,
2323 WDI_EventInfoType* pEventData
2324);
2325/**
2326 @brief Process NV blob download function (called when Main FSM
2327 allows it)
2328
2329 @param pWDICtx: pointer to the WLAN DAL context
2330 pEventData: pointer to the event information structure
2331
2332 @see
2333 @return Result of the function call
2334*/
2335WDI_Status
2336WDI_ProcessNvDownloadReq
2337(
2338 WDI_ControlBlockType* pWDICtx,
2339 WDI_EventInfoType* pEventData
2340);
2341
2342/**
2343 @brief Process Set Max Tx Power Request function (called when Main
2344 FSM allows it)
2345
2346 @param pWDICtx: pointer to the WLAN DAL context
2347 pEventData: pointer to the event information structure
2348
2349 @see
2350 @return Result of the function call
2351*/
2352WDI_Status WDI_ProcessSetMaxTxPowerReq
2353(
2354 WDI_ControlBlockType* pWDICtx,
2355 WDI_EventInfoType* pEventData
2356);
2357
Jeff Johnson295189b2012-06-20 16:38:30 -07002358/**
Arif Hussaina5ebce02013-08-09 15:09:58 -07002359 @brief Process Set Max Tx Power Per Band Request function (called when Main
2360 FSM allows it)
2361
2362 @param pWDICtx: pointer to the WLAN DAL context
2363 pEventData: pointer to the event information structure
2364
2365 @see
2366 @return Result of the function call
2367*/
2368WDI_Status WDI_ProcessSetMaxTxPowerPerBandReq
2369(
2370 WDI_ControlBlockType* pWDICtx,
2371 WDI_EventInfoType* pEventData
2372);
2373
2374/**
schang86c22c42013-03-13 18:41:24 -07002375 @brief Process Set Tx Power Request function (called when Main
2376 FSM allows it)
2377
2378 @param pWDICtx: pointer to the WLAN DAL context
2379 pEventData: pointer to the event information structure
2380
2381 @see
2382 @return Result of the function call
2383*/
2384WDI_Status WDI_ProcessSetTxPowerReq
2385(
2386 WDI_ControlBlockType* pWDICtx,
2387 WDI_EventInfoType* pEventData
2388);
2389
2390/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002391 @brief Process P2P Notice Of Absence Request function (called when Main FSM
2392 allows it)
2393
2394 @param pWDICtx: pointer to the WLAN DAL context
2395 pEventData: pointer to the event information structure
2396
2397 @see
2398 @return Result of the function call
2399*/
2400WDI_Status
2401WDI_ProcessP2PGONOAReq
2402(
2403 WDI_ControlBlockType* pWDICtx,
2404 WDI_EventInfoType* pEventData
2405);
Jeff Johnson295189b2012-06-20 16:38:30 -07002406
2407/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05302408 @brief Process TDLS Link Establish Request function (called when Main FSM
2409 allows it)
2410
2411 @param pWDICtx: pointer to the WLAN DAL context
2412 pEventData: pointer to the event information structure
2413
2414 @see
2415 @return Result of the function call
2416*/
2417WDI_Status
2418WDI_ProcessTdlsLinkEstablishReq
2419(
2420 WDI_ControlBlockType* pWDICtx,
2421 WDI_EventInfoType* pEventData
2422);
2423
2424/**
Atul Mittalc0f739f2014-07-31 13:47:47 +05302425 @brief Process tdls channel switch request
2426
2427 @param pWDICtx: pointer to the WLAN DAL context
2428 pEventData: pointer to the event information structure
2429
2430 @see
2431 @return Result of the function call
2432*/
2433WDI_Status
2434WDI_ProcessTdlsChanSwitchReq
2435(
2436 WDI_ControlBlockType* pWDICtx,
2437 WDI_EventInfoType* pEventData
2438);
2439/**
Jeff Johnson295189b2012-06-20 16:38:30 -07002440 @brief Process Enter IMPS Request function (called when
2441 Main FSM allows it)
2442
2443 @param pWDICtx: pointer to the WLAN DAL context
2444 pEventData: pointer to the event information structure
2445
2446 @see
2447 @return Result of the function call
2448*/
2449WDI_Status
2450WDI_ProcessEnterImpsReq
2451(
2452 WDI_ControlBlockType* pWDICtx,
2453 WDI_EventInfoType* pEventData
2454);
2455
2456/**
2457 @brief Process Exit IMPS Request function (called when
2458 Main FSM allows it)
2459
2460 @param pWDICtx: pointer to the WLAN DAL context
2461 pEventData: pointer to the event information structure
2462
2463 @see
2464 @return Result of the function call
2465*/
2466WDI_Status
2467WDI_ProcessExitImpsReq
2468(
2469 WDI_ControlBlockType* pWDICtx,
2470 WDI_EventInfoType* pEventData
2471);
2472
2473/**
2474 @brief Process Enter BMPS Request function (called when Main
2475 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_ProcessEnterBmpsReq
2485(
2486 WDI_ControlBlockType* pWDICtx,
2487 WDI_EventInfoType* pEventData
2488);
2489
2490/**
2491 @brief Process Exit BMPS Request function (called when Main FSM
2492 allows it)
2493
2494 @param pWDICtx: pointer to the WLAN DAL context
2495 pEventData: pointer to the event information structure
2496
2497 @see
2498 @return Result of the function call
2499*/
2500WDI_Status
2501WDI_ProcessExitBmpsReq
2502(
2503 WDI_ControlBlockType* pWDICtx,
2504 WDI_EventInfoType* pEventData
2505);
2506
2507/**
2508 @brief Process Enter UAPSD 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_ProcessEnterUapsdReq
2519(
2520 WDI_ControlBlockType* pWDICtx,
2521 WDI_EventInfoType* pEventData
2522);
2523
2524/**
2525 @brief Process Exit UAPSD Request function (called when
2526 Main FSM 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_ProcessExitUapsdReq
2536(
2537 WDI_ControlBlockType* pWDICtx,
2538 WDI_EventInfoType* pEventData
2539);
2540
2541/**
2542 @brief Process Set UAPSD params Request function (called when
2543 Main 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_ProcessSetUapsdAcParamsReq
2553(
2554 WDI_ControlBlockType* pWDICtx,
2555 WDI_EventInfoType* pEventData
2556);
2557
2558/**
2559 @brief Process update UAPSD params Request function (called
2560 when 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_ProcessUpdateUapsdParamsReq
2570(
2571 WDI_ControlBlockType* pWDICtx,
2572 WDI_EventInfoType* pEventData
2573);
2574
2575/**
2576 @brief Process Configure RXP filter Request function (called
2577 when 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_ProcessConfigureRxpFilterReq
2587(
2588 WDI_ControlBlockType* pWDICtx,
2589 WDI_EventInfoType* pEventData
2590);
2591
2592/**
2593 @brief Process set beacon filter 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_ProcessSetBeaconFilterReq
2604(
2605 WDI_ControlBlockType* pWDICtx,
2606 WDI_EventInfoType* pEventData
2607);
2608
2609/**
2610 @brief Process remove beacon 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_ProcessRemBeaconFilterReq
2621(
2622 WDI_ControlBlockType* pWDICtx,
2623 WDI_EventInfoType* pEventData
2624);
2625
2626/**
2627 @brief Process set RSSI thresholds 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_ProcessSetRSSIThresholdsReq
2638(
2639 WDI_ControlBlockType* pWDICtx,
2640 WDI_EventInfoType* pEventData
2641);
2642
2643/**
2644 @brief Process set RSSI thresholds 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_ProcessHostOffloadReq
2655(
2656 WDI_ControlBlockType* pWDICtx,
2657 WDI_EventInfoType* pEventData
2658);
2659
2660/**
2661 @brief Process Keep Alive 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_ProcessKeepAliveReq
2672(
2673 WDI_ControlBlockType* pWDICtx,
2674 WDI_EventInfoType* pEventData
2675);
2676
2677
2678/**
2679 @brief Process Wowl add bc ptrn Request function (called
2680 when Main FSM allows it)
2681
2682 @param pWDICtx: pointer to the WLAN DAL context
2683 pEventData: pointer to the event information structure
2684
2685 @see
2686 @return Result of the function call
2687*/
2688WDI_Status
2689WDI_ProcessWowlAddBcPtrnReq
2690(
2691 WDI_ControlBlockType* pWDICtx,
2692 WDI_EventInfoType* pEventData
2693);
2694
2695/**
2696 @brief Process Wowl delete bc ptrn Request function (called
2697 when Main FSM allows it)
2698
2699 @param pWDICtx: pointer to the WLAN DAL context
2700 pEventData: pointer to the event information structure
2701
2702 @see
2703 @return Result of the function call
2704*/
2705WDI_Status
2706WDI_ProcessWowlDelBcPtrnReq
2707(
2708 WDI_ControlBlockType* pWDICtx,
2709 WDI_EventInfoType* pEventData
2710);
2711
2712/**
2713 @brief Process Wowl enter 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_ProcessWowlEnterReq
2724(
2725 WDI_ControlBlockType* pWDICtx,
2726 WDI_EventInfoType* pEventData
2727);
2728
2729/**
2730 @brief Process Wowl exit Request function (called when Main FSM
2731 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_ProcessWowlExitReq
2741(
2742 WDI_ControlBlockType* pWDICtx,
2743 WDI_EventInfoType* pEventData
2744);
2745
2746/**
2747 @brief Process Configure Apps Cpu Wakeup State Request function
2748 (called 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_ProcessConfigureAppsCpuWakeupStateReq
2758(
2759 WDI_ControlBlockType* pWDICtx,
2760 WDI_EventInfoType* pEventData
2761);
2762
2763/**
2764 @brief Process Flush AC 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_ProcessFlushAcReq
2775(
2776 WDI_ControlBlockType* pWDICtx,
2777 WDI_EventInfoType* pEventData
2778);
2779
Jeff Johnsone7245742012-09-05 17:12:55 -07002780#ifdef FEATURE_OEM_DATA_SUPPORT
2781/**
2782 @brief Process Start Oem Data Request function (called when Main
2783 FSM allows it)
2784
2785 @param pWDICtx: pointer to the WLAN DAL context
2786 pEventData: pointer to the event information structure
2787
2788 @see
2789 @return Result of the function call
2790*/
2791WDI_Status
2792WDI_ProcessStartOemDataReq
2793(
2794 WDI_ControlBlockType* pWDICtx,
2795 WDI_EventInfoType* pEventData
2796);
2797#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07002798
2799/**
2800 @brief Process Host Resume Request function (called when Main
2801 FSM allows it)
2802
2803 @param pWDICtx: pointer to the WLAN DAL context
2804 pEventData: pointer to the event information structure
2805
2806 @see
2807 @return Result of the function call
2808*/
2809WDI_Status
2810WDI_ProcessHostResumeReq
2811(
2812 WDI_ControlBlockType* pWDICtx,
2813 WDI_EventInfoType* pEventData
2814);
2815
2816/**
2817 @brief Process BT AMP event Request function (called when Main
2818 FSM allows it)
2819
2820 @param pWDICtx: pointer to the WLAN DAL context
2821 pEventData: pointer to the event information structure
2822
2823 @see
2824 @return Result of the function call
2825*/
2826WDI_Status
2827WDI_ProcessBtAmpEventReq
2828(
2829 WDI_ControlBlockType* pWDICtx,
2830 WDI_EventInfoType* pEventData
2831);
2832
2833/**
2834 @brief Process Add STA self Request function (called when Main FSM
2835 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_ProcessAddSTASelfReq
2845(
2846 WDI_ControlBlockType* pWDICtx,
2847 WDI_EventInfoType* pEventData
2848);
2849
2850/**
2851 @brief Process Del Sta Self 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_ProcessDelSTASelfReq
2862(
2863 WDI_ControlBlockType* pWDICtx,
2864 WDI_EventInfoType* pEventData
2865);
2866
2867/**
2868 @brief Process set Tx Per Tracking configurations Request function (called
2869 when Main FSM 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_ProcessSetTxPerTrackingReq
2879(
2880 WDI_ControlBlockType* pWDICtx,
2881 WDI_EventInfoType* pEventData
2882);
2883
2884/**
2885 @brief Process Set Power Params Request function
2886
2887 @param pWDICtx: pointer to the WLAN DAL context
2888 pEventData: pointer to the event information structure
2889
2890 @see
2891 @return Result of the function call
2892*/
2893WDI_Status
2894WDI_ProcessSetPowerParamsReq
2895(
2896 WDI_ControlBlockType* pWDICtx,
2897 WDI_EventInfoType* pEventData
2898);
2899
2900/**
2901 @brief Process Set Thermal Mitigation level Changed request
2902
2903 @param pWDICtx: pointer to the WLAN DAL context
2904 pEventData: pointer to the event information structure
2905
2906 @see
2907 @return Result of the function call
2908*/
2909WDI_Status
2910WDI_ProcessSetTmLevelReq
2911(
2912 WDI_ControlBlockType* pWDICtx,
2913 WDI_EventInfoType* pEventData
2914);
2915
Leo Chang9056f462013-08-01 19:21:11 -07002916#ifdef FEATURE_WLAN_LPHB
2917/**
2918 @brief WDI_ProcessLPHBConfReq -
2919 LPHB configuration request to FW
2920
2921 @param pWDICtx : wdi context
2922 pEventData : indication data
2923
2924 @see
2925 @return esult of the function call
2926*/
2927WDI_Status WDI_ProcessLPHBConfReq
2928(
2929 WDI_ControlBlockType* pWDICtx,
2930 WDI_EventInfoType* pEventData
2931);
2932#endif /* FEATURE_WLAN_LPHB */
2933
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08002934/**
2935 @brief WDI_ProcessUpdateChannelParamsReq -
2936 Send update channel request to FW
2937
2938 @param pWDICtx : wdi context
2939 pEventData : indication data
2940
2941 @see
2942 @return success or failure
2943*/
2944WDI_Status WDI_ProcessUpdateChannelParamsReq
2945(
2946 WDI_ControlBlockType* pWDICtx,
2947 WDI_EventInfoType* pEventData
2948);
2949
Rajeev79dbe4c2013-10-05 11:03:42 +05302950#ifdef FEATURE_WLAN_BATCH_SCAN
2951/**
2952 @brief WDI_ProcessSetBatchScanReq -
2953 Send set batch scan configuration request to FW
2954
2955 @param pWDICtx : wdi context
2956 pEventData : indication data
2957
2958 @see
2959 @return success or failure
2960*/
2961WDI_Status WDI_ProcessSetBatchScanReq
2962(
2963 WDI_ControlBlockType* pWDICtx,
2964 WDI_EventInfoType* pEventData
2965);
2966
2967/**
2968 @brief WDI_ProcessGetBatchScanReq -
2969 Send get batch scan request to FW
2970
2971 @param pWDICtx : wdi context
2972 pEventData : indication data
2973
2974 @see
2975 @return success or failure
2976*/
2977WDI_Status WDI_ProcessGetBatchScanReq
2978(
2979 WDI_ControlBlockType* pWDICtx,
2980 WDI_EventInfoType* pEventData
2981);
2982#endif /* FEATURE_WLAN_BATCH_SCAN */
2983
2984
Jeff Johnson295189b2012-06-20 16:38:30 -07002985/*=========================================================================
2986 Indications
2987=========================================================================*/
2988
2989/**
2990 @brief Process Suspend Indications function (called when Main FSM allows it)
2991
2992 @param pWDICtx: pointer to the WLAN DAL context
2993 pEventData: pointer to the event information structure
2994
2995 @see
2996 @return Result of the function call
2997*/
2998WDI_Status
2999WDI_ProcessHostSuspendInd
3000(
3001 WDI_ControlBlockType* pWDICtx,
3002 WDI_EventInfoType* pEventData
3003);
3004
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +05303005/**
3006 @brief DHCP Start Event Indication
3007
3008 @param pWDICtx: pointer to the WLAN DAL context
3009 pEventData: pointer to the event information structure
3010
3011 @see
3012 @return Result of the function call
3013*/
3014WDI_Status
3015WDI_ProcessDHCPStartInd
3016(
3017 WDI_ControlBlockType* pWDICtx,
3018 WDI_EventInfoType* pEventData
3019);
3020
3021/**
3022 @brief DHCP Stop Event Indication
3023
3024 @param pWDICtx: pointer to the WLAN DAL context
3025 pEventData: pointer to the event information structure
3026
3027 @see
3028 @return Result of the function call
3029*/
3030WDI_Status
3031WDI_ProcessDHCPStopInd
3032(
3033 WDI_ControlBlockType* pWDICtx,
3034 WDI_EventInfoType* pEventData
3035);
3036
Jeff Johnson295189b2012-06-20 16:38:30 -07003037
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -08003038/**
3039 @brief Process Traffic Stats Indications function (called when Main FSM allows it)
3040
3041 @param pWDICtx: pointer to the WLAN DAL context
3042 pEventData: pointer to the event information structure
3043
3044 @see
3045 @return Result of the function call
3046*/
3047WDI_Status
3048WDI_ProcessTrafficStatsInd
3049(
3050 WDI_ControlBlockType* pWDICtx,
3051 WDI_EventInfoType* pEventData
3052);
Chet Lanctot186b5732013-03-18 10:26:30 -07003053
3054#ifdef WLAN_FEATURE_11W
3055/**
3056 @brief Process Exclude Unencrypted Indications function (called
3057 when Main FSM allows it)
3058
3059 @param pWDICtx: pointer to the WLAN DAL context
3060 pEventData: pointer to the event information structure
3061
3062 @see
3063 @return Result of the function call
3064*/
3065WDI_Status
3066WDI_ProcessExcludeUnencryptInd
3067(
3068 WDI_ControlBlockType* pWDICtx,
3069 WDI_EventInfoType* pEventData
3070);
3071#endif
3072
Yue Mab9c86f42013-08-14 15:59:08 -07003073/**
3074 @brief Process Add Periodic Tx Pattern Indication function (called when
3075 Main FSM allows it)
3076
3077 @param pWDICtx: pointer to the WLAN DAL context
3078 pEventData: pointer to the event information structure
3079
3080 @see
3081 @return Result of the function call
3082*/
3083WDI_Status
3084WDI_ProcessAddPeriodicTxPtrnInd
3085(
3086 WDI_ControlBlockType* pWDICtx,
3087 WDI_EventInfoType* pEventData
3088);
3089
3090/**
3091 @brief Process Delete Periodic Tx Pattern Indication function (called when
3092 Main FSM allows it)
3093
3094 @param pWDICtx: pointer to the WLAN DAL context
3095 pEventData: pointer to the event information structure
3096
3097 @see
3098 @return Result of the function call
3099*/
3100WDI_Status
3101WDI_ProcessDelPeriodicTxPtrnInd
3102(
3103 WDI_ControlBlockType* pWDICtx,
3104 WDI_EventInfoType* pEventData
3105);
3106
Rajeev79dbe4c2013-10-05 11:03:42 +05303107#ifdef FEATURE_WLAN_BATCH_SCAN
3108/**
3109 @brief Process stop batch scan indications function
3110 It is called when Main FSM allows it
3111
3112 @param pWDICtx: pointer to the WLAN DAL context
3113 pEventData: pointer to the event information structure
3114
3115 @see
3116 @return Result of the function call
3117 */
3118 WDI_Status
3119 WDI_ProcessStopBatchScanInd
3120 (
3121 WDI_ControlBlockType* pWDICtx,
3122 WDI_EventInfoType* pEventData
3123 );
3124
3125/**
3126 @brief This API is called to trigger batch scan results from FW
3127 It is called when Main FSM allows it
3128
3129 @param pWDICtx: pointer to the WLAN DAL context
3130 pEventData: pointer to the event information structure
3131
3132 @see
3133 @return Result of the function call
3134 */
3135 WDI_Status
3136 WDI_ProcessTriggerBatchScanResultInd
3137 (
3138 WDI_ControlBlockType* pWDICtx,
3139 WDI_EventInfoType* pEventData
3140 );
3141
3142#endif
Sandeep Puligilla8b8b74b2014-02-10 16:39:05 +05303143/**
3144 @brief Process start OBSS scan request from Host
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*/
3152WDI_Status
3153WDI_ProcessHT40OBSSScanInd(
3154 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
3155
3156
3157/**
3158 @brief Process stop OBSS scan request from Host
3159
3160 @param pWDICtx: pointer to the WLAN DAL context
3161 pEventData: pointer to the event information structure
3162
3163 @see
3164 @return Result of the function call
3165*/
3166WDI_Status
3167WDI_ProcessHT40OBSSStopScanInd(
3168 WDI_ControlBlockType* pWDICtx, WDI_EventInfoType* pEventData );
Rajeev79dbe4c2013-10-05 11:03:42 +05303169
Jeff Johnson295189b2012-06-20 16:38:30 -07003170/*========================================================================
3171 Main DAL Control Path Response Processing API
3172========================================================================*/
3173
3174
3175/**
3176 @brief Process Start Response function (called when a response
3177 is being received over the bus from HAL)
3178
3179 @param pWDICtx: pointer to the WLAN DAL context
3180 pEventData: pointer to the event information structure
3181
3182 @see
3183 @return Result of the function call
3184*/
3185WDI_Status
3186WDI_ProcessStartRsp
3187(
3188 WDI_ControlBlockType* pWDICtx,
3189 WDI_EventInfoType* pEventData
3190);
3191
3192
3193/**
3194 @brief Process Stop Response function (called when a response
3195 is being received over the bus from HAL)
3196
3197 @param pWDICtx: pointer to the WLAN DAL context
3198 pEventData: pointer to the event information structure
3199
3200 @see
3201 @return Result of the function call
3202*/
3203WDI_Status
3204WDI_ProcessStopRsp
3205(
3206 WDI_ControlBlockType* pWDICtx,
3207 WDI_EventInfoType* pEventData
3208);
3209
3210
3211/**
3212 @brief Process Close Rsp function (called when a response
3213 is being received over the bus from HAL)
3214
3215 @param pWDICtx: pointer to the WLAN DAL context
3216 pEventData: pointer to the event information structure
3217
3218 @see
3219 @return Result of the function call
3220*/
3221WDI_Status
3222WDI_ProcessCloseRsp
3223(
3224 WDI_ControlBlockType* pWDICtx,
3225 WDI_EventInfoType* pEventData
3226);
3227
3228/**
3229 @brief Process Shutdown Rsp function
3230 There is no shutdown response comming from HAL
3231 - function just kept for simmetry
3232
3233 @param pWDICtx: pointer to the WLAN DAL context
3234 pEventData: pointer to the event information structure
3235
3236 @see
3237 @return Result of the function call
3238*/
3239WDI_Status
3240WDI_ProcessShutdownRsp
3241(
3242 WDI_ControlBlockType* pWDICtx,
3243 WDI_EventInfoType* pEventData
3244);
3245
3246/**
3247 @brief Process Init Scan Rsp function (called when a response
3248 is being received over the bus from HAL)
3249
3250 @param pWDICtx: pointer to the WLAN DAL context
3251 pEventData: pointer to the event information structure
3252
3253 @see
3254 @return Result of the function call
3255*/
3256WDI_Status
3257WDI_ProcessInitScanRsp
3258(
3259 WDI_ControlBlockType* pWDICtx,
3260 WDI_EventInfoType* pEventData
3261);
3262
3263
3264/**
3265 @brief Process Start Scan Rsp function (called when a response
3266 is being received over the bus from HAL)
3267
3268 @param pWDICtx: pointer to the WLAN DAL context
3269 pEventData: pointer to the event information structure
3270
3271 @see
3272 @return Result of the function call
3273*/
3274WDI_Status
3275WDI_ProcessStartScanRsp
3276(
3277 WDI_ControlBlockType* pWDICtx,
3278 WDI_EventInfoType* pEventData
3279);
3280
3281
3282/**
3283 @brief Process End Scan Response function (called when a
3284 response is being received over the bus from HAL)
3285
3286 @param pWDICtx: pointer to the WLAN DAL context
3287 pEventData: pointer to the event information structure
3288
3289 @see
3290 @return Result of the function call
3291*/
3292WDI_Status
3293WDI_ProcessEndScanRsp
3294(
3295 WDI_ControlBlockType* pWDICtx,
3296 WDI_EventInfoType* pEventData
3297);
3298
3299
3300/**
3301 @brief Process Finish Scan Response function (called when a
3302 response is being received over the bus from HAL)
3303
3304 @param pWDICtx: pointer to the WLAN DAL context
3305 pEventData: pointer to the event information structure
3306
3307 @see
3308 @return Result of the function call
3309*/
3310WDI_Status
3311WDI_ProcessFinishScanRsp
3312(
3313 WDI_ControlBlockType* pWDICtx,
3314 WDI_EventInfoType* pEventData
3315);
3316
3317
3318/**
3319 @brief Process Join Response function (called when a response
3320 is being received over the bus from HAL)
3321
3322 @param pWDICtx: pointer to the WLAN DAL context
3323 pEventData: pointer to the event information structure
3324
3325 @see
3326 @return Result of the function call
3327*/
3328WDI_Status
3329WDI_ProcessJoinRsp
3330(
3331 WDI_ControlBlockType* pWDICtx,
3332 WDI_EventInfoType* pEventData
3333);
3334
3335
3336/**
3337 @brief Process Config BSS Response function (called when a
3338 response is being received over the bus from HAL)
3339
3340 @param pWDICtx: pointer to the WLAN DAL context
3341 pEventData: pointer to the event information structure
3342
3343 @see
3344 @return Result of the function call
3345*/
3346WDI_Status
3347WDI_ProcessConfigBSSRsp
3348(
3349 WDI_ControlBlockType* pWDICtx,
3350 WDI_EventInfoType* pEventData
3351);
3352
3353
3354/**
3355 @brief Process Del BSS Response function (called when a response
3356 is being received over the bus from HAL)
3357
3358 @param pWDICtx: pointer to the WLAN DAL context
3359 pEventData: pointer to the event information structure
3360
3361 @see
3362 @return Result of the function call
3363*/
3364WDI_Status
3365WDI_ProcessDelBSSRsp
3366(
3367 WDI_ControlBlockType* pWDICtx,
3368 WDI_EventInfoType* pEventData
3369);
3370
3371/**
3372 @brief Process Post Assoc Rsp function (called when a response
3373 is being received over the bus from HAL)
3374
3375 @param pWDICtx: pointer to the WLAN DAL context
3376 pEventData: pointer to the event information structure
3377
3378 @see
3379 @return Result of the function call
3380*/
3381WDI_Status
3382WDI_ProcessPostAssocRsp
3383(
3384 WDI_ControlBlockType* pWDICtx,
3385 WDI_EventInfoType* pEventData
3386);
3387
3388/**
3389 @brief Process Del STA Key Rsp 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_ProcessDelSTARsp
3400(
3401 WDI_ControlBlockType* pWDICtx,
3402 WDI_EventInfoType* pEventData
3403);
3404
3405/**
3406 @brief Process Set BSS Key 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_ProcessSetBssKeyRsp
3417(
3418 WDI_ControlBlockType* pWDICtx,
3419 WDI_EventInfoType* pEventData
3420);
3421
3422/**
3423 @brief Process Remove BSS 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_ProcessRemoveBssKeyRsp
3434(
3435 WDI_ControlBlockType* pWDICtx,
3436 WDI_EventInfoType* pEventData
3437);
3438
3439
3440/**
3441 @brief Process Set STA Key Rsp function (called when a response
3442 is being received over the bus from HAL)
3443
3444 @param pWDICtx: pointer to the WLAN DAL context
3445 pEventData: pointer to the event information structure
3446
3447 @see
3448 @return Result of the function call
3449*/
3450WDI_Status
3451WDI_ProcessSetStaKeyRsp
3452(
3453 WDI_ControlBlockType* pWDICtx,
3454 WDI_EventInfoType* pEventData
3455);
3456
3457/**
3458 @brief Process Remove STA Key Rsp function (called when a
3459 response is being received over the bus from HAL)
3460
3461 @param pWDICtx: pointer to the WLAN DAL context
3462 pEventData: pointer to the event information structure
3463
3464 @see
3465 @return Result of the function call
3466*/
3467WDI_Status
3468WDI_ProcessRemoveStaKeyRsp
3469(
3470 WDI_ControlBlockType* pWDICtx,
3471 WDI_EventInfoType* pEventData
3472);
3473
3474
3475/**
3476 @brief Process Set STA Bcast Key Rsp function (called when a
3477 response is being received over the bus from HAL)
3478
3479 @param pWDICtx: pointer to the WLAN DAL context
3480 pEventData: pointer to the event information structure
3481
3482 @see
3483 @return Result of the function call
3484*/
3485WDI_Status
3486WDI_ProcessSetStaBcastKeyRsp
3487(
3488 WDI_ControlBlockType* pWDICtx,
3489 WDI_EventInfoType* pEventData
3490);
3491
3492/**
3493 @brief Process Remove STA Bcast Key Rsp function (called when a
3494 response is being received over the bus from HAL)
3495
3496 @param pWDICtx: pointer to the WLAN DAL context
3497 pEventData: pointer to the event information structure
3498
3499 @see
3500 @return Result of the function call
3501*/
3502WDI_Status
3503WDI_ProcessRemoveStaBcastKeyRsp
3504(
3505 WDI_ControlBlockType* pWDICtx,
3506 WDI_EventInfoType* pEventData
3507);
3508
3509/**
3510 @brief Process Add TSpec Rsp function (called when a response
3511 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_ProcessAddTSpecRsp
3521(
3522 WDI_ControlBlockType* pWDICtx,
3523 WDI_EventInfoType* pEventData
3524);
3525
3526
3527/**
3528 @brief Process Del TSpec Rsp function (called when a response
3529 is being received over the bus from HAL)
3530
3531 @param pWDICtx: pointer to the WLAN DAL context
3532 pEventData: pointer to the event information structure
3533
3534 @see
3535 @return Result of the function call
3536*/
3537WDI_Status
3538WDI_ProcessDelTSpecRsp
3539(
3540 WDI_ControlBlockType* pWDICtx,
3541 WDI_EventInfoType* pEventData
3542);
3543
3544/**
3545 @brief Process Update EDCA Parameters Rsp function (called when a
3546 response is being received over the bus from HAL)
3547
3548 @param pWDICtx: pointer to the WLAN DAL context
3549 pEventData: pointer to the event information structure
3550
3551 @see
3552 @return Result of the function call
3553*/
3554WDI_Status
3555WDI_ProcessUpdateEDCAParamsRsp
3556(
3557 WDI_ControlBlockType* pWDICtx,
3558 WDI_EventInfoType* pEventData
3559);
3560
3561
3562/**
3563 @brief Process Add BA Rsp function (called when a response
3564 is being received over the bus from HAL)
3565
3566 @param pWDICtx: pointer to the WLAN DAL context
3567 pEventData: pointer to the event information structure
3568
3569 @see
3570 @return Result of the function call
3571*/
3572WDI_Status
3573WDI_ProcessAddBASessionRsp
3574(
3575 WDI_ControlBlockType* pWDICtx,
3576 WDI_EventInfoType* pEventData
3577);
3578
3579
3580/**
3581 @brief Process Del BA Rsp function (called when a response
3582 is being received over the bus from HAL)
3583
3584 @param pWDICtx: pointer to the WLAN DAL context
3585 pEventData: pointer to the event information structure
3586
3587 @see
3588 @return Result of the function call
3589*/
3590WDI_Status
3591WDI_ProcessDelBARsp
3592(
3593 WDI_ControlBlockType* pWDICtx,
3594 WDI_EventInfoType* pEventData
3595);
3596
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08003597#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -07003598/**
3599 @brief Process TSM stats Rsp function (called when a response
3600 is being received over the bus from HAL)
3601
3602 @param pWDICtx: pointer to the WLAN DAL context
3603 pEventData: pointer to the event information structure
3604
3605 @see
3606 @return Result of the function call
3607*/
3608WDI_Status
3609WDI_ProcessTsmStatsRsp
3610(
3611 WDI_ControlBlockType* pWDICtx,
3612 WDI_EventInfoType* pEventData
3613);
3614
3615#endif
3616
3617
3618/**
3619 @brief Process Channel Switch Rsp function (called when a response
3620 is being received over the bus from HAL)
3621
3622 @param pWDICtx: pointer to the WLAN DAL context
3623 pEventData: pointer to the event information structure
3624
3625 @see
3626 @return Result of the function call
3627*/
3628WDI_Status
3629WDI_ProcessChannelSwitchRsp
3630(
3631 WDI_ControlBlockType* pWDICtx,
3632 WDI_EventInfoType* pEventData
3633);
3634
Kalikinkar dhara1e83b772014-02-06 12:59:22 -08003635/**
3636 @brief Process Channel Switch Rsp function (called when a response
3637 is being received over the bus from HAL)
3638
3639 @param pWDICtx: pointer to the WLAN DAL context
3640 pEventData: pointer to the event information structure
3641
3642 @see
3643 @return Result of the function call
3644*/
3645WDI_Status
3646WDI_ProcessChannelSwitchRsp_V1
3647(
3648 WDI_ControlBlockType* pWDICtx,
3649 WDI_EventInfoType* pEventData
3650);
Jeff Johnson295189b2012-06-20 16:38:30 -07003651
3652/**
3653 @brief Process Config STA 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_ProcessConfigStaRsp
3664(
3665 WDI_ControlBlockType* pWDICtx,
3666 WDI_EventInfoType* pEventData
3667);
3668
3669
3670/**
3671 @brief Process Set Link State Rsp function (called when a
3672 response is being received over the bus from HAL)
3673
3674 @param pWDICtx: pointer to the WLAN DAL context
3675 pEventData: pointer to the event information structure
3676
3677 @see
3678 @return Result of the function call
3679*/
3680WDI_Status
3681WDI_ProcessSetLinkStateRsp
3682(
3683 WDI_ControlBlockType* pWDICtx,
3684 WDI_EventInfoType* pEventData
3685);
3686
3687/**
Manjunathappa Prakash86f78ca2014-02-10 18:09:15 -08003688 @brief Process Update Channel Rsp function (called when a response is
3689 being received over the bus from HAL)
3690
3691 @param pWDICtx: pointer to the WLAN DAL context
3692 pEventData: pointer to the event information structure
3693
3694 @see
3695 @return Result of the function call
3696*/
3697WDI_Status
3698WDI_ProcessUpdateChanRsp
3699(
3700 WDI_ControlBlockType* pWDICtx,
3701 WDI_EventInfoType* pEventData
3702);
3703
3704/**
Jeff Johnson295189b2012-06-20 16:38:30 -07003705 @brief Process Get Stats Rsp function (called when a response is
3706 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_ProcessGetStatsRsp
3716(
3717 WDI_ControlBlockType* pWDICtx,
3718 WDI_EventInfoType* pEventData
3719);
3720
3721
3722/**
3723 @brief Process Update Cfg Rsp function (called when a response is
3724 being received over the bus from HAL)
3725
3726 @param pWDICtx: pointer to the WLAN DAL context
3727 pEventData: pointer to the event information structure
3728
3729 @see
3730 @return Result of the function call
3731*/
3732WDI_Status
3733WDI_ProcessUpdateCfgRsp
3734(
3735 WDI_ControlBlockType* pWDICtx,
3736 WDI_EventInfoType* pEventData
3737);
3738
3739/**
3740 @brief Process Add BA Rsp function (called when a response
3741 is being received over the bus from HAL)
3742
3743 @param pWDICtx: pointer to the WLAN DAL context
3744 pEventData: pointer to the event information structure
3745
3746 @see
3747 @return Result of the function call
3748*/
3749WDI_Status
3750WDI_ProcessAddBARsp
3751(
3752 WDI_ControlBlockType* pWDICtx,
3753 WDI_EventInfoType* pEventData
3754);
3755
3756/**
3757 @brief Process Add BA Rsp function (called when a response
3758 is 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_ProcessTriggerBARsp
3768(
3769 WDI_ControlBlockType* pWDICtx,
3770 WDI_EventInfoType* pEventData
3771);
3772
3773/**
3774 @brief Process Update Beacon Params Rsp function (called when a response is
3775 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_ProcessUpdateBeaconParamsRsp
3785(
3786 WDI_ControlBlockType* pWDICtx,
3787 WDI_EventInfoType* pEventData
3788);
3789
3790/**
3791 @brief Process Send Beacon template Rsp function (called when a response is
3792 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_ProcessSendBeaconParamsRsp
3802(
3803 WDI_ControlBlockType* pWDICtx,
3804 WDI_EventInfoType* pEventData
3805);
3806
3807/**
3808 @brief Process Update Probe Resp Template Rsp function (called
3809 when a response is 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_ProcessUpdateProbeRspTemplateRsp
3819(
3820 WDI_ControlBlockType* pWDICtx,
3821 WDI_EventInfoType* pEventData
3822);
3823 /**
3824 @brief Process Set Max Tx Power Rsp function (called when a response
3825 is being received over the bus from HAL)
3826
3827 @param pWDICtx: pointer to the WLAN DAL context
3828 pEventData: pointer to the event information structure
3829
3830 @see
3831 @return Result of the function call
3832*/
3833WDI_Status
3834WDI_ProcessSetMaxTxPowerRsp
3835(
3836 WDI_ControlBlockType* pWDICtx,
3837 WDI_EventInfoType* pEventData
3838);
3839
Arif Hussain935a8fb2014-01-31 12:12:28 -08003840/**
3841 @brief Process Set Max Tx Power Per Band Rsp function (called when a response
3842 is being received over the bus from HAL)
3843
3844 @param pWDICtx: pointer to the WLAN DAL context
3845 pEventData: pointer to the event information structure
3846
3847 @see
3848 @return Result of the function call
3849*/
3850WDI_Status
3851WDI_ProcessSetMaxTxPowerPerBandRsp
3852(
3853 WDI_ControlBlockType* pWDICtx,
3854 WDI_EventInfoType* pEventData
3855);
3856
schang86c22c42013-03-13 18:41:24 -07003857 /**
3858 @brief Process Set 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_ProcessSetTxPowerRsp
3869(
3870 WDI_ControlBlockType* pWDICtx,
3871 WDI_EventInfoType* pEventData
3872);
3873
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05303874 /**
3875 @brief Process TDLS Link Establish Req 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_ProcessLinkEstablishReqRsp
3886(
3887 WDI_ControlBlockType* pWDICtx,
3888 WDI_EventInfoType* pEventData
3889);
3890
Atul Mittalc0f739f2014-07-31 13:47:47 +05303891
3892 /**
3893 @brief Process TDLS Chan Switch Req Rsp function (called when a response
3894 is being received over the bus from HAL)
3895
3896 @param pWDICtx: pointer to the WLAN DAL context
3897 pEventData: pointer to the event information structure
3898
3899 @see
3900 @return Result of the function call
3901*/
3902WDI_Status
3903WDI_ProcessChanSwitchReqRsp
3904(
3905 WDI_ControlBlockType* pWDICtx,
3906 WDI_EventInfoType* pEventData
3907);
3908
Jeff Johnson295189b2012-06-20 16:38:30 -07003909/**
3910 @brief Process Nv download(called when a response
3911 is being received over the bus from HAL)
3912
3913 @param pWDICtx: pointer to the WLAN DAL context
3914 pEventData: pointer to the event information structure
3915
3916 @see
3917 @return Result of the function call
3918*/
3919WDI_Status
3920WDI_ProcessNvDownloadRsp
3921(
3922 WDI_ControlBlockType* pWDICtx,
3923 WDI_EventInfoType* pEventData
3924);
3925
Jeff Johnson295189b2012-06-20 16:38:30 -07003926/**
3927 @brief Process P2P Group Owner Notice Of Absense Rsp function (called
3928 when a response 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_ProcessP2PGONOARsp
3938(
3939 WDI_ControlBlockType* pWDICtx,
3940 WDI_EventInfoType* pEventData
3941);
Jeff Johnson295189b2012-06-20 16:38:30 -07003942
3943/**
3944 @brief Process Enter IMPS Rsp function (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_ProcessEnterImpsRsp
3955(
3956 WDI_ControlBlockType* pWDICtx,
3957 WDI_EventInfoType* pEventData
3958);
3959
3960/**
3961 @brief Process Exit IMPS Rsp function (called when a response
3962 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_ProcessExitImpsRsp
3972(
3973 WDI_ControlBlockType* pWDICtx,
3974 WDI_EventInfoType* pEventData
3975);
3976
3977/**
3978 @brief Process Enter BMPS 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_ProcessEnterBmpsRsp
3989(
3990 WDI_ControlBlockType* pWDICtx,
3991 WDI_EventInfoType* pEventData
3992);
3993
3994/**
3995 @brief Process Exit BMPS 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_ProcessExitBmpsRsp
4006(
4007 WDI_ControlBlockType* pWDICtx,
4008 WDI_EventInfoType* pEventData
4009);
4010
4011/**
4012 @brief Process Enter UAPSD 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_ProcessEnterUapsdRsp
4023(
4024 WDI_ControlBlockType* pWDICtx,
4025 WDI_EventInfoType* pEventData
4026);
4027
4028/**
4029 @brief Process Exit UAPSD 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_ProcessExitUapsdRsp
4040(
4041 WDI_ControlBlockType* pWDICtx,
4042 WDI_EventInfoType* pEventData
4043);
4044
4045/**
4046 @brief Process set UAPSD params Rsp function (called when a
4047 response 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_ProcessSetUapsdAcParamsRsp
4057(
4058 WDI_ControlBlockType* pWDICtx,
4059 WDI_EventInfoType* pEventData
4060);
4061
4062/**
4063 @brief Process update UAPSD params Rsp function (called when a
4064 response 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_ProcessUpdateUapsdParamsRsp
4074(
4075 WDI_ControlBlockType* pWDICtx,
4076 WDI_EventInfoType* pEventData
4077);
4078
4079/**
4080 @brief Process Configure RXP filter 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_ProcessConfigureRxpFilterRsp
4091(
4092 WDI_ControlBlockType* pWDICtx,
4093 WDI_EventInfoType* pEventData
4094);
4095
4096/**
4097 @brief Process Set beacon filter 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_ProcessSetBeaconFilterRsp
4108(
4109 WDI_ControlBlockType* pWDICtx,
4110 WDI_EventInfoType* pEventData
4111);
4112
4113/**
4114 @brief Process remove beacon 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_ProcessRemBeaconFilterRsp
4125(
4126 WDI_ControlBlockType* pWDICtx,
4127 WDI_EventInfoType* pEventData
4128);
4129
4130/**
4131 @brief Process set RSSI thresholds 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_ProcessSetRSSIThresoldsRsp
4142(
4143 WDI_ControlBlockType* pWDICtx,
4144 WDI_EventInfoType* pEventData
4145);
4146
4147/**
4148 @brief Process host offload 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_ProcessHostOffloadRsp
4159(
4160 WDI_ControlBlockType* pWDICtx,
4161 WDI_EventInfoType* pEventData
4162);
4163
4164/**
4165 @brief Process Keep Alive 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_ProcessKeepAliveRsp
4176(
4177 WDI_ControlBlockType* pWDICtx,
4178 WDI_EventInfoType* pEventData
4179);
4180
4181
4182/**
4183 @brief Process wowl add ptrn Rsp function (called when a
4184 response is being received over the bus from HAL)
4185
4186 @param pWDICtx: pointer to the WLAN DAL context
4187 pEventData: pointer to the event information structure
4188
4189 @see
4190 @return Result of the function call
4191*/
4192WDI_Status
4193WDI_ProcessWowlAddBcPtrnRsp
4194(
4195 WDI_ControlBlockType* pWDICtx,
4196 WDI_EventInfoType* pEventData
4197);
4198
4199/**
4200 @brief Process wowl delete ptrn Rsp function (called when a
4201 response is being received over the bus from HAL)
4202
4203 @param pWDICtx: pointer to the WLAN DAL context
4204 pEventData: pointer to the event information structure
4205
4206 @see
4207 @return Result of the function call
4208*/
4209WDI_Status
4210WDI_ProcessWowlDelBcPtrnRsp
4211(
4212 WDI_ControlBlockType* pWDICtx,
4213 WDI_EventInfoType* pEventData
4214);
4215
4216/**
4217 @brief Process wowl enter Rsp function (called when a response
4218 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_ProcessWowlEnterRsp
4228(
4229 WDI_ControlBlockType* pWDICtx,
4230 WDI_EventInfoType* pEventData
4231);
4232
4233/**
4234 @brief Process wowl exit Rsp function (called when a response
4235 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_ProcessWowlExitRsp
4245(
4246 WDI_ControlBlockType* pWDICtx,
4247 WDI_EventInfoType* pEventData
4248);
4249
4250/**
4251 @brief Process Configure Apps CPU wakeup State Rsp function
4252 (called when a response is being received over the bus
4253 from HAL)
4254
4255 @param pWDICtx: pointer to the WLAN DAL context
4256 pEventData: pointer to the event information structure
4257
4258 @see
4259 @return Result of the function call
4260*/
4261WDI_Status
4262WDI_ProcessConfigureAppsCpuWakeupStateRsp
4263(
4264 WDI_ControlBlockType* pWDICtx,
4265 WDI_EventInfoType* pEventData
4266);
4267/**
4268 @brief Process Flush AC 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_ProcessFlushAcRsp
4279(
4280 WDI_ControlBlockType* pWDICtx,
4281 WDI_EventInfoType* pEventData
4282);
4283
4284/**
4285 @brief Process BT AMP event Rsp function (called when a
4286 response is being received over the bus from HAL)
4287
4288 @param pWDICtx: pointer to the WLAN DAL context
4289 pEventData: pointer to the event information structure
4290
4291 @see
4292 @return Result of the function call
4293*/
4294WDI_Status
4295WDI_ProcessBtAmpEventRsp
4296(
4297 WDI_ControlBlockType* pWDICtx,
4298 WDI_EventInfoType* pEventData
4299);
4300
4301/**
4302 @brief Process ADD SELF STA Rsp function (called
4303 when a response 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_ProcessAddSTASelfRsp
4313(
4314 WDI_ControlBlockType* pWDICtx,
4315 WDI_EventInfoType* pEventData
4316);
4317
4318 /**
4319 @brief WDI_ProcessDelSTASelfRsp 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_ProcessDelSTASelfRsp
4330(
4331 WDI_ControlBlockType* pWDICtx,
4332 WDI_EventInfoType* pEventData
4333);
4334
Jeff Johnsone7245742012-09-05 17:12:55 -07004335#ifdef FEATURE_OEM_DATA_SUPPORT
4336/**
4337 @brief Start Oem Data Rsp function (called when a
4338 response is being received over the bus from HAL)
4339
4340 @param pWDICtx: pointer to the WLAN DAL context
4341 pEventData: pointer to the event information structure
4342
4343 @see
4344 @return Result of the function call
4345*/
4346WDI_Status
4347WDI_ProcessStartOemDataRsp
4348(
4349 WDI_ControlBlockType* pWDICtx,
4350 WDI_EventInfoType* pEventData
4351);
4352#endif
Jeff Johnson295189b2012-06-20 16:38:30 -07004353
4354 /**
4355 @brief WDI_ProcessHostResumeRsp function (called when a
4356 response is being received over the bus from HAL)
4357
4358 @param pWDICtx: pointer to the WLAN DAL context
4359 pEventData: pointer to the event information structure
4360
4361 @see
4362 @return Result of the function call
4363*/
4364WDI_Status
4365WDI_ProcessHostResumeRsp
4366(
4367 WDI_ControlBlockType* pWDICtx,
4368 WDI_EventInfoType* pEventData
4369);
4370
4371/**
4372 @brief Process set tx per tracking Rsp function (called when a
4373 response is being received over the bus from HAL)
4374
4375 @param pWDICtx: pointer to the WLAN DAL context
4376 pEventData: pointer to the event information structure
4377
4378 @see
4379 @return Result of the function call
4380*/
4381WDI_Status
4382WDI_ProcessSetTxPerTrackingRsp
4383(
4384 WDI_ControlBlockType* pWDICtx,
4385 WDI_EventInfoType* pEventData
4386);
4387
4388/**
4389 @brief Process Power Params Rsp 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_ProcessSetPowerParamsRsp
4400(
4401 WDI_ControlBlockType* pWDICtx,
4402 WDI_EventInfoType* pEventData
4403);
4404
4405/**
4406 @brief Process Set TM Level 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_ProcessSetTmLevelRsp
4417(
4418 WDI_ControlBlockType* pWDICtx,
4419 WDI_EventInfoType* pEventData
4420);
4421
4422/*==========================================================================
4423 Indications from HAL
4424 ==========================================================================*/
4425/**
4426 @brief Process Low RSSI Indication function (called when an
4427 indication of this kind is being received over the bus
4428 from HAL)
4429
4430 @param pWDICtx: pointer to the WLAN DAL context
4431 pEventData: pointer to the event information structure
4432
4433 @see
4434 @return Result of the function call
4435*/
4436WDI_Status
4437WDI_ProcessLowRSSIInd
4438(
4439 WDI_ControlBlockType* pWDICtx,
4440 WDI_EventInfoType* pEventData
4441);
4442
4443/**
4444 @brief Process Missed Beacon Indication function (called when
4445 an indication of this kind is being received over the
4446 bus from HAL)
4447
4448 @param pWDICtx: pointer to the WLAN DAL context
4449 pEventData: pointer to the event information structure
4450
4451 @see
4452 @return Result of the function call
4453*/
4454WDI_Status
4455WDI_ProcessMissedBeaconInd
4456(
4457 WDI_ControlBlockType* pWDICtx,
4458 WDI_EventInfoType* pEventData
4459);
4460
4461
4462/**
4463 @brief Process Unk Addr Frame Indication function (called when
4464 an indication of this kind is being received over the
4465 bus from HAL)
4466
4467 @param pWDICtx: pointer to the WLAN DAL context
4468 pEventData: pointer to the event information structure
4469
4470 @see
4471 @return Result of the function call
4472*/
4473WDI_Status
4474WDI_ProcessUnkAddrFrameInd
4475(
4476 WDI_ControlBlockType* pWDICtx,
4477 WDI_EventInfoType* pEventData
4478);
4479
4480
4481/**
4482 @brief Process MIC Failure Indication function (called when an
4483 indication of this kind is being received over the bus
4484 from HAL)
4485
4486 @param pWDICtx: pointer to the WLAN DAL context
4487 pEventData: pointer to the event information structure
4488
4489 @see
4490 @return Result of the function call
4491*/
4492WDI_Status
4493WDI_ProcessMicFailureInd
4494(
4495 WDI_ControlBlockType* pWDICtx,
4496 WDI_EventInfoType* pEventData
4497);
4498
4499/**
4500 @brief Process Fatal Failure Indication function (called when
4501 an indication of this kind is being received over the
4502 bus from HAL)
4503
4504 @param pWDICtx: pointer to the WLAN DAL context
4505 pEventData: pointer to the event information structure
4506
4507 @see
4508 @return Result of the function call
4509*/
4510WDI_Status
4511WDI_ProcessFatalErrorInd
4512(
4513 WDI_ControlBlockType* pWDICtx,
4514 WDI_EventInfoType* pEventData
4515);
4516
4517/**
4518 @brief Process Delete STA Indication function (called when
4519 an indication of this kind is being received over the
4520 bus from HAL)
4521
4522 @param pWDICtx: pointer to the WLAN DAL context
4523 pEventData: pointer to the event information structure
4524
4525 @see
4526 @return Result of the function call
4527*/
4528WDI_Status
4529WDI_ProcessDelSTAInd
4530(
4531 WDI_ControlBlockType* pWDICtx,
4532 WDI_EventInfoType* pEventData
4533);
4534
4535/**
4536*@brief Process Coex Indication function (called when
4537 an indication of this kind is being received over the
4538 bus from HAL)
4539
4540 @param pWDICtx: pointer to the WLAN DAL context
4541 pEventData: pointer to the event information structure
4542
4543 @see
4544 @return Result of the function call
4545*/
4546WDI_Status
4547WDI_ProcessCoexInd
4548(
4549 WDI_ControlBlockType* pWDICtx,
4550 WDI_EventInfoType* pEventData
4551);
4552
4553/**
4554*@brief Process Tx Complete Indication function (called when
4555 an indication of this kind is being received over the
4556 bus from HAL)
4557
4558 @param pWDICtx: pointer to the WLAN DAL context
4559 pEventData: pointer to the event information structure
4560
4561 @see
4562 @return Result of the function call
4563*/
4564WDI_Status
4565WDI_ProcessTxCompleteInd
4566(
4567 WDI_ControlBlockType* pWDICtx,
4568 WDI_EventInfoType* pEventData
4569);
4570
Jeff Johnson295189b2012-06-20 16:38:30 -07004571/**
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +05304572*@brief Process Tdls Indication function (called when
4573 an indication of this kind is being received over the
4574 bus from HAL)
4575
4576 @param pWDICtx: pointer to the WLAN DAL context
4577 pEventData: pointer to the event information structure
4578
4579 @see
4580 @return Result of the function call
4581*/
4582WDI_Status
4583WDI_ProcessTdlsInd
4584(
4585 WDI_ControlBlockType* pWDICtx,
4586 WDI_EventInfoType* pEventData
4587);
4588
4589/**
Viral Modid86bde22012-12-10 13:09:21 -08004590*@brief Process Noa Start Indication function (called when
4591 an indication of this kind is being received over the
4592 bus from HAL)
4593
4594 @param pWDICtx: pointer to the WLAN DAL context
4595 pEventData: pointer to the event information structure
4596
4597 @see
4598 @return Result of the function call
4599*/
4600WDI_Status
4601WDI_ProcessP2pNoaStartInd
4602(
4603 WDI_ControlBlockType* pWDICtx,
4604 WDI_EventInfoType* pEventData
4605);
4606
4607/**
Jeff Johnson295189b2012-06-20 16:38:30 -07004608*@brief Process Noa Attr Indication function (called when
4609 an indication of this kind is being received over the
4610 bus from HAL)
4611
4612 @param pWDICtx: pointer to the WLAN DAL context
4613 pEventData: pointer to the event information structure
4614
4615 @see
4616 @return Result of the function call
4617*/
4618WDI_Status
4619WDI_ProcessP2pNoaAttrInd
4620(
4621 WDI_ControlBlockType* pWDICtx,
4622 WDI_EventInfoType* pEventData
4623);
Jeff Johnson295189b2012-06-20 16:38:30 -07004624
4625/**
4626*@brief Process Tx Per Hit Indication function (called when
4627 an indication of this kind is being received over the
4628 bus from HAL)
4629
4630 @param pWDICtx: pointer to the WLAN DAL context
4631 pEventData: pointer to the event information structure
4632
4633 @see
4634 @return Result of the function call
4635*/
4636WDI_Status
4637WDI_ProcessTxPerHitInd
4638(
4639 WDI_ControlBlockType* pWDICtx,
4640 WDI_EventInfoType* pEventData
4641);
4642
Leo Chang9056f462013-08-01 19:21:11 -07004643#ifdef FEATURE_WLAN_LPHB
4644/**
Leo Changd9df8aa2013-09-26 13:32:26 -07004645 @brief WDI_ProcessLphbInd -
Leo Chang9056f462013-08-01 19:21:11 -07004646 This function will be invoked when FW detects low power
4647 heart beat failure
4648
4649 @param pWDICtx : wdi context
4650 pEventData : indication data
4651
4652 @see
4653 @return Result of the function call
4654*/
4655WDI_Status
Leo Changd9df8aa2013-09-26 13:32:26 -07004656WDI_ProcessLphbInd
Leo Chang9056f462013-08-01 19:21:11 -07004657(
4658 WDI_ControlBlockType* pWDICtx,
4659 WDI_EventInfoType* pEventData
4660);
4661#endif /* FEATURE_WLAN_LPHB */
4662
Yue Mab9c86f42013-08-14 15:59:08 -07004663/**
4664 @brief Process Periodic Tx Pattern Fw Indication function
4665
4666 @param pWDICtx: pointer to the WLAN DAL context
4667 pEventData: pointer to the event information structure
4668
4669 @see
4670 @return Result of the function call
4671*/
4672WDI_Status
4673WDI_ProcessPeriodicTxPtrnFwInd
4674(
4675 WDI_ControlBlockType* pWDICtx,
4676 WDI_EventInfoType* pEventData
4677);
4678
Jeff Johnson295189b2012-06-20 16:38:30 -07004679#ifdef WLAN_FEATURE_VOWIFI_11R
4680/**
4681 @brief Process Aggrgated Add TSpec Request function (called when Main FSM
4682 allows it)
4683
4684 @param pWDICtx: pointer to the WLAN DAL context
4685 pEventData: pointer to the event information structure
4686
4687 @see
4688 @return Result of the function call
4689*/
4690WDI_Status
4691WDI_ProcessAggrAddTSpecReq
4692(
4693 WDI_ControlBlockType* pWDICtx,
4694 WDI_EventInfoType* pEventData
4695);
4696
4697/**
4698 @brief Process Add TSpec Rsp function (called when a response
4699 is being received over the bus from HAL)
4700
4701 @param pWDICtx: pointer to the WLAN DAL context
4702 pEventData: pointer to the event information structure
4703
4704 @see
4705 @return Result of the function call
4706*/
4707WDI_Status
4708WDI_ProcessAggrAddTSpecRsp
4709(
4710 WDI_ControlBlockType* pWDICtx,
4711 WDI_EventInfoType* pEventData
4712);
4713
4714#endif /* WLAN_FEATURE_VOWIFI_11R */
4715
Jeff Johnson295189b2012-06-20 16:38:30 -07004716/**
4717 @brief WDI_ProcessFTMCommandReq
4718 Process FTM Command, simply route to HAL
4719
4720 @param pWDICtx: pointer to the WLAN DAL context
4721 pEventData: pointer to the event information structure
4722
4723 @see
4724 @return Result of the function call
4725*/
4726WDI_Status
4727WDI_ProcessFTMCommandReq
4728(
4729 WDI_ControlBlockType* pWDICtx,
4730 WDI_EventInfoType* pEventData
4731);
4732
4733/**
4734 @brief WDI_ProcessFTMCommandRsp
4735 Process FTM Command Response from HAL, simply route to HDD FTM
4736
4737 @param pWDICtx: pointer to the WLAN DAL context
4738 pEventData: pointer to the event information structure
4739
4740 @see
4741 @return Result of the function call
4742*/
4743WDI_Status
4744WDI_ProcessFTMCommandRsp
4745(
4746 WDI_ControlBlockType* pWDICtx,
4747 WDI_EventInfoType* pEventData
4748);
Jeff Johnson295189b2012-06-20 16:38:30 -07004749/**
4750 @brief WDI_ProcessHALDumpCmdReq
4751 Process Hal Dump Command, simply route to HAL
4752
4753 @param pWDICtx: pointer to the WLAN DAL context
4754 pEventData: pointer to the event information structure
4755
4756 @see
4757 @return Result of the function call
4758*/
4759WDI_Status
4760WDI_ProcessHALDumpCmdReq
4761(
4762 WDI_ControlBlockType* pWDICtx,
4763 WDI_EventInfoType* pEventData
4764);
4765
4766/**
4767 @brief WDI_ProcessHALDumpCmdRsp
4768 Process Hal Dump Command Response from HAL, simply route to HDD FTM
4769
4770 @param pWDICtx: pointer to the WLAN DAL context
4771 pEventData: pointer to the event information structure
4772
4773 @see
4774 @return Result of the function call
4775*/
4776WDI_Status
4777WDI_ProcessHALDumpCmdRsp
4778(
4779 WDI_ControlBlockType* pWDICtx,
4780 WDI_EventInfoType* pEventData
4781);
Ravi Joshid2ca7c42013-07-23 08:37:49 -07004782
4783/**
4784 @brief WDI_ProcessIbssPeerInactivityInd
4785 Process peer inactivity indication coming from 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_ProcessIbssPeerInactivityInd
4795
4796(
4797 WDI_ControlBlockType* pWDICtx,
4798 WDI_EventInfoType* pEventData
4799);
4800
4801
Jeff Johnson295189b2012-06-20 16:38:30 -07004802/*========================================================================
4803 Internal Helper Routines
4804========================================================================*/
4805
4806/**
4807 @brief WDI_CleanCB - internal helper routine used to clean the
4808 WDI Main Control Block
4809
4810 @param pWDICtx - pointer to the control block
4811
4812 @return Result of the function call
4813*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004814WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004815WDI_CleanCB
4816(
4817 WDI_ControlBlockType* pWDICtx
4818);
4819
4820/**
4821 @brief Main FSM Close function for all states except BUSY
4822
4823
4824 @param pWDICtx: pointer to the WLAN DAL context
4825 pEventData: pointer to the event information structure
4826
4827 @see
4828 @return Result of the function call
4829*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08004830WDI_Status
Jeff Johnson295189b2012-06-20 16:38:30 -07004831WDI_ProcessRequest
4832(
4833 WDI_ControlBlockType* pWDICtx,
4834 WDI_EventInfoType* pEventData
4835);
4836
4837/**
4838 @brief Get message helper function - it allocates memory for a
4839 message that is to be sent to HAL accross the bus and
4840 prefixes it with a send message header
4841
4842 @param pWDICtx: pointer to the WLAN DAL context
4843 wdiReqType: type of the request being sent
4844 uBufferLen: message buffer len
4845 pMsgBuffer: resulting allocated buffer
4846 puDataOffset: offset in the buffer where the caller
4847 can start copying its message data
4848 puBufferSize: the resulting buffer size (offset+buff
4849 len)
4850
4851 @see
4852 @return Result of the function call
4853*/
4854WDI_Status
4855WDI_GetMessageBuffer
4856(
4857 WDI_ControlBlockType* pWDICtx,
4858 WDI_RequestEnumType wdiReqType,
4859 wpt_uint16 usBufferLen,
4860 wpt_uint8** pMsgBuffer,
4861 wpt_uint16* pusDataOffset,
4862 wpt_uint16* pusBufferSize
4863);
4864
4865/**
4866 @brief WDI_DetectedDeviceError - called internally by DAL when
4867 it has detected a failure in the device
4868
4869 @param pWDICtx: pointer to the WLAN DAL context
4870 usErrorCode: error code detected by WDI or received
4871 from HAL
4872
4873 @see
4874 @return None
4875*/
4876void
4877WDI_DetectedDeviceError
4878(
4879 WDI_ControlBlockType* pWDICtx,
4880 wpt_uint16 usErrorCode
4881);
4882
4883/*=========================================================================
4884 QUEUE SUPPORT UTILITY FUNCTIONS
4885=========================================================================*/
4886
4887/**
4888 @brief Utility function used by the DAL Core to help queue a
4889 request that cannot be processed right away.
4890 @param
4891
4892 pWDICtx: - pointer to the WDI control block
4893 pEventData: - pointer to the evnt info that needs to be
4894 queued
4895
4896 @see
4897 @return Result of the operation
4898*/
4899WDI_Status
4900WDI_QueuePendingReq
4901(
4902 WDI_ControlBlockType* pWDICtx,
4903 WDI_EventInfoType* pEventData
4904);
4905
4906/**
4907 @brief Utility function used by the DAL Core to clear any
4908 pending requests - all req cb will be called with
4909 failure and the queue will be emptied.
4910 @param
4911
4912 pWDICtx: - pointer to the WDI control block
4913
4914 @see
4915 @return Result of the operation
4916*/
4917WDI_Status
4918WDI_ClearPendingRequests
4919(
4920 WDI_ControlBlockType* pWDICtx
4921);
4922
4923/**
4924 @brief This callback is invoked by the wpt when a timer that
4925 we started on send message has expire - this should
4926 never happen - it means device is stuck and cannot
4927 reply - trigger catastrophic failure
4928 @param
4929
4930 pUserData: the callback data of the user (ptr to WDI CB)
4931
4932 @see
4933 @return None
4934*/
4935void
4936WDI_ResponseTimerCB
4937(
4938 void *pUserData
4939);
4940
4941/*==========================================================================
4942 CONTRL TRANSPORT INTERACTION
4943
4944 Callback function registered with the control transport - for receiving
4945 notifications and packets
4946==========================================================================*/
4947/**
4948 @brief This callback is invoked by the control transport
4949 when it wishes to send up a notification like the ones
4950 mentioned above.
4951
4952 @param
4953
4954 wctsHandle: handle to the control transport service
4955 wctsEvent: the event being notified
4956 wctsNotifyCBData: the callback data of the user
4957
4958 @see WCTS_OpenTransport
4959
4960 @return None
4961*/
4962void
4963WDI_NotifyMsgCTSCB
4964(
4965 WCTS_HandleType wctsHandle,
4966 WCTS_NotifyEventType wctsEvent,
4967 void* wctsNotifyCBData
4968);
4969
4970/**
4971 @brief This callback is invoked by the control transport
4972 when it wishes to send up a packet received over the
4973 bus.
4974
4975 @param
4976
4977 wctsHandle: handle to the control transport service
4978 pMsg: the packet
4979 uLen: the packet length
4980 wctsRxMsgCBData: the callback data of the user
4981
4982 @see WCTS_OpenTransport
4983
4984 @return None
4985*/
4986void
4987WDI_RXMsgCTSCB
4988(
4989 WCTS_HandleType wctsHandle,
4990 void* pMsg,
4991 wpt_uint32 uLen,
4992 void* wctsRxMsgCBData
4993);
4994
4995/**
4996 @brief Process response helper function
4997
4998
4999 @param pWDICtx: pointer to the WLAN DAL context
5000 pEventData: pointer to the event information structure
5001
5002 @see
5003 @return Result of the function call
5004*/
5005WDI_Status
5006WDI_ProcessResponse
5007(
5008 WDI_ControlBlockType* pWDICtx,
5009 WDI_EventInfoType* pEventData
5010);
5011
5012/**
5013 @brief Send message helper function - sends a message over the
5014 bus using the control tranport and saves some info in
5015 the CB
5016
5017 @param pWDICtx: pointer to the WLAN DAL context
5018 pSendBuffer: buffer to be sent
5019
5020 uSendSize size of the buffer to be sent
5021 pRspCb: response callback - save in the WDI
5022 CB
5023 pUserData: user data associated with the
5024 callback
5025 wdiExpectedResponse: the code of the response that is
5026 expected to be rx-ed for this request
5027
5028 @see
5029 @return Result of the function call
5030*/
5031WDI_Status
5032WDI_SendMsg
5033(
5034 WDI_ControlBlockType* pWDICtx,
5035 wpt_uint8* pSendBuffer,
5036 wpt_uint32 uSendSize,
5037 void* pRspCb,
5038 void* pUserData,
5039 WDI_ResponseEnumType wdiExpectedResponse
5040);
5041
5042
5043/**
5044 @brief Send indication helper function - sends a message over
5045 the bus using the control transport and saves some info
5046 in the CB
5047
5048 @param pWDICtx: pointer to the WLAN DAL context
5049 pSendBuffer: buffer to be sent
5050 usSendSize: size of the buffer to be sent
5051
5052 @see
5053 @return Result of the function call
5054*/
5055WDI_Status
5056WDI_SendIndication
5057(
5058 WDI_ControlBlockType* pWDICtx,
5059 wpt_uint8* pSendBuffer,
5060 wpt_uint32 usSendSize
5061);
5062
5063/**
5064 @brief Utility function used by the DAL Core to help dequeue
5065 and schedule for execution a pending request
5066 @param
5067
5068 pWDICtx: - pointer to the WDI control block
5069 pEventData: - pointer to the evnt info that needs to be
5070 queued
5071
5072 @see
5073 @return Result of the operation
5074*/
5075WDI_Status
5076WDI_DequeuePendingReq
5077(
5078 WDI_ControlBlockType* pWDICtx
5079);
5080
5081/**
5082 @brief Utility function used by the DAL Core to help queue
5083 an association request that cannot be processed right
5084 away.- The assoc requests will be queued by BSSID
5085 @param
5086
5087 pWDICtx: - pointer to the WDI control block
5088 pEventData: pointer to the evnt info that needs to be queued
5089 macBSSID: bssid
5090
5091 @see
5092 @return Result of the operation
5093*/
5094WDI_Status
5095WDI_QueueNewAssocRequest
5096(
5097 WDI_ControlBlockType* pWDICtx,
5098 WDI_EventInfoType* pEventData,
5099 wpt_macAddr macBSSID
5100);
5101
5102/**
5103 @brief Utility function used by the DAL Core to help queue
5104 an association request that cannot be processed right
5105 away.- The assoc requests will be queued by BSSID
5106 @param
5107
5108 pWDICtx: - pointer to the WDI control block
5109 pSession: - session in which to queue
5110 pEventData: pointer to the event info that needs to be
5111 queued
5112
5113 @see
5114 @return Result of the operation
5115*/
5116WDI_Status
5117WDI_QueueAssocRequest
5118(
5119 WDI_ControlBlockType* pWDICtx,
5120 WDI_BSSSessionType* pSession,
5121 WDI_EventInfoType* pEventData
5122);
5123
5124/**
5125 @brief Utility function used by the DAL Core to help dequeue
5126 an association request that was pending
5127 The request will be queued up in front of the main
5128 pending queue for immediate processing
5129 @param
5130
5131 pWDICtx: - pointer to the WDI control block
5132
5133
5134 @see
5135 @return Result of the operation
5136*/
5137WDI_Status
5138WDI_DequeueAssocRequest
5139(
5140 WDI_ControlBlockType* pWDICtx
5141);
5142
5143/**
5144 @brief Helper routine used to init the BSS Sessions in the WDI control block
5145
5146
5147 @param pWDICtx: pointer to the WLAN DAL context
5148
5149 @see
5150*/
5151void
5152WDI_ResetAssocSessions
5153(
5154 WDI_ControlBlockType* pWDICtx
5155);
5156
5157/**
5158 @brief Helper routine used to find an empty session in the WDI
5159 CB
5160
5161
5162 @param pWDICtx: pointer to the WLAN DAL context
5163 pSession: pointer to the session (if found)
5164
5165 @see
5166 @return Index of the session in the array
5167*/
5168wpt_uint8
5169WDI_FindEmptySession
5170(
5171 WDI_ControlBlockType* pWDICtx,
5172 WDI_BSSSessionType** ppSession
5173);
5174
5175/**
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005176 @brief Helper routine used to get the total count of active
Jeff Johnson295189b2012-06-20 16:38:30 -07005177 sessions
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005178
5179
5180 @param pWDICtx: pointer to the WLAN DAL context
5181 macBSSID: pointer to BSSID. If NULL, get all the session.
5182 If not NULL, count ActiveSession by excluding (TRUE) or including (FALSE) skipBSSID.
5183 skipBSSID: if TRUE, get all the sessions except matching to macBSSID. If FALSE, get all session.
5184 This argument is ignored if macBSSID is NULL.
Jeff Johnson295189b2012-06-20 16:38:30 -07005185 @see
5186 @return Number of sessions in use
5187*/
5188wpt_uint8
5189WDI_GetActiveSessionsCount
Hoonki Lee9af07cf2013-04-24 01:21:58 -07005190(
5191 WDI_ControlBlockType* pWDICtx,
5192 wpt_macAddr macBSSID,
5193 wpt_boolean skipBSSID
Jeff Johnson295189b2012-06-20 16:38:30 -07005194);
5195
5196/**
5197 @brief Helper routine used to delete session in the WDI
5198 CB
5199
5200
5201 @param pWDICtx: pointer to the WLAN DAL context
5202 pSession: pointer to the session (if found)
5203
5204 @see
5205 @return Index of the session in the array
5206*/
5207void
5208WDI_DeleteSession
5209(
5210 WDI_ControlBlockType* pWDICtx,
5211 WDI_BSSSessionType* ppSession
5212);
5213
5214/**
5215 @brief Helper routine used to find a session based on the BSSID
5216
5217
5218 @param pWDICtx: pointer to the WLAN DAL context
5219 macBSSID: BSSID of the session
5220 ppSession: out pointer to the session (if found)
5221
5222 @see
5223 @return Index of the session in the array
5224*/
5225wpt_uint8
5226WDI_FindAssocSession
5227(
5228 WDI_ControlBlockType* pWDICtx,
5229 wpt_macAddr macBSSID,
5230 WDI_BSSSessionType** ppSession
5231);
5232
5233
5234/**
5235 @brief Helper routine used to find a session based on the BSSID
5236
5237
5238 @param pWDICtx: pointer to the WLAN DAL context
5239 usBssIdx: BSS Index of the session
5240 ppSession: out pointer to the session (if found)
5241
5242 @see
5243 @return Index of the session in the array
5244*/
5245wpt_uint8
5246WDI_FindAssocSessionByBSSIdx
5247(
5248 WDI_ControlBlockType* pWDICtx,
5249 wpt_uint16 usBssIdx,
5250 WDI_BSSSessionType** ppSession
5251);
5252
5253/**
5254 @brief Helper routine used to find a session based on the BSSID
5255
5256
5257 @param pWDICtx: pointer to the WLAN DAL context
5258 usBssIdx: BSS Index of the session
5259 ppSession: out pointer to the session (if found)
5260
5261 @see
5262 @return Index of the session in the array
5263*/
5264wpt_uint8
5265WDI_FindAssocSessionByIdx
5266(
5267 WDI_ControlBlockType* pWDICtx,
5268 wpt_uint16 usBssIdx,
5269 WDI_BSSSessionType** ppSession
5270);
5271
5272/**
5273 @brief Helper routine used to find a session based on the BSSID
5274 @param pContext: pointer to the WLAN DAL context
5275 @param pDPContext: pointer to the Datapath context
5276
5277 @see
5278 @return
5279*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005280void
Jeff Johnson295189b2012-06-20 16:38:30 -07005281WDI_DS_AssignDatapathContext
5282(
5283 void *pContext,
5284 void *pDPContext
5285);
5286
5287/**
5288 @brief Helper routine used to find a session based on the BSSID
5289
5290
5291 @param pContext: pointer to the WLAN DAL context
5292
5293 @see
5294 @return pointer to Datapath context
5295*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005296void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005297WDI_DS_GetDatapathContext
5298(
5299 void *pContext
5300);
5301
5302/**
5303 @brief Helper routine used to find a session based on the BSSID
5304
5305
5306 @param pContext: pointer to the WLAN DAL context
5307 @param pDTDriverContext: pointer to the Transport Driver context
5308
5309 @see
5310 @return void
5311*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005312void
Jeff Johnson295189b2012-06-20 16:38:30 -07005313WDT_AssignTransportDriverContext
5314(
5315 void *pContext,
5316 void *pDTDriverContext
5317);
5318
5319/**
5320 @brief Helper routine used to find a session based on the BSSID
5321
5322
5323 @param pWDICtx: pointer to the WLAN DAL context
5324
5325 @see
5326 @return pointer to datapath context
5327*/
Jeff Johnson51019dc2013-02-21 16:44:09 -08005328void *
Jeff Johnson295189b2012-06-20 16:38:30 -07005329WDT_GetTransportDriverContext
5330(
5331 void *pContext
5332);
5333
5334#ifdef FEATURE_WLAN_SCAN_PNO
5335/**
5336 @brief Process Set Preferred Network List Request function
5337
5338 @param pWDICtx: pointer to the WLAN DAL context
5339 pEventData: pointer to the event information structure
5340
5341 @see
5342 @return Result of the function call
5343*/
5344WDI_Status
5345WDI_ProcessSetPreferredNetworkReq
5346(
5347 WDI_ControlBlockType* pWDICtx,
5348 WDI_EventInfoType* pEventData
5349);
5350
5351/**
5352 @brief Process Set RSSI Filter Request function
5353
5354 @param pWDICtx: pointer to the WLAN DAL context
5355 pEventData: pointer to the event information structure
5356
5357 @see
5358 @return Result of the function call
5359*/
5360WDI_Status
5361WDI_ProcessSetRssiFilterReq
5362(
5363 WDI_ControlBlockType* pWDICtx,
5364 WDI_EventInfoType* pEventData
5365);
5366
5367/**
5368 @brief Process Update Scan Params function
5369
5370 @param pWDICtx: pointer to the WLAN DAL context
5371 pEventData: pointer to the event information structure
5372
5373 @see
5374 @return Result of the function call
5375*/
5376WDI_Status
5377WDI_ProcessUpdateScanParamsReq
5378(
5379 WDI_ControlBlockType* pWDICtx,
5380 WDI_EventInfoType* pEventData
5381);
5382
5383/**
5384 @brief Process Preferred Network Found Indication function
5385
5386 @param pWDICtx: pointer to the WLAN DAL context
5387 pEventData: pointer to the event information structure
5388
5389 @see
5390 @return Result of the function call
5391*/
5392WDI_Status
5393WDI_ProcessPrefNetworkFoundInd
5394(
5395 WDI_ControlBlockType* pWDICtx,
5396 WDI_EventInfoType* pEventData
5397);
5398
5399/**
5400 @brief Process PNO Rsp function (called when a
5401 response is being received over the bus from HAL)
5402
5403 @param pWDICtx: pointer to the WLAN DAL context
5404 pEventData: pointer to the event information structure
5405
5406 @see
5407 @return Result of the function call
5408*/
5409WDI_Status
5410WDI_ProcessSetPreferredNetworkRsp
5411(
5412 WDI_ControlBlockType* pWDICtx,
5413 WDI_EventInfoType* pEventData
5414);
5415
5416/**
5417 @brief Process RSSI Filter Rsp function (called when a
5418 response is being received over the bus from HAL)
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_ProcessSetRssiFilterRsp
5428(
5429 WDI_ControlBlockType* pWDICtx,
5430 WDI_EventInfoType* pEventData
5431);
5432
5433/**
5434 @brief Process Update Scan Params 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_ProcessUpdateScanParamsRsp
5445(
5446 WDI_ControlBlockType* pWDICtx,
5447 WDI_EventInfoType* pEventData
5448);
5449#endif // FEATURE_WLAN_SCAN_PNO
5450
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005451
5452#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5453/**
5454 @brief Process Start Roam Candidate Lookup Request function
5455
5456 @param pWDICtx: pointer to the WLAN DAL context
5457 pEventData: pointer to the event information structure
5458
5459 @see
5460 @return Result of the function call
5461*/
5462WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005463WDI_ProcessRoamScanOffloadReq
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005464(
5465 WDI_ControlBlockType* pWDICtx,
5466 WDI_EventInfoType* pEventData
5467);
5468/**
5469 @brief Process Start Roam Candidate Lookup Response function (called when a
5470 response is being received over the bus from HAL)
5471
5472 @param pWDICtx: pointer to the WLAN DAL context
5473 pEventData: pointer to the event information structure
5474
5475 @see
5476 @return Result of the function call
5477*/
5478WDI_Status
Varun Reddy Yeturu920df212013-05-22 08:07:23 -07005479WDI_ProcessRoamScanOffloadRsp
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005480(
5481 WDI_ControlBlockType* pWDICtx,
5482 WDI_EventInfoType* pEventData
5483);
5484#endif
5485
5486
Jeff Johnson295189b2012-06-20 16:38:30 -07005487#ifdef WLAN_FEATURE_PACKET_FILTERING
5488/**
5489 @brief Process 8023 Multicast List Request function
5490
5491 @param pWDICtx: pointer to the WLAN DAL context
5492 pEventData: pointer to the event information structure
5493
5494 @see
5495 @return Result of the function call
5496*/
5497WDI_Status
5498WDI_Process8023MulticastListReq
5499(
5500 WDI_ControlBlockType* pWDICtx,
5501 WDI_EventInfoType* pEventData
5502);
5503
5504/**
5505 @brief Process Receive Filter Set Filter Request function
5506
5507 @param pWDICtx: pointer to the WLAN DAL context
5508 pEventData: pointer to the event information structure
5509
5510 @see
5511 @return Result of the function call
5512*/
5513WDI_Status
5514WDI_ProcessReceiveFilterSetFilterReq
5515(
5516 WDI_ControlBlockType* pWDICtx,
5517 WDI_EventInfoType* pEventData
5518);
5519
5520/**
5521 @brief Process D0 PC Filter Match Count Request function
5522
5523 @param pWDICtx: pointer to the WLAN DAL context
5524 pEventData: pointer to the event information structure
5525
5526 @see
5527 @return Result of the function call
5528*/
5529WDI_Status
5530WDI_ProcessFilterMatchCountReq
5531(
5532 WDI_ControlBlockType* pWDICtx,
5533 WDI_EventInfoType* pEventData
5534);
5535
5536/**
5537 @brief Process Receive Filter Clear Filter Request function
5538
5539 @param pWDICtx: pointer to the WLAN DAL context
5540 pEventData: pointer to the event information structure
5541
5542 @see
5543 @return Result of the function call
5544*/
5545WDI_Status
5546WDI_ProcessReceiveFilterClearFilterReq
5547(
5548 WDI_ControlBlockType* pWDICtx,
5549 WDI_EventInfoType* pEventData
5550);
5551
5552/**
5553 @brief Process 8023 Multicast List Response function
5554
5555 @param pWDICtx: pointer to the WLAN DAL context
5556 pEventData: pointer to the event information structure
5557
5558 @see
5559 @return Result of the function call
5560*/
5561WDI_Status
5562WDI_Process8023MulticastListRsp
5563(
5564 WDI_ControlBlockType* pWDICtx,
5565 WDI_EventInfoType* pEventData
5566);
5567
5568/**
5569 @brief Process Receive Filter Set Filter Response function
5570
5571 @param pWDICtx: pointer to the WLAN DAL context
5572 pEventData: pointer to the event information structure
5573
5574 @see
5575 @return Result of the function call
5576*/
5577WDI_Status
5578WDI_ProcessReceiveFilterSetFilterRsp
5579(
5580 WDI_ControlBlockType* pWDICtx,
5581 WDI_EventInfoType* pEventData
5582);
5583
5584/**
5585 @brief Process D0 PC Filter Match Count Response function
5586
5587 @param pWDICtx: pointer to the WLAN DAL context
5588 pEventData: pointer to the event information structure
5589
5590 @see
5591 @return Result of the function call
5592*/
5593WDI_Status
5594WDI_ProcessFilterMatchCountRsp
5595(
5596 WDI_ControlBlockType* pWDICtx,
5597 WDI_EventInfoType* pEventData
5598);
5599
5600/**
5601 @brief Process Receive Filter Clear Filter Response function
5602
5603 @param pWDICtx: pointer to the WLAN DAL context
5604 pEventData: pointer to the event information structure
5605
5606 @see
5607 @return Result of the function call
5608*/
5609WDI_Status
5610WDI_ProcessReceiveFilterClearFilterRsp
5611(
5612 WDI_ControlBlockType* pWDICtx,
5613 WDI_EventInfoType* pEventData
5614);
5615#endif // WLAN_FEATURE_PACKET_FILTERING
5616
5617#ifdef WLAN_FEATURE_GTK_OFFLOAD
5618/**
5619 @brief Process set GTK Offload Request 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_ProcessGTKOffloadReq
5629(
5630 WDI_ControlBlockType* pWDICtx,
5631 WDI_EventInfoType* pEventData
5632);
5633
5634/**
5635 @brief Process GTK Offload Get Information Request 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_ProcessGTKOffloadGetInfoReq
5645(
5646 WDI_ControlBlockType* pWDICtx,
5647 WDI_EventInfoType* pEventData
5648);
5649
5650/**
5651 @brief Process host offload Rsp function (called when a
5652 response is being received over the bus from HAL)
5653
5654 @param pWDICtx: pointer to the WLAN DAL context
5655 pEventData: pointer to the event information structure
5656
5657 @see
5658 @return Result of the function call
5659*/
5660WDI_Status
5661WDI_ProcessGtkOffloadRsp
5662(
5663 WDI_ControlBlockType* pWDICtx,
5664 WDI_EventInfoType* pEventData
5665);
5666
5667/**
5668 @brief Process GTK Offload Get Information Response function
5669
5670 @param pWDICtx: pointer to the WLAN DAL context
5671 pEventData: pointer to the event information structure
5672
5673 @see
5674 @return Result of the function call
5675*/
5676WDI_Status
5677WDI_ProcessGTKOffloadGetInfoRsp
5678(
5679 WDI_ControlBlockType* pWDICtx,
5680 WDI_EventInfoType* pEventData
5681);
5682#endif // WLAN_FEATURE_GTK_OFFLOAD
5683
5684#ifdef WLAN_WAKEUP_EVENTS
5685WDI_Status
5686WDI_ProcessWakeReasonInd
5687(
5688 WDI_ControlBlockType* pWDICtx,
5689 WDI_EventInfoType* pEventData
5690);
5691#endif // WLAN_WAKEUP_EVENTS
5692
5693/**
5694 @brief Process Host-FW Capability Exchange Request function
5695
5696 @param pWDICtx: pointer to the WLAN DAL context
5697 pEventData: pointer to the event information structure
5698
5699 @see
5700 @return Result of the function call
5701*/
5702WDI_Status
5703WDI_ProcessFeatureCapsExchangeReq
5704(
5705 WDI_ControlBlockType* pWDICtx,
5706 WDI_EventInfoType* pEventData
5707);
5708
5709/**
5710 @brief Process Host-FW Capability Exchange Response function
5711
5712 @param pWDICtx: pointer to the WLAN DAL context
5713 pEventData: pointer to the event information structure
5714
5715 @see
5716 @return Result of the function call
5717*/
5718WDI_Status
5719WDI_ProcessFeatureCapsExchangeRsp
5720(
5721 WDI_ControlBlockType* pWDICtx,
5722 WDI_EventInfoType* pEventData
5723);
5724
Mohit Khanna4a70d262012-09-11 16:30:12 -07005725#ifdef WLAN_FEATURE_11AC
5726WDI_Status
5727WDI_ProcessUpdateVHTOpModeReq
5728(
5729 WDI_ControlBlockType* pWDICtx,
5730 WDI_EventInfoType* pEventData
5731);
5732
5733WDI_Status
5734WDI_ProcessUpdateVHTOpModeRsp
5735(
5736 WDI_ControlBlockType* pWDICtx,
5737 WDI_EventInfoType* pEventData
5738);
5739#endif
5740
Gopichand Nakkala5e5668f2013-05-03 13:13:06 -07005741#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
5742/**
5743 * @brief WDI_wdiEdTypeEncToEdTypeEnc -
5744 * The firmware expects the Encryption type to be in EdType.
5745 * This function converts the WdiEdType encryption to EdType.
5746 * @param tEdType : EdType to which the encryption needs to be converted.
5747 * @param WDI_EdType : wdiEdType passed from the upper layer.
5748 * @see
5749 * @return none
5750 * */
5751void
5752WDI_wdiEdTypeEncToEdTypeEnc
5753(
5754 tEdType *EdType,
5755 WDI_EdType wdiEdType
5756);
5757#endif
5758
Leo Chang9056f462013-08-01 19:21:11 -07005759#ifdef FEATURE_WLAN_LPHB
5760/**
5761 @brief WDI_ProcessLphbCfgRsp -
5762 LPHB configuration response from FW
5763
5764 @param pWDICtx : wdi context
5765 pEventData : indication data
5766
5767 @see
5768 @return Result of the function call
5769*/
5770WDI_Status WDI_ProcessLphbCfgRsp
5771(
5772 WDI_ControlBlockType* pWDICtx,
5773 WDI_EventInfoType* pEventData
5774);
5775#endif /* FEATURE_WLAN_LPHB */
5776
Chittajit Mitraf5413a42013-10-18 14:20:08 -07005777/**
5778 @brief Process Rate Update Indication and post it to HAL
5779
5780 @param pWDICtx: pointer to the WLAN DAL context
5781 pEventData: pointer to the event information structure
5782
5783 @see
5784 @return Result of the function call
5785*/
5786WDI_Status
5787WDI_ProcessRateUpdateInd
5788(
5789 WDI_ControlBlockType* pWDICtx,
5790 WDI_EventInfoType* pEventData
5791);
5792
Rajeev79dbe4c2013-10-05 11:03:42 +05305793#ifdef FEATURE_WLAN_BATCH_SCAN
5794/**
5795 @brief WDI_ProcessSetBatchScanRsp -
5796 Process set batch scan 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_ProcessSetBatchScanRsp
5805(
5806 WDI_ControlBlockType* pWDICtx,
5807 WDI_EventInfoType* pEventData
5808);
5809
c_hpothu92367912014-05-01 15:18:17 +05305810WDI_Status
5811WDI_ProcessGetBcnMissRateReq
5812(
5813 WDI_ControlBlockType* pWDICtx,
5814 WDI_EventInfoType* pEventData
5815);
5816
5817WDI_Status
5818WDI_ProcessGetBcnMissRateRsp
5819(
5820 WDI_ControlBlockType* pWDICtx,
5821 WDI_EventInfoType* pEventData
5822);
5823
Rajeev79dbe4c2013-10-05 11:03:42 +05305824/**
5825 @brief Process batch scan response from FW
5826
5827 @param pWDICtx: pointer to the WLAN DAL context
5828 pEventData: pointer to the event information structure
5829
5830 @see
5831 @return Result of the function call
5832*/
5833WDI_Status
5834WDI_ProcessBatchScanResultInd
5835(
5836 WDI_ControlBlockType* pWDICtx,
5837 WDI_EventInfoType* pEventData
5838);
5839
5840#endif /* FEATURE_WLAN_BATCH_SCAN */
5841
Abhishek Singh85b74712014-10-08 11:38:19 +05305842WDI_Status
5843WDI_ProcessGetFwStatsReq
5844(
5845 WDI_ControlBlockType* pWDICtx,
5846 WDI_EventInfoType* pEventData
5847);
5848
5849WDI_Status
5850WDI_ProcessGetFwStatsRsp
5851(
5852 WDI_ControlBlockType* pWDICtx,
5853 WDI_EventInfoType* pEventData
5854);
5855
Leo Chang0b0e45a2013-12-15 15:18:55 -08005856#ifdef FEATURE_WLAN_CH_AVOID
5857/**
5858 @brief v -
5859
5860
5861 @param pWDICtx : wdi context
5862 pEventData : indication data
5863 @see
5864 @return Result of the function call
5865*/
5866WDI_Status
5867WDI_ProcessChAvoidInd
5868(
5869 WDI_ControlBlockType* pWDICtx,
5870 WDI_EventInfoType* pEventData
5871);
5872#endif /* FEATURE_WLAN_CH_AVOID */
5873
c_hpothu86041002014-04-14 19:06:51 +05305874/**
5875 @brief v -
5876
5877
5878 @param pWDICtx : wdi context
5879 pEventData : indication data
5880 @see
5881 @return Result of the function call
5882*/
5883WDI_Status
5884WDI_printRegInfo
5885(
5886 WDI_ControlBlockType* pWDICtx,
5887 WDI_EventInfoType* pEventData
5888);
Dino Mycle41bdc942014-06-10 11:30:24 +05305889
5890#ifdef WLAN_FEATURE_EXTSCAN
5891WDI_Status
5892WDI_ProcessEXTScanStartReq
5893(
5894 WDI_ControlBlockType* pWDICtx,
5895 WDI_EventInfoType* pEventData
5896);
5897WDI_Status
5898WDI_ProcessEXTScanStopReq
5899(
5900 WDI_ControlBlockType* pWDICtx,
5901 WDI_EventInfoType* pEventData
5902);
5903WDI_Status
5904WDI_ProcessEXTScanStartRsp
5905(
5906 WDI_ControlBlockType* pWDICtx,
5907 WDI_EventInfoType* pEventData
5908);
5909WDI_Status
5910WDI_ProcessEXTScanStopRsp
5911(
5912 WDI_ControlBlockType* pWDICtx,
5913 WDI_EventInfoType* pEventData
5914);
5915
5916WDI_Status
5917WDI_ProcessEXTScanGetCachedResultsReq
5918(
5919 WDI_ControlBlockType* pWDICtx,
5920 WDI_EventInfoType* pEventData
5921);
5922WDI_Status
5923WDI_ProcessEXTScanGetCachedResultsRsp
5924(
5925 WDI_ControlBlockType* pWDICtx,
5926 WDI_EventInfoType* pEventData
5927);
5928
5929WDI_Status
5930WDI_ProcessEXTScanProgressInd
5931(
5932 WDI_ControlBlockType* pWDICtx,
5933 WDI_EventInfoType* pEventData
5934);
5935
5936WDI_Status
5937WDI_ProcessEXTScanGetCapabilitiesReq
5938(
5939 WDI_ControlBlockType* pWDICtx,
5940 WDI_EventInfoType* pEventData
5941);
5942
5943WDI_Status
5944WDI_ProcessEXTScanGetCapabilitiesRsp
5945(
5946 WDI_ControlBlockType* pWDICtx,
5947 WDI_EventInfoType* pEventData
5948);
5949
5950WDI_Status
5951WDI_ProcessEXTScanSetBSSIDHotlistReq
5952(
5953 WDI_ControlBlockType* pWDICtx,
5954 WDI_EventInfoType* pEventData
5955);
5956
5957WDI_Status
5958WDI_ProcessEXTScanSetHotlistBSSIDRsp
5959(
5960 WDI_ControlBlockType* pWDICtx,
5961 WDI_EventInfoType* pEventData
5962);
5963
5964WDI_Status
5965WDI_ProcessEXTScanResetBSSIDHotlistReq
5966(
5967 WDI_ControlBlockType* pWDICtx,
5968 WDI_EventInfoType* pEventData
5969);
5970
5971WDI_Status
5972WDI_ProcessEXTScanResetHotlistBSSIDRsp
5973(
5974 WDI_ControlBlockType* pWDICtx,
5975 WDI_EventInfoType* pEventData
5976);
5977
5978WDI_Status
5979WDI_ProcessEXTScanSetSignifRSSIChangeReq
5980(
5981 WDI_ControlBlockType* pWDICtx,
5982 WDI_EventInfoType* pEventData
5983);
5984
5985WDI_Status
5986WDI_ProcessEXTScanSetSignfRSSIChangeRsp
5987(
5988 WDI_ControlBlockType* pWDICtx,
5989 WDI_EventInfoType* pEventData
5990);
5991
5992WDI_Status
5993WDI_ProcessEXTScanResetSignfRSSIChangeReq
5994(
5995 WDI_ControlBlockType* pWDICtx,
5996 WDI_EventInfoType* pEventData
5997);
5998
5999WDI_Status
6000WDI_ProcessEXTScanResetSignfRSSIChangeRsp
6001(
6002 WDI_ControlBlockType* pWDICtx,
6003 WDI_EventInfoType* pEventData
6004);
6005
6006WDI_Status
6007WDI_ProcessEXTScanScanAvailableInd
6008(
6009 WDI_ControlBlockType* pWDICtx,
6010 WDI_EventInfoType* pEventData
6011);
6012
6013WDI_Status
6014WDI_ProcessEXTScanResultInd
6015(
6016 WDI_ControlBlockType* pWDICtx,
6017 WDI_EventInfoType* pEventData
6018);
6019
6020WDI_Status
6021WDI_ProcessEXTScanBssidHotListResultInd
6022(
6023 WDI_ControlBlockType* pWDICtx,
6024 WDI_EventInfoType* pEventData
6025);
6026
6027WDI_Status
6028WDI_ProcessEXTScanSignfRssiResultInd
6029(
6030 WDI_ControlBlockType* pWDICtx,
6031 WDI_EventInfoType* pEventData
6032);
6033
6034#endif /* WLAN_FEATURE_EXTSCAN */
6035
Sunil Duttbd736ed2014-05-26 21:19:41 +05306036#ifdef WLAN_FEATURE_LINK_LAYER_STATS
6037WDI_Status
6038WDI_ProcessLLStatsSetRsp
6039(
6040 WDI_ControlBlockType* pWDICtx,
6041 WDI_EventInfoType* pEventData
6042);
6043
6044WDI_Status
6045WDI_ProcessLLStatsSetReq
6046(
6047 WDI_ControlBlockType* pWDICtx,
6048 WDI_EventInfoType* pEventData
6049);
6050
6051WDI_Status
6052WDI_ProcessLLStatsGetRsp
6053(
6054 WDI_ControlBlockType* pWDICtx,
6055 WDI_EventInfoType* pEventData
6056);
6057
6058WDI_Status
6059WDI_ProcessLLStatsGetReq
6060(
6061 WDI_ControlBlockType* pWDICtx,
6062 WDI_EventInfoType* pEventData
6063);
6064
6065WDI_Status
6066WDI_ProcessLLStatsClearRsp
6067(
6068 WDI_ControlBlockType* pWDICtx,
6069 WDI_EventInfoType* pEventData
6070);
6071
6072WDI_Status
6073WDI_ProcessLLStatsClearReq
6074(
6075 WDI_ControlBlockType* pWDICtx,
6076 WDI_EventInfoType* pEventData
6077);
6078
6079WDI_Status
6080WDI_ProcessLinkLayerStatsResultsInd
6081(
6082 WDI_ControlBlockType* pWDICtx,
6083 WDI_EventInfoType* pEventData
6084);
6085
6086#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
c_hpothu86041002014-04-14 19:06:51 +05306087
Abhishek Singh66c16762014-08-14 19:13:19 +05306088WDI_Status
6089WDI_delBaInd
6090(
6091 WDI_ControlBlockType* pWDICtx,
6092 WDI_EventInfoType* pEventData
6093);
6094
Siddharth Bhal171788a2014-09-29 21:02:40 +05306095WDI_Status
6096WDI_ProcessSpoofMacAddrReq
6097(
6098 WDI_ControlBlockType* pWDICtx,
6099 WDI_EventInfoType* pEventData
6100);
6101WDI_Status
6102WDI_ProcessSpoofMacAddrRsp
6103(
6104 WDI_ControlBlockType* pWDICtx,
6105 WDI_EventInfoType* pEventData
6106);
6107
Srinivas Dasari4dae48f2014-11-26 21:14:16 +05306108WDI_Status
6109WDI_ProcessEncryptMsgReq
6110(
6111 WDI_ControlBlockType* pWDICtx,
6112 WDI_EventInfoType* pEventData
6113);
6114
6115WDI_Status
6116WDI_ProcessEncryptMsgRsp
6117(
6118 WDI_ControlBlockType* pWDICtx,
6119 WDI_EventInfoType* pEventData
6120);
Jeff Johnson295189b2012-06-20 16:38:30 -07006121#endif /*WLAN_QCT_WDI_I_H*/
6122