diff options
author | John Crispin <blogic@openwrt.org> | 2014-07-14 07:38:43 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-07-14 07:38:43 +0000 |
commit | dacbe3a582c590c2a4aaa32913e41ad459a71f8e (patch) | |
tree | 19f0c700553d7af184528a7b5a4c24d897abd9b0 /target/linux/ar71xx/base-files | |
parent | 06f7becd183b17939bd136666ba2fc0632450c55 (diff) | |
download | upstream-dacbe3a582c590c2a4aaa32913e41ad459a71f8e.tar.gz upstream-dacbe3a582c590c2a4aaa32913e41ad459a71f8e.tar.bz2 upstream-dacbe3a582c590c2a4aaa32913e41ad459a71f8e.zip |
ar71xx: add support for nanostation m xw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41636 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 32b82dd7d8..a6ca71279b 100755 --- 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) + bullet-m | rocket-m | nano-m | nanostation-m | nanostation-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 13d6faf6bc..41406eb01e 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -34,7 +34,8 @@ ap113) bullet-m | \ nanostation-m | \ -rocket-m) +rocket-m | \ +nanostation-m-xw) ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100" "0" "13" ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100" "-25" "13" ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100" "-50" "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 5416599f2a..cb3a83b301 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -215,6 +215,13 @@ uap-pro) ucidef_add_switch_vlan "switch0" "1" "0 1 2" ;; +nanostation-m-xw) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0t 5" + ucidef_add_switch_vlan "switch0" "2" "0t 1" + ;; + wrt160nl) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" "1" "1" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b2ce50620a..cce8d25830 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -340,6 +340,9 @@ ar71xx_board_detect() { *"Nanostation M") name="nanostation-m" ;; + *"Nanostation M XW") + name="nanostation-m-xw" + ;; *JWAP003) name="jwap003" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 30ea88821f..d42a704e57 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -166,6 +166,7 @@ platform_check_image() { bullet-m | \ nanostation-m | \ rocket-m | \ + nanostation-m-xw | \ rw2458n | \ wndap360 | \ wzr-hp-g300nh2 | \ |