linux/drivers/net/wireless/rt2x00
Ivo van Doorn daee6c092a rt2x00: Reorganize padding & L2 padding
The old function rt2x00queue_payload_align() handled
both adding and removing L2 padding and some basic
frame alignment. The entire function was being abused
because it had multiple functions and the header length
argument was somtimes used to align the header instead
of the payload.

Additionally there was a bug when inserting L2 padding
that only the payload was aligned but not the header. This
happens when the header wasn't aligned properly by mac80211,
but rt2x00lib only moves the payload.

A secondary problem was that when removing L2 padding during
TXdone or RX the skb wasn't resized to the proper size.

Split the function into seperate functions each handling
its task as it should.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-31 14:42:14 -04:00
..
Kconfig rt2x00: move experimental on kconfig only to rt2800usb 2009-08-04 16:43:22 -04:00
Makefile rt2x00: use wiphy rfkill interface 2009-07-10 15:02:27 -04:00
rt2x00.h rt2x00: bss_info_changed() callback is allowed to sleep 2009-08-20 11:36:05 -04:00
rt2x00config.c rt2x00: Remove usage of deprecated radio_enabled & IEEE80211_CONF_CHANGE_RADIO_ENABLED 2009-08-14 09:13:51 -04:00
rt2x00crypto.c rt2x00: Reorganize padding & L2 padding 2009-08-31 14:42:14 -04:00
rt2x00debug.c
rt2x00debug.h
rt2x00dev.c rt2x00: Reorganize padding & L2 padding 2009-08-31 14:42:14 -04:00
rt2x00dump.h
rt2x00firmware.c
rt2x00ht.c
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Reorganize padding & L2 padding 2009-08-31 14:42:14 -04:00
rt2x00link.c rt2x00: Fix rounding errors in RSSI average calculation 2009-08-14 09:13:52 -04:00
rt2x00mac.c rt2x00: Cleanup rt2x00mac_bss_info_changed() 2009-08-28 14:40:53 -04:00
rt2x00pci.c
rt2x00pci.h
rt2x00queue.c rt2x00: Reorganize padding & L2 padding 2009-08-31 14:42:14 -04:00
rt2x00queue.h rt2x00: Add support for retry rates 2009-08-20 11:36:02 -04:00
rt2x00reg.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2x00usb.c
rt2x00usb.h
rt61pci.c rt2x00: Fix beacon de-synchronization while update beacon 2009-08-14 09:13:55 -04:00
rt61pci.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt73usb.c rt2x00: bss_info_changed() callback is allowed to sleep 2009-08-20 11:36:05 -04:00
rt73usb.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2400pci.c rt2x00: Fix beacon de-synchronization while update beacon 2009-08-14 09:13:55 -04:00
rt2400pci.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2500pci.c rt2x00: Fix beacon de-synchronization while update beacon 2009-08-14 09:13:55 -04:00
rt2500pci.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2500usb.c rt2x00: bss_info_changed() callback is allowed to sleep 2009-08-20 11:36:05 -04:00
rt2500usb.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2800usb.c rt2x00: bss_info_changed() callback is allowed to sleep 2009-08-20 11:36:05 -04:00
rt2800usb.h rt2x00: Add new RF chip defines 2009-08-20 11:36:00 -04:00