Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267785
b: refs/heads/master
c: 9be6f10
h: refs/heads/master
i:
  267783: bfbaa86
v: v3
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent f8e3523 commit 143fce9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dca0eb1e15fa7cf1f4e5fae3d2c32512e24f1742
refs/heads/master: 9be6f10ed3867b1b89c34e4cd3cb5c00c0bc5282
2 changes: 1 addition & 1 deletion trunk/drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ typedef struct r8192_priv
IC_INFERIORITY_8192S IC_Class;
HT_CHANNEL_WIDTH CurrentChannelBW;
struct bb_reg_definition PHYRegDef[4];
rate_adaptive rate_adaptive;
struct rate_adaptive rate_adaptive;

struct ccktxbbgain cck_txbbgain_table[CCKTxBBGainTableLength];
struct ccktxbbgain cck_txbbgain_ch14_table[CCKTxBBGainTableLength];
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/rtl8192e/rtl_dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ extern void init_rate_adaptive(struct net_device * dev)
{

struct r8192_priv *priv = rtllib_priv(dev);
prate_adaptive pra = (prate_adaptive)&priv->rate_adaptive;
struct rate_adaptive *pra = (struct rate_adaptive *)&priv->rate_adaptive;

pra->ratr_state = DM_RATR_STA_MAX;
pra->high2low_rssi_thresh_for_ra = RateAdaptiveTH_High;
Expand Down Expand Up @@ -295,7 +295,7 @@ static void dm_check_rate_adaptive(struct net_device * dev)
{
struct r8192_priv *priv = rtllib_priv(dev);
struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo;
prate_adaptive pra = (prate_adaptive)&priv->rate_adaptive;
struct rate_adaptive *pra = (struct rate_adaptive *)&priv->rate_adaptive;
u32 currentRATR, targetRATR = 0;
u32 LowRSSIThreshForRA = 0, HighRSSIThreshForRA = 0;
bool bshort_gi_enabled = false;
Expand Down Expand Up @@ -1801,7 +1801,7 @@ dm_change_rxpath_selection_setting(
s32 DM_Value)
{
struct r8192_priv *priv = rtllib_priv(dev);
prate_adaptive pRA = (prate_adaptive)&(priv->rate_adaptive);
struct rate_adaptive *pRA = (struct rate_adaptive *)&(priv->rate_adaptive);


if (DM_Type == 0)
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -2015,8 +2015,7 @@ struct sw_cam_table {

};//,*struct sw_cam_table *;
#define TOTAL_CAM_ENTRY 32
typedef struct _rate_adaptive
{
struct rate_adaptive {
u8 rate_adaptive_disabled;
u8 ratr_state;
u16 reserve;
Expand All @@ -2038,7 +2037,7 @@ typedef struct _rate_adaptive
u32 last_ratr;
u8 PreRATRState;

} rate_adaptive, *prate_adaptive;
};
typedef enum _RATR_TABLE_MODE_8192S{
RATR_INX_WIRELESS_NGB = 0,
RATR_INX_WIRELESS_NG = 1,
Expand Down

0 comments on commit 143fce9

Please sign in to comment.