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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
3b1df6da05
commit
f6f7707351
@@ -983,6 +983,13 @@ static int icnss_driver_event_server_arrive(struct icnss_priv *priv,
|
|||||||
goto device_info_failure;
|
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 ||
|
if (priv->device_id == WCN6750_DEVICE_ID ||
|
||||||
priv->device_id == WCN6450_DEVICE_ID) {
|
priv->device_id == WCN6450_DEVICE_ID) {
|
||||||
if (!priv->fw_soc_wake_ack_irq)
|
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);
|
icnss_pr_info("WLAN FW Initialization done: 0x%lx\n", priv->state);
|
||||||
|
|
||||||
if (icnss_wlfw_qdss_dnld_send_sync(priv))
|
if (priv->device_id == WCN6750_DEVICE_ID) {
|
||||||
icnss_pr_info("Failed to download qdss configuration file");
|
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)) {
|
if (test_bit(ICNSS_COLD_BOOT_CAL, &priv->state)) {
|
||||||
mod_timer(&priv->recovery_timer,
|
mod_timer(&priv->recovery_timer,
|
||||||
|
Reference in New Issue
Block a user