|
Oliver Neukum |
97a8d2 |
From 1c20560607e6e142af76b9bd57e275b9053958a1 Mon Sep 17 00:00:00 2001
|
|
Oliver Neukum |
97a8d2 |
From: Loic Poulain <loic.poulain@linaro.org>
|
|
Oliver Neukum |
97a8d2 |
Date: Fri, 24 Jul 2020 12:20:49 +0200
|
|
Oliver Neukum |
97a8d2 |
Subject: [PATCH] wcn36xx: Increase number of TX retries
|
|
Oliver Neukum |
97a8d2 |
Git-commit: 1c20560607e6e142af76b9bd57e275b9053958a1
|
|
Oliver Neukum |
97a8d2 |
References: git-fixes
|
|
Oliver Neukum |
97a8d2 |
Patch-mainline: v5.10-rc1
|
|
Oliver Neukum |
97a8d2 |
|
|
Oliver Neukum |
97a8d2 |
Increase the short/long retry limit to 15 in order to impove TX
|
|
Oliver Neukum |
97a8d2 |
robustness in noisy/busy environment. 15 is the default value
|
|
Oliver Neukum |
97a8d2 |
defined in the downstream driver. Observed number of ack timeout
|
|
Oliver Neukum |
97a8d2 |
is reduced with this change.
|
|
Oliver Neukum |
97a8d2 |
|
|
Oliver Neukum |
97a8d2 |
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
|
Oliver Neukum |
97a8d2 |
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
|
Oliver Neukum |
97a8d2 |
Link: https://lore.kernel.org/r/1595586052-16081-4-git-send-email-loic.poulain@linaro.org
|
|
Oliver Neukum |
97a8d2 |
Signed-off-by: Oliver Neukum <oneukum@suse.com>
|
|
Oliver Neukum |
97a8d2 |
---
|
|
Oliver Neukum |
97a8d2 |
drivers/net/wireless/ath/wcn36xx/smd.c | 4 ++--
|
|
Oliver Neukum |
97a8d2 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Oliver Neukum |
97a8d2 |
|
|
Oliver Neukum |
97a8d2 |
diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c
|
|
Oliver Neukum |
97a8d2 |
index 59f9f53fc788..908cc6cf7b1a 100644
|
|
Oliver Neukum |
97a8d2 |
--- a/drivers/net/wireless/ath/wcn36xx/smd.c
|
|
Oliver Neukum |
97a8d2 |
+++ b/drivers/net/wireless/ath/wcn36xx/smd.c
|
|
Oliver Neukum |
97a8d2 |
@@ -45,8 +45,8 @@ static struct wcn36xx_cfg_val wcn36xx_cfg_vals[] = {
|
|
Oliver Neukum |
97a8d2 |
WCN36XX_CFG_VAL(MAX_MEDIUM_TIME, 6000),
|
|
Oliver Neukum |
97a8d2 |
WCN36XX_CFG_VAL(MAX_MPDUS_IN_AMPDU, 64),
|
|
Oliver Neukum |
97a8d2 |
WCN36XX_CFG_VAL(RTS_THRESHOLD, 2347),
|
|
Oliver Neukum |
97a8d2 |
- WCN36XX_CFG_VAL(SHORT_RETRY_LIMIT, 6),
|
|
Oliver Neukum |
97a8d2 |
- WCN36XX_CFG_VAL(LONG_RETRY_LIMIT, 6),
|
|
Oliver Neukum |
97a8d2 |
+ WCN36XX_CFG_VAL(SHORT_RETRY_LIMIT, 15),
|
|
Oliver Neukum |
97a8d2 |
+ WCN36XX_CFG_VAL(LONG_RETRY_LIMIT, 15),
|
|
Oliver Neukum |
97a8d2 |
WCN36XX_CFG_VAL(FRAGMENTATION_THRESHOLD, 8000),
|
|
Oliver Neukum |
97a8d2 |
WCN36XX_CFG_VAL(DYNAMIC_THRESHOLD_ZERO, 5),
|
|
Oliver Neukum |
97a8d2 |
WCN36XX_CFG_VAL(DYNAMIC_THRESHOLD_ONE, 10),
|
|
Oliver Neukum |
97a8d2 |
--
|
|
Oliver Neukum |
97a8d2 |
2.40.1
|
|
Oliver Neukum |
97a8d2 |
|