rt2x00: Add support for L2 padding during TX/RX
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 26 Apr 2009 14:08:50 +0000 (16:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:49 +0000 (15:14 -0400)
commit9f1661718c7fcf82e25c6aed20b729ee372d9d65
tree099a3305c948f306f46e2cf2f0d24a8ef069f011
parent9eb4e21e289beba9cfe34f24920eee83c144e62f
rt2x00: Add support for L2 padding during TX/RX

Some hardware require L2 padding between header and payload
because both must be aligned to a 4-byte boundary. This hardware
also is easier during the RX path since we no longer need to
move the entire payload but rather only the header to remove
the padding (mac80211 only wants the payload to be 4-byte aligned).

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00crypto.c
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00queue.c
drivers/net/wireless/rt2x00/rt2x00queue.h