summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-07-05 19:11:24 -0700
committerGuy Harris <guy@alum.mit.edu>2015-07-06 02:11:50 +0000
commit0b4cd71ce1421a079d25516ba1330d29477b75ab (patch)
treea71eef65ca095a606a505742e4827f798330c46b
parenta7ac6cf0484611867aae51891ad72d49c0739e6f (diff)
downloadwireshark-0b4cd71ce1421a079d25516ba1330d29477b75ab.tar.gz
Add some comments.
OK, where's NSS for the presumably-one-and-only user hiding for 11ac? Change-Id: I53eb216c5d209dc5bb46c1d0aca7f8a200161e3e Reviewed-on: https://code.wireshark.org/review/9512 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--epan/dissectors/packet-ixveriwave.c4
-rw-r--r--epan/dissectors/packet-peekremote.c4
-rw-r--r--wiretap/peektagged.c5
3 files changed, 13 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ixveriwave.c b/epan/dissectors/packet-ixveriwave.c
index 54d8703cc7..04cab895db 100644
--- a/epan/dissectors/packet-ixveriwave.c
+++ b/epan/dissectors/packet-ixveriwave.c
@@ -731,6 +731,10 @@ wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
phdr.phy_info.info_11ac.presence_flags =
PHDR_802_11AC_HAS_SHORT_GI;
phdr.phy_info.info_11ac.short_gi = ((vw_rflags & FLAGS_CHAN_SHORTGI) != 0);
+ /*
+ * XXX - this probably has only one user, so only one MCS index
+ * and only one NSS, but where's the NSS?
+ */
for (i = 0; i < 4; i++)
phdr.phy_info.info_11ac.nss[i] = 0;
} else {
diff --git a/epan/dissectors/packet-peekremote.c b/epan/dissectors/packet-peekremote.c
index 3411d47270..a8711df8c3 100644
--- a/epan/dissectors/packet-peekremote.c
+++ b/epan/dissectors/packet-peekremote.c
@@ -475,6 +475,10 @@ dissect_peekremote_new(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void
guint i;
phdr.phy = PHDR_802_11_PHY_11AC;
phdr.phy_info.info_11ac.presence_flags = 0;
+ /*
+ * XXX - this probably has only one user, so only one MCS index
+ * and only one NSS, but where's the NSS?
+ */
for (i = 0; i < 4; i++) {
phdr.phy_info.info_11ac.nss[i] = 0;
}
diff --git a/wiretap/peektagged.c b/wiretap/peektagged.c
index d6cd8741b2..1c1426fcf5 100644
--- a/wiretap/peektagged.c
+++ b/wiretap/peektagged.c
@@ -614,6 +614,11 @@ peektagged_read_packet(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
if (ext_flags & EXT_FLAG_802_11ac) {
ieee_802_11.phy = PHDR_802_11_PHY_11AC;
ieee_802_11.phy_info.info_11ac.presence_flags = 0;
+ /*
+ * XXX - this probably has only one user, so only
+ * one MCS index and only one NSS, but where's the
+ * NSS?
+ */
for (i = 0; i < 4; i++)
ieee_802_11.phy_info.info_11ac.nss[i] = 0;