aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-01-05 16:01:17 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-01-05 16:01:17 +0100
commit1fef80f29cf6bdfcb6cdbd913b9147797b8bc218 (patch)
treea050829f38982ad570f0407444ffbd9668e1e4f0 /target/linux/ar71xx/base-files/lib
parent2ee3e8dd42272f4109830cd26a7fd6f1231ddae8 (diff)
downloadupstream-1fef80f29cf6bdfcb6cdbd913b9147797b8bc218.tar.gz
upstream-1fef80f29cf6bdfcb6cdbd913b9147797b8bc218.tar.bz2
upstream-1fef80f29cf6bdfcb6cdbd913b9147797b8bc218.zip
ar71xx: add support for TP-Link WBS210/510
The devices are mostly identical to the CPE210/510, but use external antennas. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh8
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh4
2 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 3241100198..1b30f4d827 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -510,6 +510,14 @@ ar71xx_board_detect() {
*CPE870)
name="cpe870"
;;
+ *WBS210)
+ name="wbs210"
+ tplink_pharos_board_detect
+ ;;
+ *WBS510)
+ name="wbs510"
+ tplink_pharos_board_detect
+ ;;
*CR3000)
name="cr3000"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 570aa686e3..6341a31791 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -453,7 +453,9 @@ platform_check_image() {
;;
cpe210|\
cpe510|\
- eap120)
+ eap120|\
+ wbs210|\
+ wbs510)
tplink_pharos_check_image "$1" && return 0
return 1
;;