From bdc88443b5329b2465dfaf7e2e3dd85b75eee58c Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 24 Dec 2016 16:11:37 +0100 Subject: [PATCH] 802.11(ad): Add reserved field for BRP Request Change-Id: Iee6012e841007b731dc16545a1d9bf6f17377580 Ping-Bug: 13244 Reviewed-on: https://code.wireshark.org/review/19417 Reviewed-by: Michael Mann --- epan/dissectors/packet-ieee80211.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index 34886a8b0c..16032873c8 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -4572,6 +4572,7 @@ static int hf_ieee80211_ff_brp_chan_FBCK_CAP = -1; static int hf_ieee80211_ff_brp_tx_sector = -1; static int hf_ieee80211_ff_brp_other_aid = -1; static int hf_ieee80211_ff_brp_tx_antenna = -1; +static int hf_ieee80211_ff_brp_reserved = -1; static int hf_ieee80211_ff_blm = -1; static int hf_ieee80211_ff_blm_unit_index = -1; static int hf_ieee80211_ff_blm_maint_value = -1; @@ -8595,6 +8596,7 @@ add_ff_BRP_request(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_, int proto_tree_add_item(brp_req_tree, hf_ieee80211_ff_brp_tx_sector, tvb, offset, 4, ENC_LITTLE_ENDIAN); proto_tree_add_item(brp_req_tree, hf_ieee80211_ff_brp_other_aid, tvb, offset, 4, ENC_LITTLE_ENDIAN); proto_tree_add_item(brp_req_tree, hf_ieee80211_ff_brp_tx_antenna, tvb, offset, 4, ENC_LITTLE_ENDIAN); + proto_tree_add_item(brp_req_tree, hf_ieee80211_ff_brp_reserved, tvb, offset, 4, ENC_LITTLE_ENDIAN); return 4; } @@ -19878,6 +19880,11 @@ proto_register_ieee80211(void) FT_UINT32, BASE_DEC, NULL, 0x06000000, NULL, HFILL }}, + {&hf_ieee80211_ff_brp_reserved, + {"BRP Request Reserved", "wlan.brp.reserved", + FT_UINT32, BASE_HEX, NULL, 0xF8000000, + NULL, HFILL }}, + {&hf_ieee80211_ff_blm, {"Beamformed Link Maintenance", "wlan.blm", FT_UINT8, BASE_HEX, NULL, 0,