mirror of https://github.com/hak5/openwrt.git
ar71xx: add user-space support for TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36789lede-17.01
parent
91d7c3efc1
commit
35b5b38316
|
@ -132,6 +132,7 @@ get_status_led() {
|
||||||
tl-wr941nd)
|
tl-wr941nd)
|
||||||
status_led="tp-link:green:system"
|
status_led="tp-link:green:system"
|
||||||
;;
|
;;
|
||||||
|
archer-c7 | \
|
||||||
tl-wdr4300 | \
|
tl-wdr4300 | \
|
||||||
tl-wr703n | \
|
tl-wr703n | \
|
||||||
tl-wr720n-v3)
|
tl-wr720n-v3)
|
||||||
|
|
|
@ -156,6 +156,12 @@ tl-wdr4300)
|
||||||
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
|
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
archer-c7)
|
||||||
|
ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
|
||||||
|
ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
|
||||||
|
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
|
||||||
|
;;
|
||||||
|
|
||||||
tl-wr741nd)
|
tl-wr741nd)
|
||||||
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
|
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
|
||||||
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
|
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
|
||||||
|
|
|
@ -37,7 +37,8 @@ ap136-010)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ap136-020 |\
|
ap136-020 |\
|
||||||
ap135-020)
|
ap135-020 |\
|
||||||
|
archer-c7)
|
||||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||||
ucidef_add_switch "switch0" "1" "1"
|
ucidef_add_switch "switch0" "1" "1"
|
||||||
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
|
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
|
||||||
|
|
|
@ -222,6 +222,9 @@ ar71xx_board_detect() {
|
||||||
*AP83)
|
*AP83)
|
||||||
name="ap83"
|
name="ap83"
|
||||||
;;
|
;;
|
||||||
|
*"Archer C7")
|
||||||
|
name="archer-c7"
|
||||||
|
;;
|
||||||
*"Atheros AP96")
|
*"Atheros AP96")
|
||||||
name="ap96"
|
name="ap96"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -154,6 +154,8 @@ platform_check_image() {
|
||||||
platform_check_image_openmesh "$magic_long" "$1" && return 0
|
platform_check_image_openmesh "$magic_long" "$1" && return 0
|
||||||
return 1
|
return 1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
archer-c7 | \
|
||||||
tl-mr11u | \
|
tl-mr11u | \
|
||||||
tl-mr3020 | \
|
tl-mr3020 | \
|
||||||
tl-mr3040 | \
|
tl-mr3040 | \
|
||||||
|
|
Loading…
Reference in New Issue