From 3dfb4ffd1d29c2154e29bcdf7aeb41d9805fc645 Mon Sep 17 00:00:00 2001
From: Janusz Dziedzic <janusz.dziedzic@iopsys.eu>
Date: Wed, 2 Feb 2022 16:26:20 +0000
Subject: [PATCH] brcm63xx: eagle/sh3/disc use ctrl iface

Enable:
CONFIG_LIBWIFI_USE_CTRL_IFACE

Instead of fork hostap_cli/wpa_cli use sockets.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@iopsys.eu>
---
 iopsys-brcm63xx-arm/config/disc/config      | 2 ++
 iopsys-brcm63xx-arm/config/eagle/config     | 2 ++
 iopsys-brcm63xx-arm/config/smarthub3/config | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/iopsys-brcm63xx-arm/config/disc/config b/iopsys-brcm63xx-arm/config/disc/config
index 873e03740..a12ebad11 100644
--- a/iopsys-brcm63xx-arm/config/disc/config
+++ b/iopsys-brcm63xx-arm/config/disc/config
@@ -15,3 +15,5 @@ CONFIG_BCM_SECURE_BOOT_SUPPORT=y
 # save space by only including necessary WiFi firmware
 CONFIG_BCM_SELECT_INSTALLED_WIFI_FW=y
 CONFIG_BCM_SELECT_INSTALLED_WIFI_FW_43684c0=y
+
+CONFIG_LIBWIFI_USE_CTRL_IFACE=y
diff --git a/iopsys-brcm63xx-arm/config/eagle/config b/iopsys-brcm63xx-arm/config/eagle/config
index e296511ce..f02ec6aaf 100644
--- a/iopsys-brcm63xx-arm/config/eagle/config
+++ b/iopsys-brcm63xx-arm/config/eagle/config
@@ -10,3 +10,5 @@ CONFIG_BCM_VOICE=y
 # CONFIG_PACKAGE_mwan3 is not set
 
 CONFIG_PACKAGE_kmod-gryphon-led-kernel-module=y
+
+CONFIG_LIBWIFI_USE_CTRL_IFACE=y
diff --git a/iopsys-brcm63xx-arm/config/smarthub3/config b/iopsys-brcm63xx-arm/config/smarthub3/config
index 0d13c7cbc..d86233635 100644
--- a/iopsys-brcm63xx-arm/config/smarthub3/config
+++ b/iopsys-brcm63xx-arm/config/smarthub3/config
@@ -16,3 +16,5 @@ CONFIG_PACKAGE_e2fsprogs=y
 CONFIG_PACKAGE_e4crypt=y
 CONFIG_PACKAGE_resize2fs=y
 CONFIG_PACKAGE_tune2fs=y
+
+CONFIG_LIBWIFI_USE_CTRL_IFACE=y
-- 
GitLab