ath10k: add large size for BMI download data for SDIO
Download firmware time cost of SDIO is too long, it is about 480ms, add large size 2048 bytes for BMI download for SDIO chip, its time cost will reduced to 240ms. This will optimize the download firmware time cost. Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00017-QCARMSWP-1. Signed-off-by: Wen Gong <wgong@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -2082,7 +2082,7 @@ static int ath10k_sdio_probe(struct sdio_func *func,
|
||||
goto err_core_destroy;
|
||||
}
|
||||
|
||||
ar_sdio->bmi_buf = devm_kzalloc(ar->dev, BMI_MAX_CMDBUF_SIZE, GFP_KERNEL);
|
||||
ar_sdio->bmi_buf = devm_kzalloc(ar->dev, BMI_MAX_LARGE_CMDBUF_SIZE, GFP_KERNEL);
|
||||
if (!ar_sdio->bmi_buf) {
|
||||
ret = -ENOMEM;
|
||||
goto err_core_destroy;
|
||||
|
Reference in New Issue
Block a user