DCT2000: skip/show carrierId for LTE/NR RRC headers.
Change-Id: I95023cb395a913408d47e559ff5aa2b6843749f5 Reviewed-on: https://code.wireshark.org/review/33729 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
This commit is contained in:
parent
fa65d4dad9
commit
68122d26b9
|
@ -86,6 +86,7 @@ static int hf_catapult_dct2000_rlc_mui = -1;
|
|||
static int hf_catapult_dct2000_rlc_cnf = -1;
|
||||
static int hf_catapult_dct2000_rlc_discard_req = -1;
|
||||
static int hf_catapult_dct2000_carrier_type = -1;
|
||||
static int hf_catapult_dct2000_carrier_id = -1;
|
||||
|
||||
static int hf_catapult_dct2000_lte_ccpri_opcode = -1;
|
||||
static int hf_catapult_dct2000_lte_ccpri_status = -1;
|
||||
|
@ -991,6 +992,15 @@ static void dissect_rrc_lte_nr(tvbuff_t *tvb, gint offset,
|
|||
return;
|
||||
}
|
||||
|
||||
/* Optional Carrier Id */
|
||||
if (tvb_get_guint8(tvb, offset)==0x1e) {
|
||||
offset += 2; /* tag + len of 1 */
|
||||
proto_tree_add_item(tree, hf_catapult_dct2000_carrier_id,
|
||||
tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
offset++;
|
||||
}
|
||||
|
||||
|
||||
/* Optional Carrier Type */
|
||||
if (tvb_get_guint8(tvb, offset)==0x20) {
|
||||
offset++;
|
||||
|
@ -3374,6 +3384,12 @@ void proto_register_catapult_dct2000(void)
|
|||
NULL, HFILL
|
||||
}
|
||||
},
|
||||
{ &hf_catapult_dct2000_carrier_id,
|
||||
{ "Carrier Id",
|
||||
"dct2000.carrier-id", FT_UINT8, BASE_DEC, NULL, 0x0,
|
||||
NULL, HFILL
|
||||
}
|
||||
},
|
||||
|
||||
{ &hf_catapult_dct2000_lte_ccpri_opcode,
|
||||
{ "CCPRI opcode",
|
||||
|
|
Loading…
Reference in New Issue