aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-oran.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2021-08-22 20:40:32 +0100
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2021-08-22 20:40:32 +0100
commit21c222a66eb8f16a1be1516b6d13d5b6a4abdead (patch)
tree61e6751272df447837f0f67173f3d75c10fa6092 /epan/dissectors/packet-oran.c
parentee0dc720842c9a817c85abd715100635bb2675f3 (diff)
ORAN FH CUS: Fix dissection of UEId field.
Diffstat (limited to 'epan/dissectors/packet-oran.c')
-rwxr-xr-xepan/dissectors/packet-oran.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/epan/dissectors/packet-oran.c b/epan/dissectors/packet-oran.c
index df3fa43388..86df118e01 100755
--- a/epan/dissectors/packet-oran.c
+++ b/epan/dissectors/packet-oran.c
@@ -733,6 +733,7 @@ static int dissect_oran_c_section(tvbuff_t *tvb, proto_tree *tree, packet_info *
}
guint32 beamId = 0;
+ guint32 ueId = 0;
/* TODO: check formats for remaining sectionType values - they look different, and some fields above might not be present.. */
@@ -774,8 +775,10 @@ static int dissect_oran_c_section(tvbuff_t *tvb, proto_tree *tree, packet_info *
}
case SEC_C_UE_SCHED: /* Section Type "5" - Table 5.7 */
/* ueId */
- proto_tree_add_item(oran_tree, hf_oran_ueId, tvb, offset, 2, ENC_NA);
+ proto_tree_add_item_ret_uint(oran_tree, hf_oran_ueId, tvb, offset, 2, ENC_NA, &ueId);
offset += 2;
+
+ proto_item_append_text(sectionHeading, ", UEId: %d", ueId);
break;
default:
@@ -1837,8 +1840,8 @@ proto_register_oran(void)
/* Section 5.4.5.10 */
{&hf_oran_ueId,
{"UE ID", "oran_fh_cus.ueId",
- FT_UINT16, BASE_HEX,
- NULL, 0x0,
+ FT_UINT16, BASE_HEX_DEC,
+ NULL, 0x7fff,
"This parameter provides a label for the UE for which the section "
"contents apply. This is used to support channel information "
"sending from the lls-CU to the RU. This is just a label and the "