mac80211: do remain-on-channel while idle
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Jun 2012 12:28:40 +0000 (14:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jun 2012 19:20:33 +0000 (15:20 -0400)
commit196ac1c13d4db6c276dbb1c9190c8d7d45a83f1f
tree68d2a1b99ec08d685381c812e38d0f18553e1cee
parent491b26b40222cc769c163e77177697dd7a63c316
mac80211: do remain-on-channel while idle

The IDLE handling in HW off-channel is broken right
now since we turn off IDLE only when the off-channel
period already started. Therefore, all drivers that
use it today (only iwlwifi!) must support off-channel
while idle, so playing with idle isn't needed at all.

Off-channel in general, since it's no longer used for
authentication/association, shouldn't affect PS, so
also remove that logic.

Also document a small caveat for reporting TX status
from off-channel frames in HW remain-on-channel.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/iface.c
net/mac80211/mlme.c
net/mac80211/offchannel.c