aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-31 18:37:01 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-31 18:37:01 +0000
commit0e45b3367c633bec0f1b67d2a50ec0c23999f7e5 (patch)
tree3b7e20bf2fe7e832980cae9bc537b06dadc79938 /target/linux/ar71xx/base-files
parentf25655b13bbd257b62e89a76178e2f4c429bb1a8 (diff)
downloadupstream-0e45b3367c633bec0f1b67d2a50ec0c23999f7e5.tar.gz
upstream-0e45b3367c633bec0f1b67d2a50ec0c23999f7e5.tar.bz2
upstream-0e45b3367c633bec0f1b67d2a50ec0c23999f7e5.zip
ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar hardware to the TL-WR703N and TL-MR3020, but with an onboard 2000mAh battery. Tested, working: All interfaces (Ethernet, 802.11n, USB) WPS & Reset switches (Power appears to be a hardware slider) Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled) Sysupgrade [juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch breakage] Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29972 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index ae75f78c32..d9613930d4 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -146,6 +146,7 @@ om2p)
set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
;;
+tl-mr11u | \
tl-mr3020)
set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 4d6a68b73a..ca99898183 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -111,6 +111,7 @@ aw-nr580 |\
bullet-m |\
eap7660d |\
rb-411 |\
+tl-mr11u |\
tl-mr3020 |\
tl-wa901nd |\
tl-wa901nd-v2 |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 6761382743..9f117225f1 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -100,6 +100,9 @@ tplink_board_detect() {
"254300"*)
model="TP-Link TL-WR2543N/ND"
;;
+ "110101"*)
+ model="TP-Link TL-MR11U"
+ ;;
"302000"*)
model="TP-Link TL-MR3020"
;;
@@ -292,6 +295,9 @@ ar71xx_board_detect() {
*"TL-WR703N v1")
name="tl-wr703n"
;;
+ *"TL-MR11U")
+ name="tl-mr11u"
+ ;;
*UniFi)
name="unifi"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index d07b7823ad..49df3c3966 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -122,6 +122,7 @@ platform_check_image() {
}
return 0
;;
+ tl-mr11u | \
tl-mr3020 | \
tl-mr3220 | \
tl-mr3420 | \