ath79: Add support for OpenMesh OM5P-AC v1
[openwrt/openwrt.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index ef9b8dee910d15d31c3081a481abeabcbb89d0e4..c0e5078bdb2e0c1d2d79985244398be7b9501abf 100644 (file)
@@ -165,6 +165,10 @@ case "$FIRMWARE" in
        ;;
 "ath10k/cal-pci-0000:01:00.0.bin")
        case $board in
+       openmesh,om5p-ac-v1)
+               caldata_extract "ART" 0x5000 0x844
+               ath10k_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
+               ;;
        sitecom,wlr-8100)
                caldata_extract "art" 0x5000 0x844
                ath10k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) 1)