Re: [OpenWrt-Devel] [PATCH v2] [ar71xx] Add support for TL-WA830RE v1

2013-02-25 Thread Gabor Juhos
2013.02.24. 11:18 keltezéssel, Ronald Hecht írta:
 Added support for the TP-LINK TL-WA830RE v1 Range Extender. Based on the 
 WA901ND
 v1 support. Hardware IDs checked against original firmware. Patch was
 successfully tested on hardware.

Applied.

Thanks,
Gabor
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH v2] [ar71xx] Add support for TL-WA830RE v1

2013-02-24 Thread Ronald Hecht

Added support for the TP-LINK TL-WA830RE v1 Range Extender. Based on the 
WA901ND v1 support. Hardware IDs checked against original firmware. Patch was 
successfully tested on hardware.

Signed-off-by: Ronald Hecht ronald.he...@gmx.de
Index: target/linux/ar71xx/image/Makefile
===
--- target/linux/ar71xx/image/Makefile  (revision 35759)
+++ target/linux/ar71xx/image/Makefile  (working copy)
@@ -900,6 +900,7 @@
 $(eval $(call 
SingleProfile,TPLINK,$(fs_64kraw),TLWA701,tl-wa701n-v1,TL-WA901ND,ttyS0,115200,0x07010001,1,4M))
 $(eval $(call 
SingleProfile,TPLINK,$(fs_64kraw),TLWA7510NV1,tl-wa7510n,TL-WA7510N,ttyS0,115200,0x7511,1,4M))
 $(eval $(call 
SingleProfile,TPLINK,$(fs_64kraw),TLWA801NV1,tl-wa801nd-v1,TL-WA901ND,ttyS0,115200,0x08010001,1,4M))
+$(eval $(call 
SingleProfile,TPLINK,$(fs_64kraw),TLWA830RV1,tl-wa830re-v1,TL-WA901ND,ttyS0,115200,0x08300010,1,4M))
 $(eval $(call 
SingleProfile,TPLINK,$(fs_64kraw),TLWA901NV1,tl-wa901nd-v1,TL-WA901ND,ttyS0,115200,0x09010001,1,4M))
 $(eval $(call 
SingleProfile,TPLINK,$(fs_64kraw),TLWA901NV2,tl-wa901nd-v2,TL-WA901ND-v2,ttyS0,115200,0x09010002,1,4M))
 $(eval $(call 
SingleProfile,TPLINK,$(fs_64kraw),TLWR740NV1,tl-wr740n-v1,TL-WR741ND,ttyS0,115200,0x0741,1,4M))
@@ -972,6 +973,7 @@
 $(eval $(call MultiProfile,TEW652BRP,TEW652BRP_FW TEW652BRP_RECOVERY))
 $(eval $(call MultiProfile,TLMR3220,TLMR3220V1 TLMR3220V2))
 $(eval $(call MultiProfile,TLWA801,TLWA801NV1))
+$(eval $(call MultiProfile,TLWA830,TLWA830RV1))
 $(eval $(call MultiProfile,TLWA901,TLWA901NV1 TLWA901NV2))
 $(eval $(call MultiProfile,TLWA7510,TLWA7510NV1))
 $(eval $(call MultiProfile,TLWR740,TLWR740NV1 TLWR740NV3 TLWR740NV4))
Index: target/linux/ar71xx/base-files/lib/ar71xx.sh
===
--- target/linux/ar71xx/base-files/lib/ar71xx.sh(revision 35759)
+++ target/linux/ar71xx/base-files/lib/ar71xx.sh(working copy)
@@ -90,6 +90,9 @@
080100*)
model=TP-Link TL-WA801N/ND
;;
+   083000*)
+   model=TP-Link TL-WA830RE
+   ;;
084100*)
model=TP-Link TL-WR841N/ND
;;
Index: target/linux/ar71xx/generic/profiles/tp-link.mk
===
--- target/linux/ar71xx/generic/profiles/tp-link.mk (revision 35759)
+++ target/linux/ar71xx/generic/profiles/tp-link.mk (working copy)
@@ -102,7 +102,17 @@
 endef
 $(eval $(call Profile,TLWA801))

+define Profile/TLWA830
+   NAME:=TP-LINK TL-WA830RE
+   PACKAGES:=
+endef

+define Profile/TLWA830/Description
+   Package set optimized for the TP-LINK TL-WA830RE.
+endef
+$(eval $(call Profile,TLWA830))
+
+
 define Profile/TLWA901
NAME:=TP-LINK TL-WA901N/ND
PACKAGES:=
Index: tools/firmware-utils/src/mktplinkfw.c
===
--- tools/firmware-utils/src/mktplinkfw.c   (revision 35759)
+++ tools/firmware-utils/src/mktplinkfw.c   (working copy)
@@ -37,6 +37,8 @@
 #define HWID_TL_WA701N_V1  0x07010001
 #define HWID_TL_WA7510N_V1 0x7511
 #define HWID_TL_WA801ND_V1 0x08010001
+#define HWID_TL_WA830RE_V1 0x08300010
+#define HWID_TL_WA830RE_V2 0x0832
 #define HWID_TL_WA901ND_V1 0x09010001
 #define HWID_TL_WA901ND_V2 0x09010002
 #define HWID_TL_WDR4900_V1 0x4901
@@ -224,6 +226,16 @@
.hw_rev = 1,
.layout_id  = 4M,
}, {
+   .id = TL-WA830REv1,
+   .hw_id  = HWID_TL_WA830RE_V1,
+   .hw_rev = 1,
+   .layout_id  = 4M,
+   }, {
+   .id = TL-WA830REv2,
+   .hw_id  = HWID_TL_WA830RE_V2,
+   .hw_rev = 1,
+   .layout_id  = 4M,
+   }, {
.id = TL-WA901NDv1,
.hw_id  = HWID_TL_WA901ND_V1,
.hw_rev = 1,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel