forked from osmocom/wireshark
Add support for DOCSIS TLV 5.76 'Low Latency Support'
This commit is contained in:
parent
e43c6b1aa2
commit
b87e7aea49
|
@ -223,6 +223,7 @@ static int hf_docsis_tlv_mcap_dipl_up_upper_band_edge_65 = -1;
|
|||
static int hf_docsis_tlv_mcap_dipl_up_upper_band_edge_85 = -1;
|
||||
static int hf_docsis_tlv_mcap_dipl_up_upper_band_edge_117 = -1;
|
||||
static int hf_docsis_tlv_mcap_dipl_up_upper_band_edge_204 = -1;
|
||||
static int hf_docsis_tlv_mcap_low_latency_sup = -1;
|
||||
|
||||
static int hf_docsis_tlv_clsfr_ref = -1;
|
||||
static int hf_docsis_tlv_clsfr_id = -1;
|
||||
|
@ -3057,6 +3058,17 @@ dissect_modemcap (tvbuff_t * tvb, packet_info* pinfo, proto_tree * tree, int sta
|
|||
expert_add_info_format(pinfo, mcap_item, &ei_docsis_tlv_tlvlen_bad, "Wrong TLV length: %u", length);
|
||||
}
|
||||
break;
|
||||
case CAP_LOW_LATENCY_SUP:
|
||||
if (length == 1)
|
||||
{
|
||||
proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_low_latency_sup, tvb,
|
||||
pos, length, ENC_BIG_ENDIAN);
|
||||
}
|
||||
else
|
||||
{
|
||||
expert_add_info_format(pinfo, mcap_item, &ei_docsis_tlv_tlvlen_bad, "Wrong TLV length: %u", length);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
dissect_unknown_tlv (tvb, pinfo, mcap_tree, pos - 2, length + 2);
|
||||
break;
|
||||
|
@ -6280,6 +6292,12 @@ proto_register_docsis_tlv (void)
|
|||
FT_BOOLEAN, 8, NULL, 0x10,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_docsis_tlv_mcap_low_latency_sup,
|
||||
{".62 Low Latency Support",
|
||||
"docsis_tlv.mcap.low_latancy_sup",
|
||||
FT_UINT8, BASE_HEX, NULL, 0x0,
|
||||
"Low Latency Support", HFILL}
|
||||
},
|
||||
{&hf_docsis_tlv_cm_mic,
|
||||
{"6 CM MIC", "docsis_tlv.cmmic",
|
||||
FT_BYTES, BASE_NONE, NULL, 0x0,
|
||||
|
|
|
@ -163,6 +163,7 @@
|
|||
#define CAP_DIPL_DOWN_LOWER_BAND_EDGE 60
|
||||
#define CAP_DIPL_DOWN_UPPER_BAND_EDGE 61
|
||||
#define CAP_DIPL_UP_UPPER_BAND_EDGE 62
|
||||
#define CAP_LOW_LATENCY_SUP 76
|
||||
|
||||
/* Define Classifier subtypes
|
||||
* These are subtypes of either:
|
||||
|
|
Loading…
Reference in New Issue