diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index a74d6738b30a..f3eec989662b 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -540,6 +540,7 @@ enum { | |||
540 | 540 | ||
541 | enum queue_stop_reason { | 541 | enum queue_stop_reason { |
542 | IEEE80211_QUEUE_STOP_REASON_DRIVER, | 542 | IEEE80211_QUEUE_STOP_REASON_DRIVER, |
543 | IEEE80211_QUEUE_STOP_REASON_PS, | ||
543 | }; | 544 | }; |
544 | 545 | ||
545 | /* maximum number of hardware queues we support. */ | 546 | /* maximum number of hardware queues we support. */ |
@@ -693,7 +694,12 @@ struct ieee80211_local { | |||
693 | */ | 694 | */ |
694 | int wifi_wme_noack_test; | 695 | int wifi_wme_noack_test; |
695 | unsigned int wmm_acm; /* bit field of ACM bits (BIT(802.1D tag)) */ | 696 | unsigned int wmm_acm; /* bit field of ACM bits (BIT(802.1D tag)) */ |
697 | |||
696 | bool powersave; | 698 | bool powersave; |
699 | int dynamic_ps_timeout; | ||
700 | struct work_struct dynamic_ps_enable_work; | ||
701 | struct work_struct dynamic_ps_disable_work; | ||
702 | struct timer_list dynamic_ps_timer; | ||
697 | 703 | ||
698 | #ifdef CONFIG_MAC80211_DEBUGFS | 704 | #ifdef CONFIG_MAC80211_DEBUGFS |
699 | struct local_debugfsdentries { | 705 | struct local_debugfsdentries { |
@@ -977,6 +983,10 @@ int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freq); | |||
977 | u64 ieee80211_mandatory_rates(struct ieee80211_local *local, | 983 | u64 ieee80211_mandatory_rates(struct ieee80211_local *local, |
978 | enum ieee80211_band band); | 984 | enum ieee80211_band band); |
979 | 985 | ||
986 | void ieee80211_dynamic_ps_enable_work(struct work_struct *work); | ||
987 | void ieee80211_dynamic_ps_disable_work(struct work_struct *work); | ||
988 | void ieee80211_dynamic_ps_timer(unsigned long data); | ||
989 | |||
980 | void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, | 990 | void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, |
981 | enum queue_stop_reason reason); | 991 | enum queue_stop_reason reason); |
982 | void ieee80211_stop_queues_by_reason(struct ieee80211_hw *hw, | 992 | void ieee80211_stop_queues_by_reason(struct ieee80211_hw *hw, |