aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8187se/r8180_dm.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2012-04-17 09:56:43 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-18 19:58:16 -0400
commited2cb4f3b5ed96e4d10e054f981bbe58d0e3508e (patch)
treea08043f27f54456d46877223763d6498c40ae731 /drivers/staging/rtl8187se/r8180_dm.c
parent15ecf29e1666ac0c18625ad276423c0291536543 (diff)
Staging: rtl8187se: Fix typos.
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_dm.c')
-rw-r--r--drivers/staging/rtl8187se/r8180_dm.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/rtl8187se/r8180_dm.c b/drivers/staging/rtl8187se/r8180_dm.c
index 4d7a5951486..b8f2ba010a0 100644
--- a/drivers/staging/rtl8187se/r8180_dm.c
+++ b/drivers/staging/rtl8187se/r8180_dm.c
@@ -2,7 +2,7 @@
2#include "r8180_hw.h" 2#include "r8180_hw.h"
3#include "r8180_93cx6.h" 3#include "r8180_93cx6.h"
4 4
5 /* Return TRUE if we shall perform High Power Mecahnism, FALSE otherwise. */ 5 /* Return TRUE if we shall perform High Power Mechanism, FALSE otherwise. */
6#define RATE_ADAPTIVE_TIMER_PERIOD 300 6#define RATE_ADAPTIVE_TIMER_PERIOD 300
7 7
8bool CheckHighPower(struct net_device *dev) 8bool CheckHighPower(struct net_device *dev)
@@ -105,7 +105,7 @@ void rtl8180_tx_pw_wq(struct work_struct *work)
105 105
106 106
107/* 107/*
108 * Return TRUE if we shall perform DIG Mecahnism, FALSE otherwise. 108 * Return TRUE if we shall perform DIG Mechanism, FALSE otherwise.
109 */ 109 */
110bool CheckDig(struct net_device *dev) 110bool CheckDig(struct net_device *dev)
111{ 111{
@@ -507,7 +507,7 @@ void StaRateAdaptive87SE(struct net_device *dev)
507 * and retry rate. 507 * and retry rate.
508 * (3) Remove all Initial Gain Updates over OFDM rate. To avoid the complicated 508 * (3) Remove all Initial Gain Updates over OFDM rate. To avoid the complicated
509 * situation, Initial Gain Update is upon on DIG mechanism except CCK rate. 509 * situation, Initial Gain Update is upon on DIG mechanism except CCK rate.
510 * (4) Add the mehanism of trying to upgrade tx rate. 510 * (4) Add the mechanism of trying to upgrade tx rate.
511 * (5) Record the information of upping tx rate to avoid trying upping tx rate constantly. 511 * (5) Record the information of upping tx rate to avoid trying upping tx rate constantly.
512 * 512 *
513 */ 513 */
@@ -528,7 +528,7 @@ void StaRateAdaptive87SE(struct net_device *dev)
528 if (priv->bTryuping == true) { 528 if (priv->bTryuping == true) {
529 /* 2 For Test Upgrading mechanism 529 /* 2 For Test Upgrading mechanism
530 * Note: 530 * Note:
531 * Sometimes the throughput is upon on the capability bwtween the AP and NIC, 531 * Sometimes the throughput is upon on the capability between the AP and NIC,
532 * thus the low data rate does not improve the performance. 532 * thus the low data rate does not improve the performance.
533 * We randomly upgrade the data rate and check if the retry rate is improved. 533 * We randomly upgrade the data rate and check if the retry rate is improved.
534 */ 534 */
@@ -704,7 +704,7 @@ void StaRateAdaptive87SE(struct net_device *dev)
704 704
705 /* 705 /*
706 * The difference in throughput between 48Mbps and 36Mbps is 8M. 706 * The difference in throughput between 48Mbps and 36Mbps is 8M.
707 * So, we must be carefully in this rate scale. Isaiah 2008-02-15. 707 * So, we must be careful in this rate scale. Isaiah 2008-02-15.
708 */ 708 */
709 if (((priv->CurrentOperaRate == 72) || (priv->CurrentOperaRate == 48) || (priv->CurrentOperaRate == 36)) && 709 if (((priv->CurrentOperaRate == 72) || (priv->CurrentOperaRate == 48) || (priv->CurrentOperaRate == 36)) &&
710 (priv->FailTxRateCount > 2)) 710 (priv->FailTxRateCount > 2))
@@ -1009,7 +1009,7 @@ void SwAntennaDiversity(struct net_device *dev)
1009 if (priv->AdCheckPeriod > priv->AdMaxCheckPeriod) 1009 if (priv->AdCheckPeriod > priv->AdMaxCheckPeriod)
1010 priv->AdCheckPeriod = priv->AdMaxCheckPeriod; 1010 priv->AdCheckPeriod = priv->AdMaxCheckPeriod;
1011 1011
1012 /* Wrong deceision => switch back. */ 1012 /* Wrong decision => switch back. */
1013 SwitchAntenna(dev); 1013 SwitchAntenna(dev);
1014 } else { 1014 } else {
1015 /* Rx Signal Strength is improved. */ 1015 /* Rx Signal Strength is improved. */
@@ -1057,7 +1057,7 @@ void SwAntennaDiversity(struct net_device *dev)
1057 } 1057 }
1058 /* 1058 /*
1059 * <Roger_Notes> We evaluate Rx signal strength ONLY when default antenna 1059 * <Roger_Notes> We evaluate Rx signal strength ONLY when default antenna
1060 * didn't changed by HW evaluation. 1060 * didn't change by HW evaluation.
1061 * 2008.02.27. 1061 * 2008.02.27.
1062 * 1062 *
1063 * [TRC Dell Lab] SignalStrength is inaccuracy. Isaiah 2008-03-05 1063 * [TRC Dell Lab] SignalStrength is inaccuracy. Isaiah 2008-03-05
@@ -1098,7 +1098,7 @@ void SwAntennaDiversity(struct net_device *dev)
1098 priv->AdAuxAntennaRxOkCnt = 0; 1098 priv->AdAuxAntennaRxOkCnt = 0;
1099} 1099}
1100 1100
1101 /* Return TRUE if we shall perform Tx Power Tracking Mecahnism, FALSE otherwise. */ 1101 /* Return TRUE if we shall perform Tx Power Tracking Mechanism, FALSE otherwise. */
1102bool CheckTxPwrTracking(struct net_device *dev) 1102bool CheckTxPwrTracking(struct net_device *dev)
1103{ 1103{
1104 struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv(dev); 1104 struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv(dev);