blob: 0025964dc0a977f7839925e380916f64f14c9f8b [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
AnjaneeDevi Kapparapu24b52ff2014-02-18 18:44:02 -08002 * 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.
Gopichand Nakkala9c070ad2013-01-08 21:16:34 -080020 */
AnjaneeDevi Kapparapu24b52ff2014-02-18 18:44:02 -080021
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
Gopichand Nakkala9c070ad2013-01-08 21:16:34 -080028/*
Jeff Johnson295189b2012-06-20 16:38:30 -070029 * This file limDebug.h contains log function called by LIM module.
30 *
31 * Author: Chandra Modumudi
32 * Date: 02/11/02
33 * History:-
34 * Date Modified by Modification Information
35 * --------------------------------------------------------------------
Kiet Lam26cd6472014-02-11 23:30:06 -080036 *
Jeff Johnson295189b2012-06-20 16:38:30 -070037 */
38
39#ifndef __LIM_DEBUG_H__
40#define __LIM_DEBUG_H__
41
42#include "utilsApi.h"
43#include "sirDebug.h"
44
Jeff Johnson48a8f3e2013-11-11 12:10:25 -080045#if !defined(__printf)
46#define __printf(a,b)
47#endif
Jeff Johnson295189b2012-06-20 16:38:30 -070048
Jeff Johnson48a8f3e2013-11-11 12:10:25 -080049void __printf(3,4) limLog(tpAniSirGlobal pMac, tANI_U32 loglevel,
50 const char *pString, ...);
Jeff Johnson295189b2012-06-20 16:38:30 -070051
Mohit Khannac0b992f2012-12-04 15:08:18 -080052/* define this to show more message in the LIM during TDLS development */
53#define LIM_DEBUG_TDLS
54
55#ifdef LIM_DEBUG_TDLS
56#define LIM_LOG_TDLS(x0) x0
57#else
58#define LIM_LOG_TDLS(x0)
59#endif
60
Jeff Johnson295189b2012-06-20 16:38:30 -070061#endif