mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
a8f63a0717
This updates mac80211 to backprots-4.14-rc2. This was compile and runtime tested with ath9k, ath10k and b43 with multiple stations and ieee80211w and in different scenarios by many other people. To create the backports-4.14-rc2-1.tar.xz use this repository: https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git from tag v4.14-rc2-1 Then run this: ./gentree.py --git-revision v4.14-rc2 --clean <path to linux repo> ../backports-4.14-rc2-1 This also adapts the ath10k-ct and mt76 driver to the changed cfg80211 APIs and syncs the nl80211.h file in iw with the new version from backports-4.14-rc2. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From 59f8c22bf1749c4a2b5947bfaebc677c259a1ad6 Mon Sep 17 00:00:00 2001
|
|
From: dave taht <dave@taht.net>
|
|
Date: Wed, 5 Oct 2016 20:09:15 -0700
|
|
Subject: [PATCH 5/7] Revert "ath10k: disable wake_tx_queue for older devices"
|
|
|
|
This reverts commit 4ca1807815aa6801aaced7fdefa9edacc2521767
|
|
in the hope that we've fixed all the performance problems now.
|
|
---
|
|
|
|
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
|
@@ -8286,15 +8286,6 @@ int ath10k_mac_register(struct ath10k *a
|
|
ath10k_warn(ar, "failed to initialise DFS pattern detector\n");
|
|
}
|
|
|
|
- /* Current wake_tx_queue implementation imposes a significant
|
|
- * performance penalty in some setups. The tx scheduling code needs
|
|
- * more work anyway so disable the wake_tx_queue unless firmware
|
|
- * supports the pull-push mechanism.
|
|
- */
|
|
- if (!test_bit(ATH10K_FW_FEATURE_PEER_FLOW_CONTROL,
|
|
- ar->running_fw->fw_file.fw_features))
|
|
- ar->ops->wake_tx_queue = NULL;
|
|
-
|
|
ret = ath10k_mac_init_rd(ar);
|
|
if (ret) {
|
|
ath10k_err(ar, "failed to derive regdom: %d\n", ret);
|