android_kernel_xiaomi_sm8350/drivers/net/wireless/rt2x00
Ivo van Doorn fb55f4d1fa rt2x00: Fix TX status reporting
The tx_status enumeration was broken since the introduction
of rt61pci. That driver uses different values to report the
status of the tx action.
This would lead to frames that were reported as success but
actually failed to be send out, or frames that were neither
successfull or failure which were reported as failure.

Fix this by change the TX status reporting and more explicitely
check for failure or success. Note that a third possibility is
added "unknown". Not all hardware (USB) can report the actual
TX status, for rt61pci some frames will receive this status
because the TXdone handler is never called for those frames.
This unknown will now be handled as neither success or failure,
so we no longer increment the failure counter while this conclusion
could not be determined from the real status of the frame.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-05-21 21:47:30 -04:00
..
Kconfig rt2x00: Clarify supported chipsets in Kconfig 2008-05-07 15:02:27 -04:00
Makefile
rt2x00.h mac80211: QoS related cleanups 2008-05-07 15:02:26 -04:00
rt2x00config.c
rt2x00debug.c rt2x00: trim skb_frame_desc to 32 bytes 2008-05-21 21:47:30 -04:00
rt2x00debug.h
rt2x00dev.c rt2x00: Fix TX status reporting 2008-05-21 21:47:30 -04:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c rt2x00: Fix quality/activity led handling 2008-05-01 17:38:39 -04:00
rt2x00leds.h
rt2x00lib.h rt2x00: trim skb_frame_desc to 32 bytes 2008-05-21 21:47:30 -04:00
rt2x00mac.c mac80211: QoS related cleanups 2008-05-07 15:02:26 -04:00
rt2x00pci.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-05-15 00:34:44 -07:00
rt2x00pci.h rt2x00: Fix kernel-doc 2008-05-07 15:02:21 -04:00
rt2x00queue.c rt2x00: Use rt2x00 queue numbering 2008-05-07 15:02:21 -04:00
rt2x00queue.h rt2x00: Fix TX status reporting 2008-05-21 21:47:30 -04:00
rt2x00reg.h rt2x00: Fix TX status reporting 2008-05-21 21:47:30 -04:00
rt2x00rfkill.c
rt2x00usb.c rt2x00: Fix TX status reporting 2008-05-21 21:47:30 -04:00
rt2x00usb.h rt2x00: Fix kernel-doc 2008-05-07 15:02:21 -04:00
rt61pci.c rt2x00: Fix TX status reporting 2008-05-21 21:47:30 -04:00
rt61pci.h
rt73usb.c mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
rt73usb.h
rt2400pci.c rt2x00: Fix TX status reporting 2008-05-21 21:47:30 -04:00
rt2400pci.h
rt2500pci.c rt2x00: Fix TX status reporting 2008-05-21 21:47:30 -04:00
rt2500pci.h
rt2500usb.c mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
rt2500usb.h