Felix Fietkau f49e3a9acc mac80211: round IEEE80211_TX_STATUS_HEADROOM up to multiple of 4
[ Upstream commit 651b9920d7a694ffb1f885aef2bbb068a25d9d66 ]

This ensures that mac80211 allocated management frames are properly
aligned, which makes copying them more efficient.
For instance, mt76 uses iowrite32_copy to copy beacon frames to beacon
template memory on the chip.
Misaligned 32-bit accesses cause CPU exceptions on MIPS and should be
avoided.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:51:58 +02:00
..
2017-07-11 06:08:58 -04:00
2017-04-24 12:35:56 -04:00
2017-08-31 14:42:19 -07:00
2017-06-15 12:12:40 -04:00
2018-02-22 15:42:23 +01:00
2018-05-16 10:10:23 +02:00
2018-02-25 11:07:59 +01:00
2018-02-22 15:42:23 +01:00