Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ar71xx: Add Support for the TP-LINK CPE210 V3.0 Device #88

Merged
merged 1 commit into from Jul 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -47,6 +47,7 @@ Rocket M2 TI | rocket-m-ti? | 64Mb | unknown
Rocket M5 TI | rocket-m-ti | 64Mb | testing-stable?
TPLink CPE210 v1.0/v1.1 | cpe210-220-v1 | 64Mb | testing-stable?
TPLink CPE210 v2.0 | cpe210-v2 | 64Mb | testing-stable?
TPLink CPE210 v3.0 | cpe210-v2 | 64Mb | testing-stable?
TPLink CPE510 v1.0/v1.1 | cpe510-220-v1 | 64Mb | testing-stable?
TPLink CPE510 v2.0 | cpe510-220-v1 | 64Mb | testing-stable?
Mikrotik BaseBox 2/5 | mikrotik-nand-large | 64Mb | testing-stable?
Expand Down
10 changes: 10 additions & 0 deletions files/www/cgi-bin/perlfunc.pm
Expand Up @@ -995,6 +995,16 @@ sub hardware_info
'usechains' => 1,
'rfband' => '2400',
'chanpower' => { 1 => '27', 2 => '28', 9 => '29', 14 => '27' },
},
'TP-Link CPE210 v3.0' => {
'name' => 'TP-Link CPE210 v3.0',
'comment' => 'Testing support for CPE210 v3.0',
'supported' => '-1',
'maxpower' => '25',
'pwroffset' => '0',
'usechains' => 1,
'rfband' => '2400',
'chanpower' => { 1 => '21', 2 => '25', 11 => '18' },
},
'TP-Link CPE510 v1.0' => {
'name' => 'TP-Link CPE510 v1.0',
Expand Down
21 changes: 21 additions & 0 deletions patches/001-add_support_for_TP-Link_CPE210_v3.patch
@@ -0,0 +1,21 @@
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -170,7 +170,17 @@ static struct device_info boards[] = {
"CPE210(TP-LINK|US|N300-2|55530000):2.0\r\n"
"CPE210(TP-LINK|UN|N300-2):2.0\r\n"
"CPE210(TP-LINK|EU|N300-2):2.0\r\n"
- "CPE210(TP-LINK|US|N300-2):2.0\r\n",
+ "CPE210(TP-LINK|US|N300-2):2.0\r\n"
+ "CPE210(TP-LINK|EU|N300-2|00000000):3.0\r\n"
+ "CPE210(TP-LINK|EU|N300-2|45550000):3.0\r\n"
+ "CPE210(TP-LINK|EU|N300-2|55530000):3.0\r\n"
+ "CPE210(TP-LINK|UN|N300-2|00000000):3.0\r\n"
+ "CPE210(TP-LINK|UN|N300-2|45550000):3.0\r\n"
+ "CPE210(TP-LINK|UN|N300-2|55530000):3.0\r\n"
+ "CPE210(TP-LINK|US|N300-2|55530000):3.0\r\n"
+ "CPE210(TP-LINK|UN|N300-2):3.0\r\n"
+ "CPE210(TP-LINK|EU|N300-2):3.0\r\n"
+ "CPE210(TP-LINK|US|N300-2):3.0\r\n",
.support_trail = '\xff',
.soft_ver = NULL,

1 change: 1 addition & 0 deletions patches/series
@@ -1,4 +1,5 @@
001-add_support_for_TP-Link_CPE510_v2.patch
001-add_support_for_TP-Link_CPE210_v3.patch
700-cpe210.patch
002-firmware-check-fix.patch
701-extended-spectrum.patch
Expand Down