aredn: add new Mikrotik model strings for RBLHG-5nD and RBLHG-2nD-XL

This commit is contained in:
Joe Ayers 2020-05-27 17:04:12 -07:00 committed by Joe AE6XE
parent 7c50771bad
commit 16e33b5306
3 changed files with 25 additions and 2 deletions

View File

@ -1249,6 +1249,15 @@ sub hardware_info
'usechains' => 1,
'rfband' => '5800ubntus',
},
'MikroTik RouterBOARD RBLHG-5nD' => {
'name' => 'MikroTik RouterBOARD RBLHG-5nD',
'comment' => '',
'supported' => '1',
'maxpower' => '25',
'pwroffset' => '0',
'usechains' => 1,
'rfband' => '5800ubntus',
},
'MikroTik RouterBOARD LHG 2nD' => {
'name' => 'MikroTik RouterBOARD LHG 2nD',
'comment' => '',
@ -1285,6 +1294,15 @@ sub hardware_info
'usechains' => 1,
'rfband' => '2400',
},
'MikroTik RouterBOARD RBLHG-2nD-XL' => {
'name' => 'MikroTik RouterBOARD RBLHG-2nD-XL',
'comment' => '',
'supported' => '1',
'maxpower' => '25',
'pwroffset' => '0',
'usechains' => 1,
'rfband' => '2400',
},
'MikroTik RouterBOARD LHG 5HPnD' => {
'name' => 'MikroTik RouterBOARD LHG 5HPnD',
'comment' => '',

View File

@ -38,7 +38,11 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- openwrt.orig/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -528,6 +528,9 @@ mikrotik_board_detect() {
@@ -525,9 +525,13 @@ mikrotik_board_detect() {
*"962UiGS-5HacT2HnT")
name="rb-962uigs-5hact2hnt"
;;
+ *"LHG-5nD"|\
*"LHG 5nD")
name="rb-lhg-5nd"
;;

View File

@ -2,7 +2,7 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- openwrt.orig/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -528,12 +528,30 @@ mikrotik_board_detect() {
@@ -529,12 +529,31 @@ mikrotik_board_detect() {
*"LHG 5nD")
name="rb-lhg-5nd"
;;
@ -18,6 +18,7 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
*"LHG 5HPnD-XL")
name="rb-lhg-5hpnd-xl"
;;
+ *"LHG-2nD-XL"|\
+ *"LHG 2nD-XL")
+ name="rb-lhg-5hpnd-xl"
+ ;;