ath79: add support for YunCore XD4200 and A782
[openwrt/staging/rmilecki.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index f128e8759fc9ab885f3eeb1f66cf799de4b17acc..0965965931ee870f2f2b1b192c0dc98832638f32 100644 (file)
@@ -154,6 +154,12 @@ case "$FIRMWARE" in
                ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
                        /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
                ;;
+       yuncore,a782|\
+       yuncore,xd4200)
+               caldata_extract "art" 0x5000 0x2f20
+               ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
+                       /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
+               ;;
        esac
        ;;
 *)