瀏覽代碼

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>
Raja Mani 13 年之前
父節點
當前提交
dd6c0c63b4
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      drivers/net/wireless/ath/ath6kl/cfg80211.h
  2. 1 0
      drivers/net/wireless/ath/ath6kl/core.h

+ 1 - 0
drivers/net/wireless/ath/ath6kl/cfg80211.h

@@ -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,

+ 1 - 0
drivers/net/wireless/ath/ath6kl/core.h

@@ -459,6 +459,7 @@ enum ath6kl_state {
 	ATH6KL_STATE_ON,
 	ATH6KL_STATE_DEEPSLEEP,
 	ATH6KL_STATE_CUTPOWER,
+	ATH6KL_STATE_WOW,
 };
 
 struct ath6kl {