mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Support dp trace level ini config
Set dp trace level to exclude debug level by default. Let this be over ridden by ini. Change-Id: I1ccca7c670467fd2fd84efb3897e610e794efac6 CRs-Fixed: 2101135
This commit is contained in:
parent
e4b6b4ede2
commit
fbf05101d5
3 changed files with 17 additions and 4 deletions
|
|
@ -5380,7 +5380,8 @@ enum hdd_link_speed_rpt_type {
|
|||
#define CFG_QDF_TRACE_ENABLE_CFG_NAME "qdf_trace_enable_cfg"
|
||||
#define CFG_QDF_TRACE_ENABLE_EPPING "qdf_trace_enable_epping"
|
||||
#define CFG_QDF_TRACE_ENABLE_QDF_DEVICES "qdf_trace_enable_qdf_devices"
|
||||
#define CFG_QDF_TRACE_ENABLE_TXRX_NAME "cfd_trace_enable_txrx"
|
||||
#define CFG_QDF_TRACE_ENABLE_TXRX_NAME "qdf_trace_enable_txrx"
|
||||
#define CFG_QDF_TRACE_ENABLE_DP_NAME "qdf_trace_enable_dp"
|
||||
#define CFG_QDF_TRACE_ENABLE_HTC_NAME "qdf_trace_enable_htc"
|
||||
#define CFG_QDF_TRACE_ENABLE_HIF_NAME "qdf_trace_enable_hif"
|
||||
#define CFG_CDR_TRACE_ENABLE_HDD_SAP_DATA_NAME "qdf_trace_enable_hdd_sap_data"
|
||||
|
|
@ -5392,6 +5393,8 @@ enum hdd_link_speed_rpt_type {
|
|||
#define CFG_QDF_TRACE_ENABLE_MIN (0)
|
||||
#define CFG_QDF_TRACE_ENABLE_MAX (0xff)
|
||||
#define CFG_QDF_TRACE_ENABLE_DEFAULT (0xffff)
|
||||
/* disable debug logs for DP by default */
|
||||
#define CFG_QDF_TRACE_ENABLE_DP_DEFAULT (0x7f)
|
||||
|
||||
#define HDD_MCASTBCASTFILTER_FILTER_NONE 0x00
|
||||
#define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST 0x01
|
||||
|
|
@ -11930,7 +11933,8 @@ struct hdd_config {
|
|||
uint16_t qdf_trace_enable_hdd_sap;
|
||||
uint16_t qdf_trace_enable_bmi;
|
||||
uint16_t qdf_trace_enable_cfg;
|
||||
uint16_t cfd_trace_enable_txrx;
|
||||
uint16_t qdf_trace_enable_txrx;
|
||||
uint16_t qdf_trace_enable_dp;
|
||||
uint16_t qdf_trace_enable_htc;
|
||||
uint16_t qdf_trace_enable_hif;
|
||||
uint16_t qdf_trace_enable_hdd_sap_data;
|
||||
|
|
|
|||
|
|
@ -1730,12 +1730,19 @@ struct reg_table_entry g_registry_table[] = {
|
|||
CFG_QDF_TRACE_ENABLE_MAX),
|
||||
|
||||
REG_VARIABLE(CFG_QDF_TRACE_ENABLE_TXRX_NAME, WLAN_PARAM_Integer,
|
||||
struct hdd_config, cfd_trace_enable_txrx,
|
||||
struct hdd_config, qdf_trace_enable_txrx,
|
||||
VAR_FLAGS_OPTIONAL,
|
||||
CFG_QDF_TRACE_ENABLE_DEFAULT,
|
||||
CFG_QDF_TRACE_ENABLE_MIN,
|
||||
CFG_QDF_TRACE_ENABLE_MAX),
|
||||
|
||||
REG_VARIABLE(CFG_QDF_TRACE_ENABLE_DP_NAME, WLAN_PARAM_Integer,
|
||||
struct hdd_config, qdf_trace_enable_dp,
|
||||
VAR_FLAGS_OPTIONAL,
|
||||
CFG_QDF_TRACE_ENABLE_DP_DEFAULT,
|
||||
CFG_QDF_TRACE_ENABLE_MIN,
|
||||
CFG_QDF_TRACE_ENABLE_MAX),
|
||||
|
||||
REG_VARIABLE(CFG_QDF_TRACE_ENABLE_HTC_NAME, WLAN_PARAM_Integer,
|
||||
struct hdd_config, qdf_trace_enable_htc,
|
||||
VAR_FLAGS_OPTIONAL,
|
||||
|
|
|
|||
|
|
@ -7697,7 +7697,9 @@ static void hdd_set_trace_level_for_each(struct hdd_context *hdd_ctx)
|
|||
hdd_qdf_trace_enable(QDF_MODULE_ID_QDF_DEVICE,
|
||||
hdd_ctx->config->qdf_trace_enable_qdf_devices);
|
||||
hdd_qdf_trace_enable(QDF_MODULE_ID_TXRX,
|
||||
hdd_ctx->config->cfd_trace_enable_txrx);
|
||||
hdd_ctx->config->qdf_trace_enable_txrx);
|
||||
hdd_qdf_trace_enable(QDF_MODULE_ID_DP,
|
||||
hdd_ctx->config->qdf_trace_enable_dp);
|
||||
hdd_qdf_trace_enable(QDF_MODULE_ID_HTC,
|
||||
hdd_ctx->config->qdf_trace_enable_htc);
|
||||
hdd_qdf_trace_enable(QDF_MODULE_ID_HIF,
|
||||
|
|
|
|||
Loading…
Reference in a new issue