diff options
author | John Crispin <john@openwrt.org> | 2014-07-14 07:38:43 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-14 07:38:43 +0000 |
commit | e503eeb46555363aa0548148d45ac01fd6706435 (patch) | |
tree | 1564897f59aa18b74e050f0d4dc1896b3bc6cbd8 /target/linux/ar71xx/base-files/etc/uci-defaults | |
parent | de5fd0a18900c6d050971f00fe86f53f3d2efb2e (diff) | |
download | mtk-20170518-e503eeb46555363aa0548148d45ac01fd6706435.zip mtk-20170518-e503eeb46555363aa0548148d45ac01fd6706435.tar.gz mtk-20170518-e503eeb46555363aa0548148d45ac01fd6706435.tar.bz2 |
ar71xx: add support for nanostation m xw
SVN-Revision: 41636
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 7 |
2 files changed, 9 insertions, 1 deletions
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 13d6faf..41406eb 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 5416599..cb3a83b 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" |