mac80211: support hw scan while idle
authorEliad Peller <eliad@wizery.com>
Thu, 2 Feb 2012 15:44:55 +0000 (17:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:55:51 +0000 (14:55 -0500)
commit885bd8eca6ac172e299750d99bd5c9fddbed89b9
tree7ce2265d4738f6ea1f40f13d86d96c150bef73cf
parent3dc5e1751803e812806d7aa46150af92f91ef489
mac80211: support hw scan while idle

Currently, mac80211 goes to idle-off before starting a scan.
However, some devices that implement hw scan might not
need going idle-off in order to perform a hw scan, and
thus saving some energy and simplifying their state machine.

(Note that this is also the case for sched scan - it
currently doesn't make mac80211 go idle-off)

Add a new flag to indicate support for hw scan while idle.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/iface.c
net/mac80211/main.c