ath10k: change max RX bundle size from 8 to 32 for sdio
authorWen Gong <wgong@codeaurora.org>
Fri, 15 Nov 2019 07:21:01 +0000 (09:21 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Nov 2019 11:47:18 +0000 (13:47 +0200)
commit224776520ead69e9e85e33e5eb8c705c3552c4e1
tree65f9f4f021a8ad00330fa5918b20d25e7ca23116
parent8d985555ddaa6735c5d1f3d6e4d4d9cb47f27878
ath10k: change max RX bundle size from 8 to 32 for sdio

The max bundle size support by firmware is 32, change it from 8 to 32
will help performance. This results in significant performance
improvement on RX path.

The real max rx bundle is decided in ath10k_htc_wait_target(),
it is the min value of HTC_HOST_MAX_MSG_PER_RX_BUNDLE and the value reported
from firmware. So this change shouldn't cause any regressions with other
hardware supported by ath10k.

Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00017-QCARMSWPZ-1.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htc.h
drivers/net/wireless/ath/ath10k/sdio.c
drivers/net/wireless/ath/ath10k/sdio.h