]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
rt2800usb: add timer to handle TX_STA_FIFO
authorJohannes Stezenbach <js@sig21.net>
Mon, 18 Apr 2011 13:30:36 +0000 (15:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:39:35 +0000 (15:39 -0400)
commitf0187a1987ed6524518ff2a533eaf8394ac1a500
tree0a7afe2f25e10c3be912103afb6bec7586868d94
parent6e6d6932a3f525d734f6c2f5845e9cadfaeddce9
rt2800usb: add timer to handle TX_STA_FIFO

TX status is reported by the hardware when a packet has been
sent (or after TX failed after possible retries), which is some
time after the DMA completion.  Since the rt2800usb hardware can
not signal interrupts we have to use a timer, otherwise the
TX status would only be read by the next packet's TX DMA
completion, or by the watchdog thread.

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>
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00usb.c