summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2008-07-30 17:19:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 16:29:50 -0400
commitb4f28bbb9bf0b2c829ecf97ce2173f204fde4f10 (patch)
tree1ae74cd00a46086f7e5f31d140bf75b8793507ef /net/mac80211/rx.c
parent63266a653589e1a237527479f10212ea77ce7844 (diff)
downloadlinux-b4f28bbb9bf0b2c829ecf97ce2173f204fde4f10.tar.gz
linux-b4f28bbb9bf0b2c829ecf97ce2173f204fde4f10.tar.bz2
linux-b4f28bbb9bf0b2c829ecf97ce2173f204fde4f10.zip
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/rx.c')
-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 6db854505193..ad47a614a202 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 */