Commit 004c7acb authored by Andrew Miller's avatar Andrew Miller Committed by Greg Kroah-Hartman

Staging: rtl8187se: r8180_dm.c: Removed spaces before tab stop

Clean up spaces before tab stops and some trailing space to.
Signed-off-by: default avatarAndrew Miller <amiller@amilx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bf3a85be
...@@ -180,7 +180,7 @@ DIG_Zebra( ...@@ -180,7 +180,7 @@ DIG_Zebra(
u16 OfdmFA1, OfdmFA2; u16 OfdmFA1, OfdmFA2;
int InitialGainStep = 7; // The number of initial gain stages. int InitialGainStep = 7; // The number of initial gain stages.
int LowestGainStage = 4; // The capable lowest stage of performing dig workitem. int LowestGainStage = 4; // The capable lowest stage of performing dig workitem.
u32 AwakePeriodIn2Sec=0; u32 AwakePeriodIn2Sec=0;
//printk("---------> DIG_Zebra()\n"); //printk("---------> DIG_Zebra()\n");
...@@ -502,7 +502,7 @@ MgntIsCckRate( ...@@ -502,7 +502,7 @@ MgntIsCckRate(
// //
// Description: // Description:
// Tx Power tracking mechanism routine on 87SE. // Tx Power tracking mechanism routine on 87SE.
// Created by Roger, 2007.12.11. // Created by Roger, 2007.12.11.
// //
void void
TxPwrTracking87SE( TxPwrTracking87SE(
...@@ -567,11 +567,11 @@ StaRateAdaptive87SE( ...@@ -567,11 +567,11 @@ StaRateAdaptive87SE(
) )
{ {
struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv(dev); struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv(dev);
unsigned long CurrTxokCnt; unsigned long CurrTxokCnt;
u16 CurrRetryCnt; u16 CurrRetryCnt;
u16 CurrRetryRate; u16 CurrRetryRate;
//u16 i,idx; //u16 i,idx;
unsigned long CurrRxokCnt; unsigned long CurrRxokCnt;
bool bTryUp = false; bool bTryUp = false;
bool bTryDown = false; bool bTryDown = false;
u8 TryUpTh = 1; u8 TryUpTh = 1;
...@@ -579,7 +579,7 @@ StaRateAdaptive87SE( ...@@ -579,7 +579,7 @@ StaRateAdaptive87SE(
u32 TxThroughput; u32 TxThroughput;
long CurrSignalStrength; long CurrSignalStrength;
bool bUpdateInitialGain = false; bool bUpdateInitialGain = false;
u8 u1bOfdm=0, u1bCck = 0; u8 u1bOfdm=0, u1bCck = 0;
char OfdmTxPwrIdx, CckTxPwrIdx; char OfdmTxPwrIdx, CckTxPwrIdx;
priv->RateAdaptivePeriod= RATE_ADAPTIVE_TIMER_PERIOD; priv->RateAdaptivePeriod= RATE_ADAPTIVE_TIMER_PERIOD;
...@@ -634,7 +634,7 @@ StaRateAdaptive87SE( ...@@ -634,7 +634,7 @@ StaRateAdaptive87SE(
if (priv->TryupingCountNoData>30) if (priv->TryupingCountNoData>30)
{ {
priv->TryupingCountNoData = 0; priv->TryupingCountNoData = 0;
priv->CurrentOperaRate = GetUpgradeTxRate(dev, priv->CurrentOperaRate); priv->CurrentOperaRate = GetUpgradeTxRate(dev, priv->CurrentOperaRate);
// Reset Fail Record // Reset Fail Record
priv->LastFailTxRate = 0; priv->LastFailTxRate = 0;
priv->LastFailTxRateSS = -200; priv->LastFailTxRateSS = -200;
...@@ -687,9 +687,9 @@ StaRateAdaptive87SE( ...@@ -687,9 +687,9 @@ StaRateAdaptive87SE(
{ {
//2 For Test Upgrading mechanism //2 For Test Upgrading mechanism
// Note: // Note:
// Sometimes the throughput is upon on the capability bwtween the AP and NIC, // Sometimes the throughput is upon on the capability bwtween the AP and NIC,
// thus the low data rate does not improve the performance. // thus the low data rate does not improve the performance.
// We randomly upgrade the data rate and check if the retry rate is improved. // We randomly upgrade the data rate and check if the retry rate is improved.
// Upgrading rate did not improve the retry rate, fallback to the original rate. // Upgrading rate did not improve the retry rate, fallback to the original rate.
if ( (CurrRetryRate > 25) && TxThroughput < priv->LastTxThroughput) if ( (CurrRetryRate > 25) && TxThroughput < priv->LastTxThroughput)
...@@ -846,7 +846,7 @@ StaRateAdaptive87SE( ...@@ -846,7 +846,7 @@ StaRateAdaptive87SE(
bTryDown = true; bTryDown = true;
priv->TryDownCountLowData += TryDownTh; priv->TryDownCountLowData += TryDownTh;
} }
else if ( (CurrRetryRate<20) && (priv->LastRetryRate<21)) //TO DO: need to consider (RSSI) else if ( (CurrRetryRate<20) && (priv->LastRetryRate<21)) //TO DO: need to consider (RSSI)
// else if ( (CurrRetryRate<40) && (priv->LastRetryRate<41)) // else if ( (CurrRetryRate<40) && (priv->LastRetryRate<41))
{ {
bTryUp = true; bTryUp = true;
...@@ -942,7 +942,7 @@ StaRateAdaptive87SE( ...@@ -942,7 +942,7 @@ StaRateAdaptive87SE(
} }
if(bTryUp && bTryDown) if(bTryUp && bTryDown)
printk("StaRateAdaptive87B(): Tx Rate tried upping and downing simultaneously!\n"); printk("StaRateAdaptive87B(): Tx Rate tried upping and downing simultaneously!\n");
//1 Test Upgrading Tx Rate //1 Test Upgrading Tx Rate
// Sometimes the cause of the low throughput (high retry rate) is the compatibility between the AP and NIC. // Sometimes the cause of the low throughput (high retry rate) is the compatibility between the AP and NIC.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment