diff options
author | Kasparas Elzbutas <elzkas@gmail.com> | 2022-07-18 10:05:33 +0300 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-08-05 15:24:57 +0200 |
commit | 456d05d6d8ca7dd3d558afe43f380f273c73fca4 (patch) | |
tree | 468ef37b87da4267d9bc315c1e7450288eb85a3e /target/linux/ipq40xx/base-files/etc/hotplug.d | |
parent | daa73dc681455bc2daa83d76f158f4977d9283e4 (diff) | |
download | upstream-456d05d6d8ca7dd3d558afe43f380f273c73fca4.tar.gz upstream-456d05d6d8ca7dd3d558afe43f380f273c73fca4.tar.bz2 upstream-456d05d6d8ca7dd3d558afe43f380f273c73fca4.zip |
ipq40xx: fix RUTX10 Wi-Fi woes
This partially reverts:
commit cfc13c44595d ("ipq40xx: utilize nvmem-cells for macs & (pre-)calibration data")
U-Boot on these devices mangles the device tree,
so nvmem-cell type calibration doesn't work.
Fixes: cfc13c44595d ("ipq40xx: utilize nvmem-cells for macs & (pre-)calibration data")
Signed-off-by: Kasparas Elzbutas <elzkas@gmail.com>
(added reference to commit, rewrote commit message)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc/hotplug.d')
-rw-r--r-- | target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index e0b4eed6f2..8fb9d81d3b 100644 --- a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -127,6 +127,10 @@ case "$FIRMWARE" in caldata_extract_mmc "0:ART" 0x1000 0x2f20 ath10k_patch_mac $(mmc_get_mac_binary ARTMTD 0x0) ;; + teltonika,rutx10) + caldata_extract "0:ART" 0x1000 0x2f20 + ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary "0:CONFIG" 0x0) 2) + ;; zyxel,nbg6617 |\ zyxel,wre6606) caldata_extract "ART" 0x1000 0x2f20 @@ -208,6 +212,10 @@ case "$FIRMWARE" in caldata_extract_mmc "0:ART" 0x5000 0x2f20 ath10k_patch_mac $(mmc_get_mac_binary ARTMTD 0xc) ;; + teltonika,rutx10) + caldata_extract "0:ART" 0x5000 0x2f20 + ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary "0:CONFIG" 0x0) 3) + ;; zyxel,nbg6617 |\ zyxel,wre6606) caldata_extract "ART" 0x5000 0x2f20 |