aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorDisha Das <dishad@codeaurora.org>2020-04-09 04:12:21 (GMT)
committerJouni Malinen <j@w1.fi>2020-04-17 20:51:58 (GMT)
commit6b1c590ebb87bd4ddd2930feb621f463197d1125 (patch)
treeda03d891d867ba7a63d95b2bf145305223b98eaa /hostapd/Makefile
parent11bd6ea60e729741a23d9ecd475d630c4303854a (diff)
downloadhostap-6b1c590ebb87bd4ddd2930feb621f463197d1125.zip
hostap-6b1c590ebb87bd4ddd2930feb621f463197d1125.tar.gz
hostap-6b1c590ebb87bd4ddd2930feb621f463197d1125.tar.bz2
Allow TKIP support to be removed from build
Add a build flag CONFIG_NO_TKIP=y to remove all TKIP functionality from hostapd and wpa_supplicant builds. This disables use of TKIP as both the pairwise and group cipher. The end result does not interoperate with a WPA(v1)-only device or WPA+WPA2 mixed modes. Signed-off-by: Disha Das <dishad@codeaurora.org>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 326e91b..9475f2e 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -1243,6 +1243,10 @@ ifdef CONFIG_WEP
CFLAGS += -DCONFIG_WEP
endif
+ifdef CONFIG_NO_TKIP
+CFLAGS += -DCONFIG_NO_TKIP
+endif
+
ALL=hostapd hostapd_cli
all: verify_config $(ALL)