#include <linux/bitops.h>
#include "rtl_core.h"
#include "r8192E_hw.h"
#include "r8192E_phyreg.h"
#include "r8190P_rtl8256.h"
#include "r8192E_phy.h"
#include "rtl_dm.h"
#include "table.h"
static u32 _rtl92e_phy_rf_fw_read(struct net_device *dev,
enum rf90_radio_path eRFPath, u32 Offset);
static void _rtl92e_phy_rf_fw_write(struct net_device *dev,
enum rf90_radio_path eRFPath, u32 Offset,
u32 Data);
static u32 _rtl92e_calculate_bit_shift(u32 dwBitMask)
{ … }
void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask,
u32 dwData)
{ … }
u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask)
{ … }
static u32 _rtl92e_phy_rf_read(struct net_device *dev,
enum rf90_radio_path eRFPath, u32 Offset)
{ … }
static void _rtl92e_phy_rf_write(struct net_device *dev,
enum rf90_radio_path eRFPath, u32 Offset,
u32 Data)
{ … }
void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
u32 RegAddr, u32 BitMask, u32 Data)
{ … }
u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
u32 RegAddr, u32 BitMask)
{ … }
static u32 _rtl92e_phy_rf_fw_read(struct net_device *dev,
enum rf90_radio_path eRFPath, u32 Offset)
{ … }
static void _rtl92e_phy_rf_fw_write(struct net_device *dev,
enum rf90_radio_path eRFPath, u32 Offset,
u32 Data)
{ … }
void rtl92e_config_mac(struct net_device *dev)
{ … }
static void _rtl92e_phy_config_bb(struct net_device *dev, u8 ConfigType)
{ … }
static void _rtl92e_init_bb_rf_reg_def(struct net_device *dev)
{ … }
bool rtl92e_check_bb_and_rf(struct net_device *dev, enum hw90_block CheckBlock,
enum rf90_radio_path eRFPath)
{ … }
static bool _rtl92e_bb_config_para_file(struct net_device *dev)
{ … }
bool rtl92e_config_bb(struct net_device *dev)
{ … }
void rtl92e_get_tx_power(struct net_device *dev)
{ … }
void rtl92e_set_tx_power(struct net_device *dev, u8 channel)
{ … }
u8 rtl92e_config_rf_path(struct net_device *dev, enum rf90_radio_path eRFPath)
{ … }
static void _rtl92e_set_tx_power_level(struct net_device *dev, u8 channel)
{ … }
static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev,
struct sw_chnl_cmd *CmdTable,
u32 CmdTableIdx, u32 CmdTableSz,
enum sw_chnl_cmd_id CmdID,
u32 Para1, u32 Para2, u32 msDelay)
{ … }
static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel,
u8 *stage, u8 *step, u32 *delay)
{ … }
static void _rtl92e_phy_switch_channel(struct net_device *dev, u8 channel)
{ … }
static void _rtl92e_phy_switch_channel_work_item(struct net_device *dev)
{ … }
void rtl92e_set_channel(struct net_device *dev, u8 channel)
{ … }
static void _rtl92e_cck_tx_power_track_bw_switch_tssi(struct net_device *dev)
{ … }
static void _rtl92e_cck_tx_power_track_bw_switch_thermal(struct net_device *dev)
{ … }
static void _rtl92e_cck_tx_power_track_bw_switch(struct net_device *dev)
{ … }
static void _rtl92e_set_bw_mode_work_item(struct net_device *dev)
{ … }
void rtl92e_set_bw_mode(struct net_device *dev, enum ht_channel_width bandwidth,
enum ht_extchnl_offset Offset)
{ … }
void rtl92e_init_gain(struct net_device *dev, u8 Operation)
{ … }
void rtl92e_set_rf_off(struct net_device *dev)
{ … }
static bool _rtl92e_set_rf_power_state(struct net_device *dev,
enum rt_rf_power_state rf_power_state)
{ … }
bool rtl92e_set_rf_power_state(struct net_device *dev,
enum rt_rf_power_state rf_power_state)
{ … }
void rtl92e_scan_op_backup(struct net_device *dev, u8 Operation)
{ … }