aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee802154.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2018-10-11 21:54:08 +0200
committerAnders Broman <a.broman58@gmail.com>2018-10-12 05:05:20 +0000
commit3bb6c5c15857573eaf3d77e282ce967b6ece35a7 (patch)
tree37bdcd3df71f14a38c3abe3e54267b7b6bb957d1 /epan/dissectors/packet-ieee802154.c
parentc5d46c1986e6ed9a6b47cc4992fe23965096a139 (diff)
ieee802154: Show FCF reserved bit
Change-Id: Ibd18e988a3c0692c1a5eccb2db1abf87947f3c03 Reviewed-on: https://code.wireshark.org/review/30131 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ieee802154.c')
-rw-r--r--epan/dissectors/packet-ieee802154.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee802154.c b/epan/dissectors/packet-ieee802154.c
index 6fdfd1d924..c07f38677b 100644
--- a/epan/dissectors/packet-ieee802154.c
+++ b/epan/dissectors/packet-ieee802154.c
@@ -300,6 +300,7 @@ static int hf_ieee802154_security = -1;
static int hf_ieee802154_pending = -1;
static int hf_ieee802154_ack_request = -1;
static int hf_ieee802154_pan_id_compression = -1;
+static int hf_ieee802154_fcf_reserved = -1;
static int hf_ieee802154_seqno_suppression = -1;
static int hf_ieee802154_ie_present = -1;
static int hf_ieee802154_src_addr_mode = -1;
@@ -958,6 +959,7 @@ dissect_ieee802154_fcf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, ieee
&hf_ieee802154_pending,
&hf_ieee802154_ack_request,
&hf_ieee802154_pan_id_compression,
+ &hf_ieee802154_fcf_reserved,
&hf_ieee802154_seqno_suppression,
&hf_ieee802154_ie_present,
&hf_ieee802154_dst_addr_mode,
@@ -4303,6 +4305,10 @@ void proto_register_ieee802154(void)
{ "PAN ID Compression", "wpan.pan_id_compression", FT_BOOLEAN, 16, NULL, IEEE802154_FCF_PAN_ID_COMPRESSION,
"Whether this packet contains the PAN ID or not.", HFILL }},
+ { &hf_ieee802154_fcf_reserved,
+ { "Reserved", "wpan.fcf.reserved", FT_BOOLEAN, 16, NULL, 0x0080,
+ NULL, HFILL }},
+
{ &hf_ieee802154_seqno_suppression,
{ "Sequence Number Suppression", "wpan.seqno_suppression", FT_BOOLEAN, 16, NULL, IEEE802154_FCF_SEQNO_SUPPRESSION,
"Whether this packet contains the Sequence Number or not.", HFILL }},