f025fea63b7ad68aaa1addaa705c10148f40f632
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / ath10k / 988-ath10k-always-use-mac80211-loss-detection.patch
1 From f7d6edafe4358e3880a26775cfde4cd5c71ba063 Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Wed, 5 Jul 2023 01:30:29 +0200
4 Subject: [PATCH] ath10k: always use mac80211 loss detection
5
6 ath10k does not report excessive loss in case of broken block-ack
7 sessions. The loss is communicated to the host-os, but ath10k does not
8 trigger a low-ack events by itself.
9
10 The mac80211 framework for loss detection however detects this
11 circumstance well in case of ath10k. So use it regardless of ath10k's
12 own loss detection mechanism.
13
14 Signed-off-by: David Bauer <mail@david-bauer.net>
15 ---
16 drivers/net/wireless/ath/ath10k/mac.c | 1 -
17 1 file changed, 1 deletion(-)
18
19 --- a/drivers/net/wireless/ath/ath10k/mac.c
20 +++ b/drivers/net/wireless/ath/ath10k/mac.c
21 @@ -10080,7 +10080,6 @@ int ath10k_mac_register(struct ath10k *a
22 ieee80211_hw_set(ar->hw, CHANCTX_STA_CSA);
23 ieee80211_hw_set(ar->hw, QUEUE_CONTROL);
24 ieee80211_hw_set(ar->hw, SUPPORTS_TX_FRAG);
25 - ieee80211_hw_set(ar->hw, REPORTS_LOW_ACK);
26
27 if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags))
28 ieee80211_hw_set(ar->hw, SW_CRYPTO_CONTROL);