linux/drivers/net/wireless/rt2x00
Gertjan van Wingerde 2e331462fc rt2x00: Reorganize L2 padding inserting function.
Simplify the rt2x00queue_insert_l2pad function by handling the alignment
operations one by one. Do not special case special circumstances.
Basically first perform header alignment, and then perform payload alignment
(if any payload does exist). This results in a properly aligned skb.

The end result is better readable code, with better results, as now L2 padding
is inserted only when a payload is actually present in the frame.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <ivdoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-12-21 18:56:34 -05:00
..
Kconfig rt2800: add rt2800lib (part one) 2009-11-06 16:48:58 -05:00
Makefile rt2800: add rt2800lib (part one) 2009-11-06 16:48:58 -05:00
rt2x00.h rt2x00: Further L2 padding fixes. 2009-12-21 18:56:30 -05:00
rt2x00config.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00crypto.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00debug.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-18 22:19:03 -08:00
rt2x00debug.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00dev.c rt2x00 : trim the skb after having the l2pad removed. 2009-12-21 18:56:29 -05:00
rt2x00dump.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00firmware.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00ht.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00leds.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00leds.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00lib.h mac80211: request TX status where needed 2009-11-19 11:08:56 -05:00
rt2x00link.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00mac.c rt2x00: Remove unused variable frame_control from rt2x00mac_tx. 2009-11-28 15:04:34 -05:00
rt2x00pci.c rt2x00 : bail out of regbusy_read if device is removed. 2009-12-21 18:56:23 -05:00
rt2x00pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00queue.c rt2x00: Reorganize L2 padding inserting function. 2009-12-21 18:56:34 -05:00
rt2x00queue.h rt2x00: Remove SKBDESC_L2_PADDED flag. 2009-12-21 18:56:32 -05:00
rt2x00reg.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00soc.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00soc.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00usb.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt61pci.c rt2x00: Centralize setting of extra TX headroom requested by rt2x00. 2009-11-28 15:04:38 -05:00
rt61pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt73usb.c rt73usb: add WLI-U2-H54HP 2009-12-21 18:56:21 -05:00
rt73usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2400pci.c rt2x00: Centralize setting of extra TX headroom requested by rt2x00. 2009-11-28 15:04:38 -05:00
rt2400pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2500pci.c rt2x00: Centralize setting of extra TX headroom requested by rt2x00. 2009-11-28 15:04:38 -05:00
rt2500pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2500usb.c rt2x00: Centralize setting of extra TX headroom requested by rt2x00. 2009-11-28 15:04:38 -05:00
rt2500usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800lib.c rt2x00: Centralize setting of extra TX headroom requested by rt2x00. 2009-11-28 15:04:38 -05:00
rt2800lib.h rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800pci.c rt2x00: Remove SKBDESC_L2_PADDED flag. 2009-12-21 18:56:32 -05:00
rt2800pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800usb.c rt2x00: Remove SKBDESC_L2_PADDED flag. 2009-12-21 18:56:32 -05:00
rt2800usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00