Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
rtl_dm.c File Reference
#include "rtl_core.h"
#include "rtl_dm.h"
#include "r8192E_hw.h"
#include "r8192E_phy.h"
#include "r8192E_phyreg.h"
#include "r8190P_rtl8256.h"
#include "r8192E_cmdpkt.h"

Go to the source code of this file.

Macros

#define RTK_UL_EDCA   0xa44f
 
#define RTK_DL_EDCA   0x5e4322
 
#define Pw_Track_Flag   0x11d
 
#define Tssi_Mea_Value   0x13c
 
#define Tssi_Report_Value1   0x134
 
#define Tssi_Report_Value2   0x13e
 
#define FW_Busy_Flag   0x13f
 
#define ThermalMeterVal   9
 
#define PWDB_IN_RANGE
 
#define RegC38_Default   0
 
#define RegC38_NonFsync_Other_AP   1
 
#define RegC38_Fsync_AP_BCM   2
 

Functions

void init_hal_dm (struct net_device *dev)
 
void deinit_hal_dm (struct net_device *dev)
 
void hal_dm_watchdog (struct net_device *dev)
 
void init_rate_adaptive (struct net_device *dev)
 
void dm_txpower_trackingcallback (void *data)
 
void dm_initialize_txpower_tracking (struct net_device *dev)
 
void dm_cck_txpower_adjust (struct net_device *dev, bool binch14)
 
void dm_restore_dynamic_mechanism_state (struct net_device *dev)
 
void dm_backup_dynamic_mechanism_state (struct net_device *dev)
 
void dm_change_dynamic_initgain_thresh (struct net_device *dev, u32 dm_type, u32 dm_value)
 
void dm_init_edca_turbo (struct net_device *dev)
 
void dm_CheckRfCtrlGPIO (void *data)
 
void dm_rf_pathcheck_workitemcallback (void *data)
 
void dm_fsync_timer_callback (unsigned long data)
 
void dm_check_fsync (struct net_device *dev)
 
void dm_shadow_init (struct net_device *dev)
 

Variables

struct dig_t dm_digtable
 
u8 dm_shadow [16][256]
 
struct drx_path_sel DM_RxPathSelTable
 

Macro Definition Documentation

#define FW_Busy_Flag   0x13f

Definition at line 450 of file rtl_dm.c.

#define Pw_Track_Flag   0x11d

Definition at line 446 of file rtl_dm.c.

#define PWDB_IN_RANGE
Value:
((cur_cck_pwdb < tmp_cck_max_pwdb) && \
(cur_cck_pwdb > tmp_cck_sec_pwdb))

Definition at line 2346 of file rtl_dm.c.

#define RegC38_Default   0
#define RegC38_Fsync_AP_BCM   2
#define RegC38_NonFsync_Other_AP   1
#define RTK_DL_EDCA   0x5e4322

Definition at line 62 of file rtl_dm.c.

#define RTK_UL_EDCA   0xa44f

Definition at line 61 of file rtl_dm.c.

#define ThermalMeterVal   9
#define Tssi_Mea_Value   0x13c

Definition at line 447 of file rtl_dm.c.

#define Tssi_Report_Value1   0x134

Definition at line 448 of file rtl_dm.c.

#define Tssi_Report_Value2   0x13e

Definition at line 449 of file rtl_dm.c.

Function Documentation

void deinit_hal_dm ( struct net_device dev)

Definition at line 160 of file rtl_dm.c.

void dm_backup_dynamic_mechanism_state ( struct net_device dev)

Definition at line 1621 of file rtl_dm.c.

void dm_cck_txpower_adjust ( struct net_device dev,
bool  binch14 
)

Definition at line 1530 of file rtl_dm.c.

void dm_change_dynamic_initgain_thresh ( struct net_device dev,
u32  dm_type,
u32  dm_value 
)

Definition at line 1656 of file rtl_dm.c.

void dm_check_fsync ( struct net_device dev)

Definition at line 2766 of file rtl_dm.c.

void dm_CheckRfCtrlGPIO ( void data)

Definition at line 2250 of file rtl_dm.c.

void dm_fsync_timer_callback ( unsigned long  data)

Definition at line 2587 of file rtl_dm.c.

void dm_init_edca_turbo ( struct net_device dev)

Definition at line 2099 of file rtl_dm.c.

void dm_initialize_txpower_tracking ( struct net_device dev)

Definition at line 1362 of file rtl_dm.c.

void dm_restore_dynamic_mechanism_state ( struct net_device dev)

Definition at line 1567 of file rtl_dm.c.

void dm_rf_pathcheck_workitemcallback ( void data)

Definition at line 2303 of file rtl_dm.c.

void dm_shadow_init ( struct net_device dev)

Definition at line 2887 of file rtl_dm.c.

void dm_txpower_trackingcallback ( void data)

Definition at line 835 of file rtl_dm.c.

void hal_dm_watchdog ( struct net_device dev)

Definition at line 167 of file rtl_dm.c.

void init_hal_dm ( struct net_device dev)

Definition at line 137 of file rtl_dm.c.

void init_rate_adaptive ( struct net_device dev)

Definition at line 217 of file rtl_dm.c.

Variable Documentation

struct dig_t dm_digtable

Definition at line 67 of file rtl_dm.c.

struct drx_path_sel DM_RxPathSelTable

Definition at line 72 of file rtl_dm.c.

u8 dm_shadow[16][256]
Initial value:
= {
{0}
}

Definition at line 68 of file rtl_dm.c.