From 011eab08954611aa1611c69f000648efcf889857 Mon Sep 17 00:00:00 2001 From: Joe AE6XE Date: Fri, 22 Jan 2021 21:10:14 -0800 Subject: [PATCH] aredn: add new Mikrotik model string for SXTsq5nD (#62) --- files/www/cgi-bin/perlfunc.pm | 9 +++++++++ patches/009-add-sxtsq.patch | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/files/www/cgi-bin/perlfunc.pm b/files/www/cgi-bin/perlfunc.pm index d65302de..f85c7db2 100644 --- a/files/www/cgi-bin/perlfunc.pm +++ b/files/www/cgi-bin/perlfunc.pm @@ -1348,6 +1348,15 @@ sub hardware_info 'usechains' => 1, 'rfband' => '5800ubntus', }, + 'MikroTik RouterBOARD RBSXTsq5nD' => { + 'name' => 'MikroTik RouterBOARD RBSXTsq5nD', + 'comment' => '', + 'supported' => '1', + 'maxpower' => '25', + 'pwroffset' => '0', + 'usechains' => 1, + 'rfband' => '5800ubntus', + }, 'MikroTik RouterBOARD SXTsq 2nD' => { 'name' => 'MikroTik RouterBOARD SXTsq 2nD', 'comment' => '', diff --git a/patches/009-add-sxtsq.patch b/patches/009-add-sxtsq.patch index fafec320..153f767f 100644 --- a/patches/009-add-sxtsq.patch +++ b/patches/009-add-sxtsq.patch @@ -2,10 +2,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 -@@ -577,6 +577,19 @@ mikrotik_board_detect() { +@@ -577,6 +577,20 @@ mikrotik_board_detect() { *"SXT Lite5") name="rb-sxt5n" ;; ++ *"SXTsq5nD"|\ + *"SXTsq 5nD") + name="rb-lhg-5nd" + ;;