aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@gmail.com>2009-12-04 17:46:54 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-14 14:22:31 -0500
commitd24deb2580823ab0b8425790c6f5d18e2ff749d8 (patch)
treee19fa93ccf306ea54508492a141721a1e4cc3a30 /include
parentb2ec153a637409bd87952d44409905b7d98418b8 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 2aff4906b2ae..538d6b761887 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1737,6 +1737,12 @@ static inline void ieee80211_rx_ni(struct ieee80211_hw *hw,
1737 local_bh_enable(); 1737 local_bh_enable();
1738} 1738}
1739 1739
1740/*
1741 * The TX headroom reserved by mac80211 for its own tx_status functions.
1742 * This is enough for the radiotap header.
1743 */
1744#define IEEE80211_TX_STATUS_HEADROOM 13
1745
1740/** 1746/**
1741 * ieee80211_tx_status - transmit status callback 1747 * ieee80211_tx_status - transmit status callback
1742 * 1748 *