aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2009-02-25 18:02:09 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2009-02-25 18:02:09 +0000
commite39897e30dece44a2758b1799c80ad8f2e05b0d6 (patch)
tree860facc97b82f34023d570ba978413869531184b /epan
parent281c4d0f5de7c0de68ab59577543e915c97680fd (diff)
More updates to LTE MAC stats. Layout working better now.
svn path=/trunk/; revision=27546
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-mac-lte.c1
-rw-r--r--epan/dissectors/packet-mac-lte.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mac-lte.c b/epan/dissectors/packet-mac-lte.c
index daf39b6349..ff41746d98 100644
--- a/epan/dissectors/packet-mac-lte.c
+++ b/epan/dissectors/packet-mac-lte.c
@@ -866,6 +866,7 @@ static void dissect_ulsch_or_dlsch(tvbuff_t *tvb, packet_info *pinfo, proto_tree
/* Update tap byte count for this channel */
tap_info->bytes_for_lcid[lcids[n]] += data_length;
+ tap_info->sdus_for_lcid[lcids[n]]++;
}
else {
/* See if its a control PDU type */
diff --git a/epan/dissectors/packet-mac-lte.h b/epan/dissectors/packet-mac-lte.h
index 5407cde487..379acbd612 100644
--- a/epan/dissectors/packet-mac-lte.h
+++ b/epan/dissectors/packet-mac-lte.h
@@ -65,5 +65,6 @@ typedef struct mac_lte_tap_info {
/* Number of bytes (which part is used depends upon context settings) */
guint32 single_number_of_bytes;
guint32 bytes_for_lcid[11];
+ guint32 sdus_for_lcid[11];
} mac_lte_tap_info;