mac80211: update to backports-4.14-rc2
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 332-ath10k-Revert-disable-wake_tx_queue-for-older-devices.patch
1 From 59f8c22bf1749c4a2b5947bfaebc677c259a1ad6 Mon Sep 17 00:00:00 2001
2 From: dave taht <dave@taht.net>
3 Date: Wed, 5 Oct 2016 20:09:15 -0700
4 Subject: [PATCH 5/7] Revert "ath10k: disable wake_tx_queue for older 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 @@ -8286,15 +8286,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);