kernel_optimize_test/net/wireless
Sam Leffler 15d6030b4b cfg80211: add support for flushing old scan results
Add an NL80211_SCAN_FLAG_FLUSH flag that causes old bss cache
entries to be flushed on scan completion. This is useful for
collecting guaranteed fresh scan/survey result (e.g. on resume).

For normal scan, flushing only happens on successful completion
of a scan; i.e. it does not happen if the scan is aborted.
For scheduled scan, previous scan results are flushed everytime
when we get new scan results.

This feature is enabled by default. Drivers can disable it by
unsetting the NL80211_FEATURE_SCAN_FLUSH flag.

Signed-off-by: Sam Leffler <sleffler@chromium.org>
Tested-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
[invert polarity of feature flag to account for old kernels]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-10-18 09:01:52 +02:00
..
.gitignore
ap.c
chan.c
core.c cfg80211: add support for flushing old scan results 2012-10-18 09:01:52 +02:00
core.h cfg80211: Allow user space to specify non-IEs to SAE Authentication 2012-10-17 11:02:11 +02:00
db.txt
debugfs.c
debugfs.h
ethtool.c
ethtool.h
genregdb.awk
ibss.c
Kconfig
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
lib80211.c
Makefile
mesh.c
mlme.c cfg80211: Allow user space to specify non-IEs to SAE Authentication 2012-10-17 11:02:11 +02:00
nl80211.c cfg80211: add support for flushing old scan results 2012-10-18 09:01:52 +02:00
nl80211.h
radiotap.c
reg.c Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2012-09-30 02:30:16 -04:00
reg.h
regdb.h
scan.c cfg80211: add support for flushing old scan results 2012-10-18 09:01:52 +02:00
sme.c cfg80211: add support for flushing old scan results 2012-10-18 09:01:52 +02:00
sysfs.c
sysfs.h
util.c
wext-compat.c
wext-compat.h
wext-core.c
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c