diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 7806e22f4ace..38dc1cd10270 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -533,10 +533,16 @@ struct ieee80211_rx_status { | |||
533 | * | 533 | * |
534 | * @IEEE80211_CONF_RADIOTAP: add radiotap header at receive time (if supported) | 534 | * @IEEE80211_CONF_RADIOTAP: add radiotap header at receive time (if supported) |
535 | * @IEEE80211_CONF_PS: Enable 802.11 power save mode (managed mode only) | 535 | * @IEEE80211_CONF_PS: Enable 802.11 power save mode (managed mode only) |
536 | * @IEEE80211_CONF_IDLE: The device is running, but idle; if the flag is set | ||
537 | * the driver should be prepared to handle configuration requests but | ||
538 | * may turn the device off as much as possible. Typically, this flag will | ||
539 | * be set when an interface is set UP but not associated or scanning, but | ||
540 | * it can also be unset in that case when monitor interfaces are active. | ||
536 | */ | 541 | */ |
537 | enum ieee80211_conf_flags { | 542 | enum ieee80211_conf_flags { |
538 | IEEE80211_CONF_RADIOTAP = (1<<0), | 543 | IEEE80211_CONF_RADIOTAP = (1<<0), |
539 | IEEE80211_CONF_PS = (1<<1), | 544 | IEEE80211_CONF_PS = (1<<1), |
545 | IEEE80211_CONF_IDLE = (1<<2), | ||
540 | }; | 546 | }; |
541 | 547 | ||
542 | 548 | ||
@@ -551,6 +557,7 @@ enum ieee80211_conf_flags { | |||
551 | * @IEEE80211_CONF_CHANGE_POWER: the TX power changed | 557 | * @IEEE80211_CONF_CHANGE_POWER: the TX power changed |
552 | * @IEEE80211_CONF_CHANGE_CHANNEL: the channel/channel_type changed | 558 | * @IEEE80211_CONF_CHANGE_CHANNEL: the channel/channel_type changed |
553 | * @IEEE80211_CONF_CHANGE_RETRY_LIMITS: retry limits changed | 559 | * @IEEE80211_CONF_CHANGE_RETRY_LIMITS: retry limits changed |
560 | * @IEEE80211_CONF_CHANGE_IDLE: Idle flag changed | ||
554 | */ | 561 | */ |
555 | enum ieee80211_conf_changed { | 562 | enum ieee80211_conf_changed { |
556 | IEEE80211_CONF_CHANGE_RADIO_ENABLED = BIT(0), | 563 | IEEE80211_CONF_CHANGE_RADIO_ENABLED = BIT(0), |
@@ -561,6 +568,7 @@ enum ieee80211_conf_changed { | |||
561 | IEEE80211_CONF_CHANGE_POWER = BIT(5), | 568 | IEEE80211_CONF_CHANGE_POWER = BIT(5), |
562 | IEEE80211_CONF_CHANGE_CHANNEL = BIT(6), | 569 | IEEE80211_CONF_CHANGE_CHANNEL = BIT(6), |
563 | IEEE80211_CONF_CHANGE_RETRY_LIMITS = BIT(7), | 570 | IEEE80211_CONF_CHANGE_RETRY_LIMITS = BIT(7), |
571 | IEEE80211_CONF_CHANGE_IDLE = BIT(8), | ||
564 | }; | 572 | }; |
565 | 573 | ||
566 | static inline __deprecated enum ieee80211_conf_changed | 574 | static inline __deprecated enum ieee80211_conf_changed |