Browse Source

qcacld-3.0: UMAC: Introduce LOGD log level

Introduce LOGD log level.

Change-Id: I55f4f8e6a2a4ab22503b85921ad97652fe2219bb
CRs-Fixed: 2014745
Srinivas Girigowda 8 years ago
parent
commit
9e4462e688

+ 2 - 1
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

+ 3 - 2
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;
 	}
 }