提交 7e514725 编写于 作者: B Bartlomiej Zolnierkiewicz 提交者: Greg Kroah-Hartman

Staging: rt28x0: MlmeCheckPsmChange() fix

Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 598dc0e3
......@@ -2766,7 +2766,6 @@ 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
......@@ -2774,7 +2773,6 @@ VOID MlmeCheckPsmChange(
(pAd->RalinkCounters.OneSecRxOkDataCnt < (ULONG)100)) ||
((pAd->StaCfg.HTPhyMode.field.MCS > 3) &&
(pAd->RalinkCounters.OneSecRxOkDataCnt < (ULONG)400)))
#endif
{
// Get this time
NdisGetSystemUpTime(&pAd->Mlme.LastSendNULLpsmTime);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册