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