mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
packages: nvram: add asus,rt-ac{3200,5300} to set_wireless_led_behaviour
Add ASUS RT-AC3200 and ASUS RT-AC5300 to the set wireless LED behaviour
quirk. ASUS RT-AC3200's wireless chip is different than ASUS RT-AC5300's,
the environment variables for it are 0:ledbh10 and 1:ledbh10.
Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
(cherry picked from commit 64b6293eb7)
This commit is contained in:
parent
630c404e8c
commit
6e55dbc260
2 changed files with 10 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nvram
|
||||
PKG_RELEASE:=12
|
||||
PKG_RELEASE:=13
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
|
|
|||
|
|
@ -19,16 +19,23 @@ clear_partialboots() {
|
|||
|
||||
set_wireless_led_behaviour() {
|
||||
# set Broadcom wireless LED behaviour for both radios
|
||||
# 0:ledbh9 -> Behaviour of 2.4GHz LED
|
||||
# 1:ledbh9 -> Behaviour of 5GHz LED
|
||||
# 0:ledbh9 -> Behaviour of 2.4GHz LED of Broadcom BCM4366
|
||||
# 1:ledbh9 -> Behaviour of 5GHz LED of Broadcom BCM4366
|
||||
# 0:ledbh10 -> Behaviour of 2.4GHz LED of Broadcom BCM43602
|
||||
# 1:ledbh10 -> Behaviour of 5GHz LED of Broadcom BCM43602
|
||||
# 0x7 makes the wireless LEDs on, when radios are enabled, and blink when there's activity
|
||||
|
||||
case $(board_name) in
|
||||
asus,rt-ac3100|\
|
||||
asus,rt-ac5300|\
|
||||
asus,rt-ac88u)
|
||||
COMMIT=1
|
||||
nvram set 0:ledbh9=0x7 set 1:ledbh9=0x7
|
||||
;;
|
||||
asus,rt-ac3200)
|
||||
COMMIT=1
|
||||
nvram set 0:ledbh10=0x7 set 1:ledbh10=0x7
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue