Files
linux/drivers
Johannes Stezenbach 0e0d39e5f3 rt2800usb: read TX_STA_FIFO asynchronously
Trying to fix the "TX status report missed" warnings
by reading the TX_STA_FIFO entries as quickly as possible.
The TX_STA_FIFO is too small in hardware, thus reading
it only from the workqueue is too slow and entries get lost.

Start an asynchronous read of the TX_STA_FIFO directly from
the TX URB completion callback (atomic context, thus it cannot
use the blocking rt2800_register_read()). If the async
read returns a valid FIFO entry, it is pushed into a larger
FIFO inside struct rt2x00_dev, until rt2800_txdone() picks
it up.

A .tx_dma_done callback is added to struct rt2x00lib_ops
to trigger the async read from the URB completion callback.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-19 15:39:27 -04:00
..
…
2011-03-28 07:42:58 -07:00
…
…
2011-03-29 18:19:06 +02:00
…
2011-03-29 14:50:42 +02:00
2011-03-22 17:43:59 -07:00
…
…
2011-03-22 17:43:59 -07:00
…
…
2011-03-23 14:55:56 -06:00
2011-03-29 14:48:08 +02:00
2011-03-22 17:44:17 -07:00
…
…
…
2011-03-29 14:48:13 +02:00
…
2011-04-04 16:20:07 -04:00
…
…
…
2011-03-28 19:33:04 +02:00
2011-03-29 10:01:05 -04:00
…
…