diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-11-18 03:02:21 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-11-27 01:11:05 +0100 |
commit | 553a3ac221e92c6fad9ffa9229b18a4e77e42c23 (patch) | |
tree | a0c5108c06de67dc47cfa577f5756feb1ebf6e1b /package/kernel/ath10k-ct/patches/203-ath10k-Try-to-get-mac-address-from-dts.patch | |
parent | d1c7df9c4b0558a89abce6acebc86a03ad9209ee (diff) | |
download | upstream-553a3ac221e92c6fad9ffa9229b18a4e77e42c23.tar.gz upstream-553a3ac221e92c6fad9ffa9229b18a4e77e42c23.tar.bz2 upstream-553a3ac221e92c6fad9ffa9229b18a4e77e42c23.zip |
ath10k-ct: use 5.15 version
We switched to mac80211 5.15 backport version.
Also switch ath10k-ct to 5.15 and drop the mac address patch
that got merged upstream.
Compile and tested on ipq806x Netgear R7800.
Also update the ath10k-ct to latest version to fix a typo
for the new version in the kernel log.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'package/kernel/ath10k-ct/patches/203-ath10k-Try-to-get-mac-address-from-dts.patch')
-rw-r--r-- | package/kernel/ath10k-ct/patches/203-ath10k-Try-to-get-mac-address-from-dts.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/package/kernel/ath10k-ct/patches/203-ath10k-Try-to-get-mac-address-from-dts.patch b/package/kernel/ath10k-ct/patches/203-ath10k-Try-to-get-mac-address-from-dts.patch deleted file mode 100644 index 8fcdaf8c0f..0000000000 --- a/package/kernel/ath10k-ct/patches/203-ath10k-Try-to-get-mac-address-from-dts.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 22fb5991a44c78ff18ec0082dc90c809356eb893 Mon Sep 17 00:00:00 2001 -From: Ansuel Smith <ansuelsmth@gmail.com> -Date: Sun, 27 Sep 2020 19:23:35 +0200 -Subject: [PATCH 1/2] ath10k: Try to get mac-address from dts - -Most of embedded device that have the ath10k wifi integrated store the -mac-address in nvmem partitions. Try to fetch the mac-address using the -standard 'of_get_mac_address' than in all the check also try to fetch the -address using the nvmem api searching for a defined 'mac-address' cell. -Mac-address defined in the dts have priority than any other address found. - -Tested-on: QCA9984 hw1.0 PCI 10.4 - -Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> ---- - ath10k-5.10/core.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - ---- a/ath10k-5.10/core.c -+++ b/ath10k-5.10/core.c -@@ -8,6 +8,7 @@ - #include <linux/module.h> - #include <linux/firmware.h> - #include <linux/of.h> -+#include <linux/of_net.h> - #include <linux/property.h> - #include <linux/dmi.h> - #include <linux/ctype.h> -@@ -3881,6 +3882,8 @@ static int ath10k_core_probe_fw(struct a - - device_get_mac_address(ar->dev, ar->mac_addr, sizeof(ar->mac_addr)); - -+ of_get_mac_address(ar->dev->of_node, ar->mac_addr); -+ - ret = ath10k_core_init_firmware_features(ar); - if (ret) { - ath10k_err(ar, "fatal problem with firmware features: %d\n", |