mac80211: inform drivers about the off-channel status on channel changes
authorFelix Fietkau <nbd@openwrt.org>
Wed, 28 Jul 2010 00:40:49 +0000 (02:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Jul 2010 20:24:02 +0000 (16:24 -0400)
commit4552124543141debf40a94b67155e57aa6bb34d6
treec2080f8be1a08c92a40bb05464800c05d4806152
parenta0daa0e7592ada797d6835f11529097aabc27ad2
mac80211: inform drivers about the off-channel status on channel changes

For some drivers it can be useful to know whether the channel they're
supposed to switch to is going to be used for short off-channel work or
scanning, or whether the hardware is expected to stay on it for a while
longer. This is important for various kinds of calibration work, which
takes longer to complete and should keep some persistent state, even if
the channel temporarily changes.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/main.c