1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
11 struct completion wakeup_completed;
12 struct wiphy_wowlan_support wowlan_support;
23 #define ATH11K_WOW_RETRY_NUM 3
24 #define ATH11K_WOW_RETRY_WAIT_MS 200
25 #define ATH11K_WOW_PATTERNS 22
29 int ath11k_wow_init(struct ath11k *ar);
30 int ath11k_wow_op_suspend(struct ieee80211_hw *hw,
31 struct cfg80211_wowlan *wowlan);
32 int ath11k_wow_op_resume(struct ieee80211_hw *hw);
33 void ath11k_wow_op_set_wakeup(struct ieee80211_hw *hw, bool enabled);
34 int ath11k_wow_enable(struct ath11k_base *ab);
35 int ath11k_wow_wakeup(struct ath11k_base *ab);
39 static inline int ath11k_wow_init(struct ath11k *ar)
44 static inline int ath11k_wow_enable(struct ath11k_base *ab)
49 static inline int ath11k_wow_wakeup(struct ath11k_base *ab)
54 #endif /* CONFIG_PM */