tplink-safeloader: add TL-WPA8635P v3
authorJoe Mullally <jwmullally@gmail.com>
Sat, 27 May 2023 19:54:23 +0000 (20:54 +0100)
committerSander Vanheule <sander@svanheule.net>
Mon, 12 Jun 2023 19:56:46 +0000 (21:56 +0200)
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 <wlallemand@irq6.net>
Signed-off-by: Joe Mullally <jwmullally@gmail.com>
src/tplink-safeloader.c

index 6668c3128b095ec8bbcb8b461920f179b034a676..9f0bb418b6eba63fff4c0dc20c23ed761f87a431 100644 (file)
@@ -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},