aredn: add new mikrotik model string for LHG based devices

new model string: MikroTik RouterBOARD RBLHG-5HPnD
This commit is contained in:
Joe Ayers 2020-10-07 10:33:56 -07:00 committed by Joe AE6XE
parent e4a0c996ff
commit 29a56b8850
2 changed files with 20 additions and 1 deletions

View File

@ -1312,6 +1312,15 @@ sub hardware_info
'usechains' => 1,
'rfband' => '5800ubntus',
},
'MikroTik RouterBOARD RBLHG-5HPnD' => {
'name' => 'MikroTik RouterBOARD RBLHG-5HPnD',
'comment' => '',
'supported' => '1',
'maxpower' => '28',
'pwroffset' => '0',
'usechains' => 1,
'rfband' => '5800ubntus',
},
'MikroTik RouterBOARD LHG 5HPnD-XL' => {
'name' => 'MikroTik RouterBOARD LHG 5HPnD-XL',
'comment' => '',

View File

@ -26,7 +26,7 @@ Index: openwrt/target/linux/ar71xx/base-files/etc/diag.sh
===================================================================
--- openwrt.orig/target/linux/ar71xx/base-files/etc/diag.sh
+++ openwrt/target/linux/ar71xx/base-files/etc/diag.sh
@@ -378,6 +378,7 @@ get_status_led() {
@@ -379,6 +379,7 @@ get_status_led() {
rb-952ui-5ac2nd|\
rb-962uigs-5hact2hnt|\
rb-lhg-5nd|\
@ -52,6 +52,16 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
*"LHG 5HPnD-XL")
name="rb-lhg-5hpnd-xl"
;;
@@ -565,6 +569,9 @@ mikrotik_board_detect() {
*"wAPG-5HacT2HnD")
name="rb-wapg-5hact2hnd"
;;
+ *"RBLHG-5HPnD")
+ name="rb-lhg-5hpnd"
+ ;;
esac
echo "$name"
Index: openwrt/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
===================================================================
--- openwrt.orig/target/linux/ar71xx/base-files/lib/upgrade/platform.sh