From 2a54508b0817ef7d930e15b5995c666c191356fd Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Sun, 24 Aug 2008 05:53:32 +0000 Subject: Add support for 56 KB HDLC as well as selectable rate via ioctl git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4817 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/dahdi/kernel.h') diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 1b165f9..e24e375 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -462,6 +462,7 @@ enum dahdi_rxsig { #define DAHDI_FLAG_NOSTDTXRX (1 << 17) /*!< Do NOT do standard transmit and receive on every interrupt */ #define DAHDI_FLAG_LOOPED (1 << 18) /*!< Loopback the receive data from the channel to the transmit */ #define DAHDI_FLAG_MTP2 (1 << 19) /*!< Repeats last message in buffer and also discards repeating messages sent to us */ +#define DAHDI_FLAG_HDLC56 (1 << 20) /*!< Sets the given channel (if in HDLC mode) to use 56K HDLC instead of 64K */ /*! 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 DAHDI_FLAG_.... for documentation about function. */ @@ -486,6 +487,7 @@ enum { DAHDI_FLAGBIT_NOSTDTXRX = 17, DAHDI_FLAGBIT_LOOPED = 18, DAHDI_FLAGBIT_MTP2 = 19, + DAHDI_FLAGBIT_HDLC56 = 20, }; struct dahdi_span { -- cgit v1.2.3