Adding support for the TP-Link WBS210 version 1.

This commit is contained in:
Patrick Dickey 2019-02-09 20:02:16 -06:00 committed by Joe AE6XE
parent 711fe96a70
commit f833b38e04
4 changed files with 22 additions and 3 deletions

View File

@ -95,6 +95,7 @@ TPLink CPE510 v1.0/v1.1 | cpe510-520-v1 | 64Mb | stable
TPLink CPE510 v2.0 | cpe510-v2 | 64Mb | stable
TPLink CPE510 v3.0 | cpe510-v3 | 64Mb | stable
TPLink CPE610 v1.0 | cpe610-v1 | 64Mb | stable
TPLink WBS210 v1.0 | wbs210-v1 | 64mb | stable
Mikrotik Basebox RB912UAG-5HPnD/2HPnD | mikrotik-nand-large | 64Mb | stable
Mikrotik hAP ac lite 952Ui-5ac2nD | mikrotik-rb-nor-flash-16M-ac | 64Mb | stable
Mikrotik RBLHG-5nD | mikrotik-rb-nor-flash-16M | 64Mb | stable

View File

@ -10,6 +10,7 @@ CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_cpe510-520-v1=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_cpe510-v2=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_cpe510-v3=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_cpe610-v1=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_wbs210-v1=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-airrouter=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-bullet-m=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-loco-m-xw=y

View File

@ -154,6 +154,9 @@ if(${hardwaretype} eq "nanostation-m")
${hardwaretypev}= "510-520-v1" ; # CPE510 V1.0/v1.1
} elsif($hwmodel =~ /CPE610/i) {
${hardwaretypev}= "610-v1" ; # CPE610 V1.0
} elsif($hwmodel =~ /WBS210 v1\.[012]/i) {
$mfgprefix="wbs";
${hardwaretypev}= "210-v1" ; # WBS210 v1.0/v1.1
}
} else {
${hardwaretypev}=${hardwaretype};
@ -615,6 +618,10 @@ print <<EOF;
var searchstring = "";
var efn = "";
if(hwmfg != "cpe"){
if ($mfgprefix == "wbs") {
searchstring= ".*wbs" + hwtype + "-sysupgrade.bin$\";
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}-sysupgrade.$
} else {
searchstring= ".*-" + hwtype + "-sysupgrade.bin$\";
efn = "aredn-$fw_version-$mfgprefix-${hardwaretypev}-sysupgrade.bin";
} else {

View File

@ -1092,6 +1092,16 @@ sub hardware_info
'rfband' => '5800ubntus',
'chanpower' => { 133 => '15', 141 => '26', 143 => '25' , 149 => '15' , 165 => '14', 166 => '25' },
},
'TP-Link WBS210 v1.20' => {
'name' => 'TP-Link WBS210 v1.20',
'comment' => '',
'supported' => '1',
'maxpower' => '27',
'pwroffset' => '0',
'usechains' => '1',
'rfband' => '2400',
'chanpower' => { 1 => '13', 10 => '18', 11 => '13', 14 => '27' },
},
'Mikrotik RouterBOARD 911G-5HPnD' => {
'name' => 'Mikrotik RouterBOARD 911G-5HPnD',
'comment' => '',