blob: d104ac6f776a581b5bcaa545e5527a408ae41317 [file] [log] [blame]
/*
* Copyright (c) 2014 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/*
* This file was originally distributed by Qualcomm Atheros, Inc.
* under proprietary terms before Copyright ownership was assigned
* to the Linux Foundation.
*/
#ifndef WLAN_QCT_MSG_MAP_H
#define WLAN_QCT_MSG_MAP_H
/*===========================================================================
W L A N DEVICE ADAPTATION L A Y E R
MSG MAPPING
DESCRIPTION
This file contains the external API exposed by the wlan adaptation layer
===========================================================================*/
/*===========================================================================
EDIT HISTORY FOR FILE
This section contains comments describing changes made to the module.
Notice that changes are listed in reverse chronological order.
$Header:$ $DateTime: $ $Author: $
when who what, where, why
-------- --- ----------------------------------------------
25/08/2010 adwivedi MAP WDA messages on Legacy HAL messages
=========================================================================== */
/* Add Include */
#define WDA_CONFIG_PARAM_UPDATE_REQ SIR_CFG_PARAM_UPDATE_IND
#define ALIGNED_WORD_SIZE 4
/* Config format required by HAL for each CFG item*/
typedef struct
{
/* Cfg Id. The Id required by HAL is exported by HAL
* in shared header file between UMAC and HAL.*/
tANI_U16 type;
/* Length of the Cfg. This parameter is used to go to next cfg
* in the TLV format.*/
tANI_U16 length;
/* Padding bytes for unaligned address's */
tANI_U16 padBytes;
/* Reserve bytes for making cfgVal to align address */
tANI_U16 reserved;
/* Following the uCfgLen field there should be a 'uCfgLen' bytes
* containing the uCfgValue ; tANI_U8 uCfgValue[uCfgLen] */
}__attribute__((__packed__)) tHalCfg, *tpHalCfg;
#endif