aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-04 06:18:10 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-09 16:05:48 -0500
commit6096de7fd4eeda305e114e7d74e6f47404590425 (patch)
treed1593ce73555299a8b209840f2db7437b9c94cc4 /include/net/mac80211.h
parentd0ce1855eab098c6257f1321b02b70f916064aaa (diff)
mac80211: add helper to free TX skb
Drivers that need to drop a frame before it can be transmitted will usually simply free that frame. This is currently fine, but in the future it'll be needed to tell mac80211 about this case, so add a new routine that frees a TX skb. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index eddf49202c50..b9b9c9452131 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1309,6 +1309,16 @@ ieee80211_get_alt_retry_rate(const struct ieee80211_hw *hw,
1309} 1309}
1310 1310
1311/** 1311/**
1312 * ieee80211_free_txskb - free TX skb
1313 * @hw: the hardware
1314 * @skb: the skb
1315 *
1316 * Free a transmit skb. Use this funtion when some failure
1317 * to transmit happened and thus status cannot be reported.
1318 */
1319void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb);
1320
1321/**
1312 * DOC: Hardware crypto acceleration 1322 * DOC: Hardware crypto acceleration
1313 * 1323 *
1314 * mac80211 is capable of taking advantage of many hardware 1324 * mac80211 is capable of taking advantage of many hardware