forked from Ivasoft/openwrt
ar71xx: add support for MikroTik hAP ac
This patch adds initial support for the MikroTik RouterBOARD hAP ac (RB962UiGS-5HacT2HnT). All functions are supported except: -SFP cage (eth1) is not working -WLAN LEDs are not working Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
This commit is contained in:
committed by
Piotr Dymacz
parent
540edf7045
commit
978998628f
@@ -249,6 +249,9 @@ rb-952ui-5ac2nd)
|
||||
ucidef_set_led_switch "port5" "port5" "rb:green:port5" "switch0" "0x02"
|
||||
ucidef_set_led_wlan "wlan" "WLAN" "rb:blue:wlan" "phy0tpt"
|
||||
;;
|
||||
rb-962uigs-5hact2hnt)
|
||||
ucidef_set_led_timer "user" "USER/SFP" "rb:green:user" "1000" "1000"
|
||||
;;
|
||||
rb-2011l|\
|
||||
rb-2011uas|\
|
||||
rb-2011uias|\
|
||||
|
||||
@@ -171,6 +171,7 @@ ar71xx_setup_interfaces()
|
||||
rb-750gl|\
|
||||
rb-751g|\
|
||||
rb-951g-2hnd|\
|
||||
rb-962uigs-5hact2hnt|\
|
||||
wlr8100|\
|
||||
wzr-hp-g450h)
|
||||
ucidef_add_switch "switch0" \
|
||||
|
||||
@@ -307,6 +307,7 @@ get_status_led() {
|
||||
rb-941-2nd|\
|
||||
rb-951ui-2nd|\
|
||||
rb-952ui-5ac2nd|\
|
||||
rb-962uigs-5hact2hnt|\
|
||||
rb-lhg-5nd|\
|
||||
rb-mapl-2nd)
|
||||
status_led="rb:green:user"
|
||||
|
||||
@@ -127,7 +127,8 @@ case "$FIRMWARE" in
|
||||
ath10kcal_extract "ART" 20480 2116
|
||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
|
||||
;;
|
||||
rb-911g-5hpacd)
|
||||
rb-911g-5hpacd | \
|
||||
rb-962uigs-5hact2hnt)
|
||||
ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user