summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-21 12:42:13 +0000
committerJohn Crispin <john@openwrt.org>2015-04-21 12:42:13 +0000
commita34db67857c13a8d05dca71721f3fba7b961e034 (patch)
tree8d6f425544bc2b9c7ec28c7dbc6817133769e38d /target/linux/ar71xx/base-files
parent8a777768a8fa405be605b41104cb4f2abad1829d (diff)
downloadmaster-31e0f0ae-a34db67857c13a8d05dca71721f3fba7b961e034.tar.gz
master-31e0f0ae-a34db67857c13a8d05dca71721f3fba7b961e034.tar.bz2
master-31e0f0ae-a34db67857c13a8d05dca71721f3fba7b961e034.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> SVN-Revision: 45553
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 | \