
Users feel anxious about some ath10k driver logs. After further investigation, in fact these logs are harmless. Only developers need to care about them in order to optimize some parameters. Let's just silence them to reduce these similar user reports. Closes: https://github.com/openwrt/openwrt/issues/13148 Closes: https://github.com/openwrt/openwrt/issues/14422 Closes: https://github.com/openwrt/openwrt/issues/15959 Closes: https://github.com/openwrt/openwrt/issues/15997 Closes: https://github.com/openwrt/openwrt/issues/16896 Closes: https://github.com/openwrt/openwrt/issues/18046 Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18368 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 88234a03bc645d327016cc807c35972fcb6834eb) [Apply to ath10k-ct 6.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
35 lines
996 B
Diff
35 lines
996 B
Diff
From: Shiji Yang <yangshiji66@outlook.com>
|
|
Date: Fri, 28 Mar 2025 20:26:04 +0800
|
|
Subject: [PATCH] ath10k-ct: silence warning caused by unsupported retry_limit
|
|
value
|
|
|
|
Some retry_limit values are not supported by ath10k wave2 chips.
|
|
We can just skip config it for these chips. And it's safe to
|
|
return 0 in this case because the hardware is still working.
|
|
|
|
Suggested-by: Ben Greear <greearb@candelatech.com>
|
|
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
|
|
---
|
|
ath10k-6.14/mac.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/ath10k-6.10/mac.c
|
|
+++ b/ath10k-6.10/mac.c
|
|
@@ -5395,7 +5395,7 @@ static int ath10k_config_retry_limit(str
|
|
*/
|
|
ath10k_warn(ar, "Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: %d\n",
|
|
limit);
|
|
- return -EINVAL;
|
|
+ goto skip_retry_limit;
|
|
}
|
|
|
|
list_for_each_entry(arvif, &ar->arvifs, list) {
|
|
@@ -5406,6 +5406,7 @@ static int ath10k_config_retry_limit(str
|
|
}
|
|
}
|
|
|
|
+skip_retry_limit:
|
|
return ret;
|
|
}
|
|
|