aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_reg_rsp.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2008-06-20 10:17:13 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2008-06-20 10:17:13 +0000
commit5da0fe48b0279f813a589fb6f22ba35388de8967 (patch)
tree71402493786220e031e080fd70a0ef2cbc1f728c /plugins/wimax/msg_reg_rsp.c
parente731e24b51a26a4c10098292b5eb5ebc4d202780 (diff)
Support TLV type 36 in wimax plugin.
From cfreeer (fix for bug 2569). svn path=/trunk/; revision=25493
Diffstat (limited to 'plugins/wimax/msg_reg_rsp.c')
-rw-r--r--plugins/wimax/msg_reg_rsp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/wimax/msg_reg_rsp.c b/plugins/wimax/msg_reg_rsp.c
index 2d09d64d15..6b90024597 100644
--- a/plugins/wimax/msg_reg_rsp.c
+++ b/plugins/wimax/msg_reg_rsp.c
@@ -80,6 +80,7 @@ static gint hf_reg_invalid_tlv = -1;
static gint hf_reg_rsp_new_cid_after_ho = -1;
static gint hf_reg_rsp_service_flow_id = -1;
static gint hf_reg_rsp_system_resource_retain_time = -1;
+static gint hf_reg_total_provisioned_sf = -1;
/* STRING RESOURCES */
@@ -129,6 +130,13 @@ static hf_register_info hf[] =
}
},
{
+ &hf_reg_total_provisioned_sf,
+ {
+ "Total Number of Provisional Service Flow", "wmx.reg_rsp.total_provisional_sf",
+ FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
+ }
+ },
+ {
&hf_reg_rsp_service_flow_id,
{
"Service flow ID", "wmx.reg_rsp.service_flow_id",
@@ -268,6 +276,11 @@ void dissect_mac_mgmt_msg_reg_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
proto_tree_add_item(tlv_tree, hf_reg_rsp_secondary_mgmt_cid, tvb, tlv_offset, tlv_len, FALSE);
break;
+ case REG_RSP_TLV_T_36_TOTAL_PROVISIONED_SERVICE_FLOW_DSAs:
+ tlv_tree = add_tlv_subtree(&tlv_info, ett_reg_rsp_message_tree, reg_rsp_tree, hf_reg_total_provisioned_sf, tvb, tlv_offset, tlv_len, FALSE);
+ proto_tree_add_item(tlv_tree, hf_reg_total_provisioned_sf, tvb, tlv_offset, tlv_len, FALSE);
+ break;
+
case REG_RSP_TLV_T_24_CID_UPDATE_ENCODINGS:
/* Display CID update encodings */
/* add subtree */