aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee80211-radiotap-defs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-06-17 19:08:13 -0700
committerGuy Harris <guy@alum.mit.edu>2015-06-18 02:08:38 +0000
commitac96b2cebde5de03172dae89581d7980a776d9f4 (patch)
tree32901ef61e16fa56cd76ab6ad7aecbaf876f3cda /epan/dissectors/packet-ieee80211-radiotap-defs.h
parentd3c7d6ed41daee116249b1a2737714060e19dfe2 (diff)
The STBC subfield of the radiotap MCS field is a count, not a flag.
It's a 2-bit field that is the "number of STBC streams", according to the radiotap Web site item for the MCS field: http://www.radiotap.org/defined-fields/MCS Correctly label both the FCS type and STBC stream count fields. Change-Id: Ic49f6faec3335096c6bb8ce96ce0dec2f9342a37 Reviewed-on: https://code.wireshark.org/review/8971 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ieee80211-radiotap-defs.h')
-rw-r--r--epan/dissectors/packet-ieee80211-radiotap-defs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee80211-radiotap-defs.h b/epan/dissectors/packet-ieee80211-radiotap-defs.h
index fb82b20745..5777e63dae 100644
--- a/epan/dissectors/packet-ieee80211-radiotap-defs.h
+++ b/epan/dissectors/packet-ieee80211-radiotap-defs.h
@@ -275,8 +275,12 @@ enum ieee80211_radiotap_type {
#define IEEE80211_RADIOTAP_MCS_SGI 0x04
#define IEEE80211_RADIOTAP_MCS_FMT_GF 0x08
#define IEEE80211_RADIOTAP_MCS_FEC_LDPC 0x10
-#define IEEE80211_RADIOTAP_MCS_STBC 0x20
+#define IEEE80211_RADIOTAP_MCS_STBC_MASK 0x60
+#define IEEE80211_RADIOTAP_MCS_STBC_1 1
+#define IEEE80211_RADIOTAP_MCS_STBC_2 2
+#define IEEE80211_RADIOTAP_MCS_STBC_3 3
+#define IEEE80211_RADIOTAP_MCS_STBC_SHIFT 5
/* For IEEE80211_RADIOTAP_AMPDU_STATUS */
#define IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN 0x0001