summaryrefslogtreecommitdiff
path: root/drivers/dahdi/adt_lec.h
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-05-21 15:11:48 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-05-21 15:11:48 +0000
commit802b567e6c7ba7803a950324cbed13f7d57944cb (patch)
tree6b90ca3119aaa2e4073d3b651ac965dea5d3430e /drivers/dahdi/adt_lec.h
parentec5ce88e015b41c2f46f6c9b783339b945f9502a (diff)
start copying kernel bits
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4315 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/adt_lec.h')
-rw-r--r--drivers/dahdi/adt_lec.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/dahdi/adt_lec.h b/drivers/dahdi/adt_lec.h
new file mode 100644
index 0000000..c91020d
--- /dev/null
+++ b/drivers/dahdi/adt_lec.h
@@ -0,0 +1,43 @@
+/*
+ * ADT Line Echo Canceller Parameter Parsing
+ *
+ * Copyright (C) 2008 Digium, Inc.
+ *
+ * Kevin P. Fleming <kpfleming@digium.com>
+ *
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef _ADT_LEC_H
+#define _ADT_LEC_H
+
+enum adt_lec_nlp_type {
+ ADT_LEC_NLP_OFF = 0,
+ ADT_LEC_NLP_MUTE,
+ ADT_LEC_RANDOM_NOISE,
+ ADT_LEC_HOTH_NOISE,
+ ADT_LEC_SUPPRESS,
+};
+
+struct adt_lec_params {
+ __u32 tap_length;
+ enum adt_lec_nlp_type nlp_type;
+ __u32 nlp_threshold;
+ __u32 nlp_max_suppress;
+};
+
+#endif /* _ADT_LEC_H */