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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



build support for macsec testing in (the VM guest) kernel,
hostapd, and wpa_supplicant by default.

Signed-off-by: Thomas Pedersen <thomas@xxxxxxxxxxxx>
---
 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


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux