aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2006-12-07 11:31:25 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2006-12-07 11:31:25 +0000
commit2552039f08754e2429c5011f176f991a3a133ad2 (patch)
tree96aba08a7b702e6bef25986c6e9fd9b4d58c1bb4 /epan/dissectors/packet-umts_fp.c
parentc413602d7733302f133ac8d00906d71cf930f172 (diff)
downloadwireshark-2552039f08754e2429c5011f176f991a3a133ad2.tar.gz
wireshark-2552039f08754e2429c5011f176f991a3a133ad2.tar.bz2
wireshark-2552039f08754e2429c5011f176f991a3a133ad2.zip
EDCH - show total number of PDUs in info column
svn path=/trunk/; revision=20059
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index 0f7f80b49b..89e4a16d1e 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -1707,6 +1707,7 @@ void dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
/* E-DCH data here */
guint bit_offset = 0;
+ guint total_pdus = 0;
guint total_bits = 0;
/* FSN */
@@ -1923,6 +1924,7 @@ void dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
proto_item_append_text(subframe_ti, " (%u bits in %u MAC-d PDUs)",
bits_in_subframe, mac_d_pdus_in_subframe);
}
+ total_pdus += mac_d_pdus_in_subframe;
total_bits += bits_in_subframe;
offset += (bit_offset/8);
@@ -1932,8 +1934,8 @@ void dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
if (check_col(pinfo->cinfo, COL_INFO))
{
col_append_fstr(pinfo->cinfo, COL_INFO,
- " CFN = %03u (%u bits in %u subframes)",
- cfn, total_bits, number_of_subframes);
+ " CFN = %03u (%u bits in %u pdus in %u subframes)",
+ cfn, total_bits, total_pdus, number_of_subframes);
}
/* Payload CRC (optional) */