From 9597ded3df86acbaf5dffd7422669b1baf1dffbe Mon Sep 17 00:00:00 2001 From: Chris Guo Date: Wed, 19 Jul 2017 15:30:30 +0800 Subject: [PATCH] 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 --- core/bmi/src/ol_fw_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/bmi/src/ol_fw_common.c b/core/bmi/src/ol_fw_common.c index 5eb3f0c53c51..d9584afa60b0 100644 --- a/core/bmi/src/ol_fw_common.c +++ b/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); + } }