aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-28 19:59:14 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-28 19:59:14 +0000
commit35a914317828750453fdeed7b844427c9a0fb0dd (patch)
tree22f5316cc49a378315b9bf431502b6106afc9090 /asn1
parentcb539a4adac562d2661561c005b328eb4477a18c (diff)
From Pascal Quantin:
the dissection of the UE capabilities when the RAT type is set to geran-cs (the value part of Classmark 2 starts at the third byte). Moreover it adds a subtree to enhance the display of Mobile Station Classmark 2 and 3 and MS Radio Access Capability IEs. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5867 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36943 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1')
-rw-r--r--asn1/lte-rrc/lte-rrc.cnf20
1 files changed, 17 insertions, 3 deletions
diff --git a/asn1/lte-rrc/lte-rrc.cnf b/asn1/lte-rrc/lte-rrc.cnf
index 94607d2992..9c0b20c85d 100644
--- a/asn1/lte-rrc/lte-rrc.cnf
+++ b/asn1/lte-rrc/lte-rrc.cnf
@@ -96,6 +96,9 @@ VarMeasReport
%(DEFAULT_BODY)s
if(ue_eutra_cap_tvb){
+ guint32 length;
+ proto_item *item;
+ proto_tree *subtree;
switch(lte_rrc_rat_type_value){
case 0:
/* eutra */
@@ -107,12 +110,23 @@ if(ue_eutra_cap_tvb){
break;
case 2:
/* geran-cs */
- de_ms_cm_2(ue_eutra_cap_tvb, tree, actx->pinfo, 0, 5, NULL, 0);
- de_ms_cm_3(ue_eutra_cap_tvb, tree, actx->pinfo, 5, tvb_length(ue_eutra_cap_tvb)-5, NULL, 0);
+ /* Mobile Station Classmark 2 is formatted as TLV with the two first bytes set to 0x33 0x03 */
+ item = proto_tree_add_text(tree, ue_eutra_cap_tvb, 0, 5, "Mobile Station Classmark 2");
+ subtree = proto_item_add_subtree(item, ett_lte_rrc_UE_CapabilityRAT_Container);
+ de_ms_cm_2(ue_eutra_cap_tvb, subtree, actx->pinfo, 2, 3, NULL, 0);
+ /* Mobile Station Classmark 3 is formatted as V */
+ length = tvb_length(ue_eutra_cap_tvb)-5;
+ item = proto_tree_add_text(tree, ue_eutra_cap_tvb, 5, length, "Mobile Station Classmark 3");
+ subtree = proto_item_add_subtree(item, ett_lte_rrc_UE_CapabilityRAT_Container);
+ de_ms_cm_3(ue_eutra_cap_tvb, subtree, actx->pinfo, 5, length, NULL, 0);
break;
case 3:
/* geran-ps */
- de_gmm_ms_radio_acc_cap(ue_eutra_cap_tvb, tree, actx->pinfo, 0, tvb_length(ue_eutra_cap_tvb), NULL, 0);
+ /* MS Radio Access Capability is formatted as V */
+ length = tvb_length(ue_eutra_cap_tvb);
+ item = proto_tree_add_text(tree, ue_eutra_cap_tvb, 0, length, "MS Radio Access Capability");
+ subtree = proto_item_add_subtree(item, ett_lte_rrc_UE_CapabilityRAT_Container);
+ de_gmm_ms_radio_acc_cap(ue_eutra_cap_tvb, subtree, actx->pinfo, 0, length, NULL, 0);
break;
case 4:
/* cdma2000-1XRTT */