Author: dbailey
Date: Tue Dec 4 14:56:14 2007
New Revision: 3298
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3298
a>
Log:
Add ioctl call to set hw gain from CLI.
Modified:
branches/1.4/zaptel.h
Modified: branches/1.4/zaptel.h
URL: http://svn
.digium.com/view/zaptel/branches/1.4/zaptel.h?view=diff&
rev=3298&r1=3297&r2=3298
============================================================
==================
--- branches/1.4/zaptel.h (original)
+++ branches/1.4/zaptel.h Tue Dec 4 14:56:14 2007
 -386,6
+386,11 
char echo_canceller[80];
};
+struct zt_hwgain{
+ int newgain; /* desired gain in dB but x10. -3.5dB would
be -35 */
+ int tx:1; /* 0=rx; 1=tx */
+};
+
/* ioctl definitions */
#define ZT_CODE 'J'
 -691,6
+696,11 
* transmitted back on the interface)
*/
#define ZT_LOOPBACK _IOW(ZT_CODE, 58, int)
+
+/*
+ * Set the HW gain for a device
+ */
+#define ZT_SET_HWGAIN _IOW (ZT_CODE, 86, struct
zt_hwgain)
/*
* 60-80 are reserved for private drivers
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--
zaptel-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/zaptel-commits
a>
|