From: Alban Browaeys Date: Sun, 28 Feb 2010 16:14:40 +0000 (+0100) Subject: rt2x00: Fix TX status reporting for rt2800pci. X-Git-Tag: v2.6.35-rc1~473^2~714^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf18723d50206a0b485e438f14c22faf91a3908f;p=pandora-kernel.git rt2x00: Fix TX status reporting for rt2800pci. After testing, we found that TX_STA_FIFO_MCS is the last MCS value tried. If the transmission failed, 8 frames have been transmitted. If the transmission succeed, we can easily compute the number of retry. This patch fix the way status is reported to mac80211 rate control. It has 2 bugs : 1. mcs can contain the short preamble flag and it will lead to wrong computations. 2. minstrel nearly always say that 54 Mbits is the best rate, even if we are very far from the AP Signed-off-by: Benoit Papillault Signed-off-by: Alban Browaeys Acked-by: Ivo van Doorn Signed-off-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed