Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
r8192E_phy.h File Reference

Go to the source code of this file.

Macros

#define MAX_DOZE_WAITING_TIMES_9x   64
 
#define AGCTAB_ArrayLength   AGCTAB_ArrayLengthPciE
 
#define MACPHY_ArrayLength   MACPHY_ArrayLengthPciE
 
#define RadioA_ArrayLength   RadioA_ArrayLengthPciE
 
#define RadioB_ArrayLength   RadioB_ArrayLengthPciE
 
#define MACPHY_Array_PGLength   MACPHY_Array_PGLengthPciE
 
#define RadioC_ArrayLength   RadioC_ArrayLengthPciE
 
#define RadioD_ArrayLength   RadioD_ArrayLengthPciE
 
#define PHY_REGArrayLength   PHY_REGArrayLengthPciE
 
#define PHY_REG_1T2RArrayLength   PHY_REG_1T2RArrayLengthPciE
 
#define Rtl819XMACPHY_Array_PG   Rtl8192PciEMACPHY_Array_PG
 
#define Rtl819XMACPHY_Array   Rtl8192PciEMACPHY_Array
 
#define Rtl819XRadioA_Array   Rtl8192PciERadioA_Array
 
#define Rtl819XRadioB_Array   Rtl8192PciERadioB_Array
 
#define Rtl819XRadioC_Array   Rtl8192PciERadioC_Array
 
#define Rtl819XRadioD_Array   Rtl8192PciERadioD_Array
 
#define Rtl819XAGCTAB_Array   Rtl8192PciEAGCTAB_Array
 
#define Rtl819XPHY_REGArray   Rtl8192PciEPHY_REGArray
 
#define Rtl819XPHY_REG_1T2RArray   Rtl8192PciEPHY_REG_1T2RArray
 
#define bMaskByte0   0xff
 
#define bMaskByte1   0xff00
 
#define bMaskByte2   0xff0000
 
#define bMaskByte3   0xff000000
 
#define bMaskHWord   0xffff0000
 
#define bMaskLWord   0x0000ffff
 
#define bMaskDWord   0xffffffff
 
#define PHY_SetRFPowerState   SetRFPowerState
 

Enumerations

enum  hw90_block {
  HW90_BLOCK_MAC = 0, HW90_BLOCK_PHY0 = 1, HW90_BLOCK_PHY1 = 2, HW90_BLOCK_RF = 3,
  HW90_BLOCK_MAXIMUM = 4
}
 
enum  rf90_radio_path {
  RF90_PATH_A = 0, RF90_PATH_B = 1, RF90_PATH_C = 2, RF90_PATH_D = 3,
  RF90_PATH_MAX
}
 

Functions

u8 rtl8192_phy_CheckIsLegalRFPath (struct net_device *dev, u32 eRFPath)
 
void rtl8192_setBBreg (struct net_device *dev, u32 dwRegAddr, u32 dwBitMask, u32 dwData)
 
u32 rtl8192_QueryBBReg (struct net_device *dev, u32 dwRegAddr, u32 dwBitMask)
 
void rtl8192_phy_SetRFReg (struct net_device *dev, enum rf90_radio_path eRFPath, u32 RegAddr, u32 BitMask, u32 Data)
 
u32 rtl8192_phy_QueryRFReg (struct net_device *dev, enum rf90_radio_path eRFPath, u32 RegAddr, u32 BitMask)
 
void rtl8192_phy_configmac (struct net_device *dev)
 
void rtl8192_phyConfigBB (struct net_device *dev, u8 ConfigType)
 
bool rtl8192_phy_checkBBAndRF (struct net_device *dev, enum hw90_block CheckBlock, enum rf90_radio_path eRFPath)
 
bool rtl8192_BBConfig (struct net_device *dev)
 
void rtl8192_phy_getTxPower (struct net_device *dev)
 
void rtl8192_phy_setTxPower (struct net_device *dev, u8 channel)
 
bool rtl8192_phy_RFConfig (struct net_device *dev)
 
void rtl8192_phy_updateInitGain (struct net_device *dev)
 
u8 rtl8192_phy_ConfigRFWithHeaderFile (struct net_device *dev, enum rf90_radio_path eRFPath)
 
u8 rtl8192_phy_SwChnl (struct net_device *dev, u8 channel)
 
void rtl8192_SetBWMode (struct net_device *dev, enum ht_channel_width Bandwidth, enum ht_extchnl_offset Offset)
 
void rtl8192_SwChnl_WorkItem (struct net_device *dev)
 
void rtl8192_SetBWModeWorkItem (struct net_device *dev)
 
void InitialGain819xPci (struct net_device *dev, u8 Operation)
 
void PHY_SetRtl8192eRfOff (struct net_device *dev)
 
bool SetRFPowerState (struct net_device *dev, enum rt_rf_power_state eRFPowerState)
 
void PHY_ScanOperationBackup8192 (struct net_device *dev, u8 Operation)
 

Variables

u32 rtl819XMACPHY_Array_PG []
 
u32 rtl819XPHY_REG_1T2RArray []
 
u32 rtl819XAGCTAB_Array []
 
u32 rtl819XRadioA_Array []
 
u32 rtl819XRadioB_Array []
 
u32 rtl819XRadioC_Array []
 
u32 rtl819XRadioD_Array []
 

Macro Definition Documentation

#define AGCTAB_ArrayLength   AGCTAB_ArrayLengthPciE

Definition at line 24 of file r8192E_phy.h.

#define bMaskByte0   0xff

Definition at line 68 of file r8192E_phy.h.

#define bMaskByte1   0xff00

Definition at line 69 of file r8192E_phy.h.

#define bMaskByte2   0xff0000

Definition at line 70 of file r8192E_phy.h.

#define bMaskByte3   0xff000000

Definition at line 71 of file r8192E_phy.h.

#define bMaskDWord   0xffffffff

Definition at line 74 of file r8192E_phy.h.

#define bMaskHWord   0xffff0000

Definition at line 72 of file r8192E_phy.h.

#define bMaskLWord   0x0000ffff

Definition at line 73 of file r8192E_phy.h.

#define MACPHY_Array_PGLength   MACPHY_Array_PGLengthPciE

Definition at line 28 of file r8192E_phy.h.

#define MACPHY_ArrayLength   MACPHY_ArrayLengthPciE

Definition at line 25 of file r8192E_phy.h.

#define MAX_DOZE_WAITING_TIMES_9x   64

Definition at line 22 of file r8192E_phy.h.

#define PHY_REG_1T2RArrayLength   PHY_REG_1T2RArrayLengthPciE

Definition at line 32 of file r8192E_phy.h.

#define PHY_REGArrayLength   PHY_REGArrayLengthPciE

Definition at line 31 of file r8192E_phy.h.

#define PHY_SetRFPowerState   SetRFPowerState

Definition at line 116 of file r8192E_phy.h.

#define RadioA_ArrayLength   RadioA_ArrayLengthPciE

Definition at line 26 of file r8192E_phy.h.

#define RadioB_ArrayLength   RadioB_ArrayLengthPciE

Definition at line 27 of file r8192E_phy.h.

#define RadioC_ArrayLength   RadioC_ArrayLengthPciE

Definition at line 29 of file r8192E_phy.h.

#define RadioD_ArrayLength   RadioD_ArrayLengthPciE

Definition at line 30 of file r8192E_phy.h.

#define Rtl819XAGCTAB_Array   Rtl8192PciEAGCTAB_Array

Definition at line 40 of file r8192E_phy.h.

#define Rtl819XMACPHY_Array   Rtl8192PciEMACPHY_Array

Definition at line 35 of file r8192E_phy.h.

#define Rtl819XMACPHY_Array_PG   Rtl8192PciEMACPHY_Array_PG

Definition at line 34 of file r8192E_phy.h.

#define Rtl819XPHY_REG_1T2RArray   Rtl8192PciEPHY_REG_1T2RArray

Definition at line 42 of file r8192E_phy.h.

#define Rtl819XPHY_REGArray   Rtl8192PciEPHY_REGArray

Definition at line 41 of file r8192E_phy.h.

#define Rtl819XRadioA_Array   Rtl8192PciERadioA_Array

Definition at line 36 of file r8192E_phy.h.

#define Rtl819XRadioB_Array   Rtl8192PciERadioB_Array

Definition at line 37 of file r8192E_phy.h.

#define Rtl819XRadioC_Array   Rtl8192PciERadioC_Array

Definition at line 38 of file r8192E_phy.h.

#define Rtl819XRadioD_Array   Rtl8192PciERadioD_Array

Definition at line 39 of file r8192E_phy.h.

Enumeration Type Documentation

enum hw90_block
Enumerator:
HW90_BLOCK_MAC 
HW90_BLOCK_PHY0 
HW90_BLOCK_PHY1 
HW90_BLOCK_RF 
HW90_BLOCK_MAXIMUM 

Definition at line 52 of file r8192E_phy.h.

Enumerator:
RF90_PATH_A 
RF90_PATH_B 
RF90_PATH_C 
RF90_PATH_D 
RF90_PATH_MAX 

Definition at line 60 of file r8192E_phy.h.

Function Documentation

void InitialGain819xPci ( struct net_device dev,
u8  Operation 
)

Definition at line 1304 of file r8192E_phy.c.

void PHY_ScanOperationBackup8192 ( struct net_device dev,
u8  Operation 
)

Definition at line 1616 of file r8192E_phy.c.

void PHY_SetRtl8192eRfOff ( struct net_device dev)

Definition at line 1404 of file r8192E_phy.c.

bool rtl8192_BBConfig ( struct net_device dev)

Definition at line 602 of file r8192E_phy.c.

bool rtl8192_phy_checkBBAndRF ( struct net_device dev,
enum hw90_block  CheckBlock,
enum rf90_radio_path  eRFPath 
)

Definition at line 494 of file r8192E_phy.c.

u8 rtl8192_phy_CheckIsLegalRFPath ( struct net_device dev,
u32  eRFPath 
)

Definition at line 66 of file r8192E_phy.c.

void rtl8192_phy_configmac ( struct net_device dev)

Definition at line 332 of file r8192E_phy.c.

u8 rtl8192_phy_ConfigRFWithHeaderFile ( struct net_device dev,
enum rf90_radio_path  eRFPath 
)

Definition at line 727 of file r8192E_phy.c.

void rtl8192_phy_getTxPower ( struct net_device dev)

Definition at line 611 of file r8192E_phy.c.

u32 rtl8192_phy_QueryRFReg ( struct net_device dev,
enum rf90_radio_path  eRFPath,
u32  RegAddr,
u32  BitMask 
)

Definition at line 259 of file r8192E_phy.c.

bool rtl8192_phy_RFConfig ( struct net_device dev)

Definition at line 699 of file r8192E_phy.c.

void rtl8192_phy_SetRFReg ( struct net_device dev,
enum rf90_radio_path  eRFPath,
u32  RegAddr,
u32  BitMask,
u32  Data 
)

Definition at line 218 of file r8192E_phy.c.

void rtl8192_phy_setTxPower ( struct net_device dev,
u8  channel 
)

Definition at line 645 of file r8192E_phy.c.

u8 rtl8192_phy_SwChnl ( struct net_device dev,
u8  channel 
)

Definition at line 1019 of file r8192E_phy.c.

void rtl8192_phy_updateInitGain ( struct net_device dev)

Definition at line 722 of file r8192E_phy.c.

void rtl8192_phyConfigBB ( struct net_device dev,
u8  ConfigType 
)

Definition at line 361 of file r8192E_phy.c.

u32 rtl8192_QueryBBReg ( struct net_device dev,
u32  dwRegAddr,
u32  dwBitMask 
)

Definition at line 98 of file r8192E_phy.c.

void rtl8192_setBBreg ( struct net_device dev,
u32  dwRegAddr,
u32  dwBitMask,
u32  dwData 
)

Definition at line 81 of file r8192E_phy.c.

void rtl8192_SetBWMode ( struct net_device dev,
enum ht_channel_width  Bandwidth,
enum ht_extchnl_offset  Offset 
)

Definition at line 1279 of file r8192E_phy.c.

void rtl8192_SetBWModeWorkItem ( struct net_device dev)

Definition at line 1174 of file r8192E_phy.c.

void rtl8192_SwChnl_WorkItem ( struct net_device dev)

Definition at line 1004 of file r8192E_phy.c.

bool SetRFPowerState ( struct net_device dev,
enum rt_rf_power_state  eRFPowerState 
)

Definition at line 1591 of file r8192E_phy.c.

Variable Documentation

u32 rtl819XAGCTAB_Array[]
u32 rtl819XMACPHY_Array_PG[]
u32 rtl819XPHY_REG_1T2RArray[]
u32 rtl819XRadioA_Array[]
u32 rtl819XRadioB_Array[]
u32 rtl819XRadioC_Array[]
u32 rtl819XRadioD_Array[]