ath79: add support for Senao Engenius EAP350 v1
[openwrt/staging/stintel.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 194df74292254010fd565f751edaa98f2d0f0612..28ac38e1d49242bb858d44657091ac7e01d4d87c 100644 (file)
@@ -37,9 +37,10 @@ case "$FIRMWARE" in
                caldata_extract "art" 0x1000 0x440
                ath9k_patch_mac $(mtd_get_mac_ascii devdata "wlan24mac")
                ;;
+       engenius,ecb1200|\
        engenius,ecb1750)
                caldata_extract "art" 0x1000 0x440
-               ath9k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env "athaddr") +1)
+               ath9k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env athaddr) +1)
                ;;
        engenius,epg5000|\
        iodata,wn-ac1167dgr|\
@@ -74,6 +75,8 @@ case "$FIRMWARE" in
                caldata_extract_reverse "urloader" 0x1541 0x440
                ;;
        buffalo,wzr-hp-g302h-a1a0|\
+       engenius,eap350-v1|\
+       engenius,ecb350-v1|\
        engenius,enh202-v1)
                caldata_extract "art" 0x1000 0xeb8
                ;;
@@ -86,10 +89,8 @@ case "$FIRMWARE" in
                caldata_extract "art" 0x5000 0x440
                ath9k_patch_mac $(macaddr_add $(mtd_get_mac_text "mac" 0x18) 1)
                ;;
-       enterasys,ws-ap3705i)
-               caldata_extract "calibrate" 0x5000 0x440
-               ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env0 RADIOADDR0)
-               ;;
+       engenius,eap600|\
+       engenius,ecb600|\
        mercury,mw4530r-v1|\
        ocedo,raccoon|\
        tplink,tl-wdr3500-v1|\
@@ -102,6 +103,10 @@ case "$FIRMWARE" in
        winchannel,wb2000)
                caldata_extract "art" 0x5000 0x440
                ;;
+       enterasys,ws-ap3705i)
+               caldata_extract "calibrate" 0x5000 0x440
+               ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env0 RADIOADDR0)
+               ;;
        netgear,wnr2200-8m|\
        netgear,wnr2200-16m|\
        pcs,cap324|\