linux/drivers/net/wireless/rt2x00
Helmut Schaa 3d2bc1036a rt2x00: Fix tx status reporting when falling back to the lowest rate
In some corner cases the reported tx rates/retries didn't match the really
used ones.

The hardware lowers the tx rate on each consecutive retry by 1 (but won't
fall back from MCS to legacy rates) _until_ it reaches the lowest one.

In case the frame wasn't sent succesful the number of retries is 7 and if
a rate index <7 was used the previous code reported negative rate indexes
which were then ignored by the rate control algorithm and mac80211.

Instead, report the remaining number of retries to have happened with
the lowest rate (index 0). This should give the rate control algorithm
slightly more accurate information about the used tx rates/retries.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-15 16:00:50 -04:00
..
Kconfig
Makefile
rt2x00.h rt2x00: Introduce separate interface type for PCI-express. 2010-06-03 10:52:00 +02:00
rt2x00config.c rt2x00: Fix HT40 operation in rt2800. 2010-06-03 10:52:08 +02:00
rt2x00crypto.c
rt2x00debug.c rt2x00: Move rt2x00debug_dump_frame declaration to rt2x00.h. 2010-06-02 16:12:52 -04:00
rt2x00debug.h
rt2x00dev.c rt2x00: Fix tx status reporting when falling back to the lowest rate 2010-06-15 16:00:50 -04:00
rt2x00dump.h rt2x00: Move rt2x00debug_dump_frame declaration to rt2x00.h. 2010-06-02 16:12:52 -04:00
rt2x00firmware.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
rt2x00ht.c rt2x00: fix use of mcs rates 2010-06-03 10:52:15 +02:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Fix HT40 operation in rt2800. 2010-06-03 10:52:08 +02:00
rt2x00link.c
rt2x00mac.c
rt2x00pci.c rt2x00: Introduce separate interface type for PCI-express. 2010-06-03 10:52:00 +02:00
rt2x00pci.h rt2x00: Properly reserve room for descriptors in skbs. 2010-06-03 10:51:45 +02:00
rt2x00queue.c rt2x00: Fix IEEE80211_TX_CTL_MORE_FRAMES handling 2010-06-15 16:00:49 -04:00
rt2x00queue.h rt2x00: clarify meaning of txdone flags 2010-06-15 16:00:49 -04:00
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00: Clean up USB vendor request buffer functions. 2010-06-03 10:51:51 +02:00
rt2x00usb.h rt2x00: Clean up USB vendor request buffer functions. 2010-06-03 10:51:51 +02:00
rt61pci.c rt2x00: Properly reserve room for descriptors in skbs. 2010-06-03 10:51:45 +02:00
rt61pci.h
rt73usb.c rt2x00: Clean up USB vendor request buffer functions. 2010-06-03 10:51:51 +02:00
rt73usb.h
rt2400pci.c rt2x00: Properly reserve room for descriptors in skbs. 2010-06-03 10:51:45 +02:00
rt2400pci.h
rt2500pci.c rt2x00: Properly reserve room for descriptors in skbs. 2010-06-03 10:51:45 +02:00
rt2500pci.h
rt2500usb.c rt2x00: Clean up USB vendor request buffer functions. 2010-06-03 10:51:51 +02:00
rt2500usb.h
rt2800.h rt2x00: Add comment about BBP1_TX_POWER 2010-06-15 16:00:50 -04:00
rt2800lib.c rt2x00: provide mac80211 a suitable max_rates value 2010-06-15 16:00:50 -04:00
rt2800lib.h rt2x00: Move PCI/USB specific register initializations to rt2800{pci,usb}. 2010-06-03 10:52:04 +02:00
rt2800pci.c rt2x00: Fix TX_STA_FIFO handling 2010-06-15 16:00:50 -04:00
rt2800pci.h rt2x00: Move all register definitions for rt2800 to rt2800.h. 2010-06-03 10:51:59 +02:00
rt2800usb.c rt2x00: Sync rt2800 MCU boot signal with Ralink driver. 2010-06-03 10:52:06 +02:00
rt2800usb.h rt2x00: Move all register definitions for rt2800 to rt2800.h. 2010-06-03 10:51:59 +02:00