• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/common/

Lines Matching defs:CurrRateIdx

1845 	u8 UpRateIdx = 0, DownRateIdx = 0, CurrRateIdx;
1974 CurrRateIdx = pEntry->CurrTxRateIndex;
1979 if (CurrRateIdx >= TableSize) {
1980 CurrRateIdx = TableSize - 1;
1985 (struct rt_rtmp_tx_rate_switch *) & pTable[(CurrRateIdx + 1) * 5];
2003 if ((CurrRateIdx > 0) && (CurrRateIdx < (TableSize - 1))) {
2004 UpRateIdx = CurrRateIdx + 1;
2005 DownRateIdx = CurrRateIdx - 1;
2006 } else if (CurrRateIdx == 0) {
2007 UpRateIdx = CurrRateIdx + 1;
2008 DownRateIdx = CurrRateIdx;
2009 } else if (CurrRateIdx == (TableSize - 1)) {
2010 UpRateIdx = CurrRateIdx;
2011 DownRateIdx = CurrRateIdx - 1;
2015 (struct rt_rtmp_tx_rate_switch *) & pTable[(CurrRateIdx + 1) * 5];
2230 pEntry->TxQuality[CurrRateIdx] =
2237 if (pEntry->TxQuality[CurrRateIdx])
2238 pEntry->TxQuality[CurrRateIdx]--; /* quality very good in CurrRate */
2246 pEntry->PER[CurrRateIdx] = (u8)TxErrorRatio;
2250 if ((CurrRateIdx != DownRateIdx)
2251 && (pEntry->TxQuality[CurrRateIdx] >=
2254 } else if ((CurrRateIdx != UpRateIdx)
2263 if (pEntry->CurrTxRateIndex > CurrRateIdx) {
2288 else if (pEntry->CurrTxRateIndex < CurrRateIdx) {
2368 u8 UpRateIdx = 0, DownRateIdx = 0, CurrRateIdx = 0;
2406 CurrRateIdx = pAd->CommonCfg.TxRateIndex;
2412 if ((CurrRateIdx > 0) && (CurrRateIdx < (TableSize - 1))) {
2413 UpRateIdx = CurrRateIdx + 1;
2414 DownRateIdx = CurrRateIdx - 1;
2415 } else if (CurrRateIdx == 0) {
2416 UpRateIdx = CurrRateIdx + 1;
2417 DownRateIdx = CurrRateIdx;
2418 } else if (CurrRateIdx == (TableSize - 1)) {
2419 UpRateIdx = CurrRateIdx;
2420 DownRateIdx = CurrRateIdx - 1;
2424 (struct rt_rtmp_tx_rate_switch *) & pTable[(CurrRateIdx + 1) * 5];
2490 && (CurrRateIdx != DownRateIdx)) {
2492 pAd->DrsCounters.TxQuality[CurrRateIdx] =
2496 2) && (CurrRateIdx != UpRateIdx)) {
2515 pAd->DrsCounters.TxQuality[CurrRateIdx] =
2519 pAd->DrsCounters.PER[CurrRateIdx] =
2526 && (CurrRateIdx != DownRateIdx)) {
2532 TxQuality[CurrRateIdx] =
2539 2) && (CurrRateIdx != UpRateIdx)) {
2551 if (pAd->CommonCfg.TxRateIndex > CurrRateIdx) {
2562 else if (pAd->CommonCfg.TxRateIndex < CurrRateIdx) {
2565 CurrRateIdx, pAd->CommonCfg.TxRateIndex));