]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: clarify alignment docs, fix up alignment
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 6 Jan 2009 23:26:10 +0000 (00:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:54 +0000 (15:59 -0500)
commitfe92f7ae0e187e3881e90b0d9102be99c4bce6e3
tree9ddce7f3169bd77adbeba2d4627ec46ecde9a33e
parent864eed038c60a6721e493c675f5fb9ad3cc284b8
mac80211: clarify alignment docs, fix up alignment

Not all drivers are capable of passing properly aligned frames,
in particular with mesh networking no hardware will support
completely aligning it correctly.

This patch adds code to align the data payload to a 4-byte
boundary in memory for those platforms that require this, or
when CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is set.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Documentation/DocBook/mac80211.tmpl
net/mac80211/rx.c