From 3338f5389d72835e38dab4bb398af5b8578ad50b Mon Sep 17 00:00:00 2001 From: Joe Mullally Date: Sat, 27 May 2023 20:54:23 +0100 Subject: [PATCH] tplink-safeloader: add TL-WPA8635P v3 Inspecting the only available firmware wpa8635pv3_fr-up-ver3-0-0-P1-20210625-rel39993-APPLC.bin shows the WPA8631Pv3 EU is also supported by that firmware and the partition layout is identical to the currently supported WPA8631P v3 layout. Expand size of support-list partition into unused space in soft-version (which is also supplied by tplink-safeloader) to fit the new entry. Link: https://forum.openwrt.org/t/137404/5 Tested-by: William Lallemand Signed-off-by: Joe Mullally --- src/tplink-safeloader.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index 6668c31..9f0bb41 100644 --- a/src/tplink-safeloader.c +++ b/src/tplink-safeloader.c @@ -2309,7 +2309,8 @@ static struct device_info boards[] = { "SupportList:\n" "{product_name:TL-WPA8631P,product_ver:3.0.0,special_id:41550000}\n" "{product_name:TL-WPA8631P,product_ver:3.0.0,special_id:45550000}\n" - "{product_name:TL-WPA8631P,product_ver:3.0.0,special_id:55530000}\n", + "{product_name:TL-WPA8631P,product_ver:3.0.0,special_id:55530000}\n" + "{product_name:TL-WPA8635P,product_ver:3.0.0,special_id:46520000}\n", .part_trail = 0x00, .soft_ver = SOFT_VER_DEFAULT, @@ -2323,8 +2324,8 @@ static struct device_info boards[] = { {"default-region", 0x732300, 0x00010}, {"product-info", 0x732400, 0x00200}, {"extra-para", 0x732600, 0x00200}, - {"soft-version", 0x732800, 0x00200}, - {"support-list", 0x732a00, 0x00100}, + {"soft-version", 0x732800, 0x00100}, + {"support-list", 0x732900, 0x00200}, {"profile", 0x732b00, 0x00100}, {"default-config", 0x732c00, 0x00800}, {"plc-type", 0x733400, 0x00020}, -- 2.30.2