mirror of https://github.com/aredn/aredn.git
aredn: add new Mikrotik model strings for RBLHG-5nD and RBLHG-2nD-XL
This commit is contained in:
parent
7c50771bad
commit
16e33b5306
|
@ -1249,6 +1249,15 @@ sub hardware_info
|
||||||
'usechains' => 1,
|
'usechains' => 1,
|
||||||
'rfband' => '5800ubntus',
|
'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' => {
|
'MikroTik RouterBOARD LHG 2nD' => {
|
||||||
'name' => 'MikroTik RouterBOARD LHG 2nD',
|
'name' => 'MikroTik RouterBOARD LHG 2nD',
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
|
@ -1285,6 +1294,15 @@ sub hardware_info
|
||||||
'usechains' => 1,
|
'usechains' => 1,
|
||||||
'rfband' => '2400',
|
'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' => {
|
'MikroTik RouterBOARD LHG 5HPnD' => {
|
||||||
'name' => 'MikroTik RouterBOARD LHG 5HPnD',
|
'name' => 'MikroTik RouterBOARD LHG 5HPnD',
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
|
|
|
@ -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.orig/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
||||||
+++ openwrt/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")
|
*"LHG 5nD")
|
||||||
name="rb-lhg-5nd"
|
name="rb-lhg-5nd"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -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.orig/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
||||||
+++ openwrt/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")
|
*"LHG 5nD")
|
||||||
name="rb-lhg-5nd"
|
name="rb-lhg-5nd"
|
||||||
;;
|
;;
|
||||||
|
@ -18,6 +18,7 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
||||||
*"LHG 5HPnD-XL")
|
*"LHG 5HPnD-XL")
|
||||||
name="rb-lhg-5hpnd-xl"
|
name="rb-lhg-5hpnd-xl"
|
||||||
;;
|
;;
|
||||||
|
+ *"LHG-2nD-XL"|\
|
||||||
+ *"LHG 2nD-XL")
|
+ *"LHG 2nD-XL")
|
||||||
+ name="rb-lhg-5hpnd-xl"
|
+ name="rb-lhg-5hpnd-xl"
|
||||||
+ ;;
|
+ ;;
|
||||||
|
|
Loading…
Reference in New Issue