From 8307c2fe686ded345c80318359d5b6679e581fa2 Mon Sep 17 00:00:00 2001 From: "P.Wassi" Date: Wed, 11 May 2016 09:40:00 +0200 Subject: ar71xx: Add support for Ubiquiti UniFi AP AC PRO Add support for the Ubiquiti UniFi AP AC PRO Signed-off-by: P.Wassi --- target/linux/ar71xx/base-files/etc/board.d/02_network | 5 +++++ target/linux/ar71xx/base-files/etc/diag.sh | 3 ++- .../linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/base-files/etc') diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 4cf7434b06..449af63ac0 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -418,6 +418,11 @@ wpj344) "0@eth0" "3:lan" "2:wan" ;; +unifiac-pro) + ucidef_add_switch "switch0" \ + "0@eth0" "2:lan" "3:wan" + ;; + wpj531) ucidef_set_interfaces_lan_wan "eth0" "eth1" ;; diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 71f5ebc643..3b5e299333 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -355,7 +355,8 @@ get_status_led() { status_led="ubnt:green:dome" ;; uap-pro | \ - unifiac-lite) + unifiac-lite | \ + unifiac-pro) status_led="ubnt:white:dome" ;; unifi-outdoor-plus) diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 3490129e25..d925a852d6 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -76,7 +76,8 @@ case "$FIRMWARE" in ath10kcal_extract "ART" 20480 2116 ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16) ;; - unifiac-lite) + unifiac-lite | \ + unifiac-pro) ath10kcal_extract "EEPROM" 20480 2116 ;; esac -- cgit v1.2.3