aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/nr-rrc/packet-nr-rrc-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/nr-rrc/packet-nr-rrc-template.c')
-rw-r--r--epan/dissectors/asn1/nr-rrc/packet-nr-rrc-template.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/nr-rrc/packet-nr-rrc-template.c b/epan/dissectors/asn1/nr-rrc/packet-nr-rrc-template.c
index 33aadd11a5..8b238d38cd 100644
--- a/epan/dissectors/asn1/nr-rrc/packet-nr-rrc-template.c
+++ b/epan/dissectors/asn1/nr-rrc/packet-nr-rrc-template.c
@@ -525,6 +525,18 @@ dissect_nr_rrc_nr_RLF_Report_r16_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
return offset;
}
+int
+dissect_nr_rrc_subCarrierSpacingCommon_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
+ proto_item *prot_ti = proto_tree_add_item(tree, proto_nr_rrc, tvb, 0, -1, ENC_NA);
+ proto_item_set_hidden(prot_ti);
+ int offset = 0;
+ asn1_ctx_t asn1_ctx;
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, FALSE, pinfo);
+ offset = dissect_nr_rrc_T_subCarrierSpacingCommon(tvb, offset, &asn1_ctx, tree, hf_nr_rrc_BCCH_DL_SCH_Message_PDU);
+ offset += 7; offset >>= 3;
+ return offset;
+}
+
void
proto_register_nr_rrc(void) {