diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2020-09-02 22:10:38 +0300 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2020-11-26 00:17:47 +0200 |
commit | 864a76d23738c6ebfb4e5b1955f49a1a1f7fd03b (patch) | |
tree | ea63aac38831d0d59b2120b7d67f8238e54d6186 /package/kernel/ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch | |
parent | b69c21738e29f60757bda6970bed1b3e3eee5212 (diff) | |
download | upstream-864a76d23738c6ebfb4e5b1955f49a1a1f7fd03b.tar.gz upstream-864a76d23738c6ebfb4e5b1955f49a1a1f7fd03b.tar.bz2 upstream-864a76d23738c6ebfb4e5b1955f49a1a1f7fd03b.zip |
ath10k-ct: switch to driver version 5.8
Since we are using mac80211 5.8, let's also switch the ath10k-ct driver
to the new 5.8 version.
Modify patches so they patch the new ath10k-ct driver version.
Adapt 164-ath10k-commit-rates-from-mac80211.patch.
Drop upstreamed 205-ath10k-Add-NL80211_EXT_FEATURE_AQL-flag.patch.
Drop the other options for CT_KVER from the comment, as it is incorrect
and there are too many versions to sum up and maintain there.
Runtime-tested on ath79 (D-Link DAP-2695-A1, TP-Link EAP245-v3).
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package/kernel/ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch')
-rw-r--r-- | package/kernel/ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/package/kernel/ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch b/package/kernel/ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch index 25a6c12d51..cd3b7c5e6e 100644 --- a/package/kernel/ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch +++ b/package/kernel/ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch @@ -9,14 +9,14 @@ traffic. Signed-off-by: Mathias Kresin <dev@kresin.me> --- - ath10k-5.4/core.h | 4 ++++ - ath10k-5.4/leds.c | 4 +--- - ath10k-5.4/mac.c | 2 +- + ath10k-5.8/core.h | 4 ++++ + ath10k-5.8/leds.c | 4 +--- + ath10k-5.8/mac.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) ---- a/ath10k-5.4/core.h -+++ b/ath10k-5.4/core.h -@@ -1580,6 +1580,10 @@ struct ath10k { +--- a/ath10k-5.8/core.h ++++ b/ath10k-5.8/core.h +@@ -1631,6 +1631,10 @@ struct ath10k { u8 csi_data[4096]; u16 csi_data_len; @@ -25,10 +25,10 @@ Signed-off-by: Mathias Kresin <dev@kresin.me> +#endif + /* must be last */ - u8 drv_priv[0] __aligned(sizeof(void *)); + u8 drv_priv[] __aligned(sizeof(void *)); }; ---- a/ath10k-5.4/leds.c -+++ b/ath10k-5.4/leds.c +--- a/ath10k-5.8/leds.c ++++ b/ath10k-5.8/leds.c @@ -81,9 +81,7 @@ int ath10k_leds_register(struct ath10k * ar->leds.cdev.name = ar->leds.label; @@ -40,9 +40,9 @@ Signed-off-by: Mathias Kresin <dev@kresin.me> ret = led_classdev_register(wiphy_dev(ar->hw->wiphy), &ar->leds.cdev); if (ret) ---- a/ath10k-5.4/mac.c -+++ b/ath10k-5.4/mac.c -@@ -10387,7 +10387,7 @@ int ath10k_mac_register(struct ath10k *a +--- a/ath10k-5.8/mac.c ++++ b/ath10k-5.8/mac.c +@@ -10680,7 +10680,7 @@ int ath10k_mac_register(struct ath10k *a ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER; #ifdef CPTCFG_MAC80211_LEDS |