/*
 * Copyright (c) 2013, 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 __TL_DEBUG_H__
#define __TL_DEBUG_H__
#if  !defined (ANI_OS_TYPE_ANDROID)
#include <stdio.h>
#endif
#include <stdarg.h>
#include "vos_trace.h"
#ifdef WLAN_DEBUG
#ifdef WLAN_MDM_DATAPATH_OPT
#define TLLOGP(x0)  x0
#define TLLOGE(x0)  x0
#define TLLOGW(x0)  x0
#define TLLOG1(x)  {}
#define TLLOG2(x)  {}
#define TLLOG3(x)  {}
#define TLLOG4(x)  {}

#else /*WLAN_MDM_DATAPATH_OPT*/

#define TLLOGP(x0)  x0
#define TLLOGE(x0)  x0
#define TLLOGW(x0)  x0
#define TLLOG1(x0)  x0

#ifdef TL_DEBUG_LOG2
#define TLLOG2(x0)  x0
#else
 #define TLLOG2(x0)
#endif

#ifdef TL_DEBUG_LOG3
#define TLLOG3(x0)  x0
#else
 #define TLLOG3(x0)
#endif

#ifdef TL_DEBUG_LOG4
#define TLLOG4(x0)  x0
#else
 #define TLLOG4(x0)
#endif


#endif /*WLAN_MDM_DATAPATH_OPT*/

#else /* WLAN DEBUG */

#define TLLOGP(x)  x
#define TLLOGE(x)  x
#define TLLOGW(x)  x
#define TLLOG1(x)  {}
#define TLLOG2(x)  {}
#define TLLOG3(x)  {}
#define TLLOG4(x)  {}
#endif /* WLAN DEBUG */


#endif // __TL_DEBUG_H__

