~ubuntu-branches/ubuntu/feisty/sl-modem/feisty

« back to all changes in this revision

Viewing changes to modem/modem_homolog.h

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2004-09-06 18:17:31 UTC
  • Revision ID: james.westby@ubuntu.com-20040906181731-si44puez4f5pzd8s
Tags: upstream-2.9.9
ImportĀ upstreamĀ versionĀ 2.9.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************************/
 
2
 
 
3
/*
 
4
 *
 
5
 *    Copyright (c) 2002, Smart Link Ltd.
 
6
 *    All rights reserved.
 
7
 *
 
8
 *    Redistribution and use in source and binary forms, with or without
 
9
 *    modification, are permitted provided that the following conditions
 
10
 *    are met:
 
11
 * 
 
12
 *        1. Redistributions of source code must retain the above copyright
 
13
 *           notice, this list of conditions and the following disclaimer.
 
14
 *        2. Redistributions in binary form must reproduce the above
 
15
 *           copyright notice, this list of conditions and the following
 
16
 *           disclaimer in the documentation and/or other materials provided
 
17
 *           with the distribution.
 
18
 *        3. Neither the name of the Smart Link Ltd. nor the names of its
 
19
 *           contributors may be used to endorse or promote products derived
 
20
 *           from this software without specific prior written permission.
 
21
 *
 
22
 *    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 
23
 *    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 
24
 *    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 
25
 *    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 
26
 *    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 
27
 *    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 
28
 *    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 
29
 *    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 
30
 *    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 
31
 *    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 
32
 *    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
33
 *
 
34
 */
 
35
 
 
36
/*
 
37
 *
 
38
 *      modem_homolog.h  --  Modem Homologation definitions.
 
39
 *
 
40
 *      Author: Sasha K (sashak@smlink.com)
 
41
 *
 
42
 *
 
43
 */
 
44
 
 
45
/*****************************************************************************/
 
46
 
 
47
#ifndef __MODEM_HOMOLOG_H__
 
48
#define __MODEM_HOMOLOG_H__
 
49
 
 
50
 
 
51
/* homologation parameters struct */
 
52
struct homolog_params {
 
53
        u8 PulseDialMakeTime;
 
54
        u8 PulseDialBreakTime;
 
55
        u8 PulseDialDigitPattern;
 
56
        u8 DTMFHighToneLevel;
 
57
        u8 DTMFDialSpeed;
 
58
        u8 MinBusyCadenceOnTime;
 
59
        u8 MaxBusyCadenceOnTime;
 
60
        u8 BusyDetectionCyclesNumber;
 
61
        u8 MinBusyCadenceOffTime;
 
62
        u8 MaxBusyCadenceOffTime;
 
63
        u8 CallingToneFlag;
 
64
        u8 HookFlashTime;
 
65
        u8 DialPauseTime; // ?
 
66
        u8 TransmitLevel;
 
67
        u8 DialModifierValidation;
 
68
        u8 DialToneValidationTime;
 
69
        //u8 BusyToneDiffTime;
 
70
        u8 DTMFHighAndLowToneLevelDifference;
 
71
        u8 DialToneCallProgressFilterIndex;
 
72
        u8 DialToneDetectionThreshold;
 
73
        u8 ABCDDialingPermittedFlag;
 
74
        u8 ComaPauseDurationLimit;
 
75
        //u8 PulseAndToneDialInSameDialStringPermittedFlag;
 
76
        u8 BusyToneCallProgressFilterIndex;
 
77
        u8 PulseBetweenDigitsInterval;
 
78
        u8 DialToneWaitTime;
 
79
        u8 MinRingbackCadenceOnTime;
 
80
        u8 MaxRingbackCadenceOnTime;
 
81
        u8 RingbackDetectionCyclesNumber;
 
82
        //u8 MinRingbackCadenceOffTime;
 
83
        //u8 MaxRingbackCadenceOffTime;
 
84
        //u8 RingbackToneCallProgressFilterIndex;
 
85
        //u8 MinCongestionCadenceOnTime;
 
86
        //u8 MaxCongestionCadenceOnTime;
 
87
        //u8 CongestionDetectionCyclesNumber;
 
88
        //u8 MinCongestionCadenceOffTime;
 
89
        //u8 MaxCongestionCadenceOffTime;
 
90
        //u8 CongestionToneCallProgressFilterIndex;
 
91
        u16 CallProgressSamplesBufferLength;
 
92
        u8 MustNoiseFilterBeApplied;
 
93
        //u32 DigitalImpairmentsMask;
 
94
        //u8 DialToneFilterSubindex;
 
95
        //u8 BusyToneLooseDetectionEnabled;
 
96
        //u8 CallWaitingIntegrationTimeMiliSec;
 
97
        //u8 CallWaitingThresholdPercentage;
 
98
};
 
99
 
 
100
 
 
101
/* homologation country set */
 
102
struct homolog_set {
 
103
        const u16 id;
 
104
        const char *name;
 
105
        const struct homolog_params *params;
 
106
};
 
107
 
 
108
/* 'nulled'-terminated homologation array */
 
109
extern const struct homolog_set homolog_set[];
 
110
 
 
111
#endif /* __MODEM_HOMOLOG_H__ */