Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162460
b: refs/heads/master
c: 7e51472
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent fc7b196 commit dcdee78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 598dc0e39b6267968f5a02d122295981e176ee2b
refs/heads/master: 7e514725c8fe3128dee131a8d4ee23545c3e8c1f
2 changes: 0 additions & 2 deletions trunk/drivers/staging/rt2860/common/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -2766,15 +2766,13 @@ VOID MlmeCheckPsmChange(
(pAd->Mlme.CntlMachine.CurrState == CNTL_IDLE))
#endif
{
#ifdef RT30xx
// add by johnli, use Rx OK data count per second to calculate throughput
// If Ttraffic is too high ( > 400 Rx per second), don't go to sleep mode. If tx rate is low, use low criteria
// Mode=CCK/MCS=3 => 11 Mbps, Mode=OFDM/MCS=3 => 18 Mbps
if (((pAd->StaCfg.HTPhyMode.field.MCS <= 3) &&
(pAd->RalinkCounters.OneSecRxOkDataCnt < (ULONG)100)) ||
((pAd->StaCfg.HTPhyMode.field.MCS > 3) &&
(pAd->RalinkCounters.OneSecRxOkDataCnt < (ULONG)400)))
#endif
{
// Get this time
NdisGetSystemUpTime(&pAd->Mlme.LastSendNULLpsmTime);
Expand Down

0 comments on commit dcdee78

Please sign in to comment.