linux/drivers/net/wireless/realtek/rtlwifi/ps.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2009-2012  Realtek Corporation.*/

#include "wifi.h"
#include "base.h"
#include "ps.h"
#include <linux/export.h>
#include "btcoexist/rtl_btc.h"

bool rtl_ps_enable_nic(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

bool rtl_ps_disable_nic(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

static bool rtl_ps_set_rf_state(struct ieee80211_hw *hw,
				enum rf_pwrstate state_toset,
				u32 changesource)
{}

static void _rtl_ps_inactive_ps(struct ieee80211_hw *hw)
{}

void rtl_ips_nic_off_wq_callback(struct work_struct *work)
{}

void rtl_ips_nic_off(struct ieee80211_hw *hw)
{}

/* NOTICE: any opmode should exc nic_on, or disable without
 * nic_on may something wrong, like adhoc TP
 */
void rtl_ips_nic_on(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

/*for FW LPS*/

/*
 *Determine if we can set Fw into PS mode
 *in current condition.Return TRUE if it
 *can enter PS mode.
 */
static bool rtl_get_fwlps_doze(struct ieee80211_hw *hw)
{}

/* Change current and default preamble mode.*/
void rtl_lps_set_psmode(struct ieee80211_hw *hw, u8 rt_psmode)
{}

/* Interrupt safe routine to enter the leisure power save mode.*/
static void rtl_lps_enter_core(struct ieee80211_hw *hw)
{}

/* Interrupt safe routine to leave the leisure power save mode.*/
static void rtl_lps_leave_core(struct ieee80211_hw *hw)
{}

/* For sw LPS*/
void rtl_swlps_beacon(struct ieee80211_hw *hw, void *data, unsigned int len)
{}
EXPORT_SYMBOL_GPL();

void rtl_swlps_rf_awake(struct ieee80211_hw *hw)
{}

void rtl_swlps_rfon_wq_callback(struct work_struct *work)
{}

void rtl_swlps_rf_sleep(struct ieee80211_hw *hw)
{}

void rtl_lps_change_work_callback(struct work_struct *work)
{}
EXPORT_SYMBOL_GPL();

void rtl_lps_enter(struct ieee80211_hw *hw, bool may_block)
{}
EXPORT_SYMBOL_GPL();

void rtl_lps_leave(struct ieee80211_hw *hw, bool may_block)
{}
EXPORT_SYMBOL_GPL();

void rtl_swlps_wq_callback(struct work_struct *work)
{}

static void rtl_p2p_noa_ie(struct ieee80211_hw *hw, void *data,
			   unsigned int len)
{}

static void rtl_p2p_action_ie(struct ieee80211_hw *hw, void *data,
			      unsigned int len)
{}

void rtl_p2p_ps_cmd(struct ieee80211_hw *hw , u8 p2p_ps_state)
{}

void rtl_p2p_info(struct ieee80211_hw *hw, void *data, unsigned int len)
{}
EXPORT_SYMBOL_GPL();