From 8f6cc2dadd7ba90a46dda88905a0ef86bec68870 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 25 Apr 2016 18:18:56 +0200 Subject: [PATCH] ar71xx-generic: add TP-LINK TL-WR841ND v11 support Fixes #721 --- ...-ar71xx-Add-TL-WR841N-ND-v11-support.patch | 43 +++++++++++++++++++ targets/ar71xx-generic/profiles.mk | 5 ++- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 patches/openwrt/0031-ar71xx-Add-TL-WR841N-ND-v11-support.patch diff --git a/patches/openwrt/0031-ar71xx-Add-TL-WR841N-ND-v11-support.patch b/patches/openwrt/0031-ar71xx-Add-TL-WR841N-ND-v11-support.patch new file mode 100644 index 00000000..d4c406f0 --- /dev/null +++ b/patches/openwrt/0031-ar71xx-Add-TL-WR841N-ND-v11-support.patch @@ -0,0 +1,43 @@ +From: Matthias Schiffer +Date: Mon, 25 Apr 2016 18:07:13 +0200 +Subject: ar71xx: Add TL-WR841N/ND v11 support + +This patch adds support for the TP-Link TL-WR841N/ND to trunk. It is +similar to the already supported v10 - see [1]. I have added support +based on that topic; in the meantime it has been confirmed working +(see the forum thread, and also [2]). + +Signed-off by Stijn Segers + +[1]: https://forum.openwrt.org/viewtopic.php?id=61309 +[2]: https://forum.openwrt.org/viewtopic.php?id=63657 + +Backport of r49099 + +diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile +index 9ac405c..1b4e6db 100644 +--- a/target/linux/ar71xx/image/Makefile ++++ b/target/linux/ar71xx/image/Makefile +@@ -578,6 +578,13 @@ define Device/tl-wr841-v10 + TPLINK_HWID := 0x08410010 + endef + ++define Device/tl-wr841-v11 ++ $(Device/tplink-4mlzma) ++ BOARDNAME := TL-WR841N-v9 ++ DEVICE_PROFILE := TLWR841 ++ TPLINK_HWID := 0x08410011 ++endef ++ + define Device/tl-wr842n-v2 + $(Device/tplink-8mlzma) + BOARDNAME := TL-WR842N-v2 +@@ -598,7 +605,7 @@ define Device/tl-wr847n-v8 + DEVICE_PROFILE := TLWR841 + TPLINK_HWID := 0x08470008 + endef +-TARGET_DEVICES += tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr842n-v2 tl-wr843nd-v1 tl-wr847n-v8 ++TARGET_DEVICES += tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr841-v11 tl-wr842n-v2 tl-wr843nd-v1 tl-wr847n-v8 + + define Device/tl-wr941nd-v5 + $(Device/tplink-4mlzma) diff --git a/targets/ar71xx-generic/profiles.mk b/targets/ar71xx-generic/profiles.mk index 89d486ce..dd3aa2cb 100644 --- a/targets/ar71xx-generic/profiles.mk +++ b/targets/ar71xx-generic/profiles.mk @@ -57,7 +57,7 @@ $(eval $(call GluonProfile,TLWA801)) $(eval $(call GluonModel,TLWA801,tl-wa801nd-v1,tp-link-tl-wa801n-nd-v1)) $(eval $(call GluonModel,TLWA801,tl-wa801nd-v2,tp-link-tl-wa801n-nd-v2)) -# TL-WR841N/ND v3, v5, v7, v8, v9, v10 +# TL-WR841N/ND v3, v5, v7, v8, v9, v10, v11 $(eval $(call GluonProfile,TLWR841)) $(eval $(call GluonModel,TLWR841,tl-wr841-v3,tp-link-tl-wr841n-nd-v3)) $(eval $(call GluonModel,TLWR841,tl-wr841-v5,tp-link-tl-wr841n-nd-v5)) @@ -65,6 +65,9 @@ $(eval $(call GluonModel,TLWR841,tl-wr841-v7,tp-link-tl-wr841n-nd-v7)) $(eval $(call GluonModel,TLWR841,tl-wr841-v8,tp-link-tl-wr841n-nd-v8)) $(eval $(call GluonModel,TLWR841,tl-wr841-v9,tp-link-tl-wr841n-nd-v9)) $(eval $(call GluonModel,TLWR841,tl-wr841-v10,tp-link-tl-wr841n-nd-v10)) +ifeq ($(BROKEN),1) +$(eval $(call GluonModel,TLWR841,tl-wr841-v11,tp-link-tl-wr841n-nd-v11)) # BROKEN: untested +endif # TL-WR842N/ND v1, v2 $(eval $(call GluonProfile,TLWR842))