[openwrt/openwrt] ath79: ZTE MF281: use specific board definition file for qca9888
LEDE Commits
lede-commits at lists.infradead.org
Sun Mar 16 14:11:01 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8951ac6f6517121c946a40beacb45ba4a90a3364
commit 8951ac6f6517121c946a40beacb45ba4a90a3364
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Tue Feb 4 00:24:21 2025 +0100
ath79: ZTE MF281: use specific board definition file for qca9888
Using board definition file extracted from stock firmware yields 50%
throughput improvement in RX direction under iperf3 test.
Make the device use temporary files from firmware_qca-wireless.git
temporarily, as well as select the specific variant in the device tree
files. The device uses same board file as the MF286C.
Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17620
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/ath79/dts/qca9563_zte_mf281.dts | 2 ++
target/linux/ath79/image/nand.mk | 1 +
2 files changed, 3 insertions(+)
diff --git a/target/linux/ath79/dts/qca9563_zte_mf281.dts b/target/linux/ath79/dts/qca9563_zte_mf281.dts
index d0693658a4..06a8b2350a 100644
--- a/target/linux/ath79/dts/qca9563_zte_mf281.dts
+++ b/target/linux/ath79/dts/qca9563_zte_mf281.dts
@@ -158,6 +158,8 @@
&wifi_ath10k {
nvmem-cells = <&macaddr_mac_0 1>, <&cal_caldata_5000>;
nvmem-cell-names = "mac-address", "pre-calibration";
+ /* Board file from stock firmware is shared with MF286C */
+ qcom,ath10k-calibration-variant = "ZTE-MF286C";
};
&pinmux {
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk
index f473fa780f..0408d6ad82 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -458,6 +458,7 @@ define Device/zte_mf281
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \
check-size
DEVICE_PACKAGES += ath10k-firmware-qca9888-ct kmod-usb-net-rndis \
+ -ath10k-board-qca9888 ipq-wifi-zte_mf286c \
kmod-usb-acm comgt-ncm
endef
TARGET_DEVICES += zte_mf281
More information about the lede-commits
mailing list