[openwrt/openwrt] ath10k-ct: update to latest version

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 28 12:08:42 EST 2020


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/da9beb070d112469adeb30dd79dcde3176bfb290

commit da9beb070d112469adeb30dd79dcde3176bfb290
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Mon Dec 28 16:18:22 2020 +0100

    ath10k-ct: update to latest version
    
    Changelog:
    - ath10k-ct: Fix invalid use of ath-cb struct
    
    Runtime-tested on ath79 (TP-Link Archer C7 v2) and ipq806x (Netgear R7800).
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 package/kernel/ath10k-ct/Makefile                                 | 8 ++++----
 .../ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch | 6 +++---
 ...dd-LED-and-GPIO-controlling-support-for-various-chipsets.patch | 8 ++++----
 .../ath10k-ct/patches/202-ath10k-use-tpt-trigger-by-default.patch | 4 ++--
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel/ath10k-ct/Makefile
index b02c6389e7..d5b51e91d6 100644
--- a/package/kernel/ath10k-ct/Makefile
+++ b/package/kernel/ath10k-ct/Makefile
@@ -1,16 +1,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ath10k-ct
-PKG_RELEASE=3
+PKG_RELEASE=1
 
 PKG_LICENSE:=GPLv2
 PKG_LICENSE_FILES:=
 
 PKG_SOURCE_URL:=https://github.com/greearb/ath10k-ct.git
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE:=2020-10-08
-PKG_SOURCE_VERSION:=1d28d176e5b6e63a6583f497adf68e1d9c1dc962
-PKG_MIRROR_HASH:=f611762647822742f7c8f9da242e33d9bf6da0a14976b87408af28f280802ae0
+PKG_SOURCE_DATE:=2020-12-24
+PKG_SOURCE_VERSION:=b753e8bf22b94297acbaa370b4cb0be87e3da4b8
+PKG_MIRROR_HASH:=e026296208e0c20fd0775704c2167da5a447aef4080cedc5fba0797f0e180d8d
 
 # Build the 5.8 ath10k-ct driver version.
 # Probably this should match as closely as
diff --git a/package/kernel/ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch b/package/kernel/ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch
index 51cca227d5..1fe52b96b9 100644
--- a/package/kernel/ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch
+++ b/package/kernel/ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch
@@ -11,7 +11,7 @@ Signed-off-by: Sven Eckelmann <sven at narfation.org>
 
 --- a/ath10k-5.8/mac.c
 +++ b/ath10k-5.8/mac.c
-@@ -6653,6 +6653,7 @@ static void ath10k_recalculate_mgmt_rate
+@@ -6691,6 +6691,7 @@ static void ath10k_recalculate_mgmt_rate
  		return;
  	}
  
@@ -19,7 +19,7 @@ Signed-off-by: Sven Eckelmann <sven at narfation.org>
  	vdev_param = ar->wmi.vdev_param->mgmt_rate;
  	ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param,
  					hw_rate_code);
-@@ -6879,6 +6880,7 @@ static void ath10k_bss_info_changed(stru
+@@ -6917,6 +6918,7 @@ static void ath10k_bss_info_changed(stru
  			   "mac vdev %d mcast_rate %x\n",
  			   arvif->vdev_id, rate);
  
@@ -27,7 +27,7 @@ Signed-off-by: Sven Eckelmann <sven at narfation.org>
  		vdev_param = ar->wmi.vdev_param->mcast_data_rate;
  		ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id,
  						vdev_param, rate);
-@@ -6887,6 +6889,7 @@ static void ath10k_bss_info_changed(stru
+@@ -6925,6 +6927,7 @@ static void ath10k_bss_info_changed(stru
  				    "failed to set mcast rate on vdev %i: %d\n",
  				    arvif->vdev_id,  ret);
  
diff --git a/package/kernel/ath10k-ct/patches/201-ath10k-add-LED-and-GPIO-controlling-support-for-various-chipsets.patch b/package/kernel/ath10k-ct/patches/201-ath10k-add-LED-and-GPIO-controlling-support-for-various-chipsets.patch
index 92f20cb4c0..e5a83ccb97 100644
--- a/package/kernel/ath10k-ct/patches/201-ath10k-add-LED-and-GPIO-controlling-support-for-various-chipsets.patch
+++ b/package/kernel/ath10k-ct/patches/201-ath10k-add-LED-and-GPIO-controlling-support-for-various-chipsets.patch
@@ -161,7 +161,7 @@ v13:
  		.patch_load_addr = QCA9888_HW_2_0_PATCH_LOAD_ADDR,
  		.uart_pin = 7,
  		.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH,
-@@ -3675,6 +3681,10 @@ int ath10k_core_start(struct ath10k *ar,
+@@ -3688,6 +3694,10 @@ int ath10k_core_start(struct ath10k *ar,
  			ath10k_wmi_check_apply_board_power_ctl_table(ar);
  	}
  
@@ -172,7 +172,7 @@ v13:
  	return 0;
  
  err_hif_stop:
-@@ -3933,9 +3943,18 @@ static void ath10k_core_register_work(st
+@@ -3946,9 +3956,18 @@ static void ath10k_core_register_work(st
  		goto err_spectral_destroy;
  	}
  
@@ -191,7 +191,7 @@ v13:
  err_spectral_destroy:
  	ath10k_spectral_destroy(ar);
  err_debug_destroy:
-@@ -3995,6 +4014,8 @@ void ath10k_core_unregister(struct ath10
+@@ -4008,6 +4027,8 @@ void ath10k_core_unregister(struct ath10
  	if (!test_bit(ATH10K_FLAG_CORE_REGISTERED, &ar->dev_flags))
  		return;
  
@@ -210,7 +210,7 @@ v13:
  
  #include "htt.h"
  #include "htc.h"
-@@ -1523,6 +1524,13 @@ struct ath10k {
+@@ -1530,6 +1531,13 @@ struct ath10k {
  	} testmode;
  
  	struct {
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 cd3b7c5e6e..3f7c405efb 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
@@ -16,7 +16,7 @@ Signed-off-by: Mathias Kresin <dev at kresin.me>
 
 --- a/ath10k-5.8/core.h
 +++ b/ath10k-5.8/core.h
-@@ -1631,6 +1631,10 @@ struct ath10k {
+@@ -1638,6 +1638,10 @@ struct ath10k {
  	u8 csi_data[4096];
  	u16 csi_data_len;
  
@@ -42,7 +42,7 @@ Signed-off-by: Mathias Kresin <dev at kresin.me>
  	if (ret)
 --- a/ath10k-5.8/mac.c
 +++ b/ath10k-5.8/mac.c
-@@ -10680,7 +10680,7 @@ int ath10k_mac_register(struct ath10k *a
+@@ -10718,7 +10718,7 @@ int ath10k_mac_register(struct ath10k *a
  	ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER;
  
  #ifdef CPTCFG_MAC80211_LEDS



More information about the lede-commits mailing list