ramips: add support for Comfast CF-WR800N
This patch adds support for Comfast CF-WR800N, a wall-plug wireless router based on the MT7620N SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 45722
This commit is contained in:
@@ -73,6 +73,10 @@ case $board in
|
||||
br6524n)
|
||||
set_wifi_led "edimax:blue:wlan"
|
||||
;;
|
||||
cf-wr800n)
|
||||
ucidef_set_led_netdev "lan" "lan" "comfast:white:ethernet" eth0.1
|
||||
set_wifi_led "comfast:white:wifi"
|
||||
;;
|
||||
cy-swr1100)
|
||||
ucidef_set_led_default "wps" "WPS" "samsung:blue:wps" "0"
|
||||
set_usb_led "samsung:blue:usb"
|
||||
|
||||
@@ -108,6 +108,12 @@ ramips_setup_interfaces()
|
||||
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"
|
||||
;;
|
||||
|
||||
cf-wr800n)
|
||||
ucidef_set_interface_lan "eth0.1"
|
||||
ucidef_add_switch "switch0" "1" "1"
|
||||
ucidef_add_switch_vlan "switch0" "1" "4 6t"
|
||||
;;
|
||||
|
||||
cy-swr1100)
|
||||
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||
ucidef_add_switch "switch0" "1" "1"
|
||||
|
||||
@@ -36,6 +36,9 @@ get_status_led() {
|
||||
br6425 | br-6475nd)
|
||||
status_led="edimax:green:power"
|
||||
;;
|
||||
cf-wr800n)
|
||||
status_led="comfast:white:wps"
|
||||
;;
|
||||
cy-swr1100)
|
||||
status_led="samsung:blue:wps"
|
||||
;;
|
||||
|
||||
@@ -91,6 +91,9 @@ ramips_board_detect() {
|
||||
*"Buffalo WSR-1166DHP")
|
||||
name="wsr-1166"
|
||||
;;
|
||||
*"Comfast CF-WR800N")
|
||||
name="cf-wr800n"
|
||||
;;
|
||||
*"Firefly FireWRT")
|
||||
name="firewrt"
|
||||
;;
|
||||
|
||||
@@ -33,6 +33,7 @@ platform_check_image() {
|
||||
bc2 | \
|
||||
broadway | \
|
||||
carambola | \
|
||||
cf-wr800n | \
|
||||
d105 | \
|
||||
dap-1350 | \
|
||||
dcs-930 | \
|
||||
|
||||
Reference in New Issue
Block a user