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
This commit is contained in:
Chris Guo 2017-07-19 15:30:30 +08:00 • committed by snandini
commit 9597ded3df

View file

@ -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);
}
}