X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Fath10k-ct%2Fpatches%2F988-ath10k-always-use-mac80211-loss-detection.patch;fp=package%2Fkernel%2Fath10k-ct%2Fpatches%2F988-ath10k-always-use-mac80211-loss-detection.patch;h=40f262464b137abfcc75fc89e5720a99344a6472;hb=d9070f8d23621931c4869980f6e5ae17abbe3e58;hp=0000000000000000000000000000000000000000;hpb=10616779f11be835da8e56918f2e0e9de3f0539f;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/package/kernel/ath10k-ct/patches/988-ath10k-always-use-mac80211-loss-detection.patch b/package/kernel/ath10k-ct/patches/988-ath10k-always-use-mac80211-loss-detection.patch new file mode 100644 index 0000000000..40f262464b --- /dev/null +++ b/package/kernel/ath10k-ct/patches/988-ath10k-always-use-mac80211-loss-detection.patch @@ -0,0 +1,28 @@ +From f7d6edafe4358e3880a26775cfde4cd5c71ba063 Mon Sep 17 00:00:00 2001 +From: David Bauer +Date: Wed, 5 Jul 2023 01:30:29 +0200 +Subject: [PATCH] ath10k: always use mac80211 loss detection + +ath10k does not report excessive loss in case of broken block-ack +sessions. The loss is communicated to the host-os, but ath10k does not +trigger a low-ack events by itself. + +The mac80211 framework for loss detection however detects this +circumstance well in case of ath10k. So use it regardless of ath10k's +own loss detection mechanism. + +Signed-off-by: David Bauer +--- + ath10k-6.2/mac.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/ath10k-6.2/mac.c ++++ b/ath10k-6.2/mac.c +@@ -11306,7 +11306,6 @@ int ath10k_mac_register(struct ath10k *a + ieee80211_hw_set(ar->hw, CHANCTX_STA_CSA); + ieee80211_hw_set(ar->hw, QUEUE_CONTROL); + ieee80211_hw_set(ar->hw, SUPPORTS_TX_FRAG); +- ieee80211_hw_set(ar->hw, REPORTS_LOW_ACK); + + if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) + ieee80211_hw_set(ar->hw, SW_CRYPTO_CONTROL);