diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-10-30 23:16:15 +0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-11-11 14:58:59 +0400 |
commit | 5fe4dffbc12b22507d2416667720cbd4b27c693b (patch) | |
tree | 4504c6eb6420b663227884c7f71dda66027a3e0f /drivers/net/wireless/ath/ath6kl/bmi.h | |
parent | 32a07e4448f78158a75f7c1f0056289647d83946 (diff) | |
download | linux-5fe4dffbc12b22507d2416667720cbd4b27c693b.tar.xz |
ath6kl: power down hardware when interface is down
The benefit from this is that user space can control hardware's power state
by putting interface up and down. This is handy if firmware gets to some
weird state.
The downside will be that putting interface up takes a bit longer,
I was measuring ~500 ms during interface up.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/bmi.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/bmi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/bmi.h b/drivers/net/wireless/ath/ath6kl/bmi.h index 96851d5df24b..009e8f650ab1 100644 --- a/drivers/net/wireless/ath/ath6kl/bmi.h +++ b/drivers/net/wireless/ath/ath6kl/bmi.h @@ -230,6 +230,8 @@ struct ath6kl_bmi_target_info { int ath6kl_bmi_init(struct ath6kl *ar); void ath6kl_bmi_cleanup(struct ath6kl *ar); +void ath6kl_bmi_reset(struct ath6kl *ar); + int ath6kl_bmi_done(struct ath6kl *ar); int ath6kl_bmi_get_target_info(struct ath6kl *ar, struct ath6kl_bmi_target_info *targ_info); |