ar71xx: add TP-LINK TL-WDR3320 v2 support

This patch adds support for TP-LINK TL-WDR3320 v2.

This router uses a chinese version 2 firmware header,.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 46934
This commit is contained in:
John Crispin
2015-09-14 20:12:16 +00:00
parent bfeae90850
commit 0dbced8a48
10 changed files with 256 additions and 1 deletions

View File

@@ -262,6 +262,7 @@ get_status_led() {
tl-wa901nd | \
tl-wa901nd-v2 | \
tl-wa901nd-v3 | \
tl-wdr3320-v2 | \
tl-wdr3500 | \
tl-wr1041n-v2 | \
tl-wr1043nd | \

View File

@@ -437,6 +437,10 @@ tl-wa901nd-v2)
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;
tl-wdr3320-v2)
ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:green:wlan5g" "phy0tpt"
;;
tl-wdr3500)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:green:wlan2g" "phy0tpt"

View File

@@ -436,6 +436,7 @@ tew-712br |\
tl-mr3220 |\
tl-mr3220-v2 |\
tl-mr3420 |\
tl-wdr3320-v2 |\
tl-wdr3500 |\
tl-wr741nd |\
tl-wr741nd-v4 |\

View File

@@ -221,6 +221,9 @@ tplink_board_detect() {
"342000"*)
model="TP-Link TL-MR3420"
;;
"332000"*)
model="TP-Link TL-WDR3320"
;;
"350000"*)
model="TP-Link TL-WDR3500"
;;
@@ -769,6 +772,9 @@ ar71xx_board_detect() {
*"TL-WA901ND v3")
name="tl-wa901nd-v3"
;;
*"TL-WDR3320 v2")
name="tl-wdr3320-v2"
;;
*"TL-WDR3500")
name="tl-wdr3500"
;;

View File

@@ -340,6 +340,7 @@ platform_check_image() {
tl-wa901nd | \
tl-wa901nd-v2 | \
tl-wa901nd-v3 | \
tl-wdr3320-v2 | \
tl-wdr3500 | \
tl-wdr4300 | \
tl-wdr4900-v2 | \