aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-03-12 15:45:04 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-03-14 16:36:13 -0700
commit3a9ec4f0e4b786947623dcf52503bf61a0eecd15 (patch)
tree030f0306bc20cb69633d24ba4b7754584d0e0352
parent69f963b089b4ad65acc51eb79493021c34bd7d1c (diff)
downloadkernel_samsung_aries-3a9ec4f0e4b786947623dcf52503bf61a0eecd15.zip
kernel_samsung_aries-3a9ec4f0e4b786947623dcf52503bf61a0eecd15.tar.gz
kernel_samsung_aries-3a9ec4f0e4b786947623dcf52503bf61a0eecd15.tar.bz2
net: wireless: bcmdhd: Add sched-scan config option
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--drivers/net/wireless/bcmdhd/Kconfig9
-rw-r--r--drivers/net/wireless/bcmdhd/Makefile4
2 files changed, 12 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcmdhd/Kconfig b/drivers/net/wireless/bcmdhd/Kconfig
index 205c813..231ae18 100644
--- a/drivers/net/wireless/bcmdhd/Kconfig
+++ b/drivers/net/wireless/bcmdhd/Kconfig
@@ -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
diff --git a/drivers/net/wireless/bcmdhd/Makefile b/drivers/net/wireless/bcmdhd/Makefile
index ead28f5..79420e6 100644
--- a/drivers/net/wireless/bcmdhd/Makefile
+++ b/drivers/net/wireless/bcmdhd/Makefile
@@ -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