ath6kl: Add new state for WOW mode
authorRaja Mani <rmani@qca.qualcomm.com>
Mon, 7 Nov 2011 20:52:45 +0000 (22:52 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:59:59 +0000 (12:59 +0200)
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>
drivers/net/wireless/ath/ath6kl/cfg80211.h
drivers/net/wireless/ath/ath6kl/core.h

index b4781e55824897caa0a9a7cde34c344baab483e2..59fa9d859def609a97d6f3ecb5760a9a25f5ee15 100644 (file)
@@ -20,6 +20,7 @@
 enum ath6kl_cfg_suspend_mode {
        ATH6KL_CFG_SUSPEND_DEEPSLEEP,
        ATH6KL_CFG_SUSPEND_CUTPOWER,
+       ATH6KL_CFG_SUSPEND_WOW
 };
 
 struct net_device *ath6kl_interface_add(struct ath6kl *ar, char *name,
index b6442c1af3f4a557404e2a53f6b48da0d56ef5b2..9e8b8e3339cb3bccbb4857d0fe2f17d2481d267d 100644 (file)
@@ -459,6 +459,7 @@ enum ath6kl_state {
        ATH6KL_STATE_ON,
        ATH6KL_STATE_DEEPSLEEP,
        ATH6KL_STATE_CUTPOWER,
+       ATH6KL_STATE_WOW,
 };
 
 struct ath6kl {