aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2010-09-03 16:45:05 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2010-09-03 16:45:05 +0000
commit4b5c69c0d92ca40e39eb0a636fbfe0e6f3d9fef5 (patch)
tree896021df5a59e355f456e3af8c47ed216e535846 /epan
parentd96bda809ec8d0f46fd154f74953438788adf1f2 (diff)
Add bandwidth figures per UE.
svn path=/trunk/; revision=34061
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-mac-lte.c2
-rw-r--r--epan/dissectors/packet-mac-lte.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mac-lte.c b/epan/dissectors/packet-mac-lte.c
index e4ad300678..ee9cb10df0 100644
--- a/epan/dissectors/packet-mac-lte.c
+++ b/epan/dissectors/packet-mac-lte.c
@@ -3044,6 +3044,8 @@ void dissect_mac_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tap_info->crcStatus = p_mac_lte_info->detailed_phy_info.dl_info.crc_status;
tap_info->direction = p_mac_lte_info->direction;
+ tap_info->time = pinfo->fd->abs_ts;
+
/* Also set total number of bytes (won't be used for UL/DL-SCH) */
tap_info->single_number_of_bytes = tvb_length_remaining(tvb, offset);
diff --git a/epan/dissectors/packet-mac-lte.h b/epan/dissectors/packet-mac-lte.h
index 4fdc744e78..540d3af59b 100644
--- a/epan/dissectors/packet-mac-lte.h
+++ b/epan/dissectors/packet-mac-lte.h
@@ -140,6 +140,8 @@ typedef struct mac_lte_tap_info {
guint8 isPHYRetx;
+ nstime_t time;
+
/* Number of bytes (which part is used depends upon context settings) */
guint32 single_number_of_bytes;
guint32 bytes_for_lcid[11];