aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorRyan Mounce <ryan@mounce.com.au>2017-03-08 19:37:00 +1030
committerPiotr Dymacz <pepe2k@gmail.com>2017-03-23 09:35:14 +0100
commit540edf704501db3ec8dcb278a7f1df52de222ae0 (patch)
tree11a29e0cb05169e288e970364dc393a5f21a9421 /target/linux/ar71xx/base-files/lib
parentdce3b0057b986ab3278392607433b862e2865416 (diff)
downloadupstream-540edf704501db3ec8dcb278a7f1df52de222ae0.tar.gz
upstream-540edf704501db3ec8dcb278a7f1df52de222ae0.tar.bz2
upstream-540edf704501db3ec8dcb278a7f1df52de222ae0.zip
ar71xx: add support for MikroTik hAP ac lite
This patch adds support for the MikroTik RouterBOARD hAP ac lite (RB952Ui-5ac2nD). The hAP ac lite is nearly identical to the hAP, with an added QCA9887 5GHz radio. The 2.4GHz radio ID is also changed in the hAP ac lite. Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 4951e5b625..63c09871d4 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -905,6 +905,9 @@ ar71xx_board_detect() {
*"RouterBOARD 951Ui-2nD")
name="rb-951ui-2nd"
;;
+ *"RouterBOARD 952Ui-5ac2nD")
+ name="rb-952ui-5ac2nd"
+ ;;
*"RouterBOARD LHG 5nD")
name="rb-lhg-5nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 364a32f76c..f5f37f044d 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -638,6 +638,7 @@ platform_check_image() {
rb-750up-r2|\
rb-941-2nd|\
rb-951ui-2nd|\
+ rb-952ui-5ac2nd|\
rb-lhg-5nd|\
rb-mapl-2nd)
return 0
@@ -690,6 +691,7 @@ platform_pre_upgrade() {
rb-750up-r2|\
rb-941-2nd|\
rb-951ui-2nd|\
+ rb-952ui-5ac2nd|\
rb-lhg-5nd|\
rb-mapl-2nd)
# erase firmware if booted from initramfs