mac80211: Add define for TX headroom reserved by mac80211 itself.
authorGertjan van Wingerde <gwingerde@gmail.com>
Fri, 4 Dec 2009 22:46:54 +0000 (23:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Dec 2009 19:22:31 +0000 (14:22 -0500)
commitd24deb2580823ab0b8425790c6f5d18e2ff749d8
treee19fa93ccf306ea54508492a141721a1e4cc3a30
parentb2ec153a637409bd87952d44409905b7d98418b8
mac80211: Add define for TX headroom reserved by mac80211 itself.

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>
include/net/mac80211.h
net/mac80211/main.c