Add A-MPDU Status Present flag

svn path=/trunk/; revision=44330
This commit is contained in:
Alexis La Goutte 2012-08-08 08:30:51 +00:00
parent 02cd557c95
commit 0e9df60466
1 changed files with 9 additions and 0 deletions

View File

@ -582,6 +582,7 @@ static int hf_radiotap_present_hdrfcs = -1;
static int hf_radiotap_present_rxflags = -1;
static int hf_radiotap_present_xchannel = -1;
static int hf_radiotap_present_mcs = -1;
static int hf_radiotap_present_ampdu = -1;
static int hf_radiotap_present_rtap_ns = -1;
static int hf_radiotap_present_vendor_ns = -1;
static int hf_radiotap_present_ext = -1;
@ -916,6 +917,11 @@ void proto_register_radiotap(void)
FT_BOOLEAN, 32, NULL, RADIOTAP_MASK(MCS),
"Specifies if the HT field is present", HFILL}},
{&hf_radiotap_present_ampdu,
{"A-MPDU Status", "radiotap.present.ampdu",
FT_BOOLEAN, 32, NULL, RADIOTAP_MASK(AMPDU_STATUS),
"Specifies if the A-MPDU status field is present", HFILL}},
{&hf_radiotap_present_rtap_ns,
{"Radiotap NS next", "radiotap.present.rtap_ns",
FT_BOOLEAN, 32, NULL, RADIOTAP_MASK(RADIOTAP_NAMESPACE),
@ -1555,6 +1561,9 @@ dissect_radiotap(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
proto_tree_add_item(present_tree,
hf_radiotap_present_mcs, tvb,
offset + 4, 4, ENC_LITTLE_ENDIAN);
proto_tree_add_item(present_tree,
hf_radiotap_present_ampdu, tvb,
offset + 4, 4, ENC_LITTLE_ENDIAN);
always_bits:
proto_tree_add_item(present_tree,
hf_radiotap_present_rtap_ns, tvb,