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
--- 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;
}
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);
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);
.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);
}
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;
}
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;
#include "htt.h"
#include "htc.h"
-@@ -1523,6 +1524,13 @@ struct ath10k {
+@@ -1530,6 +1531,13 @@ struct ath10k {
} testmode;
struct {
--- 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;
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