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>
This commit is contained in:

zatwierdzone przez
Kalle Valo

rodzic
8d985555dd
commit
224776520e
@@ -24,7 +24,7 @@
|
||||
#include "trace.h"
|
||||
#include "sdio.h"
|
||||
|
||||
#define ATH10K_SDIO_VSG_BUF_SIZE (32 * 1024)
|
||||
#define ATH10K_SDIO_VSG_BUF_SIZE (64 * 1024)
|
||||
|
||||
/* inlined helper functions */
|
||||
|
||||
@@ -494,7 +494,7 @@ static int ath10k_sdio_mbox_alloc_bundle(struct ath10k *ar,
|
||||
{
|
||||
int ret, i;
|
||||
|
||||
*bndl_cnt = FIELD_GET(ATH10K_HTC_FLAG_BUNDLE_MASK, htc_hdr->flags);
|
||||
*bndl_cnt = ath10k_htc_get_bundle_count(htc_hdr->flags);
|
||||
|
||||
if (*bndl_cnt > HTC_HOST_MAX_MSG_PER_RX_BUNDLE) {
|
||||
ath10k_warn(ar,
|
||||
|
Reference in New Issue
Block a user