aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-06-18 01:35:18 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 13:07:48 (GMT)
commit53587ec1836cc9532d33c872875e1bad422ab5ad (patch)
treeee1e95f22a01684951959ce045a373c11058c99f /hostapd
parentc15a854aec10a053cdbb955abc7f05d11fa51d1f (diff)
downloadhostap-53587ec1836cc9532d33c872875e1bad422ab5ad.zip
hostap-53587ec1836cc9532d33c872875e1bad422ab5ad.tar.gz
hostap-53587ec1836cc9532d33c872875e1bad422ab5ad.tar.bz2
WPS 2.0: Make WSC 2.0 support to be build option (CONFIG_WPS2)
For now, the default build will only include WSC 1.0 support. CONFIG_WPS2=y can be used to add support for WSC 2.0.
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Makefile4
-rw-r--r--hostapd/README-WPS1
-rw-r--r--hostapd/defconfig2
3 files changed, 7 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 2361c0e..a91aeaa 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -289,6 +289,10 @@ NEED_AES_UNWRAP=y
endif
ifdef CONFIG_WPS
+ifdef CONFIG_WPS2
+CFLAGS += -DCONFIG_WPS2
+endif
+
CFLAGS += -DCONFIG_WPS -DEAP_SERVER_WSC
OBJS += ../src/utils/uuid.o
OBJS += ../src/ap/wps_hostapd.o
diff --git a/hostapd/README-WPS b/hostapd/README-WPS
index 3bfde61..64561d0 100644
--- a/hostapd/README-WPS
+++ b/hostapd/README-WPS
@@ -63,6 +63,7 @@ includes WPS support and uses madwifi driver interface:
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I/usr/src/madwifi-0.9.3
CONFIG_WPS=y
+CONFIG_WPS2=y
CONFIG_WPS_UPNP=y
diff --git a/hostapd/defconfig b/hostapd/defconfig
index 1d28c02..3ecb7e3 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -107,6 +107,8 @@ CONFIG_EAP_TTLS=y
# Wi-Fi Protected Setup (WPS)
#CONFIG_WPS=y
+# Enable WSC 2.0 support
+#CONFIG_WPS2=y
# Enable UPnP support for external WPS Registrars
#CONFIG_WPS_UPNP=y