[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    rt2x00: Don't count retries as failure
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2008-05-30 15:00:17
Message-ID: 200805301500.m4UF0H8t027081 () hera ! kernel ! org
[Download RAW message or body]

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2088d4174e4292aef892bb7095fc3c3ea5bd117c
Commit:     2088d4174e4292aef892bb7095fc3c3ea5bd117c
Parent:     0f3e63a55b1a7b695a79bf3eec2ff5ab6b336037
Author:     Ivo van Doorn <ivdoorn@gmail.com>
AuthorDate: Fri May 23 18:13:49 2008 +0200
Committer:  John W. Linville <linville@tuxdriver.com>
CommitDate: Wed May 28 16:43:44 2008 -0400

    rt2x00: Don't count retries as failure
    
    Link quality estimation became quite low for all rt2x00 drivers
    because the number of retries it took to send the frame were
    counted as failure.
    This does not correspond to the legacy driver link quality calculation,
    by not counting it we will send somewhat more optimistic values to
    mac80211.
    
    Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
 drivers/net/wireless/rt2x00/rt2x00dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index b22c027..e0767f0 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -507,7 +507,7 @@ void rt2x00lib_txdone(struct queue_entry *entry,
 	 * Update TX statistics.
 	 */
 	rt2x00dev->link.qual.tx_success += success;
-	rt2x00dev->link.qual.tx_failed += txdesc->retry + fail;
+	rt2x00dev->link.qual.tx_failed += fail;
 
 	/*
 	 * Initialize TX status
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic