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