icnss2: Add change to download qdss file for WCN6450

Add change to download qdss file after bdf download
for WCN6450 device.

Change-Id: I3b46c3411d8af7835af3907f472e82906f924d08
CRs-Fixed: 3413562
此提交包含在:
Sandeep Singh
2023-02-22 12:32:22 +05:30
提交者 Madan Koyyalamudi
父節點 3b1df6da05
當前提交 f6f7707351

查看文件

@@ -983,6 +983,13 @@ static int icnss_driver_event_server_arrive(struct icnss_priv *priv,
goto device_info_failure;
}
if (priv->device_id == WCN6450_DEVICE_ID) {
ret = icnss_wlfw_qdss_dnld_send_sync(priv);
if (ret < 0)
icnss_pr_info("Failed to download qdss config file for WCN6450, ret = %d\n",
ret);
}
if (priv->device_id == WCN6750_DEVICE_ID ||
priv->device_id == WCN6450_DEVICE_ID) {
if (!priv->fw_soc_wake_ack_irq)
@@ -1211,8 +1218,12 @@ static int icnss_driver_event_fw_init_done(struct icnss_priv *priv, void *data)
icnss_pr_info("WLAN FW Initialization done: 0x%lx\n", priv->state);
if (icnss_wlfw_qdss_dnld_send_sync(priv))
icnss_pr_info("Failed to download qdss configuration file");
if (priv->device_id == WCN6750_DEVICE_ID) {
ret = icnss_wlfw_qdss_dnld_send_sync(priv);
if (ret < 0)
icnss_pr_info("Failed to download qdss config file for WCN6750, ret = %d\n",
ret);
}
if (test_bit(ICNSS_COLD_BOOT_CAL, &priv->state)) {
mod_timer(&priv->recovery_timer,