Comments to indicate which bits of the header we're looking at.

Change-Id: I7b1c924af9d23894ff79767bbb1290b60d36e298
Reviewed-on: https://code.wireshark.org/review/21533
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2017-05-05 19:25:26 -07:00
parent 538abdfbc2
commit d815913b38
1 changed files with 2 additions and 0 deletions

View File

@ -2230,12 +2230,14 @@ wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
else
mcs_index = tvb_get_guint8(tvb, offset) & 0x3f;
/* l1p_1 byte */
proto_tree_add_uint(vw_l1info_tree, hf_radiotap_preamble,
tvb, offset, 1, preamble);
proto_tree_add_uint(vw_l1info_tree, hf_radiotap_mcsindex,
tvb, offset, 1, mcs_index);
offset++;
/* NSS and direction octet */
nss = (tvb_get_guint8(tvb, offset) & 0xf0) >> 4;
direction = tvb_get_guint8(tvb, offset) & 0x01;