]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: Add define for TX headroom reserved by mac80211 itself.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sun, 10 Oct 2010 18:25:33 +0000 (19:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:55:22 +0000 (15:55 -0700)
commit2b5f7f94872ef2ed281783017e1a6ac787b8c107
treec4b62532a8d4526168b97660f31b3a14cb53b3d2
parent5e93019e4a06ade55e91010371ee22a218190567
mac80211: Add define for TX headroom reserved by mac80211 itself.

commit d24deb2580823ab0b8425790c6f5d18e2ff749d8 upstream.

Add a definition of the amount of TX headroom reserved by mac80211 itself
for its own purposes. Also add BUILD_BUG_ON to validate the value.
This define can then be used by drivers to request additional TX headroom
in the most efficient manner.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
[bwh: Adjust context for 2.6.32]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/net/mac80211.h
net/mac80211/main.c