ath79: add support for Enterasys WS-AP3705i
[openwrt/staging/stintel.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 428b502d81a8d6b495097435e04fc3836d21ca26..e0fa5ff35472750d65e465b313e5e427e0f99fe8 100644 (file)
@@ -43,6 +43,10 @@ case "$FIRMWARE" in
                caldata_extract "art" 0x1000 0x440
                ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env ethaddr)
                ;;
+       enterasys,ws-ap3705i)
+               caldata_extract "calibrate" 0x1000 0x440
+               ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env0 RADIOADDR1)
+               ;;
        nec,wg800hp)
                caldata_extract "art" 0x1000 0x440
                ath9k_patch_mac $(mtd_get_mac_text board_data 0x680)
@@ -72,6 +76,10 @@ 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)
+               ;;
        ocedo,raccoon|\
        tplink,tl-wdr3500-v1|\
        tplink,tl-wdr3600-v1|\