|
@@ -339,16 +339,33 @@ enum hdd_dot11_mode {
|
|
|
|
|
|
/*
|
|
|
* <ini>
|
|
|
- * wlanLoggingToConsole - Wlan logging to console
|
|
|
- * @Min: 0
|
|
|
- * @Max: 1
|
|
|
- * @Default: 1
|
|
|
+ * wlanConsoleLogLevelsBitmap - Bitmap to enable/disable console log levels
|
|
|
+ * @Min: 0x00000000
|
|
|
+ * @Max: 0x000003ff
|
|
|
+ * @Default: 0x0000001e
|
|
|
+ *
|
|
|
+ * This INI is used to enable/disable console logs for specific log level.
|
|
|
+ *
|
|
|
+ * bit-0: Reserved
|
|
|
+ * bit-1: QDF_TRACE_LEVEL_FATAL
|
|
|
+ * bit-2: QDF_TRACE_LEVEL_ERROR
|
|
|
+ * bit-3: QDF_TRACE_LEVEL_WARN
|
|
|
+ * bit-4: QDF_TRACE_LEVEL_INFO
|
|
|
+ * bit-5: QDF_TRACE_LEVEL_INFO_HIGH
|
|
|
+ * bit-6: QDF_TRACE_LEVEL_INFO_MED
|
|
|
+ * bit-7: QDF_TRACE_LEVEL_INFO_LOW
|
|
|
+ * bit-8: QDF_TRACE_LEVEL_DEBUG
|
|
|
+ * bit-9: QDF_TRACE_LEVEL_TRACE
|
|
|
+ * bit-10 to bit-31: Reserved
|
|
|
*
|
|
|
* </ini>
|
|
|
*/
|
|
|
-#define CFG_WLAN_LOGGING_CONSOLE_SUPPORT CFG_INI_BOOL( \
|
|
|
- "wlanLoggingToConsole", \
|
|
|
- 1, \
|
|
|
+#define CFG_WLAN_LOGGING_CONSOLE_SUPPORT CFG_INI_UINT( \
|
|
|
+ "wlanConsoleLogLevelsBitmap", \
|
|
|
+ 0x00000000, \
|
|
|
+ 0x000003ff, \
|
|
|
+ 0x0000001e, \
|
|
|
+ CFG_VALUE_OR_DEFAULT, \
|
|
|
"Wlan logging to console")
|
|
|
|
|
|
#define CFG_WLAN_LOGGING_SUPPORT_ALL \
|