firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)
authorGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:58 +0000 (06:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:58 +0000 (06:36 +0000)
The version of TL-WDR4300 sold in Israel comes with a different
hardware id.

Patch-by: Daniel <daniel@makrotopia.org>
Patchwork: http://patchwork.openwrt.org/patch/5001/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40037

tools/firmware-utils/src/mktplinkfw.c

index bb5ebd7fdc967d4f0bdd9dd88a69ccb12b7b5166..f0b33a0150ea490bb096a7f8daac137689b54ecc 100644 (file)
@@ -46,6 +46,7 @@
 #define HWID_TL_WA801ND_V2     0x08010002
 #define HWID_TL_WA901ND_V1     0x09010001
 #define HWID_TL_WA901ND_V2     0x09010002
+#define HWID_TL_WDR4300_V1_IL  0x43008001
 #define HWID_TL_WDR4900_V1     0x49000001
 #define HWID_TL_WR703N_V1      0x07030101
 #define HWID_TL_WR720N_V3      0x07200103
@@ -286,6 +287,11 @@ static struct board_info boards[] = {
                .hw_id          = HWID_TL_WA901ND_V2,
                .hw_rev         = 1,
                .layout_id      = "4M",
+       }, {
+               .id             = "TL-WDR4300v1",
+               .hw_id          = HWID_TL_WDR4300_V1_IL,
+               .hw_rev         = 1,
+               .layout_id      = "8Mlzma",
        }, {
                .id             = "TL-WDR4900v1",
                .hw_id          = HWID_TL_WDR4900_V1,