Reference Driver

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7 57
6.5 Ring Detection Services
The following services control how the FXO manages Ring Detection.
Table 5: Ring Detection Services
Name Description Descriptor
M1966_SET_MIN_INTER_RING_GAP
Set minimum inter-ring timer value. Channel
M1966_SET_RING_MIN_FREQ
Set min frequency threshold for ring filter. Channel
M1966_SET_RING_MAX_FREQ
Set max frequency threshold for ring filter. Channel
6.5.1 M1966_SET_MIN_INTER_RING_GAP
Description
Upon detection of a RGDT interrupt the driver will start a timer with a minimum duration specified by this
IOCTL (default is 150 ms). If no more RGDT interrupts are detected in that time period, then the driver
will attempt to interpret the existing RGDT interrupts (polarity reversal or ring burst). Polarity reversals
and/or ring bursts separated by less than this time period will be considered to be one event and will be
interpreted as such. RGDT interrupts farther apart than this will be interpreted as separate events.
#define M1966_SET_MIN_INTER_RING_GAP _IOWR(0xA4, 0xE2, unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_SET_MIN_INTER_RING_GAP,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_SET_MIN_INTER_RING_GAP
I/O control identifier for this operation.
unsigned long
param
Time in ms.
Return Values
Data Type Description
int
Always returns 0.