linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/phy_common.c

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

#include "../wifi.h"
#include "../core.h"
#include "def.h"
#include "reg.h"
#include "dm_common.h"
#include "phy_common.h"
#include "rf_common.h"

static const u8 channel_all[59] =;

static u32 _rtl92d_phy_rf_serial_read(struct ieee80211_hw *hw,
				      enum radio_path rfpath, u32 offset)
{}

static void _rtl92d_phy_rf_serial_write(struct ieee80211_hw *hw,
					enum radio_path rfpath,
					u32 offset, u32 data)
{}

u32 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
			    u32 regaddr, u32 bitmask)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
			   u32 regaddr, u32 bitmask, u32 data)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw,
					   u32 regaddr, u32 bitmask, u32 data)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

static void _rtl92d_get_txpower_index(struct ieee80211_hw *hw, u8 channel,
				      u8 *cckpowerlevel, u8 *ofdmpowerlevel)
{}

static void _rtl92d_ccxpower_index_check(struct ieee80211_hw *hw,
					 u8 channel, u8 *cckpowerlevel,
					 u8 *ofdmpowerlevel)
{}

static u8 _rtl92c_phy_get_rightchnlplace(u8 chnl)
{}

void rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_enable_rf_env(struct ieee80211_hw *hw, u8 rfpath,
			      u32 *pu4_regval)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_restore_rf_env(struct ieee80211_hw *hw, u8 rfpath,
			       u32 *pu4_regval)
{}
EXPORT_SYMBOL_GPL();

u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_save_adda_registers(struct ieee80211_hw *hw, const u32 *adda_reg,
				    u32 *adda_backup, u32 regnum)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_save_mac_registers(struct ieee80211_hw *hw,
				   const u32 *macreg, u32 *macbackup)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_path_adda_on(struct ieee80211_hw *hw,
			     const u32 *adda_reg, bool patha_on, bool is2t)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_mac_setting_calibration(struct ieee80211_hw *hw,
					const u32 *macreg, u32 *macbackup)
{}
EXPORT_SYMBOL_GPL();

static u32 _rtl92d_phy_get_abs(u32 val1, u32 val2)
{}

static bool _rtl92d_is_legal_5g_channel(struct ieee80211_hw *hw, u8 channel)
{}

void rtl92d_phy_calc_curvindex(struct ieee80211_hw *hw,
			       const u32 *targetchnl, u32 *curvecount_val,
			       bool is5g, u32 *curveindex)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_reset_iqk_result(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

static void rtl92d_phy_set_io(struct ieee80211_hw *hw)
{}

bool rtl92d_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_config_macphymode(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

void rtl92d_phy_config_macphymode_info(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

u8 rtl92d_get_chnlgroup_fromarray(u8 chnl)
{}
EXPORT_SYMBOL_GPL();

u8 rtl92d_phy_get_chnlgroup_bypg(u8 chnlindex)
{}

void rtl92d_phy_config_maccoexist_rfpage(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();