mac80211: add ieee80211_tx_prepare_skb() helper function
authorFelix Fietkau <nbd@openwrt.org>
Mon, 14 Oct 2013 16:01:00 +0000 (18:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Oct 2013 14:05:27 +0000 (15:05 +0100)
commit06be6b149f7e406bcf16098567f5a6c9f042bced
tree997b993af20474b9e3fd78ffb62a6fbd1c6bfbd4
parent034c6d6e675f84ef5e67445150522b2517d963c9
mac80211: add ieee80211_tx_prepare_skb() helper function

This can be used by a driver to prepare skbs for transmission, which were
obtained via functions such as ieee80211_probereq_get or
ieee80211_nullfunc_get.

This is useful for drivers that want to send those frames directly, but
need rate control information to be prepared first.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/tx.c