Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
r8185b_init.c File Reference
#include <linux/spinlock.h>
#include "r8180_hw.h"
#include "r8180.h"
#include "r8180_rtl8225.h"
#include "r8180_93cx6.h"
#include "r8180_wx.h"
#include "ieee80211/dot11d.h"

Go to the source code of this file.

Macros

#define TC_3W_POLL_MAX_TRY_CNT   5
 

Functions

void PlatformIOWrite1Byte (struct net_device *dev, u32 offset, u8 data)
 
void PlatformIOWrite2Byte (struct net_device *dev, u32 offset, u16 data)
 
u8 PlatformIORead1Byte (struct net_device *dev, u32 offset)
 
void PlatformIOWrite4Byte (struct net_device *dev, u32 offset, u32 data)
 
u16 PlatformIORead2Byte (struct net_device *dev, u32 offset)
 
u32 PlatformIORead4Byte (struct net_device *dev, u32 offset)
 
void SetOutputEnableOfRfPins (struct net_device *dev)
 
void RF_WriteReg (struct net_device *dev, u8 offset, u32 data)
 
u32 RF_ReadReg (struct net_device *dev, u8 offset)
 
void WriteBBPortUchar (struct net_device *dev, u32 Data)
 
u8 ReadBBPortUchar (struct net_device *dev, u32 addr)
 
bool SetAntennaConfig87SE (struct net_device *dev, u8 DefaultAnt, bool bAntDiversity)
 
void ZEBRA_Config_85BASIC_HardCode (struct net_device *dev)
 
void UpdateInitialGain (struct net_device *dev)
 
void InitTxPwrTracking87SE (struct net_device *dev)
 
void PhyConfig8185 (struct net_device *dev)
 
void HwConfigureRTL8185 (struct net_device *dev)
 
u8 GetSupportedWirelessMode8185 (struct net_device *dev)
 
void ActUpdateChannelAccessSetting (struct net_device *dev, WIRELESS_MODE WirelessMode, PCHANNEL_ACCESS_SETTING ChnlAccessSetting)
 
void ActSetWirelessMode8185 (struct net_device *dev, u8 btWirelessMode)
 
void rtl8185b_irq_enable (struct net_device *dev)
 
void DrvIFIndicateDisassociation (struct net_device *dev, u16 reason)
 
void MgntDisconnectIBSS (struct net_device *dev)
 
void MlmeDisassociateRequest (struct net_device *dev, u8 *asSta, u8 asRsn)
 
void MgntDisconnectAP (struct net_device *dev, u8 asRsn)
 
bool MgntDisconnect (struct net_device *dev, u8 asRsn)
 
bool SetRFPowerState (struct net_device *dev, RT_RF_POWER_STATE eRFPowerState)
 
void HalEnableRx8185Dummy (struct net_device *dev)
 
void HalDisableRx8185Dummy (struct net_device *dev)
 
bool MgntActSet_RF_State (struct net_device *dev, RT_RF_POWER_STATE StateToSet, u32 ChangeSource)
 
void InactivePowerSave (struct net_device *dev)
 
void IPSEnter (struct net_device *dev)
 
void IPSLeave (struct net_device *dev)
 
void rtl8185b_adapter_start (struct net_device *dev)
 
void rtl8185b_rx_enable (struct net_device *dev)
 
void rtl8185b_tx_enable (struct net_device *dev)
 

Macro Definition Documentation

#define TC_3W_POLL_MAX_TRY_CNT   5

Definition at line 30 of file r8185b_init.c.

Function Documentation

void ActSetWirelessMode8185 ( struct net_device dev,
u8  btWirelessMode 
)

Definition at line 1094 of file r8185b_init.c.

void ActUpdateChannelAccessSetting ( struct net_device dev,
WIRELESS_MODE  WirelessMode,
PCHANNEL_ACCESS_SETTING  ChnlAccessSetting 
)

Definition at line 939 of file r8185b_init.c.

void DrvIFIndicateDisassociation ( struct net_device dev,
u16  reason 
)

Definition at line 1151 of file r8185b_init.c.

u8 GetSupportedWirelessMode8185 ( struct net_device dev)

Definition at line 931 of file r8185b_init.c.

void HalDisableRx8185Dummy ( struct net_device dev)

Definition at line 1274 of file r8185b_init.c.

void HalEnableRx8185Dummy ( struct net_device dev)

Definition at line 1270 of file r8185b_init.c.

void HwConfigureRTL8185 ( struct net_device dev)

Definition at line 806 of file r8185b_init.c.

void InactivePowerSave ( struct net_device dev)

Definition at line 1383 of file r8185b_init.c.

void InitTxPwrTracking87SE ( struct net_device dev)

Definition at line 769 of file r8185b_init.c.

void IPSEnter ( struct net_device dev)

Definition at line 1408 of file r8185b_init.c.

void IPSLeave ( struct net_device dev)

Definition at line 1430 of file r8185b_init.c.

bool MgntActSet_RF_State ( struct net_device dev,
RT_RF_POWER_STATE  StateToSet,
u32  ChangeSource 
)

Definition at line 1278 of file r8185b_init.c.

bool MgntDisconnect ( struct net_device dev,
u8  asRsn 
)

Definition at line 1221 of file r8185b_init.c.

void MgntDisconnectAP ( struct net_device dev,
u8  asRsn 
)

Definition at line 1203 of file r8185b_init.c.

void MgntDisconnectIBSS ( struct net_device dev)

Definition at line 1156 of file r8185b_init.c.

void MlmeDisassociateRequest ( struct net_device dev,
u8 asSta,
u8  asRsn 
)

Definition at line 1184 of file r8185b_init.c.

void PhyConfig8185 ( struct net_device dev)

Definition at line 779 of file r8185b_init.c.

u8 PlatformIORead1Byte ( struct net_device dev,
u32  offset 
)

Definition at line 175 of file r8185b_init.c.

u16 PlatformIORead2Byte ( struct net_device dev,
u32  offset 
)

Definition at line 185 of file r8185b_init.c.

u32 PlatformIORead4Byte ( struct net_device dev,
u32  offset 
)

Definition at line 195 of file r8185b_init.c.

void PlatformIOWrite1Byte ( struct net_device dev,
u32  offset,
u8  data 
)

Definition at line 118 of file r8185b_init.c.

void PlatformIOWrite2Byte ( struct net_device dev,
u32  offset,
u16  data 
)

Definition at line 124 of file r8185b_init.c.

void PlatformIOWrite4Byte ( struct net_device dev,
u32  offset,
u32  data 
)

Definition at line 132 of file r8185b_init.c.

u8 ReadBBPortUchar ( struct net_device dev,
u32  addr 
)

Definition at line 381 of file r8185b_init.c.

u32 RF_ReadReg ( struct net_device dev,
u8  offset 
)

Definition at line 348 of file r8185b_init.c.

void RF_WriteReg ( struct net_device dev,
u8  offset,
u32  data 
)

Definition at line 336 of file r8185b_init.c.

void rtl8185b_adapter_start ( struct net_device dev)

Definition at line 1443 of file r8185b_init.c.

void rtl8185b_irq_enable ( struct net_device dev)

Definition at line 1143 of file r8185b_init.c.

void rtl8185b_rx_enable ( struct net_device dev)

Definition at line 1581 of file r8185b_init.c.

void rtl8185b_tx_enable ( struct net_device dev)

Definition at line 1613 of file r8185b_init.c.

bool SetAntennaConfig87SE ( struct net_device dev,
u8  DefaultAnt,
bool  bAntDiversity 
)

Definition at line 396 of file r8185b_init.c.

void SetOutputEnableOfRfPins ( struct net_device dev)

Definition at line 205 of file r8185b_init.c.

bool SetRFPowerState ( struct net_device dev,
RT_RF_POWER_STATE  eRFPowerState 
)

Definition at line 1257 of file r8185b_init.c.

void UpdateInitialGain ( struct net_device dev)

Definition at line 694 of file r8185b_init.c.

void WriteBBPortUchar ( struct net_device dev,
u32  Data 
)

Definition at line 364 of file r8185b_init.c.

void ZEBRA_Config_85BASIC_HardCode ( struct net_device dev)

Definition at line 469 of file r8185b_init.c.