qcacmn: Featurize dbglog_host

Featurize parsing support for WLAN firmware logs in WLAN host driver

Change-Id: I94a75a0ab09f086209298bdd4870df78e9733a3f
CRs-Fixed: 2228370
This commit is contained in:
Wen Gong 2018-04-20 16:56:28 +08:00 • committed by nshrivas
commit 583a3b1b18
4 changed files with 75 additions and 1 deletions

View file

@ -634,6 +634,7 @@ QDF_STATUS wmi_crash_inject(void *wmi_hdl,
return QDF_STATUS_E_FAILURE;
}
#ifdef FEATURE_FW_LOG_PARSING
/**
* wmi_unified_dbglog_cmd_send() - set debug log level
* @param wmi_handle : handle to WMI.
@ -654,6 +655,7 @@ wmi_unified_dbglog_cmd_send(void *wmi_hdl,
return QDF_STATUS_E_FAILURE;
}
qdf_export_symbol(wmi_unified_dbglog_cmd_send);
#endif
/**
* wmi_unified_vdev_set_param_send() - WMI vdev set parameter function

View file

@ -1574,6 +1574,7 @@ static QDF_STATUS send_crash_inject_cmd_tlv(wmi_unified_t wmi_handle,
return ret;
}
#ifdef FEATURE_FW_LOG_PARSING
/**
* send_dbglog_cmd_tlv() - set debug log level
* @param wmi_handle : handle to WMI.
@ -1635,6 +1636,7 @@ send_dbglog_cmd_tlv(wmi_unified_t wmi_handle,
return status;
}
#endif
#ifdef CONFIG_MCL
static inline uint32_t convert_host_vdev_param_tlv(wmi_unified_t wmi_handle,
@ -22598,7 +22600,9 @@ struct wmi_ops tlv_ops = {
.send_set_ap_ps_param_cmd = send_set_ap_ps_param_cmd_tlv,
.send_set_sta_ps_param_cmd = send_set_sta_ps_param_cmd_tlv,
.send_crash_inject_cmd = send_crash_inject_cmd_tlv,
#ifdef FEATURE_FW_LOG_PARSING
.send_dbglog_cmd = send_dbglog_cmd_tlv,
#endif
.send_vdev_set_param_cmd = send_vdev_set_param_cmd_tlv,
.send_stats_request_cmd = send_stats_request_cmd_tlv,
.send_packet_log_enable_cmd = send_packet_log_enable_cmd_tlv,