Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e67f869a authored by Sandeep Singh's avatar Sandeep Singh
Browse files

cnss2: Download qdss cfg file at end of fw mem ready handler



Download qdss cfg file at end of fw mem ready handler instead
of downloading cfg file after fw init done. Wlan fw expects
qdss mem req/resp from host before mode on request from it.
Wlan fw will wait for qdss memory sync qmi exchange from
host before sending fw init done to it to avoid receiving
qdss memory sync after mode on request.

Change-Id: If4e752c398821a5cdfeb1b5aeaf735f1973b5635
Signed-off-by: default avatarSandeep Singh <sandsing@codeaurora.org>
parent be60e6e7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -448,6 +448,9 @@ static int cnss_fw_mem_ready_hdlr(struct cnss_plat_data *plat_priv)
	if (ret)
		goto out;

	if (cnss_wlfw_qdss_dnld_send_sync(plat_priv))
		cnss_pr_info("Failed to download qdss configuration file");

	return 0;
out:
	return ret;
@@ -538,9 +541,6 @@ static int cnss_fw_ready_hdlr(struct cnss_plat_data *plat_priv)

	cnss_wlfw_send_pcie_gen_speed_sync(plat_priv);

	if (cnss_wlfw_qdss_dnld_send_sync(plat_priv))
		cnss_pr_info("Failed to download qdss configuration file");

	if (test_bit(CNSS_FW_BOOT_RECOVERY, &plat_priv->driver_state)) {
		clear_bit(CNSS_FW_BOOT_RECOVERY, &plat_priv->driver_state);
		clear_bit(CNSS_DRIVER_RECOVERY, &plat_priv->driver_state);