aredn: add definition for Mikrotik RBSXTsq2nD

Mikrotik has multiple model strings for this device
This commit is contained in:
Joe Ayers 2019-11-02 17:39:17 -07:00 committed by Joe AE6XE
parent c17f56507f
commit 1272c5785e
2 changed files with 13 additions and 1 deletions

View File

@ -1300,6 +1300,15 @@ sub hardware_info
'usechains' => 1,
'rfband' => '2400',
},
'MikroTik RouterBOARD RBSXTsq2nD' => {
'name' => 'MikroTik RouterBOARD RBSXTsq2nD',
'comment' => '',
'supported' => '1',
'maxpower' => '30',
'pwroffset' => '0',
'usechains' => 1,
'rfband' => '2400',
},
'MikroTik RouterBOARD SXTsq 5HPnD' => {
'name' => 'MikroTik RouterBOARD SXTsq 5HPnD',
'comment' => '',

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
@@ -1163,6 +1163,15 @@ ar71xx_board_detect() {
@@ -1163,6 +1163,18 @@ ar71xx_board_detect() {
*"RouterBOARD SXT Lite5")
name="rb-sxt5n"
;;
@ -12,6 +12,9 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
+ *"RouterBOARD SXTsq 2nD")
+ name="rb-lhg-5nd"
+ ;;
+ *"RouterBOARD RBSXTsq2nD")
+ name="rb-lhg-5nd"
+ ;;
+ *"RouterBOARD SXTsq 5HPnD")
+ name="rb-lhg-5hpnd"
+ ;;