aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-01-29 09:05:07 +0100
committerHarald Welte <laforge@osmocom.org>2020-01-29 09:05:07 +0100
commit398a134576b2073924eb036777ca20acfe5264af (patch)
treed87f590a8987e3f8eef8fb993e993b2ded532b29
parent6d1233546840ca121b8aa4deb74c644b07b5bc9e (diff)
gsm_abis_om2000: Name the 0x93, 0x9f and 0xa0 information elementslaforge/om2000
-rw-r--r--epan/dissectors/packet-gsm_abis_om2000.c33
1 files changed, 31 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_abis_om2000.c b/epan/dissectors/packet-gsm_abis_om2000.c
index 94e123db39..bc8b0b383f 100644
--- a/epan/dissectors/packet-gsm_abis_om2000.c
+++ b/epan/dissectors/packet-gsm_abis_om2000.c
@@ -107,6 +107,9 @@ static int hf_om2k_trxc_list = -1;
static int hf_om2k_max_allowed_power = -1;
static int hf_om2k_max_allowed_num_trxcs = -1;
static int hf_om2k_mctr_feat_sts_bitmap = -1;
+static int hf_om2k_config_type = -1;
+static int hf_om2k_jitter_size = -1;
+static int hf_om2k_packing_algo = -1;
/* initialize the subtree pointers */
static int ett_om2000 = -1;
@@ -436,6 +439,9 @@ static const value_string om2k_attr_vals[] = {
{ 0x9b, "Master TX Chain Delay" },
{ 0x9c, "External Condition Class 2 Extension" },
{ 0x9d, "TSs MO State" },
+ { 0x9e, "Configuration Type" },
+ { 0x9f, "Jitter Size" },
+ { 0xa0, "Packing Algorithm" },
{ 0xa8, "TRXC List" },
{ 0xa9, "Maximum Allowed Power" },
{ 0xaa, "Maximum Allowed Number of TRXCs" },
@@ -1107,6 +1113,15 @@ dissect_om2k_attrs(tvbuff_t *tvb, packet_info *pinfo, gint offset, proto_tree *t
case 0x9d: /* TSs MO State */
offset += dissect_tss_mo_state(tvb, offset, tree);
break;
+ case 0x9e: /* Configuration Type */
+ proto_tree_add_item(tree, hf_om2k_config_type, tvb, offset++, 1, ENC_NA);
+ break;
+ case 0x9f: /* Jitter Size */
+ proto_tree_add_item(tree, hf_om2k_jitter_size, tvb, offset++, 1, ENC_NA);
+ break;
+ case 0xa0: /* Packing Algorithm */
+ proto_tree_add_item(tree, hf_om2k_packing_algo, tvb, offset++, 1, ENC_NA);
+ break;
case 0xa8:
proto_tree_add_item(tree, hf_om2k_trxc_list, tvb, offset, 2, ENC_LITTLE_ENDIAN);
offset += 2;
@@ -1145,8 +1160,6 @@ dissect_om2k_attrs(tvbuff_t *tvb, packet_info *pinfo, gint offset, proto_tree *t
case 0xac: /* unknown 58-bytes fixed length attribute of message type 0x0136 */
offset += dissect_om2k_attr_unkn(tvb, offset, 58, iei, tree);
break;
- case 0x9e:
- case 0x9f:
default:
tmp = tvb_get_guint8(tvb, offset);
proto_tree_add_uint_format(tree, hf_om2k_unknown_tag, tvb,
@@ -1679,6 +1692,22 @@ proto_register_abis_om2000(void)
FT_BYTES, BASE_NONE, NULL, 0,
NULL, HFILL }
},
+ { &hf_om2k_config_type,
+ { "Configuration Type", "gsm_abis_om2000.config_type",
+ FT_BOOLEAN, 8, NULL, 0x01,
+ NULL, HFILL }
+ },
+ { &hf_om2k_jitter_size,
+ { "Jitter Size", "gsm_abis_om2000.jitter_size",
+ FT_UINT8, BASE_DEC, NULL, 0,
+ NULL, HFILL }
+ },
+ { &hf_om2k_packing_algo,
+ { "Packing Algorithm", "gsm_abis_om2000.packing_algo",
+ FT_UINT8, BASE_DEC, NULL, 0,
+ NULL, HFILL }
+ },
+
};
static gint *ett[] = {
&ett_om2000,