aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-22 09:35:46 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-22 09:35:46 +0000
commit9154a994801e65cc1e43ed7af7881c00ce26ac10 (patch)
treef38577447b343b0c599a033b0762580b39677232 /target/linux/ar71xx/base-files
parent7fdb8680e3e1c3f7f415e20186f0bcf0799fd801 (diff)
downloadupstream-9154a994801e65cc1e43ed7af7881c00ce26ac10.tar.gz
upstream-9154a994801e65cc1e43ed7af7881c00ce26ac10.tar.bz2
upstream-9154a994801e65cc1e43ed7af7881c00ce26ac10.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44077 3c298f89-4303-0410-b956-a3cf2f4a3e73
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"