Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
phy_common.c File Reference
#include <linux/export.h>
#include "../wifi.h"
#include "../rtl8192ce/reg.h"
#include "../rtl8192ce/def.h"
#include "dm_common.h"
#include "phy_common.h"

Go to the source code of this file.

Macros

#define MCS_TXPWR   mcs_txpwrlevel_origoffset
 

Functions

u32 rtl92c_phy_query_bb_reg (struct ieee80211_hw *hw, u32 regaddr, u32 bitmask)
 
 EXPORT_SYMBOL (rtl92c_phy_query_bb_reg)
 
void rtl92c_phy_set_bb_reg (struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data)
 
 EXPORT_SYMBOL (rtl92c_phy_set_bb_reg)
 
u32 _rtl92c_phy_fw_rf_serial_read (struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset)
 
 EXPORT_SYMBOL (_rtl92c_phy_fw_rf_serial_read)
 
void _rtl92c_phy_fw_rf_serial_write (struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data)
 
 EXPORT_SYMBOL (_rtl92c_phy_fw_rf_serial_write)
 
u32 _rtl92c_phy_rf_serial_read (struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset)
 
 EXPORT_SYMBOL (_rtl92c_phy_rf_serial_read)
 
void _rtl92c_phy_rf_serial_write (struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data)
 
 EXPORT_SYMBOL (_rtl92c_phy_rf_serial_write)
 
u32 _rtl92c_phy_calculate_bit_shift (u32 bitmask)
 
 EXPORT_SYMBOL (_rtl92c_phy_calculate_bit_shift)
 
bool rtl92c_phy_rf_config (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (rtl92c_phy_rf_config)
 
bool _rtl92c_phy_bb8192c_config_parafile (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (_rtl92c_phy_bb8192c_config_parafile)
 
void _rtl92c_store_pwrIndex_diffrate_offset (struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data)
 
 EXPORT_SYMBOL (_rtl92c_store_pwrIndex_diffrate_offset)
 
void rtl92c_phy_get_hw_reg_originalvalue (struct ieee80211_hw *hw)
 
void _rtl92c_phy_init_bb_rf_register_definition (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (_rtl92c_phy_init_bb_rf_register_definition)
 
void rtl92c_phy_get_txpower_level (struct ieee80211_hw *hw, long *powerlevel)
 
void rtl92c_phy_set_txpower_level (struct ieee80211_hw *hw, u8 channel)
 
 EXPORT_SYMBOL (rtl92c_phy_set_txpower_level)
 
bool rtl92c_phy_update_txpower_dbm (struct ieee80211_hw *hw, long power_indbm)
 
 EXPORT_SYMBOL (rtl92c_phy_update_txpower_dbm)
 
u8 _rtl92c_phy_dbm_to_txpwr_Idx (struct ieee80211_hw *hw, enum wireless_mode wirelessmode, long power_indbm)
 
 EXPORT_SYMBOL (_rtl92c_phy_dbm_to_txpwr_Idx)
 
long _rtl92c_phy_txpwr_idx_to_dbm (struct ieee80211_hw *hw, enum wireless_mode wirelessmode, u8 txpwridx)
 
 EXPORT_SYMBOL (_rtl92c_phy_txpwr_idx_to_dbm)
 
void rtl92c_phy_scan_operation_backup (struct ieee80211_hw *hw, u8 operation)
 
 EXPORT_SYMBOL (rtl92c_phy_scan_operation_backup)
 
void rtl92c_phy_set_bw_mode (struct ieee80211_hw *hw, enum nl80211_channel_type ch_type)
 
 EXPORT_SYMBOL (rtl92c_phy_set_bw_mode)
 
void rtl92c_phy_sw_chnl_callback (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (rtl92c_phy_sw_chnl_callback)
 
u8 rtl92c_phy_sw_chnl (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (rtl92c_phy_sw_chnl)
 
bool _rtl92c_phy_sw_chnl_step_by_step (struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay)
 
bool rtl8192_phy_check_is_legal_rfpath (struct ieee80211_hw *hw, u32 rfpath)
 
 EXPORT_SYMBOL (rtl8192_phy_check_is_legal_rfpath)
 
void rtl92c_phy_iq_calibrate (struct ieee80211_hw *hw, bool recovery)
 
 EXPORT_SYMBOL (rtl92c_phy_iq_calibrate)
 
void rtl92c_phy_lc_calibrate (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (rtl92c_phy_lc_calibrate)
 
void rtl92c_phy_ap_calibrate (struct ieee80211_hw *hw, char delta)
 
 EXPORT_SYMBOL (rtl92c_phy_ap_calibrate)
 
void rtl92c_phy_set_rfpath_switch (struct ieee80211_hw *hw, bool bmain)
 
 EXPORT_SYMBOL (rtl92c_phy_set_rfpath_switch)
 
bool rtl92c_phy_set_io_cmd (struct ieee80211_hw *hw, enum io_type iotype)
 
 EXPORT_SYMBOL (rtl92c_phy_set_io_cmd)
 
void rtl92c_phy_set_io (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (rtl92c_phy_set_io)
 
void rtl92ce_phy_set_rf_on (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (rtl92ce_phy_set_rf_on)
 
void _rtl92c_phy_set_rf_sleep (struct ieee80211_hw *hw)
 
 EXPORT_SYMBOL (_rtl92c_phy_set_rf_sleep)
 

Macro Definition Documentation

#define MCS_TXPWR   mcs_txpwrlevel_origoffset

Definition at line 38 of file phy_common.c.

Function Documentation

bool _rtl92c_phy_bb8192c_config_parafile ( struct ieee80211_hw hw)

Definition at line 209 of file phy_common.c.

u32 _rtl92c_phy_calculate_bit_shift ( u32  bitmask)

Definition at line 175 of file phy_common.c.

u8 _rtl92c_phy_dbm_to_txpwr_Idx ( struct ieee80211_hw hw,
enum wireless_mode  wirelessmode,
long  power_indbm 
)

Definition at line 560 of file phy_common.c.

u32 _rtl92c_phy_fw_rf_serial_read ( struct ieee80211_hw hw,
enum radio_path  rfpath,
u32  offset 
)

Definition at line 85 of file phy_common.c.

void _rtl92c_phy_fw_rf_serial_write ( struct ieee80211_hw hw,
enum radio_path  rfpath,
u32  offset,
u32  data 
)

Definition at line 94 of file phy_common.c.

void _rtl92c_phy_init_bb_rf_register_definition ( struct ieee80211_hw hw)

Definition at line 335 of file phy_common.c.

u32 _rtl92c_phy_rf_serial_read ( struct ieee80211_hw hw,
enum radio_path  rfpath,
u32  offset 
)

Definition at line 102 of file phy_common.c.

void _rtl92c_phy_rf_serial_write ( struct ieee80211_hw hw,
enum radio_path  rfpath,
u32  offset,
u32  data 
)

Definition at line 152 of file phy_common.c.

void _rtl92c_phy_set_rf_sleep ( struct ieee80211_hw hw)

Definition at line 1924 of file phy_common.c.

bool _rtl92c_phy_sw_chnl_step_by_step ( struct ieee80211_hw hw,
u8  channel,
u8 stage,
u8 step,
u32 delay 
)

Definition at line 750 of file phy_common.c.

long _rtl92c_phy_txpwr_idx_to_dbm ( struct ieee80211_hw hw,
enum wireless_mode  wirelessmode,
u8  txpwridx 
)

Definition at line 592 of file phy_common.c.

void _rtl92c_store_pwrIndex_diffrate_offset ( struct ieee80211_hw hw,
u32  regaddr,
u32  bitmask,
u32  data 
)

Definition at line 250 of file phy_common.c.

EXPORT_SYMBOL ( rtl92c_phy_query_bb_reg  )
EXPORT_SYMBOL ( rtl92c_phy_set_bb_reg  )
EXPORT_SYMBOL ( _rtl92c_phy_fw_rf_serial_read  )
EXPORT_SYMBOL ( _rtl92c_phy_fw_rf_serial_write  )
EXPORT_SYMBOL ( _rtl92c_phy_rf_serial_read  )
EXPORT_SYMBOL ( _rtl92c_phy_rf_serial_write  )
EXPORT_SYMBOL ( _rtl92c_phy_calculate_bit_shift  )
EXPORT_SYMBOL ( rtl92c_phy_rf_config  )
EXPORT_SYMBOL ( rtl92c_phy_set_txpower_level  )
EXPORT_SYMBOL ( rtl92c_phy_update_txpower_dbm  )
EXPORT_SYMBOL ( _rtl92c_phy_dbm_to_txpwr_Idx  )
EXPORT_SYMBOL ( _rtl92c_phy_txpwr_idx_to_dbm  )
EXPORT_SYMBOL ( rtl92c_phy_scan_operation_backup  )
EXPORT_SYMBOL ( rtl92c_phy_set_bw_mode  )
EXPORT_SYMBOL ( rtl92c_phy_sw_chnl_callback  )
EXPORT_SYMBOL ( rtl92c_phy_sw_chnl  )
EXPORT_SYMBOL ( rtl8192_phy_check_is_legal_rfpath  )
EXPORT_SYMBOL ( rtl92c_phy_iq_calibrate  )
EXPORT_SYMBOL ( rtl92c_phy_lc_calibrate  )
EXPORT_SYMBOL ( rtl92c_phy_ap_calibrate  )
EXPORT_SYMBOL ( rtl92c_phy_set_rfpath_switch  )
EXPORT_SYMBOL ( rtl92c_phy_set_io_cmd  )
EXPORT_SYMBOL ( rtl92c_phy_set_io  )
EXPORT_SYMBOL ( rtl92ce_phy_set_rf_on  )
EXPORT_SYMBOL ( _rtl92c_phy_set_rf_sleep  )
bool rtl8192_phy_check_is_legal_rfpath ( struct ieee80211_hw hw,
u32  rfpath 
)

Definition at line 856 of file phy_common.c.

void rtl92c_phy_ap_calibrate ( struct ieee80211_hw hw,
char  delta 
)

Definition at line 1815 of file phy_common.c.

void rtl92c_phy_get_hw_reg_originalvalue ( struct ieee80211_hw hw)

Definition at line 304 of file phy_common.c.

void rtl92c_phy_get_txpower_level ( struct ieee80211_hw hw,
long powerlevel 
)

Definition at line 441 of file phy_common.c.

void rtl92c_phy_iq_calibrate ( struct ieee80211_hw hw,
bool  recovery 
)

Definition at line 1681 of file phy_common.c.

void rtl92c_phy_lc_calibrate ( struct ieee80211_hw hw)

Definition at line 1800 of file phy_common.c.

u32 rtl92c_phy_query_bb_reg ( struct ieee80211_hw hw,
u32  regaddr,
u32  bitmask 
)

Definition at line 40 of file phy_common.c.

bool rtl92c_phy_rf_config ( struct ieee80211_hw hw)

Definition at line 201 of file phy_common.c.

void rtl92c_phy_scan_operation_backup ( struct ieee80211_hw hw,
u8  operation 
)

Definition at line 616 of file phy_common.c.

void rtl92c_phy_set_bb_reg ( struct ieee80211_hw hw,
u32  regaddr,
u32  bitmask,
u32  data 
)

Definition at line 60 of file phy_common.c.

void rtl92c_phy_set_bw_mode ( struct ieee80211_hw hw,
enum nl80211_channel_type  ch_type 
)

Definition at line 646 of file phy_common.c.

void rtl92c_phy_set_io ( struct ieee80211_hw hw)

Definition at line 1880 of file phy_common.c.

bool rtl92c_phy_set_io_cmd ( struct ieee80211_hw hw,
enum io_type  iotype 
)

Definition at line 1841 of file phy_common.c.

void rtl92c_phy_set_rfpath_switch ( struct ieee80211_hw hw,
bool  bmain 
)

Definition at line 1830 of file phy_common.c.

void rtl92c_phy_set_txpower_level ( struct ieee80211_hw hw,
u8  channel 
)

Definition at line 507 of file phy_common.c.

u8 rtl92c_phy_sw_chnl ( struct ieee80211_hw hw)

Definition at line 698 of file phy_common.c.

void rtl92c_phy_sw_chnl_callback ( struct ieee80211_hw hw)

Definition at line 668 of file phy_common.c.

bool rtl92c_phy_update_txpower_dbm ( struct ieee80211_hw hw,
long  power_indbm 
)

Definition at line 526 of file phy_common.c.

void rtl92ce_phy_set_rf_on ( struct ieee80211_hw hw)

Definition at line 1911 of file phy_common.c.