1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00
This commit is contained in:
suyuan 2021-07-16 19:57:56 +08:00
parent bcedde5de8
commit d145465525
2 changed files with 7 additions and 0 deletions

View file

@ -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)

View file

@ -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
;;
*)