net: wireless: bcmdhd: Add sched-scan config option
authorDmitry Shmidt <dimitrysh@google.com>
Mon, 12 Mar 2012 22:45:04 +0000 (15:45 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Wed, 14 Mar 2012 23:36:13 +0000 (16:36 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/Kconfig
drivers/net/wireless/bcmdhd/Makefile

index 205c813681acc2ea62ce6085637678bd8385e0b0..231ae187f40447898277c79ead9554f7621f04f7 100644 (file)
@@ -37,4 +37,11 @@ config DHD_USE_STATIC_BUF
        depends on BCMDHD
        default n
        ---help---
-         Use memory preallocated in platform
\ No newline at end of file
+         Use memory preallocated in platform
+
+config DHD_USE_SCHED_SCAN
+       bool "Use CFG80211 sched scan"
+       depends on BCMDHD && CFG80211
+       default n
+       ---help---
+         Use CFG80211 sched scan
index ead28f5cfc70f29590598224e7c92497555c9c76..79420e6efff61faeaa93ed31ed93694e75029131 100644 (file)
@@ -26,6 +26,10 @@ ifneq ($(CONFIG_CFG80211),)
 bcmdhd-objs += wl_cfg80211.o wl_cfgp2p.o wl_linux_mon.o
 DHDCFLAGS += -DWL_CFG80211
 endif
+ifneq ($(CONFIG_DHD_USE_SCHED_SCAN),)
+DHDCFLAGS += -DWL_SCHED_SCAN
+else
+endif
 EXTRA_CFLAGS = $(DHDCFLAGS)
 ifeq ($(CONFIG_BCMDHD),m)
 EXTRA_LDFLAGS += --strip-debug