cfg80211/nl80211: add support for scheduled scans
authorLuciano Coelho <coelho@ti.com>
Wed, 11 May 2011 14:09:35 +0000 (17:09 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 May 2011 19:12:26 +0000 (15:12 -0400)
commit807f8a8c300435d5483e8d78df9dcdbc27333166
tree1537d40e149d7a8712fe63d17ea3b51093bf03a1
parent6bdbdbf4a151a3a1333818cd17a7d7795e936041
cfg80211/nl80211: add support for scheduled scans

Implement new functionality for scheduled scan offload.  With this feature we
can scan automatically at certain intervals.

The idea is that the hardware can perform scan automatically and filter on
desired results without waking up the host unnecessarily.

Add NL80211_CMD_START_SCHED_SCAN and NL80211_CMD_STOP_SCHED_SCAN
commands to the nl80211 interface.  When results are available they are
reported by NL80211_CMD_SCHED_SCAN_RESULTS events.  The userspace is
informed when the scheduled scan has stopped with a
NL80211_CMD_SCHED_SCAN_STOPPED event, which can be triggered either by
the driver or by a call to NL80211_CMD_STOP_SCHED_SCAN.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/core.c
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/nl80211.h
net/wireless/scan.c