]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd0ccc59d919509d89ddc4a409989e3fdd9a4685
tree1537d40e149d7a8712fe63d17ea3b51093bf03a1
parent622a464d7cff547cbc94a52d5d225a48fb97f5db
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