aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-22 09:35:46 +0000
committerJohn Crispin <john@openwrt.org>2015-01-22 09:35:46 +0000
commitae70358b1b0dc6b5881ad931213e00793d8df9c2 (patch)
tree7fe558087b429fc354018fc4f0d4f7f9bd741efe /target/linux/ar71xx/base-files
parentde3bf7e4c227f9947e352a4de3861c3475415f0a (diff)
downloadupstream-ae70358b1b0dc6b5881ad931213e00793d8df9c2.tar.gz
upstream-ae70358b1b0dc6b5881ad931213e00793d8df9c2.tar.bz2
upstream-ae70358b1b0dc6b5881ad931213e00793d8df9c2.zip
ar71xx: add support for the UniFi AP Outdoor Plus
the GPIO controlling the rf filter is not configured properly by this patch. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44077
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 7cb3b6f907..444e6fff7f 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -255,6 +255,9 @@ get_status_led() {
uap-pro)
status_led="ubnt:white:dome"
;;
+ unifi-outdoor-plus)
+ status_led="ubnt:white:front"
+ ;;
airgateway)
status_led="ubnt:white:status"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 63f90b5198..a870396a02 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -738,6 +738,9 @@ ar71xx_board_detect() {
*"UniFiAP Outdoor")
name="unifi-outdoor"
;;
+ *"UniFiAP Outdoor+")
+ name="unifi-outdoor-plus"
+ ;;
*WP543)
name="wp543"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index d373699fce..391299f38a 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -369,6 +369,7 @@ platform_check_image() {
return 1
;;
+ unifi-outdoor-plus | \
uap-pro)
[ "$magic_long" != "19852003" ] && {
echo "Invalid image type."
@@ -484,6 +485,7 @@ platform_do_upgrade() {
om5p)
platform_do_upgrade_openmesh "$ARGV"
;;
+ unifi-outdoor-plus | \
uap-pro)
MTD_CONFIG_ARGS="-s 0x180000"
default_do_upgrade "$ARGV"