From b21b98627dcd6c1868d13964f6d84e8d43ae9ef7 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 25 May 2022 22:07:10 +0200 Subject: [PATCH] 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 --- package/firmware/ipq-wifi/Makefile | 2 ++ .../ipq-wifi/board-aruba_ap-365.qca4019 | Bin 0 -> 24316 bytes .../arch/arm/boot/dts/qcom-ipq4029-ap-365.dts | 9 +++++++++ target/linux/ipq40xx/image/generic.mk | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 package/firmware/ipq-wifi/board-aruba_ap-365.qca4019 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 # 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-. # Add $(eval $(call generate-ipq-wifi-package,,)) +$(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 0000000000000000000000000000000000000000..7fc44a64a3b68dc0927cb68f5995a13c134e1471 GIT binary patch literal 24316 zcmeHPdsGuw8oxjgb*(Zdwfuc zh(IkEBWO7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-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 -- 2.30.2