r128 - unstable/rt2500/debian/patches
benh at alioth.debian.org
benh at alioth.debian.org
Sun Jun 22 23:46:52 UTC 2008
Author: benh
Date: 2008-06-22 23:46:52 +0000 (Sun, 22 Jun 2008)
New Revision: 128
Modified:
unstable/rt2500/debian/patches/005_fix_error_rate_vars.diff
Log:
Refreshed for new snapshot.
Modified: unstable/rt2500/debian/patches/005_fix_error_rate_vars.diff
===================================================================
--- unstable/rt2500/debian/patches/005_fix_error_rate_vars.diff 2008-06-22 23:46:17 UTC (rev 127)
+++ unstable/rt2500/debian/patches/005_fix_error_rate_vars.diff 2008-06-22 23:46:52 UTC (rev 128)
@@ -1,6 +1,6 @@
--- rt2500.orig/Module/mlme.c
+++ rt2500/Module/mlme.c
-@@ -901,7 +901,6 @@
+@@ -897,7 +897,6 @@
{
ULONG TxFailCnt, TxOkCnt, TxRetryCnt, TxCnt;
ULONG RxFailCnt, RxOkCnt, RxCnt, Cnt0, OldFcsCount;
@@ -8,7 +8,7 @@
//
// monitor TX counters change for the past period
-@@ -914,12 +913,6 @@
+@@ -910,12 +909,6 @@
pAd->Mlme.PrevWlanCounters.TransmittedFragmentCount.vv.LowPart;
TxCnt = TxOkCnt + TxFailCnt;
@@ -21,16 +21,16 @@
//
// calculate RX PER
//
-@@ -943,8 +936,6 @@
+@@ -939,8 +932,6 @@
pAd->Mlme.PrevWlanCounters.FCSErrorCount.vv.LowPart;
RxCnt = RxOkCnt + RxFailCnt;
- if (RxCnt > 5)
- RxPER = (RxFailCnt * 100) / RxCnt;
- //printk("!! WiFi: Ok: %d, Fail: %d, PER: %d\n", RxOkCnt, RxFailCnt, RxPER);
+ //KPRINT(KERN_INFO,"!! WiFi: Ok: %d, Fail: %d, PER: %d\n", RxOkCnt, RxFailCnt, RxPER);
//
// decide ChannelQuality based on: 1)last BEACON received time, 2)last RSSI, 3)TxPER, and 4)RxPER
-@@ -966,8 +957,11 @@
+@@ -962,8 +953,11 @@
LinkDown(pAd);
}
}
More information about the Pkg-ralink-commits
mailing list