[PATCH] tests: enable macsec testing by default

Thomas Pedersen <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
Include support for macsec testing in the (vm) kernel by
default.

Don't include support in the example hostapd or
wpa_supplicant configs yet since we'll potentially break
the build on older distributions like Ubuntu 16.04, which
is supported until April 2021.

Signed-off-by: Thomas Pedersen <[email protected]>
---
 tests/hwsim/vm/kernel-config | 3 +++
 1 file changed, 3 insertions(+)

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.