Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
r8192U_core.c File Reference
#include <asm/uaccess.h>
#include "r8192U_hw.h"
#include "r8192U.h"
#include "r8190_rtl8256.h"
#include "r8180_93cx6.h"
#include "r8192U_wx.h"
#include "r819xU_phy.h"
#include "r819xU_phyreg.h"
#include "r819xU_cmdpkt.h"
#include "r8192U_dm.h"
#include <linux/usb.h>
#include <linux/slab.h>
#include "dot11d.h"

Go to the source code of this file.

Data Structures

struct  _CHANNEL_LIST
 

Macros

#define CONFIG_RTL8192_IO_MAP
 
#define TOTAL_CAM_ENTRY   32
 
#define CAM_CONTENT_COUNT   8
 
#define rx_hal_is_cck_rate(_pdrvinfo)
 
#define SHORT_SLOT_TIME   9
 
#define NON_SHORT_SLOT_TIME   20
 
#define DRV_NAME   "wlan0"
 
#define DEFAULT_EDCA   0x005e4332
 

Typedefs

typedef struct _CHANNEL_LIST CHANNEL_LIST
 
typedef struct _CHANNEL_LISTPCHANNEL_LIST
 

Functions

double __floatsidf (int i)
 
unsigned int __fixunsdfsi (double d)
 
double __adddf3 (double a, double b)
 
double __addsf3 (float a, float b)
 
double __subdf3 (double a, double b)
 
double __extendsfdf2 (float a)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("V 1.1")
 
 MODULE_DEVICE_TABLE (usb, rtl8192_usb_id_tbl)
 
 MODULE_DESCRIPTION ("Linux driver for Realtek RTL8192 USB WiFi cards")
 
 module_param (ifname, charp, S_IRUGO|S_IWUSR)
 
 module_param (hwwep, int, S_IRUGO|S_IWUSR)
 
 module_param (channels, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (ifname," Net interface name, wlan%d=default")
 
 MODULE_PARM_DESC (hwwep," Try to use hardware security support. ")
 
 MODULE_PARM_DESC (channels," Channel bitmask for specific locales. NYI")
 
void CamResetAllEntry (struct net_device *dev)
 
void write_cam (struct net_device *dev, u8 addr, u32 data)
 
u32 read_cam (struct net_device *dev, u8 addr)
 
void write_nic_byte_E (struct net_device *dev, int indx, u8 data)
 
u8 read_nic_byte_E (struct net_device *dev, int indx)
 
void write_nic_byte (struct net_device *dev, int indx, u8 data)
 
void write_nic_word (struct net_device *dev, int indx, u16 data)
 
void write_nic_dword (struct net_device *dev, int indx, u32 data)
 
u8 read_nic_byte (struct net_device *dev, int indx)
 
u16 read_nic_word (struct net_device *dev, int indx)
 
u16 read_nic_word_E (struct net_device *dev, int indx)
 
u32 read_nic_dword (struct net_device *dev, int indx)
 
void force_pci_posting (struct net_device *dev)
 
void rtl8192_commit (struct net_device *dev)
 
void rtl8192_restart (struct work_struct *work)
 
void watch_dog_timer_callback (unsigned long data)
 
void rtl8192_proc_module_init (void)
 
void rtl8192_proc_module_remove (void)
 
void rtl8192_proc_remove_one (struct net_device *dev)
 
void rtl8192_proc_init_one (struct net_device *dev)
 
void print_buffer (u32 *buffer, int len)
 
short check_nic_enough_desc (struct net_device *dev, int queue_index)
 
void tx_timeout (struct net_device *dev)
 
void dump_eprom (struct net_device *dev)
 
void rtl8192_dump_reg (struct net_device *dev)
 
void rtl8192_set_mode (struct net_device *dev, int mode)
 
void rtl8192_update_msr (struct net_device *dev)
 
void rtl8192_set_chan (struct net_device *dev, short ch)
 
u32 get_rxpacket_shiftbytes_819xusb (struct ieee80211_rx_stats *pstats)
 
void rtl8192_set_rxconf (struct net_device *dev)
 
void rtl8192_rx_enable (struct net_device *dev)
 
void rtl8192_tx_enable (struct net_device *dev)
 
void rtl8192_rtx_disable (struct net_device *dev)
 
int alloc_tx_beacon_desc_ring (struct net_device *dev, int count)
 
u16 ieeerate2rtlrate (int rate)
 
u16 rtl8192_rate2rate (short rate)
 
u32 rtl819xusb_rx_command_packet (struct net_device *dev, struct ieee80211_rx_stats *pstats)
 
void rtl8192_data_hard_stop (struct net_device *dev)
 
void rtl8192_data_hard_resume (struct net_device *dev)
 
void rtl8192_hard_data_xmit (struct sk_buff *skb, struct net_device *dev, int rate)
 
int rtl8192_hard_start_xmit (struct sk_buff *skb, struct net_device *dev)
 
void rtl8192_try_wake_queue (struct net_device *dev, int pri)
 
void rtl8192_beacon_stop (struct net_device *dev)
 
void rtl8192_config_rate (struct net_device *dev, u16 *rate_config)
 
void rtl8192_update_cap (struct net_device *dev, u16 cap)
 
void rtl8192_net_update (struct net_device *dev)
 
void rtl819xusb_beacon_tx (struct net_device *dev, u16 tx_rate)
 
u8 rtl8192_IsWirelessBMode (u16 rate)
 
u16 N_DBPSOfRate (u16 DataRate)
 
u16 ComputeTxTime (u16 FrameLength, u16 DataRate, u8 bManagementFrame, u8 bShortPreamble)
 
void rtl819xU_cmd_isr (struct urb *tx_cmd_urb, struct pt_regs *regs)
 
unsigned int txqueue2outpipe (struct r8192_priv *priv, unsigned int tx_queue)
 
short rtl819xU_tx_cmd (struct net_device *dev, struct sk_buff *skb)
 
u8 MapHwQueueToFirmwareQueue (u8 QueueID)
 
u8 MRateToHwRate8190Pci (u8 rate)
 
u8 QueryIsShort (u8 TxHT, u8 TxRate, cb_desc *tcb_desc)
 
short rtl8192_tx (struct net_device *dev, struct sk_buff *skb)
 
short rtl8192_usb_initendpoints (struct net_device *dev)
 
void rtl8192_usb_deleteendpoints (struct net_device *dev)
 
void rtl8192_update_ratr_table (struct net_device *dev)
 
void rtl8192_link_change (struct net_device *dev)
 
void rtl8192_update_beacon (struct work_struct *work)
 
void rtl8192_qos_activate (struct work_struct *work)
 
bool GetNmodeSupportBySecCfg8192 (struct net_device *dev)
 
bool GetHalfNmodeSupportByAPs819xUsb (struct net_device *dev)
 
void rtl8192_refresh_supportrate (struct r8192_priv *priv)
 
u8 rtl8192_getSupportedWireleeMode (struct net_device *dev)
 
void rtl8192_SetWirelessMode (struct net_device *dev, u8 wireless_mode)
 
void rtl819x_watchdog_wqcallback (struct work_struct *work)
 
void rtl8192_irq_rx_tasklet (struct r8192_priv *priv)
 
short rtl8192_get_channel_map (struct net_device *dev)
 
short rtl8192_init (struct net_device *dev)
 
void rtl8192_hwconfig (struct net_device *dev)
 
bool rtl8192_adapter_start (struct net_device *dev)
 
bool HalTxCheckStuck819xUsb (struct net_device *dev)
 
RESET_TYPE TxCheckStuck (struct net_device *dev)
 
bool HalRxCheckStuck819xUsb (struct net_device *dev)
 
RESET_TYPE RxCheckStuck (struct net_device *dev)
 
RESET_TYPE rtl819x_ifcheck_resetornot (struct net_device *dev)
 
void rtl8192_cancel_deferred_work (struct r8192_priv *priv)
 
int _rtl8192_up (struct net_device *dev)
 
int rtl8192_close (struct net_device *dev)
 
void CamRestoreAllEntry (struct net_device *dev)
 
void rtl819x_ifsilentreset (struct net_device *dev)
 
void CAM_read_entry (struct net_device *dev, u32 iIndex)
 
void rtl819x_update_rxcounts (struct r8192_priv *priv, u32 *TotalRxBcnNum, u32 *TotalRxDataNum)
 
int rtl8192_open (struct net_device *dev)
 
int rtl8192_up (struct net_device *dev)
 
int rtl8192_down (struct net_device *dev)
 
int r8192_set_mac_adr (struct net_device *dev, void *mac)
 
int rtl8192_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
 
u8 HwRateToMRate90 (bool bIsHT, u8 rate)
 
void UpdateRxPktTimeStamp8190 (struct net_device *dev, struct ieee80211_rx_stats *stats)
 
long rtl819x_translate_todbm (u8 signal_strength_index)
 
void rtl8192_process_phyinfo (struct r8192_priv *priv, u8 *buffer, struct ieee80211_rx_stats *pprevious_stats, struct ieee80211_rx_stats *pcurrent_stats)
 
long rtl819x_signal_scale_mapping (long currsig)
 
void rtl8192_record_rxdesc_forlateruse (struct ieee80211_rx_stats *psrc_stats, struct ieee80211_rx_stats *ptarget_stats)
 
void TranslateRxSignalStuff819xUsb (struct sk_buff *skb, struct ieee80211_rx_stats *pstats, rx_drvinfo_819x_usb *pdrvinfo)
 
void UpdateReceivedRateHistogramStatistics8190 (struct net_device *dev, struct ieee80211_rx_stats *stats)
 
void query_rxdesc_status (struct sk_buff *skb, struct ieee80211_rx_stats *stats, bool bIsRxAggrSubframe)
 
u32 GetRxPacketShiftBytes819xUsb (struct ieee80211_rx_stats *Status, bool bIsRxAggrSubframe)
 
void rtl8192_rx_nomal (struct sk_buff *skb)
 
void rtl819xusb_process_received_packet (struct net_device *dev, struct ieee80211_rx_stats *pstats)
 
void query_rx_cmdpkt_desc_status (struct sk_buff *skb, struct ieee80211_rx_stats *stats)
 
void rtl8192_rx_cmd (struct sk_buff *skb)
 
int ieee80211_debug_init (void)
 
void ieee80211_debug_exit (void)
 
int ieee80211_crypto_init (void)
 
void ieee80211_crypto_deinit (void)
 
int ieee80211_crypto_tkip_init (void)
 
void ieee80211_crypto_tkip_exit (void)
 
int ieee80211_crypto_ccmp_init (void)
 
void ieee80211_crypto_ccmp_exit (void)
 
int ieee80211_crypto_wep_init (void)
 
void ieee80211_crypto_wep_exit (void)
 
void EnableHWSecurityConfig8192 (struct net_device *dev)
 
void setKey (struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, u8 *MacAddr, u8 DefaultKey, u32 *KeyContent)
 
 module_init (rtl8192_usb_module_init)
 
 module_exit (rtl8192_usb_module_exit)
 

Variables

u32 rt_global_debug_component
 
int WDCAPARA_ADD [] = {EDCAPARA_BE,EDCAPARA_BK,EDCAPARA_VI,EDCAPARA_VO}
 

Macro Definition Documentation

#define CAM_CONTENT_COUNT   8

Definition at line 104 of file r8192U_core.c.

#define CONFIG_RTL8192_IO_MAP

Definition at line 59 of file r8192U_core.c.

#define DEFAULT_EDCA   0x005e4332
#define DRV_NAME   "wlan0"

Definition at line 2836 of file r8192U_core.c.

#define NON_SHORT_SLOT_TIME   20

Definition at line 1636 of file r8192U_core.c.

#define rx_hal_is_cck_rate (   _pdrvinfo)
Value:
(_pdrvinfo->RxRate == DESC90_RATE1M ||\
_pdrvinfo->RxRate == DESC90_RATE2M ||\
_pdrvinfo->RxRate == DESC90_RATE5_5M ||\
_pdrvinfo->RxRate == DESC90_RATE11M) &&\
!_pdrvinfo->RxHT\

Definition at line 243 of file r8192U_core.c.

#define SHORT_SLOT_TIME   9

Definition at line 1635 of file r8192U_core.c.

#define TOTAL_CAM_ENTRY   32

Definition at line 103 of file r8192U_core.c.

Typedef Documentation

Function Documentation

double __adddf3 ( double  a,
double  b 
)

Definition at line 30 of file r8192U_core.c.

double __addsf3 ( float  a,
float  b 
)

Definition at line 31 of file r8192U_core.c.

double __extendsfdf2 ( float  a)

Definition at line 33 of file r8192U_core.c.

unsigned int __fixunsdfsi ( double  d)

Definition at line 29 of file r8192U_core.c.

double __floatsidf ( int  i)

Definition at line 28 of file r8192U_core.c.

double __subdf3 ( double  a,
double  b 
)

Definition at line 32 of file r8192U_core.c.

int _rtl8192_up ( struct net_device dev)

Definition at line 4151 of file r8192U_core.c.

int alloc_tx_beacon_desc_ring ( struct net_device dev,
int  count 
)

Definition at line 1061 of file r8192U_core.c.

void CAM_read_entry ( struct net_device dev,
u32  iIndex 
)

Definition at line 4007 of file r8192U_core.c.

void CamResetAllEntry ( struct net_device dev)

Definition at line 251 of file r8192U_core.c.

void CamRestoreAllEntry ( struct net_device dev)

Definition at line 3758 of file r8192U_core.c.

short check_nic_enough_desc ( struct net_device dev,
int  queue_index 
)

Definition at line 774 of file r8192U_core.c.

u16 ComputeTxTime ( u16  FrameLength,
u16  DataRate,
u8  bManagementFrame,
u8  bShortPreamble 
)

Definition at line 1716 of file r8192U_core.c.

void dump_eprom ( struct net_device dev)

Definition at line 793 of file r8192U_core.c.

void EnableHWSecurityConfig8192 ( struct net_device dev)

ieee->hwsec_support) //add hwsec_support flag to totol control hw_sec on/off

Definition at line 5938 of file r8192U_core.c.

void force_pci_posting ( struct net_device dev)
inline

Definition at line 464 of file r8192U_core.c.

u32 get_rxpacket_shiftbytes_819xusb ( struct ieee80211_rx_stats pstats)

Definition at line 891 of file r8192U_core.c.

bool GetHalfNmodeSupportByAPs819xUsb ( struct net_device dev)

Definition at line 2602 of file r8192U_core.c.

bool GetNmodeSupportBySecCfg8192 ( struct net_device dev)

Definition at line 2570 of file r8192U_core.c.

u32 GetRxPacketShiftBytes819xUsb ( struct ieee80211_rx_stats Status,
bool  bIsRxAggrSubframe 
)

Definition at line 5407 of file r8192U_core.c.

bool HalRxCheckStuck819xUsb ( struct net_device dev)

Definition at line 3612 of file r8192U_core.c.

bool HalTxCheckStuck819xUsb ( struct net_device dev)

Definition at line 3547 of file r8192U_core.c.

u8 HwRateToMRate90 ( bool  bIsHT,
u8  rate 
)

Definition at line 4451 of file r8192U_core.c.

void ieee80211_crypto_ccmp_exit ( void  )

Definition at line 461 of file ieee80211_crypt_ccmp.c.

int ieee80211_crypto_ccmp_init ( void  )

Definition at line 455 of file ieee80211_crypt_ccmp.c.

void ieee80211_crypto_deinit ( void  )

Definition at line 225 of file ieee80211_crypt.c.

int ieee80211_crypto_init ( void  )

Definition at line 204 of file ieee80211_crypt.c.

void ieee80211_crypto_tkip_exit ( void  )

Definition at line 741 of file ieee80211_crypt_tkip.c.

int ieee80211_crypto_tkip_init ( void  )

Definition at line 735 of file ieee80211_crypt_tkip.c.

void ieee80211_crypto_wep_exit ( void  )

Definition at line 283 of file ieee80211_crypt_wep.c.

int ieee80211_crypto_wep_init ( void  )

Definition at line 277 of file ieee80211_crypt_wep.c.

void ieee80211_debug_exit ( void  )

Definition at line 305 of file ieee80211_module.c.

int ieee80211_debug_init ( void  )

Definition at line 279 of file ieee80211_module.c.

u16 ieeerate2rtlrate ( int  rate)
inline

Definition at line 1066 of file r8192U_core.c.

u8 MapHwQueueToFirmwareQueue ( u8  QueueID)

Definition at line 1874 of file r8192U_core.c.

MODULE_DESCRIPTION ( "Linux driver for Realtek RTL8192 USB WiFi cards )
MODULE_DEVICE_TABLE ( usb  ,
rtl8192_usb_id_tbl   
)
module_exit ( rtl8192_usb_module_exit  )
module_init ( rtl8192_usb_module_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( ifname  ,
charp  ,
S_IRUGO S_IWUSR 
)
module_param ( hwwep  ,
int  ,
S_IRUGO S_IWUSR 
)
module_param ( channels  ,
int  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( ifname  ,
" Net interface  name 
)
MODULE_PARM_DESC ( hwwep  ,
" Try to use hardware security support. "   
)
MODULE_PARM_DESC ( channels  ,
" Channel bitmask for specific locales. NYI"   
)
MODULE_VERSION ( "V 1.1"  )
u8 MRateToHwRate8190Pci ( u8  rate)

Definition at line 1920 of file r8192U_core.c.

u16 N_DBPSOfRate ( u16  DataRate)
void print_buffer ( u32 buffer,
int  len 
)

Definition at line 755 of file r8192U_core.c.

void query_rx_cmdpkt_desc_status ( struct sk_buff skb,
struct ieee80211_rx_stats stats 
)

Definition at line 5633 of file r8192U_core.c.

void query_rxdesc_status ( struct sk_buff skb,
struct ieee80211_rx_stats stats,
bool  bIsRxAggrSubframe 
)

Definition at line 5284 of file r8192U_core.c.

u8 QueryIsShort ( u8  TxHT,
u8  TxRate,
cb_desc tcb_desc 
)

Definition at line 1963 of file r8192U_core.c.

int r8192_set_mac_adr ( struct net_device dev,
void mac 
)

Definition at line 4321 of file r8192U_core.c.

u32 read_cam ( struct net_device dev,
u8  addr 
)

Definition at line 275 of file r8192U_core.c.

u8 read_nic_byte ( struct net_device dev,
int  indx 
)

Definition at line 378 of file r8192U_core.c.

u8 read_nic_byte_E ( struct net_device dev,
int  indx 
)

Definition at line 297 of file r8192U_core.c.

u32 read_nic_dword ( struct net_device dev,
int  indx 
)

Definition at line 434 of file r8192U_core.c.

u16 read_nic_word ( struct net_device dev,
int  indx 
)

Definition at line 399 of file r8192U_core.c.

u16 read_nic_word_E ( struct net_device dev,
int  indx 
)

Definition at line 417 of file r8192U_core.c.

bool rtl8192_adapter_start ( struct net_device dev)

Definition at line 3281 of file r8192U_core.c.

void rtl8192_beacon_stop ( struct net_device dev)

Definition at line 1568 of file r8192U_core.c.

void rtl8192_cancel_deferred_work ( struct r8192_priv priv)

Definition at line 2455 of file rtl_core.c.

int rtl8192_close ( struct net_device dev)

Definition at line 4204 of file r8192U_core.c.

void rtl8192_commit ( struct net_device dev)

Definition at line 2523 of file rtl_core.c.

void rtl8192_config_rate ( struct net_device dev,
u16 rate_config 
)

Definition at line 1587 of file r8192U_core.c.

void rtl8192_data_hard_resume ( struct net_device dev)

Definition at line 1187 of file r8192U_core.c.

void rtl8192_data_hard_stop ( struct net_device dev)

Definition at line 1181 of file r8192U_core.c.

int rtl8192_down ( struct net_device dev)

Definition at line 4219 of file r8192U_core.c.

void rtl8192_dump_reg ( struct net_device dev)

Definition at line 801 of file r8192U_core.c.

short rtl8192_get_channel_map ( struct net_device dev)

Definition at line 3124 of file r8192U_core.c.

u8 rtl8192_getSupportedWireleeMode ( struct net_device dev)

Definition at line 2631 of file r8192U_core.c.

void rtl8192_hard_data_xmit ( struct sk_buff skb,
struct net_device dev,
int  rate 
)

Definition at line 1195 of file r8192U_core.c.

int rtl8192_hard_start_xmit ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 1230 of file r8192U_core.c.

void rtl8192_hwconfig ( struct net_device dev)

Definition at line 3192 of file r8192U_core.c.

short rtl8192_init ( struct net_device dev)

Definition at line 3137 of file r8192U_core.c.

int rtl8192_ioctl ( struct net_device dev,
struct ifreq rq,
int  cmd 
)

Definition at line 4337 of file r8192U_core.c.

void rtl8192_irq_rx_tasklet ( struct r8192_priv priv)

Definition at line 2441 of file rtl_core.c.

u8 rtl8192_IsWirelessBMode ( u16  rate)
inline

Definition at line 1707 of file r8192U_core.c.

void rtl8192_link_change ( struct net_device dev)

Definition at line 2304 of file r8192U_core.c.

void rtl8192_net_update ( struct net_device dev)

Definition at line 1663 of file r8192U_core.c.

int rtl8192_open ( struct net_device dev)

Definition at line 4182 of file r8192U_core.c.

void rtl8192_proc_init_one ( struct net_device dev)

Definition at line 704 of file r8192U_core.c.

void rtl8192_proc_module_init ( void  )

Definition at line 670 of file r8192U_core.c.

void rtl8192_proc_module_remove ( void  )

Definition at line 677 of file r8192U_core.c.

void rtl8192_proc_remove_one ( struct net_device dev)

Definition at line 683 of file r8192U_core.c.

void rtl8192_process_phyinfo ( struct r8192_priv priv,
u8 buffer,
struct ieee80211_rx_stats pprevious_stats,
struct ieee80211_rx_stats pcurrent_stats 
)

Definition at line 4552 of file r8192U_core.c.

void rtl8192_qos_activate ( struct work_struct work)

Definition at line 2361 of file r8192U_core.c.

u16 rtl8192_rate2rate ( short  rate)
inline

Definition at line 1099 of file r8192U_core.c.

void rtl8192_record_rxdesc_forlateruse ( struct ieee80211_rx_stats psrc_stats,
struct ieee80211_rx_stats ptarget_stats 
)

Definition at line 5124 of file r8192U_core.c.

void rtl8192_refresh_supportrate ( struct r8192_priv priv)

Definition at line 2616 of file r8192U_core.c.

void rtl8192_restart ( struct work_struct work)

Definition at line 4288 of file r8192U_core.c.

void rtl8192_rtx_disable ( struct net_device dev)

Definition at line 1030 of file r8192U_core.c.

void rtl8192_rx_cmd ( struct sk_buff skb)

Definition at line 5655 of file r8192U_core.c.

void rtl8192_rx_enable ( struct net_device dev)

Definition at line 1012 of file r8192U_core.c.

void rtl8192_rx_nomal ( struct sk_buff skb)

Definition at line 5419 of file r8192U_core.c.

void rtl8192_set_chan ( struct net_device dev,
short  ch 
)

Definition at line 863 of file r8192U_core.c.

void rtl8192_set_mode ( struct net_device dev,
int  mode 
)

Definition at line 823 of file r8192U_core.c.

void rtl8192_set_rxconf ( struct net_device dev)

Definition at line 958 of file r8192U_core.c.

void rtl8192_SetWirelessMode ( struct net_device dev,
u8  wireless_mode 
)

Definition at line 2651 of file r8192U_core.c.

void rtl8192_try_wake_queue ( struct net_device dev,
int  pri 
)

Definition at line 5924 of file r8192U_core.c.

short rtl8192_tx ( struct net_device dev,
struct sk_buff skb 
)

Definition at line 1985 of file r8192U_core.c.

void rtl8192_tx_enable ( struct net_device dev)

Definition at line 1024 of file r8192U_core.c.

int rtl8192_up ( struct net_device dev)

Definition at line 4194 of file r8192U_core.c.

void rtl8192_update_beacon ( struct work_struct work)

Definition at line 2345 of file r8192U_core.c.

void rtl8192_update_cap ( struct net_device dev,
u16  cap 
)

Definition at line 1638 of file r8192U_core.c.

void rtl8192_update_msr ( struct net_device dev)

Definition at line 835 of file r8192U_core.c.

void rtl8192_update_ratr_table ( struct net_device dev)

Definition at line 2121 of file r8192E_dev.c.

void rtl8192_usb_deleteendpoints ( struct net_device dev)

Definition at line 2271 of file r8192U_core.c.

short rtl8192_usb_initendpoints ( struct net_device dev)

Definition at line 2192 of file r8192U_core.c.

RESET_TYPE rtl819x_ifcheck_resetornot ( struct net_device dev)

This function is called by Checkforhang to check whether we should ask OS to reset driver

Parameters
pAdapterThe adapter context for this miniport

Note:NIC with USB interface sholud not call this function because we cannot scan descriptor to judge whether there is tx stuck. Note: This function may be required to be rewrite for Vista OS. <<<Assumption: Tx spinlock has been acquired >>>

8185 and 8185b does not implement this function. This is added by Emily at 2006.11.24

Definition at line 3716 of file r8192U_core.c.

void rtl819x_ifsilentreset ( struct net_device dev)

Definition at line 3898 of file r8192U_core.c.

long rtl819x_signal_scale_mapping ( long  currsig)

Definition at line 4826 of file r8192U_core.c.

long rtl819x_translate_todbm ( u8  signal_strength_index)

Definition at line 4536 of file r8192U_core.c.

void rtl819x_update_rxcounts ( struct r8192_priv priv,
u32 TotalRxBcnNum,
u32 TotalRxDataNum 
)

Definition at line 4046 of file r8192U_core.c.

void rtl819x_watchdog_wqcallback ( struct work_struct work)

Definition at line 4068 of file r8192U_core.c.

void rtl819xU_cmd_isr ( struct urb tx_cmd_urb,
struct pt_regs regs 
)

Definition at line 1793 of file r8192U_core.c.

short rtl819xU_tx_cmd ( struct net_device dev,
struct sk_buff skb 
)

Definition at line 1808 of file r8192U_core.c.

void rtl819xusb_beacon_tx ( struct net_device dev,
u16  tx_rate 
)

Definition at line 1703 of file r8192U_core.c.

void rtl819xusb_process_received_packet ( struct net_device dev,
struct ieee80211_rx_stats pstats 
)

Definition at line 5578 of file r8192U_core.c.

u32 rtl819xusb_rx_command_packet ( struct net_device dev,
struct ieee80211_rx_stats pstats 
)

Definition at line 1157 of file r8192U_core.c.

RESET_TYPE RxCheckStuck ( struct net_device dev)

Definition at line 3677 of file r8192U_core.c.

void setKey ( struct net_device dev,
u8  EntryNo,
u8  KeyIndex,
u16  KeyType,
u8 MacAddr,
u8  DefaultKey,
u32 KeyContent 
)

Definition at line 5972 of file r8192U_core.c.

void TranslateRxSignalStuff819xUsb ( struct sk_buff skb,
struct ieee80211_rx_stats pstats,
rx_drvinfo_819x_usb pdrvinfo 
)

Definition at line 5135 of file r8192U_core.c.

void tx_timeout ( struct net_device dev)

Definition at line 782 of file r8192U_core.c.

RESET_TYPE TxCheckStuck ( struct net_device dev)

Definition at line 3568 of file r8192U_core.c.

unsigned int txqueue2outpipe ( struct r8192_priv priv,
unsigned int  tx_queue 
)

Definition at line 1798 of file r8192U_core.c.

void UpdateReceivedRateHistogramStatistics8190 ( struct net_device dev,
struct ieee80211_rx_stats stats 
)

Function: UpdateReceivedRateHistogramStatistics Overview: Record the received data rate

Input: struct net_device *dev struct ieee80211_rx_stats *stats

Output:

    (priv->stats.ReceivedRateHistogram[] is updated)

Return: None

Definition at line 5216 of file r8192U_core.c.

void UpdateRxPktTimeStamp8190 ( struct net_device dev,
struct ieee80211_rx_stats stats 
)

Function: UpdateRxPktTimeStamp Overview: Record the TSF time stamp when receiving a packet

Input: PADAPTER Adapter PRT_RFD pRfd,

Output: PRT_RFD pRfd (pRfd->Status.TimeStampHigh is updated) (pRfd->Status.TimeStampLow is updated) Return: None

Definition at line 4521 of file r8192U_core.c.

void watch_dog_timer_callback ( unsigned long  data)

Definition at line 1786 of file rtl_core.c.

void write_cam ( struct net_device dev,
u8  addr,
u32  data 
)

Definition at line 269 of file r8192U_core.c.

void write_nic_byte ( struct net_device dev,
int  indx,
u8  data 
)

Definition at line 316 of file r8192U_core.c.

void write_nic_byte_E ( struct net_device dev,
int  indx,
u8  data 
)

Definition at line 281 of file r8192U_core.c.

void write_nic_dword ( struct net_device dev,
int  indx,
u32  data 
)

Definition at line 356 of file r8192U_core.c.

void write_nic_word ( struct net_device dev,
int  indx,
u16  data 
)

Definition at line 336 of file r8192U_core.c.

Variable Documentation

u32 rt_global_debug_component
Initial value:

Definition at line 82 of file r8192U_core.c.

Definition at line 2360 of file r8192U_core.c.