LTE RRC: fix dissection of measResultSCG-r15 IE
Change-Id: I68bdc75fc1fb270f815004f2cb6eafbb7bfc2329 Reviewed-on: https://code.wireshark.org/review/31572 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
45acd9864b
commit
67783962cf
|
@ -2560,7 +2560,7 @@ P0-SL-r12 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_dbm
|
|||
if (meas_results_tvb) {
|
||||
proto_tree *subtree;
|
||||
subtree = proto_item_add_subtree(actx->created_item, ett_lte_rrc_measResultSCG_r15);
|
||||
dissect_nr_rrc_MeasResults_PDU(meas_results_tvb, actx->pinfo, subtree, NULL);
|
||||
dissect_nr_rrc_MeasResultSCG_Failure_PDU(meas_results_tvb, actx->pinfo, subtree, NULL);
|
||||
}
|
||||
|
||||
#.FN_BODY ULInformationTransferMRDC-r15-IEs/ul-DCCH-MessageNR-r15 VAL_PTR = &nr_ul_dcch_tvb
|
||||
|
|
|
@ -48,7 +48,7 @@ HandoverCommand_PDU
|
|||
HandoverPreparationInformation_PDU
|
||||
MeasConfig_PDU
|
||||
MeasGapConfig_PDU
|
||||
MeasResults_PDU
|
||||
MeasResultSCG-Failure_PDU
|
||||
MeasurementTimingConfiguration_PDU
|
||||
MIB_PDU
|
||||
P-Max_PDU
|
||||
|
@ -84,7 +84,7 @@ HandoverCommand
|
|||
HandoverPreparationInformation
|
||||
MeasConfig
|
||||
MeasGapConfig
|
||||
MeasResults
|
||||
MeasResultSCG-Failure
|
||||
MeasurementTimingConfiguration
|
||||
MIB
|
||||
P-Max
|
||||
|
|
|
@ -78837,7 +78837,7 @@ dissect_lte_rrc_T_measResultSCG_r15(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_
|
|||
if (meas_results_tvb) {
|
||||
proto_tree *subtree;
|
||||
subtree = proto_item_add_subtree(actx->created_item, ett_lte_rrc_measResultSCG_r15);
|
||||
dissect_nr_rrc_MeasResults_PDU(meas_results_tvb, actx->pinfo, subtree, NULL);
|
||||
dissect_nr_rrc_MeasResultSCG_Failure_PDU(meas_results_tvb, actx->pinfo, subtree, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -278,7 +278,7 @@ static int hf_nr_rrc_nr_rrc_SIB9_PDU = -1; /* SIB9 */
|
|||
static int hf_nr_rrc_nr_rrc_CellGroupConfig_PDU = -1; /* CellGroupConfig */
|
||||
static int hf_nr_rrc_nr_rrc_MeasConfig_PDU = -1; /* MeasConfig */
|
||||
static int hf_nr_rrc_nr_rrc_MeasGapConfig_PDU = -1; /* MeasGapConfig */
|
||||
static int hf_nr_rrc_nr_rrc_MeasResults_PDU = -1; /* MeasResults */
|
||||
static int hf_nr_rrc_nr_rrc_MeasResultSCG_Failure_PDU = -1; /* MeasResultSCG_Failure */
|
||||
static int hf_nr_rrc_nr_rrc_P_Max_PDU = -1; /* P_Max */
|
||||
static int hf_nr_rrc_nr_rrc_RadioBearerConfig_PDU = -1; /* RadioBearerConfig */
|
||||
static int hf_nr_rrc_nr_rrc_UplinkTxDirectCurrentList_PDU = -1; /* UplinkTxDirectCurrentList */
|
||||
|
@ -288,7 +288,6 @@ static int hf_nr_rrc_UE_CapabilityRequestFilterNR_PDU = -1; /* UE_CapabilityReq
|
|||
static int hf_nr_rrc_nr_rrc_UE_MRDC_Capability_PDU = -1; /* UE_MRDC_Capability */
|
||||
static int hf_nr_rrc_nr_rrc_UE_NR_Capability_PDU = -1; /* UE_NR_Capability */
|
||||
static int hf_nr_rrc_MeasResultList2NR_PDU = -1; /* MeasResultList2NR */
|
||||
static int hf_nr_rrc_MeasResultSCG_Failure_PDU = -1; /* MeasResultSCG_Failure */
|
||||
static int hf_nr_rrc_SystemInformation_PDU = -1; /* SystemInformation */
|
||||
static int hf_nr_rrc_criticalExtensions = -1; /* T_criticalExtensions */
|
||||
static int hf_nr_rrc_c1 = -1; /* T_c1 */
|
||||
|
@ -4534,7 +4533,6 @@ nr_rrc_SINR_Range_fmt(gchar *s, guint32 v)
|
|||
#line 1 "./asn1/nr-rrc/packet-nr-rrc-fn.c"
|
||||
/*--- PDUs declarations ---*/
|
||||
static int dissect_MeasResultList2NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
static int dissect_MeasResultSCG_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
static int dissect_SystemInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
|
||||
|
||||
|
@ -6678,7 +6676,7 @@ dissect_nr_rrc_T_failureType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
|
|||
static int
|
||||
dissect_nr_rrc_T_measResultSCG(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
||||
offset = dissect_per_octet_string_containing_pdu_new(tvb, offset, actx, tree, hf_index,
|
||||
NO_BOUND, NO_BOUND, FALSE, dissect_MeasResultSCG_Failure_PDU);
|
||||
NO_BOUND, NO_BOUND, FALSE, dissect_nr_rrc_MeasResultSCG_Failure_PDU);
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
@ -41290,11 +41288,11 @@ int dissect_nr_rrc_MeasGapConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
|
|||
offset += 7; offset >>= 3;
|
||||
return offset;
|
||||
}
|
||||
int dissect_nr_rrc_MeasResults_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
||||
int dissect_nr_rrc_MeasResultSCG_Failure_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_nr_rrc_MeasResults(tvb, offset, &asn1_ctx, tree, hf_nr_rrc_nr_rrc_MeasResults_PDU);
|
||||
offset = dissect_nr_rrc_MeasResultSCG_Failure(tvb, offset, &asn1_ctx, tree, hf_nr_rrc_nr_rrc_MeasResultSCG_Failure_PDU);
|
||||
offset += 7; offset >>= 3;
|
||||
return offset;
|
||||
}
|
||||
|
@ -41370,14 +41368,6 @@ static int dissect_MeasResultList2NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _
|
|||
offset += 7; offset >>= 3;
|
||||
return offset;
|
||||
}
|
||||
static int dissect_MeasResultSCG_Failure_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_nr_rrc_MeasResultSCG_Failure(tvb, offset, &asn1_ctx, tree, hf_nr_rrc_MeasResultSCG_Failure_PDU);
|
||||
offset += 7; offset >>= 3;
|
||||
return offset;
|
||||
}
|
||||
static int dissect_SystemInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
||||
int offset = 0;
|
||||
asn1_ctx_t asn1_ctx;
|
||||
|
@ -41524,8 +41514,8 @@ proto_register_nr_rrc(void) {
|
|||
{ "MeasGapConfig", "nr-rrc.MeasGapConfig_element",
|
||||
FT_NONE, BASE_NONE, NULL, 0,
|
||||
NULL, HFILL }},
|
||||
{ &hf_nr_rrc_nr_rrc_MeasResults_PDU,
|
||||
{ "MeasResults", "nr-rrc.MeasResults_element",
|
||||
{ &hf_nr_rrc_nr_rrc_MeasResultSCG_Failure_PDU,
|
||||
{ "MeasResultSCG-Failure", "nr-rrc.MeasResultSCG_Failure_element",
|
||||
FT_NONE, BASE_NONE, NULL, 0,
|
||||
NULL, HFILL }},
|
||||
{ &hf_nr_rrc_nr_rrc_P_Max_PDU,
|
||||
|
@ -41564,10 +41554,6 @@ proto_register_nr_rrc(void) {
|
|||
{ "MeasResultList2NR", "nr-rrc.MeasResultList2NR",
|
||||
FT_UINT32, BASE_DEC, NULL, 0,
|
||||
NULL, HFILL }},
|
||||
{ &hf_nr_rrc_MeasResultSCG_Failure_PDU,
|
||||
{ "MeasResultSCG-Failure", "nr-rrc.MeasResultSCG_Failure_element",
|
||||
FT_NONE, BASE_NONE, NULL, 0,
|
||||
NULL, HFILL }},
|
||||
{ &hf_nr_rrc_SystemInformation_PDU,
|
||||
{ "SystemInformation", "nr-rrc.SystemInformation_element",
|
||||
FT_NONE, BASE_NONE, NULL, 0,
|
||||
|
|
|
@ -44,7 +44,7 @@ int dissect_nr_rrc_SIB9_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tre
|
|||
int dissect_nr_rrc_CellGroupConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
int dissect_nr_rrc_MeasConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
int dissect_nr_rrc_MeasGapConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
int dissect_nr_rrc_MeasResults_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
int dissect_nr_rrc_MeasResultSCG_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
int dissect_nr_rrc_P_Max_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
int dissect_nr_rrc_RadioBearerConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
int dissect_nr_rrc_UplinkTxDirectCurrentList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
||||
|
|
Loading…
Reference in New Issue