aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
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/lib
parent7fdb8680e3e1c3f7f415e20186f0bcf0799fd801 (diff)
downloadmaster-187ad058-9154a994801e65cc1e43ed7af7881c00ce26ac10.tar.gz
master-187ad058-9154a994801e65cc1e43ed7af7881c00ce26ac10.tar.bz2
master-187ad058-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/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 5 insertions, 0 deletions
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"