diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-05-05 13:32:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-05 13:32:35 -0400 |
commit | a70171dce9cd44cb06c7d299eba9fa87a8933045 (patch) | |
tree | 5425df5f33fadc617c7dec99578d06f0d933578e /drivers/net/wireless/rtlwifi/ps.h | |
parent | 5a412ad7f4c95bb5b756aa12b52646e857e7c75d (diff) | |
parent | eaef6a93bd52a2cc47b9fce201310010707afdb4 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
drivers/net/wireless/libertas/if_cs.c
drivers/net/wireless/rtlwifi/pci.c
net/bluetooth/l2cap_sock.c
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 |