[openwrt/openwrt] ipq40xx: add Aruba AP-365 specific BDF
LEDE Commits
lede-commits at lists.infradead.org
Thu Jun 2 07:50:22 PDT 2022
blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b21b98627dcd6c1868d13964f6d84e8d43ae9ef7
commit b21b98627dcd6c1868d13964f6d84e8d43ae9ef7
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Wed May 25 22:07:10 2022 +0200
ipq40xx: add Aruba AP-365 specific BDF
Aruba deploys a BDF in the root filesystem, however this matches the one
used for the DK04 reference board.
The board-specific BDFs are built into the kernel. The AP-365 shows
sinificant degraded performance with increased range when used with the
reference BDF.
Replace the BDF with the one extracted from Arubas kernel.
Signed-off-by: David Bauer <mail at david-bauer.net>
---
package/firmware/ipq-wifi/Makefile | 2 ++
package/firmware/ipq-wifi/board-aruba_ap-365.qca4019 | Bin 0 -> 24316 bytes
.../files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts | 9 +++++++++
target/linux/ipq40xx/image/generic.mk | 2 +-
4 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/package/firmware/ipq-wifi/Makefile b/package/firmware/ipq-wifi/Makefile
index cd155473bb..f8445f0e33 100644
--- a/package/firmware/ipq-wifi/Makefile
+++ b/package/firmware/ipq-wifi/Makefile
@@ -25,6 +25,7 @@ endef
# <https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles>
ALLWIFIBOARDS:= \
+ aruba_ap-365 \
devolo_magic-2-wifi-next \
edgecore_ecw5410 \
edgecore_oap100 \
@@ -96,6 +97,7 @@ endef
# Place files in this directory as board-<devicename>.<qca4019|qca9888|qca9984>
# Add $(eval $(call generate-ipq-wifi-package,<devicename>,<display name>))
+$(eval $(call generate-ipq-wifi-package,aruba_ap-365,Aruba AP-365))
$(eval $(call generate-ipq-wifi-package,devolo_magic-2-wifi-next,devolo Magic 2 WiFi next))
$(eval $(call generate-ipq-wifi-package,edgecore_ecw5410,Edgecore ECW5410))
$(eval $(call generate-ipq-wifi-package,edgecore_oap100,Edgecore OAP100))
diff --git a/package/firmware/ipq-wifi/board-aruba_ap-365.qca4019 b/package/firmware/ipq-wifi/board-aruba_ap-365.qca4019
new file mode 100644
index 0000000000..7fc44a64a3
Binary files /dev/null and b/package/firmware/ipq-wifi/board-aruba_ap-365.qca4019 differ
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts
index d3cc73f388..1f7b37d56d 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts
@@ -208,3 +208,12 @@
};
};
};
+
+&wifi0 {
+ qcom,ath10k-calibration-variant = "Aruba-AP-365";
+};
+
+&wifi1 {
+ qcom,ath10k-calibration-variant = "Aruba-AP-365";
+};
+
diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
index b730a0e184..44880d157c 100644
--- a/target/linux/ipq40xx/image/generic.mk
+++ b/target/linux/ipq40xx/image/generic.mk
@@ -185,7 +185,7 @@ TARGET_DEVICES += aruba_ap-303h
define Device/aruba_ap-365
$(call Device/aruba_glenmorangie)
DEVICE_MODEL := AP-365
- DEVICE_PACKAGES += kmod-hwmon-ad7418
+ DEVICE_PACKAGES := kmod-hwmon-ad7418 ipq-wifi-aruba_ap-365
endef
TARGET_DEVICES += aruba_ap-365
More information about the lede-commits
mailing list