Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235759
b: refs/heads/master
c: d163f32
h: refs/heads/master
i:
  235757: fe1baa9
  235755: fadcd5b
  235751: 57a86e7
  235743: a6dd7b9
v: v3
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Jan 31, 2011
1 parent 7b8cd50 commit 423548f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 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: d5fdaa3ae73ef61de5a82b63a601afa9c4dc1d3b
refs/heads/master: d163f324af5cd2c504796f471f29a8b62d71bf93
4 changes: 4 additions & 0 deletions trunk/drivers/staging/rtl8192e/r8192E.h
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,10 @@ typedef struct r8192_priv
bool bLastDTPFlag_High;
bool bLastDTPFlag_Low;

/* OFDM RSSI. For high power or not */
u8 phy_check_reg824;
u32 phy_reg824_bit9;

//Add by amy for Rate Adaptive
rate_adaptive rate_adaptive;
//Add by amy for TX power tracking
Expand Down
12 changes: 4 additions & 8 deletions trunk/drivers/staging/rtl8192e/r8192E_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5001,10 +5001,6 @@ static void rtl8192_query_rxphystatus(
u8 is_cck_rate=0;
u8 rf_rx_num = 0;

/* 2007/07/04 MH For OFDM RSSI. For high power or not. */
static u8 check_reg824 = 0;
static u32 reg824_bit9 = 0;

is_cck_rate = rx_hal_is_cck_rate(pdrvinfo);

// Record it for next packet processing
Expand All @@ -5015,10 +5011,10 @@ static void rtl8192_query_rxphystatus(
pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon;
pstats->bToSelfBA = precord_stats->bToSelfBA = bToSelfBA;
/*2007.08.30 requested by SD3 Jerry */
if(check_reg824 == 0)
if (priv->phy_check_reg824 == 0)
{
reg824_bit9 = rtl8192_QueryBBReg(priv->ieee80211->dev, rFPGA0_XA_HSSIParameter2, 0x200);
check_reg824 = 1;
priv->phy_reg824_bit9 = rtl8192_QueryBBReg(priv->ieee80211->dev, rFPGA0_XA_HSSIParameter2, 0x200);
priv->phy_check_reg824 = 1;
}


Expand Down Expand Up @@ -5064,7 +5060,7 @@ static void rtl8192_query_rxphystatus(
}
#endif

if(!reg824_bit9)
if (!priv->phy_reg824_bit9)
{
report = pcck_buf->cck_agc_rpt & 0xc0;
report = report>>6;
Expand Down

0 comments on commit 423548f

Please sign in to comment.