From f765f2f114f4ad51bf1c77bbe8270e6533fce7d5 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 25 May 2022 22:07:10 +0200 Subject: 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 (cherry picked from commit b21b98627dcd6c1868d13964f6d84e8d43ae9ef7) --- .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts | 9 +++++++++ target/linux/ipq40xx/image/generic.mk | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'target/linux/ipq40xx') 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 5eac14e0ae..0112e18ac0 100644 --- a/target/linux/ipq40xx/image/generic.mk +++ b/target/linux/ipq40xx/image/generic.mk @@ -187,7 +187,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 -- cgit v1.2.3