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:

committed by
snandini

parent
b8a17e378b
commit
72f98bced8
@@ -1146,7 +1146,6 @@ QDF_STATUS wmi_unified_pdev_utf_cmd_send(wmi_unified_t wmi_handle,
|
|||||||
struct pdev_utf_params *param,
|
struct pdev_utf_params *param,
|
||||||
uint8_t mac_id);
|
uint8_t mac_id);
|
||||||
|
|
||||||
#ifdef FEATURE_FW_LOG_PARSING
|
|
||||||
/**
|
/**
|
||||||
* wmi_unified_dbglog_cmd_send() - set debug log level
|
* wmi_unified_dbglog_cmd_send() - set debug log level
|
||||||
* @wmi_handle: handle to WMI.
|
* @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,
|
QDF_STATUS wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
|
||||||
struct dbglog_params *param);
|
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
|
* wmi_mgmt_unified_cmd_send() - management cmd over wmi layer
|
||||||
|
@@ -376,7 +376,6 @@ QDF_STATUS wmi_crash_inject(wmi_unified_t wmi_handle,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef FEATURE_FW_LOG_PARSING
|
|
||||||
QDF_STATUS
|
QDF_STATUS
|
||||||
wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
|
wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
|
||||||
struct dbglog_params *dbglog_param)
|
struct dbglog_params *dbglog_param)
|
||||||
@@ -388,7 +387,6 @@ wmi_unified_dbglog_cmd_send(wmi_unified_t wmi_handle,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
qdf_export_symbol(wmi_unified_dbglog_cmd_send);
|
qdf_export_symbol(wmi_unified_dbglog_cmd_send);
|
||||||
#endif
|
|
||||||
|
|
||||||
QDF_STATUS
|
QDF_STATUS
|
||||||
wmi_unified_vdev_set_param_send(wmi_unified_t wmi_handle,
|
wmi_unified_vdev_set_param_send(wmi_unified_t wmi_handle,
|
||||||
|
@@ -1993,7 +1993,6 @@ static QDF_STATUS send_crash_inject_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef FEATURE_FW_LOG_PARSING
|
|
||||||
/**
|
/**
|
||||||
* send_dbglog_cmd_tlv() - set debug log level
|
* send_dbglog_cmd_tlv() - set debug log level
|
||||||
* @param wmi_handle : handle to WMI.
|
* @param wmi_handle : handle to WMI.
|
||||||
@@ -2056,7 +2055,6 @@ send_dbglog_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef ENABLE_HOST_TO_TARGET_CONVERSION
|
#ifdef ENABLE_HOST_TO_TARGET_CONVERSION
|
||||||
static inline uint32_t convert_host_vdev_param_tlv(uint32_t host_param)
|
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_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_set_sta_ps_param_cmd = send_set_sta_ps_param_cmd_tlv,
|
||||||
.send_crash_inject_cmd = send_crash_inject_cmd_tlv,
|
.send_crash_inject_cmd = send_crash_inject_cmd_tlv,
|
||||||
#ifdef FEATURE_FW_LOG_PARSING
|
|
||||||
.send_dbglog_cmd = send_dbglog_cmd_tlv,
|
.send_dbglog_cmd = send_dbglog_cmd_tlv,
|
||||||
#endif
|
|
||||||
.send_vdev_set_param_cmd = send_vdev_set_param_cmd_tlv,
|
.send_vdev_set_param_cmd = send_vdev_set_param_cmd_tlv,
|
||||||
.send_packet_log_enable_cmd = send_packet_log_enable_cmd_tlv,
|
.send_packet_log_enable_cmd = send_packet_log_enable_cmd_tlv,
|
||||||
.send_peer_based_pktlog_cmd = send_peer_based_pktlog_cmd,
|
.send_peer_based_pktlog_cmd = send_peer_based_pktlog_cmd,
|
||||||
|
Reference in New Issue
Block a user