aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorleiwei <leiwei@codeaurora.org>2019-05-24 08:53:32 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-06-03 17:27:44 (GMT)
commita93b369c17b3b11b190125e2fab343a627c856e2 (patch)
treeb57385cadb9d089a5d5aa4757c084356acc9b513 /hostapd
parenta872bfcf31038f643fee8bdabbb4cd3545e13969 (diff)
downloadhostap-a93b369c17b3b11b190125e2fab343a627c856e2.zip
hostap-a93b369c17b3b11b190125e2fab343a627c856e2.tar.gz
hostap-a93b369c17b3b11b190125e2fab343a627c856e2.tar.bz2
macsec: Support IEEE 802.1X(EAP)/PSK MACsec Key Agreement in hostapd
Signed-off-by: leiwei <leiwei@codeaurora.org>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 65c5e91..a8d77fe 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -620,6 +620,15 @@ LIBS += -ldl
endif
endif
+ifdef CONFIG_MACSEC
+CFLAGS += -DCONFIG_MACSEC
+OBJS += ../src/ap/wpa_auth_kay.o
+OBJS += ../src/pae/ieee802_1x_cp.o
+OBJS += ../src/pae/ieee802_1x_kay.o
+OBJS += ../src/pae/ieee802_1x_key.o
+OBJS += ../src/pae/ieee802_1x_secy_ops.o
+endif
+
# Basic EAP functionality is needed for EAPOL
OBJS += eap_register.o
OBJS += ../src/eap_server/eap_server.o