From d145465525ef30866ee861e31a3e64f11eebc7cd Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Fri, 16 Jul 2021 19:57:56 +0800 Subject: [PATCH] ix --- root/target/linux/ipq40xx/base-files/etc/board.d/02_network | 1 + .../base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/root/target/linux/ipq40xx/base-files/etc/board.d/02_network b/root/target/linux/ipq40xx/base-files/etc/board.d/02_network index e31e88a1..5ded41d8 100755 --- a/root/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/root/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -164,6 +164,7 @@ ipq40xx_setup_macs() lan_mac=$(mtd_get_mac_ascii 0:APPSBLENV ethaddr) label_mac=$wan_mac ;; + engenius,ens620ext) wan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) lan_mac=$(macaddr_add "$wan_mac" 1) diff --git a/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index a20e7e6f..63364a05 100755 --- a/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -163,6 +163,9 @@ case "$FIRMWARE" in caldata_extract "ART" 0x1000 0x2f20 ath10k_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2) ;; + zbt,z4019) + caldata_extract "0:ART" 0x1000 0x2f20 + ;; esac ;; "ath10k/pre-cal-ahb-a800000.wifi.bin") @@ -281,6 +284,9 @@ case "$FIRMWARE" in caldata_extract "ART" 0x5000 0x2f20 ath10k_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1) ;; + zbt,z4019) + caldata_extract "0:ART" 0x5000 0x2f20 + ;; esac ;; *)