diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/ps.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/ps.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/ps.h b/drivers/net/wireless/rtlwifi/ps.h index ae56da801a23..e3bf89840370 100644 --- a/drivers/net/wireless/rtlwifi/ps.h +++ b/drivers/net/wireless/rtlwifi/ps.h | |||
@@ -30,6 +30,8 @@ | |||
30 | #ifndef __REALTEK_RTL_PCI_PS_H__ | 30 | #ifndef __REALTEK_RTL_PCI_PS_H__ |
31 | #define __REALTEK_RTL_PCI_PS_H__ | 31 | #define __REALTEK_RTL_PCI_PS_H__ |
32 | 32 | ||
33 | #define MAX_SW_LPS_SLEEP_INTV 5 | ||
34 | |||
33 | bool rtl_ps_set_rf_state(struct ieee80211_hw *hw, | 35 | bool rtl_ps_set_rf_state(struct ieee80211_hw *hw, |
34 | enum rf_pwrstate state_toset, u32 changesource, | 36 | enum rf_pwrstate state_toset, u32 changesource, |
35 | bool protect_or_not); | 37 | bool protect_or_not); |
@@ -40,4 +42,11 @@ void rtl_ips_nic_on(struct ieee80211_hw *hw); | |||
40 | void rtl_ips_nic_off_wq_callback(void *data); | 42 | void rtl_ips_nic_off_wq_callback(void *data); |
41 | void rtl_lps_enter(struct ieee80211_hw *hw); | 43 | void rtl_lps_enter(struct ieee80211_hw *hw); |
42 | void rtl_lps_leave(struct ieee80211_hw *hw); | 44 | void rtl_lps_leave(struct ieee80211_hw *hw); |
45 | |||
46 | void rtl_swlps_beacon(struct ieee80211_hw *hw, void *data, unsigned int len); | ||
47 | void rtl_swlps_wq_callback(void *data); | ||
48 | void rtl_swlps_rfon_wq_callback(void *data); | ||
49 | void rtl_swlps_rf_awake(struct ieee80211_hw *hw); | ||
50 | void rtl_swlps_rf_sleep(struct ieee80211_hw *hw); | ||
51 | |||
43 | #endif | 52 | #endif |