No subject

bogus at does.not.exist.com bogus at does.not.exist.com
Sat Oct 15 15:41:40 PDT 2011


* Include following options to defconfig:
CONFIG_DRIVER_ATHEROS
CONFIG_WPS_NFC
CONFIG_WPS_NFC_PN531
CONFIG_WPS_UFD
CONFIG_WPS_STRICT
CONFIG_WPS_TESTING
CONFIG_TDLS
CONFIG_TDLS_TESTING
CONFIG_IBSS_RSN
CONFIG_DBUS
CONFIG_VALGRIND

* Remove following options from defconfig (are not supported anymore):
CONFIG_DRIVER_BROADCOM
CONFIG_DRIVER_RALINK

* Remove OBJS_wpa var from Android makefile: there is no target using it.


Signed-hostap: Andrii Bordunov <andrew.bordunov at gmail.com>
---
 hostapd/defconfig         |   19 ++++++++++++++++++
 wpa_supplicant/Android.mk |   10 ++++------
 wpa_supplicant/Makefile   |    4 ++++
 wpa_supplicant/defconfig  |   47 +++++++++++++++++++++++++++++++++++----------
 4 files changed, 64 insertions(+), 16 deletions(-)

diff --git a/hostapd/defconfig b/hostapd/defconfig
index 3cf0d13..fe37e29 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -104,11 +104,30 @@ 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
 
+# Enable WPS NFC (Near Field Communication) method
+#CONFIG_WPS_NFC=y
+
+# Enable WPS NFC support for NXP PN531 device
+#CONFIG_WPS_NFC_PN531=y
+
+# Enable support for WPS USBA out-of-band mechanism
+# with USB Flash Drives (UFD)
+#CONFIG_WPS_UFD=y
+
+# Enable validating WPS attributes in management frames
+# and WSC messages (WPS 2.0)
+#CONFIG_WPS_STRICT=y
+
+# Enable WPS testing operations
+#CONFIG_WPS_TESTING=y
+
 # EAP-IKEv2
 #CONFIG_EAP_IKEV2=y
 
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 1080ef0..8c959fd 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -1293,6 +1293,10 @@ ifdef CONFIG_FIPS
 L_CFLAGS += -DCONFIG_FIPS
 endif
 
+ifdef CONFIG_VALGRIND
+CFLAGS += -DCONFIG_VALGRIND
+endif
+
 OBJS += $(SHA1OBJS) $(DESOBJS)
 
 OBJS_p += $(SHA1OBJS)
@@ -1328,12 +1332,6 @@ endif
 
 OBJS += src/drivers/driver_common.c
 
-OBJS_wpa_rm := ctrl_iface.c ctrl_iface_unix.c
-OBJS_wpa := $(filter-out $(OBJS_wpa_rm),$(OBJS)) $(OBJS_h) tests/test_wpa.c
-ifdef CONFIG_AUTHENTICATOR
-OBJS_wpa += tests/link_test.c
-endif
-OBJS_wpa += $(OBJS_l2)
 OBJS += wpa_supplicant.c events.c blacklist.c wpas_glue.c scan.c
 OBJS_t := $(OBJS) $(OBJS_l2) eapol_test.c
 OBJS_t += src/radius/radius_client.c
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 1d66aa7..8076152 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -1295,6 +1295,10 @@ ifdef CONFIG_FIPS
 CFLAGS += -DCONFIG_FIPS
 endif
 
+ifdef CONFIG_VALGRIND
+CFLAGS += -DCONFIG_VALGRIND
+endif
+
 OBJS += $(SHA1OBJS) $(DESOBJS)
 
 OBJS_p += $(SHA1OBJS)
diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig
index 2d6bc81..4432123 100644
--- a/wpa_supplicant/defconfig
+++ b/wpa_supplicant/defconfig
@@ -62,20 +62,12 @@ CONFIG_DRIVER_HOSTAP=y
 # Driver interface for Atmel driver
 CONFIG_DRIVER_ATMEL=y
 
-# Driver interface for old Broadcom driver
-# Please note that the newer Broadcom driver ("hybrid Linux driver") supports
-# Linux wireless extensions and does not need (or even work) with the old
-# driver wrapper. Use CONFIG_DRIVER_WEXT=y with that driver.
-#CONFIG_DRIVER_BROADCOM=y
-# Example path for wlioctl.h; change to match your configuration
-#CFLAGS += -I/opt/WRT54GS/release/src/include
-
 # Driver interface for Intel ipw2100/2200 driver
 # Deprecated; use CONFIG_DRIVER_WEXT=y instead.
 #CONFIG_DRIVER_IPW=y
 
-# Driver interface for Ralink driver
-#CONFIG_DRIVER_RALINK=y
+# Driver interface for Atheros driver
+#CONFIG_DRIVER_ATHEROS=y
 
 # Driver interface for generic Linux wireless extensions
 # Note: WEXT is deprecated in the current Linux kernel version and no new
@@ -197,14 +189,34 @@ CONFIG_EAP_LEAP=y
 
 # Wi-Fi Protected Setup (WPS)
 #CONFIG_WPS=y
+
 # Enable WSC 2.0 support
 #CONFIG_WPS2=y
+
 # Enable WPS external registrar functionality
 #CONFIG_WPS_ER=y
+
 # Disable credentials for an open network by default when acting as a WPS
 # registrar.
 #CONFIG_WPS_REG_DISABLE_OPEN=y
 
+# Enable WPS NFC (Near Field Communication) method
+#CONFIG_WPS_NFC=y
+
+# Enable WPS NFC support for NXP PN531 device
+#CONFIG_WPS_NFC_PN531=y
+
+# Enable support for WPS USBA out-of-band mechanism
+# with USB Flash Drives (UFD)
+#CONFIG_WPS_UFD=y
+
+# Enable validating WPS attributes in management frames
+# and WSC messages (WPS 2.0)
+#CONFIG_WPS_STRICT=y
+
+# Enable WPS testing operations
+#CONFIG_WPS_TESTING=y
+
 # EAP-IKEv2
 #CONFIG_EAP_IKEV2=y
 
@@ -484,3 +496,18 @@ CONFIG_PEERKEY=y
 
 # Hotspot 2.0
 #CONFIG_HS20=y
+
+# Enable TDLS (Tunneled Direct Link Setup, IEEE 802.11z)
+#CONFIG_TDLS=y
+
+# Enable TDLS testing operations
+#CONFIG_TDLS_TESTING=y
+
+# Enable RSN authentication for IBSS
+#CONFIG_IBSS_RSN=y
+
+# Enable DBus control interface
+#CONFIG_DBUS=y
+
+# Enable additional Valgrind support. Valgrind headers are required.
+#CONFIG_VALGRIND=y
-- 
1.7.10.1




More information about the Hostap mailing list