Skip to content

Commit 64b6293

Browse files
arinc9dangowrt
authored andcommitted
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 <[email protected]>
1 parent 4284d56 commit 64b6293

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

package/utils/nvram/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=nvram
11-
PKG_RELEASE:=12
11+
PKG_RELEASE:=13
1212

1313
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
1414

package/utils/nvram/files/nvram-bcm53xx.init

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,23 @@ clear_partialboots() {
1919

2020
set_wireless_led_behaviour() {
2121
# set Broadcom wireless LED behaviour for both radios
22-
# 0:ledbh9 -> Behaviour of 2.4GHz LED
23-
# 1:ledbh9 -> Behaviour of 5GHz LED
22+
# 0:ledbh9 -> Behaviour of 2.4GHz LED of Broadcom BCM4366
23+
# 1:ledbh9 -> Behaviour of 5GHz LED of Broadcom BCM4366
24+
# 0:ledbh10 -> Behaviour of 2.4GHz LED of Broadcom BCM43602
25+
# 1:ledbh10 -> Behaviour of 5GHz LED of Broadcom BCM43602
2426
# 0x7 makes the wireless LEDs on, when radios are enabled, and blink when there's activity
2527

2628
case $(board_name) in
2729
asus,rt-ac3100|\
30+
asus,rt-ac5300|\
2831
asus,rt-ac88u)
2932
COMMIT=1
3033
nvram set 0:ledbh9=0x7 set 1:ledbh9=0x7
3134
;;
35+
asus,rt-ac3200)
36+
COMMIT=1
37+
nvram set 0:ledbh10=0x7 set 1:ledbh10=0x7
38+
;;
3239
esac
3340
}
3441

0 commit comments

Comments
 (0)