summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-10-11 18:08:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 14:48:14 -0400
commit7f2a5e214d3f8daf1e9a5ad021c74528f970e673 (patch)
treeb71cbcdae3d7226e771b44576f2ca49ac85c3b97 /include/net
parenta2fe81667410723d941a688e1958a49d67ca3346 (diff)
downloadop-kernel-dev-7f2a5e214d3f8daf1e9a5ad021c74528f970e673.zip
op-kernel-dev-7f2a5e214d3f8daf1e9a5ad021c74528f970e673.tar.gz
mac80211: Populate radiotap header with MCS info for TX frames
mac80211 already filled in the MCS rate info for rx'ed frames but tx'ed frames that are sent to a monitor interface during the status callback lack this information. Add the radiotap fields for MCS info to ieee80211_tx_status_rtap_hdr and populate them when sending tx'ed frames to the monitors. The needed headroom is only extended by one byte since we don't include legacy rate information in the rtap header for HT frames. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 0213173..dc1123a 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2522,7 +2522,7 @@ static inline int ieee80211_sta_ps_transition_ni(struct ieee80211_sta *sta,
* The TX headroom reserved by mac80211 for its own tx_status functions.
* This is enough for the radiotap header.
*/
-#define IEEE80211_TX_STATUS_HEADROOM 13
+#define IEEE80211_TX_STATUS_HEADROOM 14
/**
* ieee80211_sta_set_buffered - inform mac80211 about driver-buffered frames
OpenPOWER on IntegriCloud