mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
0f60e9f4c2
commit
dd6c0c63b4
|
@ -20,6 +20,7 @@
|
||||||
enum ath6kl_cfg_suspend_mode {
|
enum ath6kl_cfg_suspend_mode {
|
||||||
ATH6KL_CFG_SUSPEND_DEEPSLEEP,
|
ATH6KL_CFG_SUSPEND_DEEPSLEEP,
|
||||||
ATH6KL_CFG_SUSPEND_CUTPOWER,
|
ATH6KL_CFG_SUSPEND_CUTPOWER,
|
||||||
|
ATH6KL_CFG_SUSPEND_WOW
|
||||||
};
|
};
|
||||||
|
|
||||||
struct net_device *ath6kl_interface_add(struct ath6kl *ar, char *name,
|
struct net_device *ath6kl_interface_add(struct ath6kl *ar, char *name,
|
||||||
|
|
|
@ -459,6 +459,7 @@ enum ath6kl_state {
|
||||||
ATH6KL_STATE_ON,
|
ATH6KL_STATE_ON,
|
||||||
ATH6KL_STATE_DEEPSLEEP,
|
ATH6KL_STATE_DEEPSLEEP,
|
||||||
ATH6KL_STATE_CUTPOWER,
|
ATH6KL_STATE_CUTPOWER,
|
||||||
|
ATH6KL_STATE_WOW,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ath6kl {
|
struct ath6kl {
|
||||||
|
|
Loading…
Reference in New Issue