summaryrefslogtreecommitdiff
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-10-11 16:08:54 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 18:48:14 (GMT)
commita2fe81667410723d941a688e1958a49d67ca3346 (patch)
tree4330d321d7a62f50f5ec7e7f14e4f258b721e7a7 /include/net/mac80211.h
parent7bd9897e1a07d97e6297f38f741e2d1851e243b8 (diff)
downloadlinux-fsl-qoriq-a2fe81667410723d941a688e1958a49d67ca3346.tar.xz
mac80211: Build TX radiotap header dynamically
Get rid of the ieee80211_tx_status_rtap_hdr struct and instead build the rtap header dynamically. This makes it easier to extend the rtap header generation in the future. Add ieee80211_tx_radiotap_len to calculate the expected size of the rtap header before generating it. Since we can't check if the rtap header fits into the requested headroom during compile time anymore add a WARN_ON_ONCE. Also move the actual rtap header generation into its own function. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
0 files changed, 0 insertions, 0 deletions