From: Arınç ÜNAL <arinc.u...@arinc9.com>

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: Arınç ÜNAL <arinc.u...@arinc9.com>
---
 package/utils/nvram/Makefile                 |  2 +-
 package/utils/nvram/files/nvram-bcm53xx.init | 11 +++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/package/utils/nvram/Makefile b/package/utils/nvram/Makefile
index 8547bfa2d6..ef65ae0cc2 100644
--- a/package/utils/nvram/Makefile
+++ b/package/utils/nvram/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nvram
-PKG_RELEASE:=12
+PKG_RELEASE:=13
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
diff --git a/package/utils/nvram/files/nvram-bcm53xx.init 
b/package/utils/nvram/files/nvram-bcm53xx.init
index f47c944897..d17d301c45 100755
--- a/package/utils/nvram/files/nvram-bcm53xx.init
+++ b/package/utils/nvram/files/nvram-bcm53xx.init
@@ -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
 }
 

-- 
2.40.1



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to