aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rlc-lte.h
diff options
context:
space:
mode:
authorMathias Kurth <mathias.kurth@commsolid.com>2017-04-10 10:45:08 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2017-04-11 12:33:37 +0000
commit90c2e34cbd988179187422b48f8d9f28e4f0e9ed (patch)
treefebc69111191a831b3c6291b4160d9ccabac680e /epan/dissectors/packet-rlc-lte.h
parent87fc4cc5d7d7838d9fb708ca0c00166014d4ace8 (diff)
NB-IoT SRB1bis implementation
Change-Id: If0c9dd3f3ca2321aaf9176330299a32f611d34ce Reviewed-on: https://code.wireshark.org/review/20990 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rlc-lte.h')
-rw-r--r--epan/dissectors/packet-rlc-lte.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rlc-lte.h b/epan/dissectors/packet-rlc-lte.h
index 4b37ccac4b..103ae1c8ab 100644
--- a/epan/dissectors/packet-rlc-lte.h
+++ b/epan/dissectors/packet-rlc-lte.h
@@ -51,6 +51,13 @@
#define AM_SN_LENGTH_10_BITS 10
#define AM_SN_LENGTH_16_BITS 16
+
+typedef enum rlc_lte_nb_mode {
+ rlc_no_nb_mode = 0,
+ rlc_nb_mode = 1
+} rlc_lte_nb_mode;
+
+
/* Info attached to each LTE RLC frame */
typedef struct rlc_lte_info
{
@@ -63,6 +70,7 @@ typedef struct rlc_lte_info
guint16 channelId;
guint16 pduLength;
gboolean extendedLiField;
+ rlc_lte_nb_mode nbMode;
} rlc_lte_info;
@@ -155,6 +163,9 @@ void set_rlc_lte_drb_li_field(packet_info *pinfo, guint16 ueid, guint8 drbid, gb
#define RLC_LTE_EXT_LI_FIELD_TAG 0x08
/* 0 byte, tag presence indicates that AM DRB PDU is using an extended LI field of 15 bits */
+#define RLC_LTE_NB_MODE_TAG 0x09
+/* 1 byte containing rlc_lte_nb_mode enum value */
+
/* RLC PDU. Following this tag comes the actual RLC PDU (there is no length, the PDU
continues until the end of the frame) */
#define RLC_LTE_PAYLOAD_TAG 0x01