blob: 884862c541b90695b54aad30c4b90acf2a4633cd [file] [log] [blame]
/*
* Copyright (c) 2014, 2016 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.
*/
#ifdef FEATURE_OEM_DATA_SUPPORT
/** ------------------------------------------------------------------------- *
------------------------------------------------------------------------- *
\file oemDataInternal.h
Exports and types for the Common OEM DATA REQ/RSP Module interfaces.
========================================================================== */
#ifndef __OEM_DATA_INTERNAL_H__
#define __OEM_DATA_INTERNAL_H__
#include "csrSupport.h"
#include "vos_nvitem.h"
#include "wlan_qct_tl.h"
#include "oemDataApi.h"
typedef struct tagOemDataStruct
{
tANI_U32 nextOemReqId; //a global req id
tANI_BOOLEAN oemDataReqActive; //indicates that currently a request has been posted and
//waiting for the response
tANI_U32 oemDataReqID; //original request ID
tOemDataReqConfig oemDataReqConfig; //current oem data request
tANI_U8 sessionId; //Session on which oem data req is active
} tOemDataStruct;
typedef struct tagOemDataCmd
{
tANI_U32 oemDataReqID;
tOemDataReq oemDataReq;
} tOemDataCmd;
#endif //__OEM_DATA_INTERNAL_H__
#endif //FEATURE_OEM_DATA_SUPPORT