linux/drivers/net/wireless/rt2x00
Helmut Schaa 3afa626a05 rt2x00: Fix TX_STA_FIFO handling
Currently rt2800pci will read TX_STA_FIFO until the previously read value
matches the current value. However, it is obvious that TX_STA_FIFO only
contains values that can easily be the same for multiple consecutive frames
(especially when communicating with only one other STA). Hence, we often
ended up with reading only the first entry and ignoring the rest.

One result was that when the TX_STA_FIFO contained multiple entires, only
the first one was read and properly handled while the others remained in the
tx queue.

Thus, drop this check but introduce a maximum number of reads. All legacy
drivers use the size of the tx ring as limit but state that the TX_STA_FIFO
has only 16 entries. So, let's just stick with the tx ring size for now.

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 rt2x00: Enable RT30xx by default. 2010-05-04 13:24:23 -04:00
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 rt2x00: Fix setting of txdesc->length field. 2010-05-10 14:56:47 -04:00
rt2x00debug.c rt2x00: Move rt2x00debug_dump_frame declaration to rt2x00.h. 2010-06-02 16:12:52 -04:00
rt2x00debug.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00dev.c rt2x00: don't use TXDONE_FALLBACK as success indicator 2010-06-15 16:00:49 -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 rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00leds.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00lib.h rt2x00: Fix HT40 operation in rt2800. 2010-06-03 10:52:08 +02:00
rt2x00link.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00mac.c rt2x00: remove get_tx_stats() mac80211 op 2010-02-08 16:51:01 -05:00
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 rt2x00: rt2800: use correct txop value in tx descriptor 2010-05-07 14:57:21 -04:00
rt2x00soc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
rt2x00soc.h rt2x00: remove KSEG1ADDR define from rt2x00soc.h 2010-03-10 16:16:53 -05:00
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 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt73usb.c rt2x00: Clean up USB vendor request buffer functions. 2010-06-03 10:51:51 +02:00
rt73usb.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2400pci.c rt2x00: Properly reserve room for descriptors in skbs. 2010-06-03 10:51:45 +02:00
rt2400pci.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2500pci.c rt2x00: Properly reserve room for descriptors in skbs. 2010-06-03 10:51:45 +02:00
rt2500pci.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2500usb.c rt2x00: Clean up USB vendor request buffer functions. 2010-06-03 10:51:51 +02:00
rt2500usb.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
rt2800.h rt2x00: Add comment about BBP1_TX_POWER 2010-06-15 16:00:50 -04:00
rt2800lib.c rt2x00: Remove suspicious register write 2010-06-03 10:52:17 +02: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