qcacld-3.0: Refine gFwDebugModuleLoglevel configurations
Refine gFwDebugModuleLoglevel configurations based on converged cfg component. Remove related legacy codes. Change-Id: I5a1099872163bdcf0fc2e08478c4b608529db736 CRs-Fixed: 2355599
此提交包含在:
@@ -348,6 +348,47 @@
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Default value to be given to the net link cnss_diag service")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gFwDebugModuleLoglevel - modulized firmware debug log level
|
||||
* @Min: N/A
|
||||
* @Max: N/A
|
||||
* @Default: N/A
|
||||
*
|
||||
* This ini is used to set modulized firmware debug log level.
|
||||
* FW module log level input string format looks like below:
|
||||
* gFwDebugModuleLoglevel="<FW Module ID>,<Log Level>,..."
|
||||
* For example:
|
||||
* gFwDebugModuleLoglevel="1,0,2,1,3,2,4,3,5,4,6,5,7,6"
|
||||
* The above input string means:
|
||||
* For FW module ID 1 enable log level 0
|
||||
* For FW module ID 2 enable log level 1
|
||||
* For FW module ID 3 enable log level 2
|
||||
* For FW module ID 4 enable log level 3
|
||||
* For FW module ID 5 enable log level 4
|
||||
* For FW module ID 6 enable log level 5
|
||||
* For FW module ID 7 enable log level 6
|
||||
* For valid values of log levels check enum DBGLOG_LOG_LVL and
|
||||
* for valid values of module ids check enum WLAN_MODULE_ID.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: Debugging
|
||||
*
|
||||
* Usage: Internal/External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
|
||||
#define FW_MODULE_LOG_LEVEL_STRING_LENGTH (512)
|
||||
#define CFG_ENABLE_FW_MODULE_LOG_LEVEL CFG_INI_STRING( \
|
||||
"gFwDebugModuleLoglevel", \
|
||||
0, \
|
||||
FW_MODULE_LOG_LEVEL_STRING_LENGTH, \
|
||||
"2,1,3,1,5,1,9,1,13,1,14,1,18,1,19,1,26,1,28,1,29,1,31,1,36,1,38,1,"\
|
||||
"46,1,47,1,50,1,52,1,53,1,56,1,60,1,61,1,4,1", \
|
||||
"Set modulized firmware debug log level")
|
||||
|
||||
#ifdef FEATURE_WLAN_RA_FILTERING
|
||||
/* <ini>
|
||||
* gRAFilterEnable
|
||||
@@ -456,6 +497,7 @@
|
||||
CFG(CFG_ENABLE_FW_RTS_PROFILE) \
|
||||
CFG(CFG_ENABLE_FW_DEBUG_LOG_LEVEL) \
|
||||
CFG(CFG_ENABLE_FW_LOG_TYPE) \
|
||||
CFG(CFG_ENABLE_FW_MODULE_LOG_LEVEL) \
|
||||
CFG(CFG_RA_FILTER_ENABLE) \
|
||||
CFG(CFG_SET_TSF_GPIO_PIN)
|
||||
|
||||
|
新增問題並參考
封鎖使用者