diff options
| author | Lech Perczak | 2024-11-24 23:22:27 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-03-16 21:09:20 +0000 |
| commit | b60d241f2d5e451b785d368d0dffa3f9a6fa8a36 (patch) | |
| tree | e98cf279f5d50bb0c7960eee754f01adafdb1dde | |
| parent | 4990ce613b7d56edebe473c1f95818d0986d45bf (diff) | |
| download | openwrt-b60d241f2d5e451b785d368d0dffa3f9a6fa8a36.tar.gz | |
ath79: ZTE MF286A: 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.
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17620
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/ath79/dts/qca9563_zte_mf286.dts | 1 | ||||
| -rw-r--r-- | target/linux/ath79/dts/qca9563_zte_mf286ar.dtsi | 1 | ||||
| -rw-r--r-- | target/linux/ath79/image/nand.mk | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_zte_mf286.dts b/target/linux/ath79/dts/qca9563_zte_mf286.dts index 897ecf66ea..3926bacb26 100644 --- a/target/linux/ath79/dts/qca9563_zte_mf286.dts +++ b/target/linux/ath79/dts/qca9563_zte_mf286.dts @@ -137,6 +137,7 @@ &wifi_ath10k { nvmem-cells = <&macaddr_mac_0 1>, <&cal_caldata_5000>, <&precal_caldata_5000>; nvmem-cell-names = "mac-address", "calibration", "pre-calibration"; + qcom,ath10k-calibration-variant = "ZTE-MF286AR"; }; &wmac { diff --git a/target/linux/ath79/dts/qca9563_zte_mf286ar.dtsi b/target/linux/ath79/dts/qca9563_zte_mf286ar.dtsi index 9a42ea668a..c53d6a3955 100644 --- a/target/linux/ath79/dts/qca9563_zte_mf286ar.dtsi +++ b/target/linux/ath79/dts/qca9563_zte_mf286ar.dtsi @@ -134,6 +134,7 @@ &wifi_ath10k { nvmem-cells = <&macaddr_mac_0 0x20000>, <&precal_art_5000>; nvmem-cell-names = "mac-address", "pre-calibration"; + qcom,ath10k-calibration-variant = "ZTE-MF286AR"; }; &wmac { diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk index 68cb543187..34c6eccfbd 100644 --- a/target/linux/ath79/image/nand.mk +++ b/target/linux/ath79/image/nand.mk @@ -474,6 +474,7 @@ define Device/zte_mf286 $(Device/zte_mf28x_common) DEVICE_MODEL := MF286 DEVICE_PACKAGES += ath10k-firmware-qca988x-ct ath10k-firmware-qca9888-ct \ + -ath10k-board-qca9888 ipq-wifi-zte_mf286ar \ kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi endef TARGET_DEVICES += zte_mf286 @@ -482,6 +483,7 @@ define Device/zte_mf286a $(Device/zte_mf28x_common) DEVICE_MODEL := MF286A DEVICE_PACKAGES += ath10k-firmware-qca9888-ct kmod-usb-net-qmi-wwan \ + -ath10k-board-qca9888 ipq-wifi-zte_mf286ar \ kmod-usb-serial-option uqmi endef TARGET_DEVICES += zte_mf286a |