Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Gopichand Nakkala | 92f07d8 | 2013-01-08 21:16:34 -0800 | [diff] [blame^] | 2 | * 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 | /* |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 22 | * Copyright (c) 2012, The Linux Foundation. All rights reserved. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 23 | * |
| 24 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 25 | * |
| 26 | * |
| 27 | * Permission to use, copy, modify, and/or distribute this software for |
| 28 | * any purpose with or without fee is hereby granted, provided that the |
| 29 | * above copyright notice and this permission notice appear in all |
| 30 | * copies. |
| 31 | * |
| 32 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 33 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 34 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 35 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 36 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 37 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 38 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 39 | * PERFORMANCE OF THIS SOFTWARE. |
| 40 | */ |
| 41 | |
| 42 | #ifndef WLAN_QCT_MSG_MAP_H |
| 43 | #define WLAN_QCT_MSG_MAP_H |
| 44 | |
| 45 | /*=========================================================================== |
| 46 | |
| 47 | W L A N DEVICE ADAPTATION L A Y E R |
| 48 | MSG MAPPING |
| 49 | |
| 50 | |
| 51 | DESCRIPTION |
| 52 | This file contains the external API exposed by the wlan adaptation layer |
| 53 | |
| 54 | |
| 55 | Copyright (c) 2008 QUALCOMM Incorporated. All Rights Reserved. |
| 56 | Qualcomm Confidential and Proprietary |
| 57 | ===========================================================================*/ |
| 58 | |
| 59 | |
| 60 | /*=========================================================================== |
| 61 | |
| 62 | EDIT HISTORY FOR FILE |
| 63 | |
| 64 | |
| 65 | This section contains comments describing changes made to the module. |
| 66 | Notice that changes are listed in reverse chronological order. |
| 67 | |
| 68 | |
| 69 | $Header:$ $DateTime: $ $Author: $ |
| 70 | |
| 71 | |
| 72 | when who what, where, why |
| 73 | -------- --- ---------------------------------------------- |
| 74 | 25/08/2010 adwivedi MAP WDA messages on Legacy HAL messages |
| 75 | =========================================================================== */ |
| 76 | |
| 77 | /* Add Include */ |
| 78 | #include "wlan_qct_pack_align.h" |
| 79 | |
| 80 | |
| 81 | #define WDA_CONFIG_PARAM_UPDATE_REQ SIR_CFG_PARAM_UPDATE_IND |
| 82 | |
| 83 | #define ALIGNED_WORD_SIZE 4 |
| 84 | |
| 85 | /* Config format required by HAL for each CFG item*/ |
| 86 | WPT_PACK_START |
| 87 | typedef WPT_PACK_PRE struct |
| 88 | { |
| 89 | /* Cfg Id. The Id required by HAL is exported by HAL |
| 90 | * in shared header file between UMAC and HAL.*/ |
| 91 | tANI_U16 type; |
| 92 | |
| 93 | /* Length of the Cfg. This parameter is used to go to next cfg |
| 94 | * in the TLV format.*/ |
| 95 | tANI_U16 length; |
| 96 | |
| 97 | /* Padding bytes for unaligned address's */ |
| 98 | tANI_U16 padBytes; |
| 99 | |
| 100 | /* Reserve bytes for making cfgVal to align address */ |
| 101 | tANI_U16 reserved; |
| 102 | |
| 103 | /* Following the uCfgLen field there should be a 'uCfgLen' bytes |
| 104 | * containing the uCfgValue ; tANI_U8 uCfgValue[uCfgLen] */ |
| 105 | }WPT_PACK_POST tHalCfg, *tpHalCfg; |
| 106 | WPT_PACK_END |
| 107 | |
| 108 | /////#define WDA_UT |
| 109 | #ifdef WDA_UT |
| 110 | #define WDA_WDI_EVENT_MSG 0x00FF |
| 111 | void WDI_processEvent(void *wdiEventData, void *pUserData); |
| 112 | #endif |
| 113 | |
| 114 | #endif |