linux/drivers/net/wireless/st/cw1200/pm.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Mac80211 power management API for ST-Ericsson CW1200 drivers
 *
 * Copyright (c) 2011, ST-Ericsson
 * Author: Dmitry Tarnyagin <[email protected]>
 */

#include <linux/module.h>
#include <linux/if_ether.h>
#include "cw1200.h"
#include "pm.h"
#include "sta.h"
#include "bh.h"
#include "hwbus.h"

#define CW1200_BEACON_SKIPPING_MULTIPLIER

struct cw1200_udp_port_filter {} __packed;

struct cw1200_ether_type_filter {} __packed;

static struct cw1200_udp_port_filter cw1200_udp_port_filter_on =;

static struct wsm_udp_port_filter_hdr cw1200_udp_port_filter_off =;

#ifndef ETH_P_WAPI
#define ETH_P_WAPI
#endif

static struct cw1200_ether_type_filter cw1200_ether_type_filter_on =;

static struct wsm_ether_type_filter_hdr cw1200_ether_type_filter_off =;

/* private */
struct cw1200_suspend_state {};

static void cw1200_pm_stay_awake_tmo(struct timer_list *unused)
{}

int cw1200_pm_init(struct cw1200_pm_state *pm,
		   struct cw1200_common *priv)
{}

void cw1200_pm_deinit(struct cw1200_pm_state *pm)
{}

void cw1200_pm_stay_awake(struct cw1200_pm_state *pm,
			  unsigned long tmo)
{}

static long cw1200_suspend_work(struct delayed_work *work)
{}

static int cw1200_resume_work(struct cw1200_common *priv,
			       struct delayed_work *work,
			       unsigned long tmo)
{}

int cw1200_can_suspend(struct cw1200_common *priv)
{}
EXPORT_SYMBOL_GPL();

int cw1200_wow_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
{}

int cw1200_wow_resume(struct ieee80211_hw *hw)
{}