forked from osmocom/wireshark
Update Wi-SUN FAN dissector with last LBS-IE specification
The last specification of the Wi-SUN FAN (I have not checked when it appeared, but it is present in 1.1v04) introduce the field broadcast_sync_period in LBS-IE (see "6.3.2.3.1.13 LFN Broadcast Schedule Information Element (LBS-IE)").
This commit is contained in:
parent
ec6fd00518
commit
3fc57d3f93
|
@ -152,6 +152,7 @@ static int hf_wisun_lbsie = -1;
|
|||
static int hf_wisun_lbsie_broadcast_interval = -1;
|
||||
static int hf_wisun_lbsie_broadcast_id = -1;
|
||||
static int hf_wisun_lbsie_channel_plan_tag = -1;
|
||||
static int hf_wisun_lbsie_broadcast_sync_period = -1;
|
||||
static int hf_wisun_lndie = -1;
|
||||
static int hf_wisun_lndie_response_threshold = -1;
|
||||
static int hf_wisun_lndie_response_delay = -1;
|
||||
|
@ -824,6 +825,7 @@ dissect_wisun_lbsie(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, gui
|
|||
proto_tree_add_item(tree, hf_wisun_lbsie_broadcast_interval, tvb, offset, 3, ENC_LITTLE_ENDIAN);
|
||||
proto_tree_add_item(tree, hf_wisun_lbsie_broadcast_id, tvb, offset+3, 2, ENC_LITTLE_ENDIAN);
|
||||
proto_tree_add_item(tree, hf_wisun_lbsie_channel_plan_tag, tvb, offset+5, 1, ENC_LITTLE_ENDIAN);
|
||||
proto_tree_add_item(tree, hf_wisun_lbsie_broadcast_sync_period, tvb, offset+6, 1, ENC_LITTLE_ENDIAN);
|
||||
return 6;
|
||||
}
|
||||
|
||||
|
@ -1838,6 +1840,11 @@ void proto_register_wisun(void)
|
|||
NULL, HFILL }
|
||||
},
|
||||
|
||||
{ &hf_wisun_lbsie_broadcast_sync_period,
|
||||
{ "Broadcast Sync Period", "wisun.lbsie.broadcast_sync_period", FT_UINT8, BASE_DEC, NULL, 0x0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
|
||||
{ &hf_wisun_lndie,
|
||||
{ "LFN Network Discovery IE", "wisun.lndie", FT_NONE, BASE_NONE, NULL, 0x0,
|
||||
NULL, HFILL }
|
||||
|
|
Loading…
Reference in New Issue