mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 01:22:25 +00:00
76 lines
3.0 KiB
Diff
76 lines
3.0 KiB
Diff
From 644f52a193d0430e41d6c28c221e801a0e87affa Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Fri, 23 Apr 2021 16:16:31 +0200
|
|
Subject: [PATCH] ath10k-ct: update the driver
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
---
|
|
package/kernel/ath10k-ct/Makefile | 6 +--
|
|
...64-ath10k-commit-rates-from-mac80211.patch | 37 -------------------
|
|
2 files changed, 3 insertions(+), 40 deletions(-)
|
|
delete mode 100644 package/kernel/ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch
|
|
|
|
diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel/ath10k-ct/Makefile
|
|
index a225bd8b19..8c2c36062d 100644
|
|
--- a/package/kernel/ath10k-ct/Makefile
|
|
+++ b/package/kernel/ath10k-ct/Makefile
|
|
@@ -8,9 +8,9 @@ PKG_LICENSE_FILES:=
|
|
|
|
PKG_SOURCE_URL:=https://github.com/greearb/ath10k-ct.git
|
|
PKG_SOURCE_PROTO:=git
|
|
-PKG_SOURCE_DATE:=2021-01-11
|
|
-PKG_SOURCE_VERSION:=9fe1df7d4f783b6b0cd1c99d11979e5a6e6fc40b
|
|
-PKG_MIRROR_HASH:=4e30e256716611045e930b95eadaa8bfcadd5bdd8bbe3869cfe0f377920e812b
|
|
+PKG_SOURCE_DATE:=2021-04-23
|
|
+PKG_SOURCE_VERSION:=8eca56d1514042b4af34004e0bbf69e40351d499
|
|
+PKG_MIRROR_HASH:=4ce22470b0cd15cc3cb04478678407e976c48010baab517fa1ac37685b791d95
|
|
|
|
# Build the 5.10 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
|
|
deleted file mode 100644
|
|
index 842f3ea2a5..0000000000
|
|
--- a/package/kernel/ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch
|
|
+++ /dev/null
|
|
@@ -1,37 +0,0 @@
|
|
-From: Sven Eckelmann <sven@narfation.org>
|
|
-Date: Tue, 26 Feb 2019 08:06:35 +0100
|
|
-Subject: ath10k-ct: apply mac80211 rates to ath10k-ct rate state
|
|
-
|
|
-The rates from mac80211 have to be copied to the state of ath10k-ct or
|
|
-otherwise the ath10k_check_apply_special_rates function overwrites
|
|
-them again with some default values. This breaks for example the
|
|
-mcast_rate set for a wifi-iface.
|
|
-
|
|
-Signed-off-by: Sven Eckelmann <sven@narfation.org>
|
|
-
|
|
---- a/ath10k-5.10/mac.c
|
|
-+++ b/ath10k-5.10/mac.c
|
|
-@@ -6774,6 +6774,7 @@ static void ath10k_recalculate_mgmt_rate
|
|
- return;
|
|
- }
|
|
-
|
|
-+ arvif->mgt_rate[def->chan->band] = hw_rate_code;
|
|
- vdev_param = ar->wmi.vdev_param->mgmt_rate;
|
|
- ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param,
|
|
- hw_rate_code);
|
|
-@@ -7000,6 +7001,7 @@ static void ath10k_bss_info_changed(stru
|
|
- "mac vdev %d mcast_rate %x\n",
|
|
- arvif->vdev_id, rate);
|
|
-
|
|
-+ arvif->mcast_rate[band] = rate;
|
|
- vdev_param = ar->wmi.vdev_param->mcast_data_rate;
|
|
- ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id,
|
|
- vdev_param, rate);
|
|
-@@ -7008,6 +7010,7 @@ static void ath10k_bss_info_changed(stru
|
|
- "failed to set mcast rate on vdev %i: %d\n",
|
|
- arvif->vdev_id, ret);
|
|
-
|
|
-+ arvif->bcast_rate[band] = rate;
|
|
- vdev_param = ar->wmi.vdev_param->bcast_data_rate;
|
|
- ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id,
|
|
- vdev_param, rate);
|
|
--
|
|
2.25.1
|
|
|