aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-05 14:13:30 -0700
committerGuy Harris <guy@alum.mit.edu>2017-05-05 21:14:09 +0000
commitc6d7759081639c4389975d91f5e2c20399c460b6 (patch)
tree062dcb99e19b3b2123aaefe7282111e28ba97f84 /wiretap
parenta1478413bec9aa86630b388fbc2a239773a5cb36 (diff)
Assume the Series II does the same with NSS for VHT that the Series III does.
The packet-ixveriwave.c dissector appears to do so. Change-Id: Ie02c4611ef18e83abcd3b625bbc40014080ffca1 Reviewed-on: https://code.wireshark.org/review/21525 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/vwr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiretap/vwr.c b/wiretap/vwr.c
index 6eb4faa978..b9ad67fb0a 100644
--- a/wiretap/vwr.c
+++ b/wiretap/vwr.c
@@ -532,11 +532,9 @@
* VHT - contains MCS index and number of spatial streams.
* The number of spatial streams from the FPGA is zero-based, so we add
* 1 to it.
- *
- * XXX - the MCS index can go up to 9, so it overlaps with the NSS.
*/
#define vVW510021_W_S2_MCS_INDEX_VHT(l1p_1) ((l1p_1) & 0x0f) /* MCS index for VHT */
-#define vVW510021_W_S2_NSS_VHT(l1p_1) (((l1p_1) >> 3) + 1) /* NSS */
+#define vVW510021_W_S2_NSS_VHT(l1p_1) (((l1p_1) >> 4) + 1) /* NSS */
/* Series III */