From 4e6f9e65f1e32b88ef0f7b7763f9dd6f895473db Mon Sep 17 00:00:00 2001
From: Janusz Dziedzic <janusz.dziedzic@iopsys.eu>
Date: Thu, 11 Feb 2021 20:17:44 +0100
Subject: [PATCH] brcm63xx: add wifi.json

Add smarthub3/disc wifi json file that
enable bmcwl vendor events.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@iopsys.eu>
---
 .../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..8a313883f
--- /dev/null
+++ b/iopsys-brcm63xx-arm/disc/base-files/etc/wifi.json
@@ -0,0 +1,31 @@
+{
+        "events" : [
+                {
+                        "type": "wifi-event",
+                        "name": "brcm",
+                        "ifname": "wl0",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                },
+                {
+                        "type": "wifi-event",
+                        "name": "brcm",
+                        "ifname": "wl1",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                },
+                {
+                        "type": "wifi-event",
+                        "name": "brcm",
+                        "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..bef16063e
--- /dev/null
+++ b/iopsys-brcm63xx-arm/smarthub3/base-files/etc/wifi.json
@@ -0,0 +1,22 @@
+{
+        "events" : [
+                {
+                        "type": "wifi-event",
+                        "name": "brcm",
+                        "ifname": "wl0",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                },
+                {
+                        "type": "wifi-event",
+                        "name": "brcm",
+                        "ifname": "wl1",
+                        "family": "bcmwl",
+                        "group": [
+                                "notify"
+                        ]
+                }
+        ]
+}
-- 
GitLab