diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2015-02-05 10:22:41 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-02-26 14:58:39 +0200 |
commit | b39adc63bf0c014b0582c191a83272ea7f92ee8a (patch) | |
tree | 0dfa6897b601f2f2d8d5049b6bfd1b5feec29667 /drivers/net/wireless/ath/ath9k/ar9003_mci.h | |
parent | ff6f0c036b3271f080b0c585e6859d52aac2e0e0 (diff) | |
download | blackbird-obmc-linux-b39adc63bf0c014b0582c191a83272ea7f92ee8a.tar.gz blackbird-obmc-linux-b39adc63bf0c014b0582c191a83272ea7f92ee8a.zip |
ath9k: Check MCI PowerSave state
The power save state of MCI has to be disabled
when enabling WoW sleep, check this properly.
ar9003_mci_state() doesn't handle MCI_STATE_GET_WLAN_PS_STATE
right now, but this will be done later when proper
support for MCI/PS is added.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mci.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_mci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.h b/drivers/net/wireless/ath/ath9k/ar9003_mci.h index 19800afb5e9f..cef20103fc86 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_mci.h +++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.h @@ -188,6 +188,13 @@ enum mci_bt_state { MCI_BT_CAL }; +enum mci_ps_state { + MCI_PS_DISABLE, + MCI_PS_ENABLE, + MCI_PS_ENABLE_OFF, + MCI_PS_ENABLE_ON +}; + /* Type of state query */ enum mci_state_type { MCI_STATE_ENABLE, |