aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathis Marion <mathis.marion@silabs.com>2023-03-07 11:55:02 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2023-03-09 10:33:48 +0000
commitbf53ea5080b61c3f89495aa45af158a775f686d4 (patch)
tree99819f212885f9c1f2edfbd1ae69c00d1c12ce22
parent321932d310e012b3d7b0181c3d377d4511c35eb0 (diff)
Drop support for Wi-SUN NR-IE Listening Type
This feature was dropped between versions 1.1v00 and 1.1v01 of the Wi-SUN FAN specification.
-rw-r--r--epan/dissectors/packet-wisun.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/epan/dissectors/packet-wisun.c b/epan/dissectors/packet-wisun.c
index 6896001708..5e36e47416 100644
--- a/epan/dissectors/packet-wisun.c
+++ b/epan/dissectors/packet-wisun.c
@@ -140,7 +140,6 @@ static int hf_wisun_lbtie_slot = -1;
static int hf_wisun_lbtie_bio = -1;
static int hf_wisun_nrie = -1;
static int hf_wisun_nrie_nr_id = -1;
-static int hf_wisun_nrie_listening_type = -1;
static int hf_wisun_nrie_timing_accuracy = -1;
static int hf_wisun_nrie_listening_interval_min = -1;
static int hf_wisun_nrie_listening_interval_max = -1;
@@ -583,11 +582,6 @@ static const range_string wisun_phy_mode_ofdm_vals[] = {
{ 0, 0, NULL }
};
-static const true_false_string wisun_wsie_listening_type_tfs = {
- "Semi-synchronized Listening Type",
- "Coordinated Sample Listening"
-};
-
static const true_false_string wisun_netricity_sc_contention_control_tfs = {
"Contention-free access",
"Contention allowed in next contention state"
@@ -777,10 +771,6 @@ dissect_wisun_nrie(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guin
guint8 node_role = tvb_get_guint8(tvb, offset) & WISUN_WSIE_NODE_ROLE_MASK;
proto_tree_add_item(tree, hf_wisun_nrie_nr_id, tvb, offset, 1, ENC_LITTLE_ENDIAN);
-
- if (node_role == WISUN_WSIE_NODE_ROLE_ID_LFN) {
- proto_tree_add_item(tree, hf_wisun_nrie_listening_type, tvb, offset, 1, ENC_LITTLE_ENDIAN);
- }
offset++;
proto_tree_add_item(tree, hf_wisun_usie_clock_drift, tvb, offset, 1, ENC_LITTLE_ENDIAN);
@@ -1791,10 +1781,6 @@ void proto_register_wisun(void)
NULL, HFILL }
},
- { &hf_wisun_nrie_listening_type,
- { "Listening Type", "wisun.nrie.listening_type", FT_BOOLEAN, BASE_NONE, TFS(&wisun_wsie_listening_type_tfs), 1>>7,
- NULL, HFILL }},
-
{ &hf_wisun_nrie_timing_accuracy,
{ "Timing Accuracy", "wisun.nrie.timing_accuracy", FT_UINT8, BASE_DEC|BASE_UNIT_STRING, &units_milliseconds, 0x0,
NULL, HFILL }