aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaja Mani <rmani@qca.qualcomm.com>2011-11-07 15:52:45 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 05:59:59 -0500
commitdd6c0c63b43afc3a99b6c69d0b509f0395bb4fe2 (patch)
tree83fb0e541627697a5c5ef6ff673735214f2107ec
parent0f60e9f4c239554ad75ab8e4d864030a7f0dd6f7 (diff)
ath6kl: Add new state for WOW mode
In addition to existing deep sleep and cut pwr mode, new state is added in ath6kl_cfg_suspend_mode as well as in ath6kl_state for WOW. Signed-off-by: Raja Mani <rmani@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.h1
-rw-r--r--drivers/net/wireless/ath/ath6kl/core.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.h b/drivers/net/wireless/ath/ath6kl/cfg80211.h
index b4781e558248..59fa9d859def 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.h
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.h
@@ -20,6 +20,7 @@
20enum ath6kl_cfg_suspend_mode { 20enum ath6kl_cfg_suspend_mode {
21 ATH6KL_CFG_SUSPEND_DEEPSLEEP, 21 ATH6KL_CFG_SUSPEND_DEEPSLEEP,
22 ATH6KL_CFG_SUSPEND_CUTPOWER, 22 ATH6KL_CFG_SUSPEND_CUTPOWER,
23 ATH6KL_CFG_SUSPEND_WOW
23}; 24};
24 25
25struct net_device *ath6kl_interface_add(struct ath6kl *ar, char *name, 26struct net_device *ath6kl_interface_add(struct ath6kl *ar, char *name,
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h
index b6442c1af3f4..9e8b8e3339cb 100644
--- a/drivers/net/wireless/ath/ath6kl/core.h
+++ b/drivers/net/wireless/ath/ath6kl/core.h
@@ -459,6 +459,7 @@ enum ath6kl_state {
459 ATH6KL_STATE_ON, 459 ATH6KL_STATE_ON,
460 ATH6KL_STATE_DEEPSLEEP, 460 ATH6KL_STATE_DEEPSLEEP,
461 ATH6KL_STATE_CUTPOWER, 461 ATH6KL_STATE_CUTPOWER,
462 ATH6KL_STATE_WOW,
462}; 463};
463 464
464struct ath6kl { 465struct ath6kl {