diff mbox

ath10k: expand the wmi mgmt queue limit to 128

Message ID 1384416075-13751-1-git-send-email-bartosz.markowski@tieto.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Bartosz Markowski Nov. 14, 2013, 8:01 a.m. UTC
It was obseverd many times the short queue limit can be
easily exceeded in case of AP multiple BSSID scenarios.

"ath10k: wmi mgmt_tx queue limit reached."

This was leading to TX packets drops.

This patch expands the queue limit to 128. After many stress
experiments (high traffic and lot of management frames in
the air) the new value seems to fix the problem on platforms
with limited resources.

Reported-By: Tomasz Skapski <tomasz.skapski@tieto.com>
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
---
 drivers/net/wireless/ath/ath10k/core.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Nov. 15, 2013, 9:01 a.m. UTC | #1
Bartosz Markowski <bartosz.markowski@tieto.com> writes:

> It was obseverd many times the short queue limit can be
> easily exceeded in case of AP multiple BSSID scenarios.
>
> "ath10k: wmi mgmt_tx queue limit reached."
>
> This was leading to TX packets drops.
>
> This patch expands the queue limit to 128. After many stress
> experiments (high traffic and lot of management frames in
> the air) the new value seems to fix the problem on platforms
> with limited resources.
>
> Reported-By: Tomasz Skapski <tomasz.skapski@tieto.com>
> Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

Thanks, applied.
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h
index 0934f76..be35df2 100644
--- a/drivers/net/wireless/ath/ath10k/core.h
+++ b/drivers/net/wireless/ath/ath10k/core.h
@@ -43,7 +43,7 @@ 
 /* Antenna noise floor */
 #define ATH10K_DEFAULT_NOISE_FLOOR -95
 
-#define ATH10K_MAX_NUM_MGMT_PENDING 16
+#define ATH10K_MAX_NUM_MGMT_PENDING 128
 
 struct ath10k;