diff options
author | Nick Kossifidis <mick@madwifi-project.org> | 2009-08-10 03:29:02 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:13:56 -0400 |
commit | edd7fc7003f31da48d06e215a93ea966a22c2a03 (patch) | |
tree | 5627da2c85e9a5e28ec047c3914cdf75425187c9 /drivers/net/wireless/ath/ath5k/ath5k.h | |
parent | d1cb0bdac180a4afdd3c001acb2618d2a62d9abe (diff) | |
download | kernel-crypto-edd7fc7003f31da48d06e215a93ea966a22c2a03.tar.gz kernel-crypto-edd7fc7003f31da48d06e215a93ea966a22c2a03.tar.xz kernel-crypto-edd7fc7003f31da48d06e215a93ea966a22c2a03.zip |
ath5k: Wakeup fixes
* Don't put chip to full sleep because there are problems during
wakeup. Instead hold MAC/Baseband on warm reset state via a new
function ath5k_hw_on_hold.
* Minor cleanups
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Tested-by: Ben Greear <greearb@candelatech.com>
Tested-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 91375113916..1047a6cb1d9 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h @@ -1157,6 +1157,7 @@ extern void ath5k_unregister_leds(struct ath5k_softc *sc); /* Reset Functions */ extern int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int flags, bool initial); +extern int ath5k_hw_on_hold(struct ath5k_hw *ah); extern int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode, struct ieee80211_channel *channel, bool change_channel); /* Power management functions */ extern int ath5k_hw_set_power(struct ath5k_hw *ah, enum ath5k_power_mode mode, bool set_chip, u16 sleep_duration); |