summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2008-07-30 15:19:55 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 20:29:50 (GMT)
commitb4f28bbb9bf0b2c829ecf97ce2173f204fde4f10 (patch)
tree1ae74cd00a46086f7e5f31d140bf75b8793507ef /net/mac80211
parent63266a653589e1a237527479f10212ea77ce7844 (diff)
downloadlinux-b4f28bbb9bf0b2c829ecf97ce2173f204fde4f10.tar.xz
mac80211: add rx status flag for short preamble
and use it for the radiotap header Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/rx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 6db8545..ad47a61 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -143,6 +143,8 @@ ieee80211_add_rx_radiotap_header(struct ieee80211_local *local,
/* IEEE80211_RADIOTAP_FLAGS */
if (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS)
*pos |= IEEE80211_RADIOTAP_F_FCS;
+ if (status->flag & RX_FLAG_SHORTPRE)
+ *pos |= IEEE80211_RADIOTAP_F_SHORTPRE;
pos++;
/* IEEE80211_RADIOTAP_RATE */