qcacmn: Send diag wmi command to FW

Donot block wmi command sending inside #if macro.
This change is needed because WIN uses only the FW log level
setting and not the complete feature. Only the feature
should be enclosed in #if macros and not the wmi command
sending part.

Change-Id: Ia28c0487d360c1b0a54374bb237811eba6b1af41
This commit is contained in:
Nandha Kishore Easwaran
2020-08-26 09:24:55 +05:30
committed by snandini
parent b8a17e378b
commit 72f98bced8
3 changed files with 0 additions and 15 deletions

View File

@@ -1146,7 +1146,6 @@ QDF_STATUS wmi_unified_pdev_utf_cmd_send(wmi_unified_t wmi_handle,
struct pdev_utf_params *param,
uint8_t mac_id);
#ifdef FEATURE_FW_LOG_PARSING
/**
* wmi_unified_dbglog_cmd_send() - set debug log level
* @wmi_handle: handle to WMI.
@@ -1156,14 +1155,6 @@ QDF_STATUS wmi_unified_pdev_utf_cmd_send(wmi_unified_t wmi_handle,
*/
QDF_STATUS wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
struct dbglog_params *param);
#else
static inline QDF_STATUS
wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
struct dbglog_params *param)
{
return QDF_STATUS_SUCCESS;
}
#endif
/**
* wmi_mgmt_unified_cmd_send() - management cmd over wmi layer

View File

@@ -376,7 +376,6 @@ QDF_STATUS wmi_crash_inject(wmi_unified_t wmi_handle,
return QDF_STATUS_E_FAILURE;
}
#ifdef FEATURE_FW_LOG_PARSING
QDF_STATUS
wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
struct dbglog_params *dbglog_param)
@@ -388,7 +387,6 @@ wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
return QDF_STATUS_E_FAILURE;
}
qdf_export_symbol(wmi_unified_dbglog_cmd_send);
#endif
QDF_STATUS
wmi_unified_vdev_set_param_send(wmi_unified_t wmi_handle,

View File

@@ -1993,7 +1993,6 @@ 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.
@@ -2056,7 +2055,6 @@ send_dbglog_cmd_tlv(wmi_unified_t wmi_handle,
return status;
}
#endif
#ifdef ENABLE_HOST_TO_TARGET_CONVERSION
static inline uint32_t convert_host_vdev_param_tlv(uint32_t host_param)
@@ -13784,9 +13782,7 @@ 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_packet_log_enable_cmd = send_packet_log_enable_cmd_tlv,
.send_peer_based_pktlog_cmd = send_peer_based_pktlog_cmd,