From f109313a34e740d9104b46ce3367c79ccd76f482 Mon Sep 17 00:00:00 2001
From: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: Tue, 23 Mar 2021 17:52:38 +0100
Subject: [PATCH] iopsys-brcm63xx: subscribe for wifi events

---
 .../disc/base-files/etc/wifi.json             | 31 +++++++++++++++++++
 .../smarthub3/base-files/etc/wifi.json        | 22 +++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 iopsys-brcm63xx-arm/disc/base-files/etc/wifi.json
 create mode 100644 iopsys-brcm63xx-arm/smarthub3/base-files/etc/wifi.json

diff --git a/iopsys-brcm63xx-arm/disc/base-files/etc/wifi.json b/iopsys-brcm63xx-arm/disc/base-files/etc/wifi.json
new file mode 100644
index 000000000..b618bdab3
--- /dev/null
+++ b/iopsys-brcm63xx-arm/disc/base-files/etc/wifi.json
@@ -0,0 +1,31 @@
+{
+        "events" : [
+                {
+                        "type": "wifi-event",
+                        "name": "broadcom",
+			"ifname" : "wl0*",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                },
+                {
+                        "type": "wifi-event",
+                        "name": "broadcom",
+			"ifname" : "wl1*",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                },
+                {
+                        "type": "wifi-event",
+                        "name": "broadcom",
+			"ifname" : "wl2*",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                }
+        ]
+}
diff --git a/iopsys-brcm63xx-arm/smarthub3/base-files/etc/wifi.json b/iopsys-brcm63xx-arm/smarthub3/base-files/etc/wifi.json
new file mode 100644
index 000000000..ea11010fb
--- /dev/null
+++ b/iopsys-brcm63xx-arm/smarthub3/base-files/etc/wifi.json
@@ -0,0 +1,22 @@
+{
+        "events" : [
+                {
+                        "type": "wifi-event",
+                        "name": "broadcom",
+			"ifname" : "wl0*",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                },
+                {
+                        "type": "wifi-event",
+                        "name": "broadcom",
+			"ifname" : "wl1*",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                }
+        ]
+}
-- 
GitLab