Skip to content

Commit

Permalink
AREDN: add new Mikrotik RBLHG-2nD model string
Browse files Browse the repository at this point in the history
fixes #582
  • Loading branch information
ae6xe committed Oct 18, 2020
1 parent 29a56b8 commit bf944df
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions files/www/cgi-bin/perlfunc.pm
Expand Up @@ -1276,6 +1276,15 @@ sub hardware_info
'usechains' => 1,
'rfband' => '2400',
},
'MikroTik RouterBOARD RBLHG-2nD' => {
'name' => 'MikroTik RouterBOARD RBLHG-2nD',
'comment' => '',
'supported' => '1',
'maxpower' => '28',
'pwroffset' => '0',
'usechains' => 1,
'rfband' => '2400',
},
'MikroTik RouterBOARD LHG 2nD-XL' => {
'name' => 'MikroTik RouterBOARD LHG 2nD-XL',
'comment' => '',
Expand Down
5 changes: 4 additions & 1 deletion patches/006-add-lhg-5hpnd.patch
Expand Up @@ -52,12 +52,15 @@ 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() {
@@ -565,6 +569,12 @@ mikrotik_board_detect() {
*"wAPG-5HacT2HnD")
name="rb-wapg-5hact2hnd"
;;
+ *"RBLHG-5HPnD")
+ name="rb-lhg-5hpnd"
+ ;;
+ *"RBLHG-2nD")
+ name="rb-lhg-5nd"
+ ;;
esac

Expand Down

0 comments on commit bf944df

Please sign in to comment.