diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2022-09-13 23:40:06 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2023-05-20 15:19:14 +0200 |
commit | 25eead21c5ab3367317051fce4ebc3552c49f86f (patch) | |
tree | ec3da6e61b6db06e1584801d3ed15ebc767d58a3 | |
parent | 8d618a3186e0979bcf4db407cb8dd232200919a8 (diff) | |
download | openwrt-25eead21c5ab3367317051fce4ebc3552c49f86f.tar.gz openwrt-25eead21c5ab3367317051fce4ebc3552c49f86f.tar.bz2 openwrt-25eead21c5ab3367317051fce4ebc3552c49f86f.zip |
ath79: fix 5GHz on QCA9886 variant of ZTE MF286
Recently, a strange variant of ZTE MF286 was discovered, having QCA9886
radio instead of QCA9882 - like MF286A, but having MF286 flash layout
and rest of hardware.
To support both variants in one image, bind calibration data at offset
0x5000 both as "calibration" and "pre-calibration" nvmem-cells, so
ath10k can load caldata for both at runtime.
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
-rw-r--r-- | target/linux/ath79/dts/qca9563_zte_mf286.dts | 4 | ||||
-rw-r--r-- | target/linux/ath79/image/nand.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/qca9563_zte_mf286.dts b/target/linux/ath79/dts/qca9563_zte_mf286.dts index 2e528a6b97..877075c769 100644 --- a/target/linux/ath79/dts/qca9563_zte_mf286.dts +++ b/target/linux/ath79/dts/qca9563_zte_mf286.dts @@ -119,8 +119,8 @@ }; &wifi_ath10k { - nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_5000>; - nvmem-cell-names = "mac-address", "calibration"; + nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_5000>, <&cal_caldata_5000>; + nvmem-cell-names = "mac-address", "calibration", "pre-calibration"; mac-address-increment = <1>; }; diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk index d1bd4feb1f..84a589809f 100644 --- a/target/linux/ath79/image/nand.mk +++ b/target/linux/ath79/image/nand.mk @@ -426,8 +426,8 @@ TARGET_DEVICES += zte_mf282 define Device/zte_mf286 $(Device/zte_mf28x_common) DEVICE_MODEL := MF286 - DEVICE_PACKAGES += ath10k-firmware-qca988x-ct kmod-usb-net-qmi-wwan \ - kmod-usb-serial-option uqmi + DEVICE_PACKAGES += ath10k-firmware-qca988x-ct ath10k-firmware-qca9888-ct \ + kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi endef TARGET_DEVICES += zte_mf286 |