blob: ae833857743e0a75c654f0b46e86f27c2ccc8de2 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Jeff Johnson32d95a32012-09-10 13:15:23 -07002 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
Jeff Johnson295189b2012-06-20 16:38:30 -07003 *
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#ifndef WLAN_QCT_MSG_MAP_H
23#define WLAN_QCT_MSG_MAP_H
24
25/*===========================================================================
26
27 W L A N DEVICE ADAPTATION L A Y E R
28 MSG MAPPING
29
30
31DESCRIPTION
32 This file contains the external API exposed by the wlan adaptation layer
33
34
35 Copyright (c) 2008 QUALCOMM Incorporated. All Rights Reserved.
36 Qualcomm Confidential and Proprietary
37===========================================================================*/
38
39
40/*===========================================================================
41
42 EDIT HISTORY FOR FILE
43
44
45 This section contains comments describing changes made to the module.
46 Notice that changes are listed in reverse chronological order.
47
48
49 $Header:$ $DateTime: $ $Author: $
50
51
52when who what, where, why
53-------- --- ----------------------------------------------
5425/08/2010 adwivedi MAP WDA messages on Legacy HAL messages
55=========================================================================== */
56
57/* Add Include */
58#include "wlan_qct_pack_align.h"
59
60
61#define WDA_CONFIG_PARAM_UPDATE_REQ SIR_CFG_PARAM_UPDATE_IND
62
63#define ALIGNED_WORD_SIZE 4
64
65/* Config format required by HAL for each CFG item*/
66WPT_PACK_START
67typedef WPT_PACK_PRE struct
68{
69 /* Cfg Id. The Id required by HAL is exported by HAL
70 * in shared header file between UMAC and HAL.*/
71 tANI_U16 type;
72
73 /* Length of the Cfg. This parameter is used to go to next cfg
74 * in the TLV format.*/
75 tANI_U16 length;
76
77 /* Padding bytes for unaligned address's */
78 tANI_U16 padBytes;
79
80 /* Reserve bytes for making cfgVal to align address */
81 tANI_U16 reserved;
82
83 /* Following the uCfgLen field there should be a 'uCfgLen' bytes
84 * containing the uCfgValue ; tANI_U8 uCfgValue[uCfgLen] */
85}WPT_PACK_POST tHalCfg, *tpHalCfg;
86WPT_PACK_END
87
88/////#define WDA_UT
89#ifdef WDA_UT
90#define WDA_WDI_EVENT_MSG 0x00FF
91void WDI_processEvent(void *wdiEventData, void *pUserData);
92#endif
93
94#endif