|
@@ -402,6 +402,7 @@ send_stats_request_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
wmi_request_stats_cmd_fixed_param *cmd;
|
|
|
wmi_buf_t buf;
|
|
|
uint16_t len = sizeof(wmi_request_stats_cmd_fixed_param);
|
|
|
+ bool is_qmi_send_support;
|
|
|
|
|
|
buf = wmi_buf_alloc(wmi_handle, len);
|
|
|
if (!buf)
|
|
@@ -417,15 +418,18 @@ send_stats_request_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target(
|
|
|
wmi_handle,
|
|
|
param->pdev_id);
|
|
|
+ is_qmi_send_support = param->is_qmi_send_support;
|
|
|
|
|
|
WMI_CHAR_ARRAY_TO_MAC_ADDR(macaddr, &cmd->peer_macaddr);
|
|
|
|
|
|
- wmi_debug("STATS REQ STATS_ID:%d VDEV_ID:%d PDEV_ID:%d-->",
|
|
|
- cmd->stats_id, cmd->vdev_id, cmd->pdev_id);
|
|
|
+ wmi_debug("STATS REQ STATS_ID:%d VDEV_ID:%d PDEV_ID:%d, is_qmi_send_support %d",
|
|
|
+ cmd->stats_id, cmd->vdev_id, cmd->pdev_id,
|
|
|
+ is_qmi_send_support);
|
|
|
|
|
|
wmi_mtrace(WMI_REQUEST_STATS_CMDID, cmd->vdev_id, 0);
|
|
|
ret = wmi_unified_cmd_send_pm_chk(wmi_handle, buf, len,
|
|
|
- WMI_REQUEST_STATS_CMDID);
|
|
|
+ WMI_REQUEST_STATS_CMDID,
|
|
|
+ is_qmi_send_support);
|
|
|
|
|
|
if (ret) {
|
|
|
wmi_err("Failed to send stats request to fw =%d", ret);
|