aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mac-lte.h
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2013-06-18 21:02:00 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2013-06-18 21:02:00 +0000
commitece132a5ce689df9df8ffeb254eb8baf824f40a6 (patch)
tree48f05998d03ceaddef057c29935bf6db89abb775 /epan/dissectors/packet-mac-lte.h
parentf60dd8578435601d65b33a5eefc50d74d66e3b11 (diff)
Configure MAC LCID -> RLC channel settings from RRC.
svn path=/trunk/; revision=50016
Diffstat (limited to 'epan/dissectors/packet-mac-lte.h')
-rw-r--r--epan/dissectors/packet-mac-lte.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/epan/dissectors/packet-mac-lte.h b/epan/dissectors/packet-mac-lte.h
index 6654c13e3e..561ef03c19 100644
--- a/epan/dissectors/packet-mac-lte.h
+++ b/epan/dissectors/packet-mac-lte.h
@@ -270,12 +270,26 @@ int is_mac_lte_frame_retx(packet_info *pinfo, guint8 direction);
#define MAC_LTE_PAYLOAD_TAG 0x01
+/* Type to store parameters for configuring LCID->RLC channel settings for DRB */
+/* Some are optional, and may not be seen (e.g. on reestablishment) */
+typedef struct drb_mapping_t
+{
+ guint16 ueid; /* Mandatory */
+ guint8 drbid; /* Mandatory */
+ gboolean lcid_present;
+ guint8 lcid; /* Part of LogicalChannelConfig - optional */
+ gboolean rlcMode_present;
+ guint8 rlcMode; /* Part of RLC config - optional */
+ gboolean um_sn_length_present;
+ guint8 um_sn_length; /* Part of RLC config - optional */
+ gboolean ul_priority_present;
+ guint8 ul_priority; /* Part of LogicalChannelConfig - optional */
+} drb_mapping_t;
+
+
/* Set details of an LCID -> drb channel mapping. To be called from
configuration protocol (e.g. RRC) */
-void set_mac_lte_channel_mapping(guint16 ueid, guint8 lcid,
- guint8 srbid, guint8 drbid,
- guint8 rlcMode, guint8 um_sn_length,
- guint8 ul_priority);
+void set_mac_lte_channel_mapping(drb_mapping_t *drb_mapping);
/* Functions to be called from outside this module (e.g. in a plugin, where mac_lte_info
isn't available) to get/set per-packet data */