diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-10-05 18:01:53 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2018-10-05 16:38:22 +0000 |
commit | 3d77c3fc2ce3138134cc7f0da20afbb4061872ad (patch) | |
tree | ec7d4b4bcbb8242e68ab9f4b4bf78b4279404dcd /epan/dissectors/packet-lte-rrc.c | |
parent | a3e18c180746188f10389c87282a54a0e22c46d1 (diff) |
X2AP: fix dissection of SeNB to MeNB Container
Change-Id: I4f5af9d52646d74dfa264583b6f0a79e097527e7
Reviewed-on: https://code.wireshark.org/review/30032
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-lte-rrc.c')
-rw-r--r-- | epan/dissectors/packet-lte-rrc.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lte-rrc.c b/epan/dissectors/packet-lte-rrc.c index 6d5de92f52..7dd0822d3a 100644 --- a/epan/dissectors/packet-lte-rrc.c +++ b/epan/dissectors/packet-lte-rrc.c @@ -302,6 +302,7 @@ static int proto_lte_rrc = -1; #line 1 "./asn1/lte-rrc/packet-lte-rrc-hf.c" static int hf_lte_rrc_lte_rrc_HandoverCommand_PDU = -1; /* HandoverCommand */ static int hf_lte_rrc_lte_rrc_HandoverPreparationInformation_PDU = -1; /* HandoverPreparationInformation */ +static int hf_lte_rrc_lte_rrc_SCG_Config_r12_PDU = -1; /* SCG_Config_r12 */ static int hf_lte_rrc_lte_rrc_SCG_ConfigInfo_r12_PDU = -1; /* SCG_ConfigInfo_r12 */ static int hf_lte_rrc_lte_rrc_UEPagingCoverageInformation_PDU = -1; /* UEPagingCoverageInformation */ static int hf_lte_rrc_UERadioAccessCapabilityInformation_PDU = -1; /* UERadioAccessCapabilityInformation */ @@ -38940,7 +38941,7 @@ dissect_lte_rrc_SystemInformationBlockType1(tvbuff_t *tvb _U_, int offset _U_, a if (private_data_get_bcch_dl_sch_msg(actx) == FALSE) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SystemInformationBlockType1"); - } + } offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_lte_rrc_SystemInformationBlockType1, SystemInformationBlockType1_sequence); @@ -107371,6 +107372,14 @@ int dissect_lte_rrc_HandoverPreparationInformation_PDU(tvbuff_t *tvb _U_, packet offset += 7; offset >>= 3; return offset; } +int dissect_lte_rrc_SCG_Config_r12_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { + int offset = 0; + asn1_ctx_t asn1_ctx; + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, FALSE, pinfo); + offset = dissect_lte_rrc_SCG_Config_r12(tvb, offset, &asn1_ctx, tree, hf_lte_rrc_lte_rrc_SCG_Config_r12_PDU); + offset += 7; offset >>= 3; + return offset; +} int dissect_lte_rrc_SCG_ConfigInfo_r12_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; @@ -108249,6 +108258,10 @@ void proto_register_lte_rrc(void) { { "HandoverPreparationInformation", "lte-rrc.HandoverPreparationInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, + { &hf_lte_rrc_lte_rrc_SCG_Config_r12_PDU, + { "SCG-Config-r12", "lte-rrc.SCG_Config_r12_element", + FT_NONE, BASE_NONE, NULL, 0, + NULL, HFILL }}, { &hf_lte_rrc_lte_rrc_SCG_ConfigInfo_r12_PDU, { "SCG-ConfigInfo-r12", "lte-rrc.SCG_ConfigInfo_r12_element", FT_NONE, BASE_NONE, NULL, 0, |