net: wireless: bcmdhd: Add sched-scan config option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Dmitry Shmidt
2012-03-12 15:45:04 -07:00
parent 69f963b089
commit 3a9ec4f0e4
2 changed files with 12 additions and 1 deletions

View File

@@ -37,4 +37,11 @@ config DHD_USE_STATIC_BUF
depends on BCMDHD
default n
---help---
Use memory preallocated in platform
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

View 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