[PATCH v2 3/3] tests/hwsim: enable macsec testing by default

Thomas Pedersen <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
build support for macsec testing in (the VM guest) kernel,
hostapd, and wpa_supplicant by default.

Signed-off-by: Thomas Pedersen <[email protected]>
---
 tests/hwsim/example-hostapd.config        | 3 +++
 tests/hwsim/example-wpa_supplicant.config | 3 +++
 tests/hwsim/vm/kernel-config              | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/tests/hwsim/example-hostapd.config b/tests/hwsim/example-hostapd.config
index f1a9adf7b941..2277b04ef7bd 100644
--- a/tests/hwsim/example-hostapd.config
+++ b/tests/hwsim/example-hostapd.config
@@ -111,3 +111,6 @@ CONFIG_OWE=y
 CONFIG_DPP=y
 CONFIG_DPP2=y
 CONFIG_WEP=y
+
+CONFIG_MACSEC=y
+CONFIG_DRIVER_MACSEC_LINUX=y
diff --git a/tests/hwsim/example-wpa_supplicant.config b/tests/hwsim/example-wpa_supplicant.config
index 253f329bbb4d..fa023d95885e 100644
--- a/tests/hwsim/example-wpa_supplicant.config
+++ b/tests/hwsim/example-wpa_supplicant.config
@@ -154,3 +154,6 @@ CONFIG_OWE=y
 CONFIG_DPP=y
 CONFIG_DPP2=y
 CONFIG_WEP=y
+
+CONFIG_MACSEC=y
+CONFIG_DRIVER_MACSEC_LINUX=y
diff --git a/tests/hwsim/vm/kernel-config b/tests/hwsim/vm/kernel-config
index 503815917d12..2aff20af49ad 100644
--- a/tests/hwsim/vm/kernel-config
+++ b/tests/hwsim/vm/kernel-config
@@ -12,6 +12,7 @@ CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
 CONFIG_LOG_BUF_SHIFT=21
+CONFIG_NAMESPACES=y
 # CONFIG_FHANDLE is not set
 CONFIG_EMBEDDED=y
 # CONFIG_COMPAT_BRK is not set
@@ -98,6 +99,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 # CONFIG_BLK_DEV is not set
 CONFIG_NETDEVICES=y
 CONFIG_DUMMY=y
+CONFIG_MACSEC=y
+CONFIG_VETH=y
 # CONFIG_ETHERNET is not set
 CONFIG_MAC80211_HWSIM=y
 # CONFIG_INPUT_KEYBOARD is not set
-- 
2.20.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.