]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Implement TX status reporting for rt2800usb
authorIvo van Doorn <ivdoorn@gmail.com>
Fri, 6 Aug 2010 18:47:57 +0000 (20:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:26:42 +0000 (15:26 -0400)
commit6b0ab132e0c6d85c116ec2a78c0a78a96cffb0d4
tree710709b3d4101a81f396d67054ce151573ada9ca
parent16fa6c8ceb9f4506dba020c0fcf1efb5618a972c
rt2x00: Implement TX status reporting for rt2800usb

The TX_STA_FIFO register which is used for per-frame TX frame
status reporting is also valid on rt2800usb. We can move the
rt2800pci_txdone function into rt2800lib where it can also
be used by rt2800usb.

rt2800usb needs to overwrite the txdone work handler to
a different function.

Both rt2800usb as rt2800_txdone need to take into account
that IO failures can occur while uploading the URB, which
means that when obtaining the new entry the IO status must
be checked.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2800lib.h
drivers/net/wireless/rt2x00/rt2800pci.c
drivers/net/wireless/rt2x00/rt2800usb.c