diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-01-08 00:05:24 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-01-08 00:05:24 +0000 |
commit | f59bc698cc7f139b93a9c51eb65f342a789e725f (patch) | |
tree | 24921b81b0417c112be5db999a4fd2de0c0041cd /wctdm.h | |
parent | 3ac20515e24dba5119fa2d5b06157d81d84e9cc3 (diff) |
More TDM card echo API modifications. Making the fxotune program automatically
find the correct coefficients for the module. Lots of neat stuff.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@531 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.h')
-rwxr-xr-x | wctdm.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -23,6 +23,9 @@ * */ +#ifndef _WCTDM_H +#define _WCTDM_H + #include <linux/ioctl.h> #define NUM_REGS 109 @@ -45,8 +48,22 @@ struct wctdm_regop { unsigned short val; }; +struct wctdm_echo_coefs { + unsigned char acim; + unsigned char coef1; + unsigned char coef2; + unsigned char coef3; + unsigned char coef4; + unsigned char coef5; + unsigned char coef6; + unsigned char coef7; + unsigned char coef8; +}; + #define WCTDM_GET_STATS _IOR (ZT_CODE, 60, struct wctdm_stats) #define WCTDM_GET_REGS _IOR (ZT_CODE, 61, struct wctdm_regs) #define WCTDM_SET_REG _IOW (ZT_CODE, 62, struct wctdm_regop) #define WCTDM_SET_ECHOTUNE _IOW (ZT_CODE, 63, int) + +#endif /* _WCTDM_H */ |