ath79: align GL-AR750S boardname to other GL.iNet devices
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index 990c40c9343050d8cddde06ecedb134d3366a9b0..faee7819700f00f756107b2719949d0445e5b214 100644 (file)
@@ -96,12 +96,13 @@ case "$FIRMWARE" in
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(mtd_get_mac_ascii devdata "wlan5mac")
                ;;
-       glinet,ar750s|\
-       tplink,re450-v2)
-               ath10kcal_extract "art" 20480 2116
-               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
+       elecom,wrc-1750ghbk2-i)
+               ath10kcal_extract "ART" 20480 2116
                ;;
-       glinet,gl-x750)
+       engenius,ews511ap|\
+       glinet,gl-ar750s|\
+       glinet,gl-x750|\
+       tplink,re450-v2)
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
                ;;
@@ -151,8 +152,10 @@ case "$FIRMWARE" in
                        /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
                ;;
        tplink,archer-c58-v1|\
-       tplink,archer-c59-v1)
+       tplink,archer-c59-v1|\
+       tplink,archer-c6-v2)
                ath10kcal_extract "art" 20480 12064
+               ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary mac 8) -1)
                ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
                        /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
                ;;