0084-firmware-utils-tplink-safeloader-update-support-list-for-CPE210-510.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Sun, 11 Dec 2016 18:00:13 +0100
  3. Subject: firmware-utils: tplink-safeloader: update support list for CPE210/510/...
  4. Adds support for new EU and US variants, removes a few strings that were
  5. never actually used and have been removed from the stock firmwares.
  6. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  7. diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
  8. index 4938f74..4a38dff 100644
  9. --- a/tools/firmware-utils/src/tplink-safeloader.c
  10. +++ b/tools/firmware-utils/src/tplink-safeloader.c
  11. @@ -169,8 +169,13 @@ static const char cpe210_support_list[] =
  12. "SupportList:\r\n"
  13. "CPE210(TP-LINK|UN|N300-2):1.0\r\n"
  14. "CPE210(TP-LINK|UN|N300-2):1.1\r\n"
  15. - "CPE220(TP-LINK|UN|N300-2):1.0\r\n"
  16. - "CPE220(TP-LINK|UN|N300-2):1.1\r\n";
  17. + "CPE210(TP-LINK|US|N300-2):1.1\r\n"
  18. + "CPE210(TP-LINK|EU|N300-2):1.1\r\n"
  19. + "CPE220(TP-LINK|UN|N300-2):1.1\r\n"
  20. + "CPE220(TP-LINK|US|N300-2):1.1\r\n"
  21. + "CPE220(TP-LINK|EU|N300-2):1.1\r\n"
  22. + ;
  23. +
  24. /**
  25. The support list for CPE210/220/510/520
  26. */
  27. @@ -178,8 +183,13 @@ static const char cpe510_support_list[] =
  28. "SupportList:\r\n"
  29. "CPE510(TP-LINK|UN|N300-5):1.0\r\n"
  30. "CPE510(TP-LINK|UN|N300-5):1.1\r\n"
  31. - "CPE520(TP-LINK|UN|N300-5):1.0\r\n"
  32. - "CPE520(TP-LINK|UN|N300-5):1.1\r\n";
  33. + "CPE510(TP-LINK|UN|N300-5):1.1\r\n"
  34. + "CPE510(TP-LINK|US|N300-5):1.1\r\n"
  35. + "CPE510(TP-LINK|EU|N300-5):1.1\r\n"
  36. + "CPE520(TP-LINK|UN|N300-5):1.1\r\n"
  37. + "CPE520(TP-LINK|US|N300-5):1.1\r\n"
  38. + "CPE520(TP-LINK|EU|N300-5):1.1\r\n"
  39. + ;
  40. /**
  41. The support list for C2600