summaryrefslogtreecommitdiff
path: root/kernel/zaptel.h
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-05-11 01:57:08 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-05-11 01:57:08 +0000
commit5b015bcfeb0e884409fed5da755e7df15e022ba9 (patch)
tree1b075b5efa5fb6f6c28ee2eda354fcf5a14b1a4d /kernel/zaptel.h
parent544da9d823dd32caee4d487a06c6dd37b8de9ae8 (diff)
Merge in kernel level MTP2 branch.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4250 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/zaptel.h')
-rw-r--r--kernel/zaptel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/zaptel.h b/kernel/zaptel.h
index 37fb94e..3415e09 100644
--- a/kernel/zaptel.h
+++ b/kernel/zaptel.h
@@ -143,6 +143,7 @@
#define ZT_SIG_EM_E1 (1 << 17) /* E1 E&M Variation */
#define ZT_SIG_DACS_RBS ((1 << 18) | __ZT_SIG_DACS) /* Cross connect w/ RBS */
#define ZT_SIG_HARDHDLC ((1 << 19) | ZT_SIG_CLEAR)
+#define ZT_SIG_MTP2 ((1 << 20) | ZT_SIG_HDLCFCS) /* MTP2 support Need HDLC bitstuff and FCS calcuation too */
/* tone flag values */
#define ZT_REVERSE_RXTONE 1 /* reverse polarity rx tone logic */
@@ -1554,6 +1555,7 @@ typedef enum {
#define ZT_FLAG_SIGFREEZE (1 << 16) /* Freeze signalling */
#define ZT_FLAG_NOSTDTXRX (1 << 17) /* Do NOT do standard transmit and receive on every interrupt */
#define ZT_FLAG_LOOPED (1 << 18) /* Loopback the receive data from the channel to the transmit */
+#define ZT_FLAG_MTP2 (1 << 19) /* Repeats last message in buffer and also discards repeating messages sent to us */
/* This is a redefinition of the flags from above to allow use of the kernel atomic bit testing and changing routines.
* See the above descriptions for ZT_FLAG_.... for documentation about function. */
@@ -1577,6 +1579,7 @@ enum {
ZT_FLAGBIT_SIGFREEZE = 16,
ZT_FLAGBIT_NOSTDTXRX = 17,
ZT_FLAGBIT_LOOPED = 18,
+ ZT_FLAGBIT_MTP2 = 19,
};
struct zt_span {