aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-27 20:40:49 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-28 16:24:02 -0400
commit4552124543141debf40a94b67155e57aa6bb34d6 (patch)
treec2080f8be1a08c92a40bb05464800c05d4806152 /include/net/mac80211.h
parenta0daa0e7592ada797d6835f11529097aabc27ad2 (diff)
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>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 20d372edec29..c7027ef51c75 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -625,11 +625,14 @@ struct ieee80211_rx_status {
625 * may turn the device off as much as possible. Typically, this flag will 625 * may turn the device off as much as possible. Typically, this flag will
626 * be set when an interface is set UP but not associated or scanning, but 626 * be set when an interface is set UP but not associated or scanning, but
627 * it can also be unset in that case when monitor interfaces are active. 627 * it can also be unset in that case when monitor interfaces are active.
628 * @IEEE80211_CONF_OFFCHANNEL: The device is currently not on its main
629 * operating channel.
628 */ 630 */
629enum ieee80211_conf_flags { 631enum ieee80211_conf_flags {
630 IEEE80211_CONF_MONITOR = (1<<0), 632 IEEE80211_CONF_MONITOR = (1<<0),
631 IEEE80211_CONF_PS = (1<<1), 633 IEEE80211_CONF_PS = (1<<1),
632 IEEE80211_CONF_IDLE = (1<<2), 634 IEEE80211_CONF_IDLE = (1<<2),
635 IEEE80211_CONF_OFFCHANNEL = (1<<3),
633}; 636};
634 637
635 638