Browse Source

qcacld-3.0: Enable tx_free_at_download feature for SDIO WLAN

When FW support SDIO_REDUCE_TX_COMPL_FW_ACK feature, WLAN host can
enable tx_free_at_download feature to increase efficiency further.

CRs-Fixed: 2078825
Change-Id: I542e51254ca5c0a6c51f7479e0cc1cdb12a077fa
Chris Guo 7 years ago
parent
commit
9597ded3df
1 changed files with 3 additions and 1 deletions
  1. 3 1
      core/bmi/src/ol_fw_common.c

+ 3 - 1
core/bmi/src/ol_fw_common.c

@@ -231,6 +231,8 @@ void ol_target_ready(struct hif_opaque_softc *scn, void *cfg_ctx)
 		hif_set_mailbox_swap(scn);
 	}
 
-	if (value & HI_ACS_FLAGS_SDIO_REDUCE_TX_COMPL_FW_ACK)
+	if (value & HI_ACS_FLAGS_SDIO_REDUCE_TX_COMPL_FW_ACK) {
 		BMI_ERR("Reduced Tx Complete service is enabled!");
+		ol_cfg_set_tx_free_at_download(cfg_ctx);
+	}
 }