summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-03-05 22:52:58 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-03-07 20:29:36 -0800
commit94b2bcde5e5746664201e2ab56d8de89873b4384 (patch)
tree3e3677f08950bd81908c5f02678e55b405bdf0cd
parentabfcc9811fd55e4fa1219e88d2b0b5288dfea0bd (diff)
qcacld-3.0: UMAC: Introduce LOGD log level
Introduce LOGD log level. Change-Id: I55f4f8e6a2a4ab22503b85921ad97652fe2219bb CRs-Fixed: 2014745
-rw-r--r--core/mac/src/include/sir_debug.h3
-rw-r--r--core/mac/src/sys/legacy/src/utils/src/log_api.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/core/mac/src/include/sir_debug.h b/core/mac/src/include/sir_debug.h
index c038523cf784..99b246d6d29c 100644
--- a/core/mac/src/include/sir_debug.h
+++ b/core/mac/src/include/sir_debug.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2012, 2014-2015 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2012, 2014-2015, 2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -41,6 +41,7 @@
#define LOG2 5
#define LOG3 6
#define LOG4 7
+#define LOGD 8
#ifdef WLAN_MDM_CODE_REDUCTION_OPT
#ifdef PE_DEBUG_LOGE
diff --git a/core/mac/src/sys/legacy/src/utils/src/log_api.c b/core/mac/src/sys/legacy/src/utils/src/log_api.c
index 6e571622c046..521168c8f008 100644
--- a/core/mac/src/sys/legacy/src/utils/src/log_api.c
+++ b/core/mac/src/sys/legacy/src/utils/src/log_api.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -149,8 +149,9 @@ QDF_TRACE_LEVEL get_vos_debug_level(uint32_t debugLevel)
return QDF_TRACE_LEVEL_INFO_MED;
case LOG4:
return QDF_TRACE_LEVEL_INFO_LOW;
+ case LOGD:
default:
- return QDF_TRACE_LEVEL_INFO_LOW;
+ return QDF_TRACE_LEVEL_DEBUG;
}
}