From 5f6e94855113b0c37fba57eda4af0b0427457b98 Mon Sep 17 00:00:00 2001 From: Roger Pueyo Centelles Date: Sun, 6 Nov 2016 13:00:38 +0100 Subject: ramips: Add support for Wavlink WL-WN575A3 This commit adds support for the Wavlink WL-WN575A3, a dual-band wall-plug wireless router with the following specifications: - CPU: MediaTek MT7628AN 580MHz - Flash: 8MB - RAM: 64MB - Ethernet: 2x 10/100 Mbps (switched) - 2.4 GHz: 802.11b/g/n SoC, MIMO 2x2, 20 dBm - 5 GHz: 802.11a/n/ac MT7612E, MIMO 2x2, 20 dBm - Antennas: 4x external (2 per radio), non-detachable - LEDs: 4 programmable + LAN, WAN, POWER - Buttons: reset, WPS Flashing instructions: Factory U-boot launches a TFTP client if WPS button is pressed during power-on. Rename the sysupgrade file and configure a TFTP as follows: - Client (WL-WN575A3) IP: 192.168.10.101 - Server IP: 192.168.10.100 - Filename: firmware.bin Signed-off-by: Roger Pueyo Centelles --- target/linux/ramips/base-files/etc/board.d/01_leds | 6 ++++++ target/linux/ramips/base-files/etc/board.d/02_network | 1 + 2 files changed, 7 insertions(+) (limited to 'target/linux/ramips/base-files/etc') diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 27e15caf4d..8d6bb459c4 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -312,6 +312,12 @@ whr-600d) ucidef_set_led_default "power" "power" "$board:green:power" "1" ucidef_set_led_default "router" "router" "$board:green:router" "1" ;; +wl-wn575a3) + ucidef_set_rssimon "wlan1" "40000" "1" + ucidef_set_led_rssi "wifi-low" "wifi-low" "$board:green:wifi-low" "wlan1" "1" "49" "0" "1" + ucidef_set_led_rssi "wifi-med" "wifi-med" "$board:green:wifi-med" "wlan1" "50" "84" "0" "1" + ucidef_set_led_rssi "wifi-high" "wifi-high" "$board:green:wifi-high" "wlan1" "85" "100" "0" "1" + ;; wrh-300cr) set_wifi_led "$board:green:wlan" ucidef_set_led_netdev "lan" "lan" "$board:green:ethernet" "eth0" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index ece48c08e0..ecdae638f5 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -90,6 +90,7 @@ ramips_setup_interfaces() whr-300hp2|\ whr-600d|\ witi|\ + wl-wn575a3|\ wndr3700v5|\ wsr-1166|\ wsr-600|\ -- cgit v1.2.3