瀏覽代碼

qcacmn: Don't block current thread when send msg to firmware

After received rx packets, host should keeps in active state for some time
(500 ms by default) until next runtime suspend is triggered, If found rx
link speed change from good to poor or from poor to good,  can send
to firmwware by WMI instead of QMI, QMI may block current thread for N msec
for sync mode is used.

Change-Id: I94b45ce6125a24466fbcf57e22f1a56cbdeefe9a
CRs-Fixed: 3262032
Jianmin Zhu 2 年之前
父節點
當前提交
7ccd5d9e73
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      wmi/src/wmi_unified_tlv.c

+ 2 - 2
wmi/src/wmi_unified_tlv.c

@@ -17577,8 +17577,8 @@ send_roam_set_param_cmd_tlv(wmi_unified_t wmi_handle,
 	wmi_debug("Setting vdev %d roam_param = %x, value = %u",
 		  cmd->vdev_id, cmd->param_id, cmd->param_value);
 	wmi_mtrace(WMI_ROAM_SET_PARAM_CMDID, cmd->vdev_id, 0);
-	ret = wmi_unified_cmd_send_over_qmi(wmi_handle, buf, len,
-					    WMI_ROAM_SET_PARAM_CMDID);
+	ret = wmi_unified_cmd_send(wmi_handle, buf, len,
+				   WMI_ROAM_SET_PARAM_CMDID);
 	if (QDF_IS_STATUS_ERROR(ret)) {
 		wmi_err("Failed to send roam set param command, ret = %d", ret);
 		wmi_buf_free(buf);