mirror of https://github.com/aredn/aredn.git
Adding support for the TP-Link WBS210 version 1.
This commit is contained in:
parent
711fe96a70
commit
f833b38e04
|
@ -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 v2.0 | cpe510-v2 | 64Mb | stable
|
||||||
TPLink CPE510 v3.0 | cpe510-v3 | 64Mb | stable
|
TPLink CPE510 v3.0 | cpe510-v3 | 64Mb | stable
|
||||||
TPLink CPE610 v1.0 | cpe610-v1 | 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 Basebox RB912UAG-5HPnD/2HPnD | mikrotik-nand-large | 64Mb | stable
|
||||||
Mikrotik hAP ac lite 952Ui-5ac2nD | mikrotik-rb-nor-flash-16M-ac | 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
|
Mikrotik RBLHG-5nD | mikrotik-rb-nor-flash-16M | 64Mb | stable
|
||||||
|
|
|
@ -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-v2=y
|
||||||
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_cpe510-v3=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_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-airrouter=y
|
||||||
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-bullet-m=y
|
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-bullet-m=y
|
||||||
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-loco-m-xw=y
|
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-loco-m-xw=y
|
||||||
|
|
|
@ -154,7 +154,10 @@ if(${hardwaretype} eq "nanostation-m")
|
||||||
${hardwaretypev}= "510-520-v1" ; # CPE510 V1.0/v1.1
|
${hardwaretypev}= "510-520-v1" ; # CPE510 V1.0/v1.1
|
||||||
} elsif($hwmodel =~ /CPE610/i) {
|
} elsif($hwmodel =~ /CPE610/i) {
|
||||||
${hardwaretypev}= "610-v1" ; # CPE610 V1.0
|
${hardwaretypev}= "610-v1" ; # CPE610 V1.0
|
||||||
}
|
} elsif($hwmodel =~ /WBS210 v1\.[012]/i) {
|
||||||
|
$mfgprefix="wbs";
|
||||||
|
${hardwaretypev}= "210-v1" ; # WBS210 v1.0/v1.1
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
${hardwaretypev}=${hardwaretype};
|
${hardwaretypev}=${hardwaretype};
|
||||||
}
|
}
|
||||||
|
@ -615,8 +618,12 @@ print <<EOF;
|
||||||
var searchstring = "";
|
var searchstring = "";
|
||||||
var efn = "";
|
var efn = "";
|
||||||
if(hwmfg != "cpe"){
|
if(hwmfg != "cpe"){
|
||||||
searchstring= ".*-" + hwtype + "-sysupgrade.bin$\";
|
if ($mfgprefix == "wbs") {
|
||||||
efn = "aredn-$fw_version-$mfgprefix-${hardwaretypev}-sysupgrade.bin";
|
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 {
|
} else {
|
||||||
searchstring= ".*cpe" + hwtype + "-sysupgrade.bin$\";
|
searchstring= ".*cpe" + hwtype + "-sysupgrade.bin$\";
|
||||||
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}-sysupgrade.bin";
|
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}-sysupgrade.bin";
|
||||||
|
|
|
@ -1092,6 +1092,16 @@ sub hardware_info
|
||||||
'rfband' => '5800ubntus',
|
'rfband' => '5800ubntus',
|
||||||
'chanpower' => { 133 => '15', 141 => '26', 143 => '25' , 149 => '15' , 165 => '14', 166 => '25' },
|
'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' => {
|
'Mikrotik RouterBOARD 911G-5HPnD' => {
|
||||||
'name' => 'Mikrotik RouterBOARD 911G-5HPnD',
|
'name' => 'Mikrotik RouterBOARD 911G-5HPnD',
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
|
|
Loading…
Reference in New Issue