linux/drivers/net/wireless/rt2x00
Gertjan van Wingerde a061a93b6e rt2x00: Ensure TX-ed frames are returned in the original state.
Recent changes to the TX-done code of rt2x00 resulted in TX-ed frames not
being returned to mac80211 in the original state, and therefore with
insufficient headroom for re-transmissions.

Fix this by reverting the changes done and by ensuring we remove the inserted
L2pad by moving the header backwards instead of the data forwards.

At the same time also make sure that the rt2x00queue_remove_l2pad will not
move any memory when a frame has no data at all.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Jay Hung <Jay_Hung@ralinktech.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-12-13 15:23:34 -05:00
..
Kconfig rt2x00: Remove unneccessary internal Kconfig symbols. 2010-11-17 16:18:51 -05:00
Makefile
rt2x00.h mac80211/rt2x00: add ieee80211_tx_status_ni() 2010-11-30 13:53:46 -05:00
rt2x00config.c rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt2x00crypto.c mac80211: use cipher suite selectors 2010-08-16 16:45:11 -04:00
rt2x00debug.c rt2x00: Rename queue->lock to queue->index_lock 2010-11-15 13:26:32 -05:00
rt2x00debug.h
rt2x00dev.c mac80211/rt2x00: add ieee80211_tx_status_ni() 2010-11-30 13:53:46 -05:00
rt2x00dump.h rt2x00: correct sparse warning in rt2x00debug.c 2010-07-20 16:49:41 -04:00
rt2x00firmware.c rt2x00: update fw version info in wiphy struct 2010-08-16 14:39:45 -04:00
rt2x00ht.c rt2x00: Improve cooperation between rt2800pci and minstrel 2010-10-05 13:35:29 -04:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt2x00link.c rt2x00: checkpatch.pl error fixes for rt2x00link.c 2010-11-15 13:26:28 -05:00
rt2x00mac.c rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt2x00pci.c rt2x00pci: do not use GFP_DMA 2010-11-15 13:24:39 -05:00
rt2x00pci.h rt2x00: Move common txdone handling to rt2x00lib_txdone. 2010-06-30 15:00:50 -04:00
rt2x00queue.c rt2x00: Ensure TX-ed frames are returned in the original state. 2010-12-13 15:23:34 -05:00
rt2x00queue.h rt2x00: Rename queue->lock to queue->index_lock 2010-11-15 13:26:32 -05:00
rt2x00reg.h rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt2x00soc.c rt2x00: Use ioremap for SoC devices instead of KSEG1ADDR. 2010-11-17 16:18:54 -05:00
rt2x00soc.h
rt2x00usb.c rt2x00: fix hang when unplugging USB device in use 2010-12-13 15:23:34 -05:00
rt2x00usb.h rt2x00: Simplify arguments to rt2x00 driver callback functions 2010-08-25 14:34:54 -04:00
rt61pci.c rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt61pci.h rt2x00: Fix comments in rt73usb.h and rt61pci.h 2010-11-15 13:26:09 -05:00
rt73usb.c rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt73usb.h rt2x00: Fix comments in rt73usb.h and rt61pci.h 2010-11-15 13:26:09 -05:00
rt2400pci.c rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt2400pci.h rt2x00: checkpatch.pl error fixes for rt2400pci.h 2010-11-15 13:26:13 -05:00
rt2500pci.c rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt2500pci.h rt2x00: checkpatch.pl error fixes for rt2500pci.h 2010-11-15 13:26:15 -05:00
rt2500usb.c rt2x00: Remove rt2x00lib_toggle_rx 2010-11-15 13:26:35 -05:00
rt2500usb.h
rt2800.h rt2x00: Add RF chip definition 2010-12-13 15:23:34 -05:00
rt2800lib.c rt2x00: Implement get_survey callback for rt2800 2010-12-13 15:23:34 -05:00
rt2800lib.h rt2x00: Implement get_survey callback for rt2800 2010-12-13 15:23:34 -05:00
rt2800pci.c rt2x00: Implement get_survey callback for rt2800 2010-12-13 15:23:34 -05:00
rt2800pci.h rt2x00: checkpatch.pl error fixes for rt2800pci.h 2010-11-15 13:26:20 -05:00
rt2800usb.c rt2x00: Implement get_survey callback for rt2800 2010-12-13 15:23:34 -05:00
rt2800usb.h rt2x00: checkpatch.pl error fixes for rt2800usb.h 2010-11-15 13:26:23 -05:00