linux/drivers/net/wireless/ath/ath12k/wow.h

/* SPDX-License-Identifier: BSD-3-Clause-Clear */
/*
 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022, 2024 Qualcomm Innovation Center, Inc. All rights reserved.
 */

#ifndef ATH12K_WOW_H
#define ATH12K_WOW_H

#define ATH12K_WOW_RETRY_NUM
#define ATH12K_WOW_RETRY_WAIT_MS
#define ATH12K_WOW_PATTERNS

struct ath12k_wow {};

struct ath12k_pkt_pattern {};

struct rfc1042_hdr {} __packed;

#ifdef CONFIG_PM

int ath12k_wow_init(struct ath12k *ar);
int ath12k_wow_op_suspend(struct ieee80211_hw *hw,
			  struct cfg80211_wowlan *wowlan);
int ath12k_wow_op_resume(struct ieee80211_hw *hw);
void ath12k_wow_op_set_wakeup(struct ieee80211_hw *hw, bool enabled);
int ath12k_wow_enable(struct ath12k *ar);
int ath12k_wow_wakeup(struct ath12k *ar);

#else

static inline int ath12k_wow_init(struct ath12k *ar)
{
	return 0;
}

static inline int ath12k_wow_enable(struct ath12k *ar)
{
	return 0;
}

static inline int ath12k_wow_wakeup(struct ath12k *ar)
{
	return 0;
}
#endif /* CONFIG_PM */
#endif /* ATH12K_WOW_H */