mt76: update to the latest version
[oweals/openwrt.git] / package / kernel / mac80211 / patches / 367-Revert-ath10k-disable-wake_tx_queue-for-older-device.patch
1 From: dave taht <dave@taht.net>
2 Date: Wed, 5 Oct 2016 20:09:15 -0700
3 Subject: [PATCH] Revert "ath10k: disable wake_tx_queue for older
4  devices"
5
6 This reverts commit 4ca1807815aa6801aaced7fdefa9edacc2521767
7 in the hope that we've fixed all the performance problems now.
8 ---
9
10 --- a/drivers/net/wireless/ath/ath10k/mac.c
11 +++ b/drivers/net/wireless/ath/ath10k/mac.c
12 @@ -8319,15 +8319,6 @@ int ath10k_mac_register(struct ath10k *a
13                         ath10k_warn(ar, "failed to initialise DFS pattern detector\n");
14         }
15  
16 -       /* Current wake_tx_queue implementation imposes a significant
17 -        * performance penalty in some setups. The tx scheduling code needs
18 -        * more work anyway so disable the wake_tx_queue unless firmware
19 -        * supports the pull-push mechanism.
20 -        */
21 -       if (!test_bit(ATH10K_FW_FEATURE_PEER_FLOW_CONTROL,
22 -                     ar->running_fw->fw_file.fw_features))
23 -               ar->ops->wake_tx_queue = NULL;
24 -
25         ret = ath10k_mac_init_rd(ar);
26         if (ret) {
27                 ath10k_err(ar, "failed to derive regdom: %d\n", ret);