aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-04-21 12:42:13 +0000
committerJohn Crispin <blogic@openwrt.org>2015-04-21 12:42:13 +0000
commit789949fe69f6540ef3cca716eb34d2a6ea21c188 (patch)
tree2f0fa600e0bb52bc338ae1dca2534aee67ded570 /target/linux/ar71xx/base-files
parent9ff605294a6074e2a4361854922fac3f8a1e166e (diff)
downloadupstream-789949fe69f6540ef3cca716eb34d2a6ea21c188.tar.gz
upstream-789949fe69f6540ef3cca716eb34d2a6ea21c188.tar.bz2
upstream-789949fe69f6540ef3cca716eb34d2a6ea21c188.zip
Add support for Ubiquiti Rocket M XW devices
This patch adds support for the XW version of the Rocket M series devices manufactured by Ubiquiti, based on the Atheros AR9342 SoC. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45553 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh2
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/01_leds1
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
5 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index a56f70ec67..d702d451f1 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -34,7 +34,7 @@ get_status_led() {
aw-nr580)
status_led="aw-nr580:green:ready"
;;
- bullet-m | rocket-m | nano-m | nanostation-m | nanostation-m-xw | loco-m-xw)
+ bullet-m | rocket-m | rocket-m-xw | nano-m | nanostation-m | nanostation-m-xw | loco-m-xw)
status_led="ubnt:green:link4"
;;
bxu2000n-2-a1)
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 787523a3d6..0a9a285220 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -38,6 +38,7 @@ ap113)
bullet-m | \
nanostation-m | \
rocket-m | \
+rocket-m-xw | \
nanostation-m-xw | \
loco-m-xw)
ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100" "0" "13"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index fa3f66f09f..f5c6865240 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -318,6 +318,7 @@ rb-912uag-2hpnd |\
rb-912uag-5hpnd |\
rb-sxt2n |\
rb-sxt5n |\
+rocket-m-xw |\
tl-mr10u |\
tl-mr11u |\
tl-mr12u |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index c796224236..645c5d9a50 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -621,6 +621,9 @@ ar71xx_board_detect() {
*"Rocket M")
name="rocket-m"
;;
+ *"Rocket M XW")
+ name="rocket-m-xw"
+ ;;
*RouterStation)
name="routerstation"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 1c349fe67d..a8cec916a2 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -225,6 +225,7 @@ platform_check_image() {
loco-m-xw | \
nanostation-m | \
rocket-m | \
+ rocket-m-xw | \
nanostation-m-xw | \
rw2458n | \
wndap360 | \