⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configtypes.h

📁 一个Linux下的软猫驱动
💻 H
📖 第 1 页 / 共 4 页
字号:
	UINT8	TxFaxLevelMin;	UINT8	TxFaxLevelMax;	UINT8	TxFaxLevelDefault;	UINT8	TxVoiceLevelMin;	UINT8	TxVoiceLevelMax;	UINT8	TxVoiceLevelDefault;	char	TxLvlAdj;							/* can be + or - */	UINT8	LowDialLevel;	UINT8	HighDialLevel;	UINT8	MaxVTSLineSingleToneLevel;} CntryTxlevelStructure;#pragma pack()/* Pulse Dial Parameters*/#pragma pack(1)typedef struct PACKED_ATTRIB tagPulse { #if ( PRJ_FLAVOUR == PRJFLVR_CYPRUS )/*		a bug in gnu assembler version 2.9.5 will give a bad value for		the field below (PulseInterd). This forces alignment of 4 and 		workaround the bug. It should be removed if future versions of		GAS fix this (Ahi).*/	UINT8	Padding;#endif 	UINT8	PulseDialMode;	UINT8	PulseMapAmperP0;					/* Maps the &P values*/	UINT8	PulseMapAmperP1;	UINT8	PulseMapAmperP2;	UINT8	PulseMapAmperP3;	char	PulseMakeOffset;					/* can be +/- */	char	PulseBreakOffset;					/* can be +/- */	UINT8	PulseSetupTime;	UINT8	PulseClearTime;	UINT16	PulseInterd;	UINT16	LineMuteDelay;						/*VRO: Line mute delay*/} CntryPulseStructure;#pragma pack()/* Ring Detection Parameters*/#pragma pack(1)typedef struct PACKED_ATTRIB tagRing {	UINT8	RingMaxFrequency;	UINT8	RingMinFrequency;	UINT16	RingStable;	UINT16	MinTimeBeforeAnswering;	UINT16	MinDelayBtwnRings;	UINT16	MaxDelayBtwnRings;    UINT16	MinRingOnTime;    UINT16	MinImmediateRingOn;    UINT16	MaxImmediateRingOn;	UINT8	P85RingWakePulseWidth;} CntryRingStructure;#pragma pack()/* DTMF Dial Parameters*/#pragma pack(1)typedef struct PACKED_ATTRIB tagDTMF {	UINT16	DTMFOnTime;	UINT16	DTMFInterdigit;   } CntryDTMFStructure;#pragma pack()#pragma pack(1)typedef struct PACKED_ATTRIB FilterParamTAG {	UINT16	FilterType;	UINT16	Biquad1[5];	UINT16	Biquad2[5];    	UINT16	LpFBK;	UINT16	LpGain;	UINT16	ThreshU;	UINT16	ThreshL;	UINT16	Biquad1_PreF[5];	UINT16	Biquad2_PreF[5];	BOOL	SqDisState;} FilterParam, *ptrFilterParam;#pragma pack()/* Filter Parameters*/#pragma pack(1)typedef struct PACKED_ATTRIB tagFilter {	FilterParam		Primary;	FilterParam		Alternate;	FilterParam		VoiceToneACallProgress;} CntryFilterStructure;#pragma pack()/* RLSD Threshold Adjustment*/typedef struct tagRLSD {	UINT32		XrthOffset;				/* can be + or -*/} CntryRLSDStructure;/* Tone Detection Parameters*/#pragma pack(1)typedef struct PACKED_ATTRIB tagTone {	UINT16		DialStable;	UINT16		WDialStable; 	UINT16		AnswerStable;	UINT16		ProgressStable;	UINT8		DialtoneWaitTime;    UINT16		PolarityReversalIgnoreTime;} CntryToneStructure;#pragma pack()#pragma pack(1)typedef struct PACKED_ATTRIB tagCadPrm {	struct {		UINT32	lMin;		UINT32	lMax;	} Interval[MAX_INTERVALS];	UINT32		lNumIntervalsNeeded;} CadPrm;#pragma pack()/* TONE CADENCE*/#pragma pack(1)typedef struct PACKED_ATTRIB tagCadence {	UINT8		ToneCadence_NumberOfPhases;	CadPrm		DialtoneParams;//new        CadPrm		WDialtoneParams;	CadPrm		BusyParams;	CadPrm		RingbackParams;	CadPrm		CongestionParams;} CntryCadenceStructure;#pragma pack()/* Blacklisting FLAGS*/#pragma pack(1)typedef struct PACKED_ATTRIB tagBL_Flags {	char		fPermBlst: 1;	char		fResetOnSuccess: 1;	char		fDistictFailures: 1;	char		fFlag0Spare3: 1;	char		fFlag0Spare4: 1;	char		fFlag0Spare5: 1;	char		fFlag0Spare6: 1;	char		fFlag0Spare7: 1;} BLFlagStructure;#pragma pack()/* Blacklisting Parameters*/#pragma pack(1)typedef struct PACKED_ATTRIB tagBlacklisting {	UINT8			BlstAction_NoDialTone;	UINT8			BlstAction_KeyAbort;	UINT8			BlstAction_Busy;	UINT8			BlstAction_NoConnection;	UINT8			BlstAction_NoAnswer;	UINT8			BlstAction_VoiceAnswer;	UINT16			BlackListingDelay1;			/* InterCall Delay upon Failure when redialing same number */	UINT16			BlackListingDelay2;			/* InterCall Delay upon Failure when redialing different number */	UINT16			BlackListingDelay3;			/* Method 2 Delay */	UINT16			BlackListingDelay4;			/* Method 3 Delay */ 	UINT16			BlackListingCount1;			/* Method 2 # of Failures */	UINT16			BlackListingCount2;			/* Method 3 # of Failures */	BLFlagStructure	BlstFlags;} CntryBlacklistingStructure;#pragma pack()#define VRID_INFO_SIZE	128typedef enum {            NO_CALLER_ID,            STORED_CALLER_ID,            VCID_CALLER_ID,            VRID_NEW_CALLER_ID            } CALLER_ID_INFO;/* CallerID Parameter*/#pragma pack(1)typedef struct PACKED_ATTRIB tagCallerID {	UINT8		Cid_TYPE;	UINT8		Cid_Prefix;	UINT8		Cid_Suffix;	UINT16		Cid_WaitTime;	UINT8		PreRing_Cid_Indicator;} CntryCallerIDStructure;#pragma pack()#pragma pack(1)typedef struct PACKED_ATTRIB{  /* Flag0*/  int fAltDialToneFilter: 1;  int fAltCallProgressFilter: 1;  int fAltWToneFilter: 1;  int fAltWAfterIntCodeFilter: 1;  int fFlag0Spare4: 1;  int fFlag0Spare5: 1;  int fFlag0Spare6: 1;  int fFlag0Spare7: 1;  /* Flag1*/  int fEnforceDialTone: 1;  int fEnforceCallingToneorCI: 1;  int fEnforceGuardTone: 1;  int fEnforceBusyTone: 1;  int fUseS7whenW: 1;  int fHangupOnCallWaiting: 1;  int fFlag1Spare6: 1;  int fFlag1Spare7: 1;  /* Flag2*/  int fDisableATH1: 1;  int fDisablePulseAfterTone: 1;  int fAllowPulseDialing: 1;  int fAllowDTMFabcd: 1;  int fEnableBlacklisting: 1;  int fLongToneIsBusy: 1;  int fSelectUlaw: 1;  int fNoBellMode: 1;  /* Flag3*/  int fSwissComma: 1;		/* Swiss approval do not want first comma in dial string*/  int fDtmfCompensation: 1; /* Use the DAA compesation table for DTMF Level.*/  int fFlag3Spare2: 1;  int fFlag3Spare3: 1;  int fFlag3Spare4: 1;  int fFlag3Spare5: 1;  int fFlag3Spare6: 1;  int fFlag3Spare7: 1;} CALL_PROGRESS_FLAGS, *PCALL_PROGRESS_FLAGS;#pragma pack()/* Agress speed Parameter*/#pragma pack(1)typedef struct PACKED_ATTRIB tagAgressSpeedIndex {	UINT8	cV90AgressSpeedIndex;	UINT8	cK56AgressSpeedIndex;	UINT8	cV34AgressSpeedIndex;} CntryAgressSpeedIndexStructure;#pragma pack()/*******************************************************************//*******************************************************************//* CallerID type 2 Parameters */typedef enum {	CAS_NOP,	CAS_SEND_DTMF,	CAS_SEND_DUAL_TONE,	CAS_RECEIVE_DTMF,	CAS_RECEIVE_DUAL_TONE,	CAS_SLEEP,} CAS_ACTION, *PCAS_ACTION;#pragma pack(1)typedef struct PACKED_ATTRIB CAS_Action_Tag {	CAS_ACTION		Action;	UINT32			Tone;	UINT32			Duration;} CntryCASAction;#pragma pack()#define MAX_CAS_ACTIONS		4#pragma pack(1)typedef struct PACKED_ATTRIB CallerID2_Tag {  UINT8				Cid_TYPE;  UINT32			CASDetectionTime; /* time given for cas detection */  CntryCASAction	CASAction[MAX_CAS_ACTIONS];} CntryCallerID2Structure;#pragma pack()/* Call waiting parameters */#define CW_ENABLE_SIGNAL_DTE_ON_DETECTED     CW_SET_WAIT_FOR_EXTERNAL_DECISION#define CW_ENABLE_HANGUP_ON_DETECTED         CW_SET_HANG_UP#define CW_DISABLE_FEATURE                   CW_SET_IGNORE#pragma pack(1)typedef struct PACKED_ATTRIB CW_HWToneDetectorParams_tag{   UINT16 wToneFrequency;   UINT8 cToneCounterTolerance;   UINT8 cToneCheckCounterPeriod;   UINT16 wToneSampleDuration;} CW_HWToneDetectorParams;#pragma pack()#pragma pack(1)/*typedef struct PACKED_ATTRIB CntryCallWaitingHwToneDetector_Tag{   CW_HWToneDetectorParams SAS_DetectorSettings;   CW_HWToneDetectorParams CAS_DetectorSettings;   UINT16 wCallWaitingTimeOut;   UINT16 wCW_AGCMAXG;   UINT16 wCW_AGCSLR;   UINT16 wCW_AGCREF;   UINT16 wCW_Alpha2Coefficient;   UINT16 wCW_Beta2Coefficient;   UINT16 wCW_Alpha1Coefficient;   UINT16 wCW_UpdateRate;   UINT16 wCW_DetectThreshold;} CntryCallWaitingHwToneDetector;*/#pragma pack()#define MOH_MAX_SWITCH_COMMANDS		4#pragma pack(1)typedef struct PACKED_ATTRIB CntryCallWaitingParams_Tag {	UINT8							ValidFlag;	/* if set to 0 CW isn't supported */	UINT32							CycleTime;	/* in ms */	CntryCallWaitingToneDetector	CW_ToneDetector;//    SINGLETONEDETECT		        ToneAS;	CntryCallWaitingAction			AcceptAction[MOH_MAX_SWITCH_COMMANDS];	CntryCallWaitingAction			ResumeAction[MOH_MAX_SWITCH_COMMANDS];	CntryCallWaitingAction			RejectAction[MOH_MAX_SWITCH_COMMANDS];} CntryCallWaitingParams;/*******************************************************************//*******************************************************************/typedef struct PACKED_ATTRIB CallWaitingInfoTag{	UINT32	dwCWEnable;	BOOL		bCWDetected;	BOOL		bCWCIDCollected;	CW_HWToneDetectorParams *pCWToneParams;	BOOL		bLookingForCAS;	BOOL		bInCWCID;} CallWaitingInfo;typedef struct PACKED_ATTRIB CntryV92Control_Tag {	UINT32	UpstreamEnable : 1;	UINT32	Fill1		   : 15;	UINT32	MohDetectCw    : 1;	UINT32	OgcEnable	   : 1;	UINT32	Fill2		   : 14;} CntryV92Control;typedef struct CntryOGCParams_Tag{	CntryCallWaitingAction	OgcInitAction[MOH_MAX_SWITCH_COMMANDS];	CntryCallWaitingAction	OgcDoneAction[MOH_MAX_SWITCH_COMMANDS];}CntryOGCParams;  #if !defined NO_QC_SUPPORTtypedef struct PACKED_ATTRIB QuickConnectInfoTag{   BOOL bProfileStorageEnable;   UINT8 cEraseProfile;   UINT32 dwCW_MOH_QCPrintState;/*   UINT32 dwATCmdQCValue; */   UINT32 dwQCEnable;   BOOL bSaveProfile;   UINT16 wRxCurrState;   UINT16 wRxPrevState;   UINT16 wTxCurrState;   UINT16 wTxPrevState;   UINT8 cCurrConf;   UINT8 cPrevConf;   BOOL bStartWA;   BOOL bDpConfigChangeAA;   BOOL bSentQC2a;   BOOL bGotQCA1d;   BOOL bUseV8Normal;      BOOL bStartedTraining;   /* Measurement, remove when done */   UINT32 dwTotalTime;   UINT32 dwStartTime;   UINT32 dwStopTime;   UINT32 dwV8QCSetupTimeStamp;   UINT32 dwV8GotQC1dTimeStamp;   UINT32 dwATCmdQCPSSValue;   BOOL  bQCPSSEnable;   UINT32 dwATCmdQCPSValue;} QuickConnectInfo;#endiftypedef struct PACKED_ATTRIB tagCtryPrmsStruct {	UINT16							T35Code;							/* T.35 Country Identification*/	char							cInter[MAX_OEM_STR_LEN];			/* Country Name*/	char							cIntCode[MAX_OEM_STR_LEN];			/* Country International Access code*/	CntryTxlevelStructure			Txlevel;							/* + Transmit Level*/	DAA_RELAY_TYPE					Relays[DEVMGR_LAST_RELAY_ENTRY];	/* + Relay Control Parameters*/	CntryPulseStructure				Pulse;								/* Pulse Dial Parameters*/	CntryRingStructure				Ring;								/* + Ring Detection Parameters*/	UINT8							SRegLimits[NUM_LIMITED_SREGS][4];	/* S Register Limiting*/	CntryDTMFStructure				DTMF;								/* + DTMF Dial Parameters*/	CntryFilterStructure			Filter;								/* + Filter Parameters*/	CntryThresholdStructure			Threshold;							/* + Thresholds Parameters*/	CntryRLSDStructure				RLSD;								/* + RLSD Threshold Adjustment*/	CntryToneStructure				Tone;								/* Tone Detection Parameters*/	CALL_PROGRESS_TIMING_CONFIG		Timing;								/* Timing Parameter*/	CntryCadenceStructure			Cadence;							/* TONE CADENCE*/	CntryBlacklistingStructure		Blacklisting;						/* Blacklisting Parameters*/	CntryCallerIDStructure			CallerID;							/* CallerId Control*/	CntryCallerID2Structure			CallerID2;	CALL_PROGRESS_FLAGS				Flags;								/* + Flag Control*/	CntryAgressSpeedIndexStructure	AgressSpeedIndex;					/* + Agress Speed Parameter*/	CntryCallWaitingParams			CallWaitingParms;					/* Call Waiting */	CntryV92Control					V92Control;                         /* */	CntryOGCParams		            OgcParams;                          /* */} CtryPrmsStruct;/* OEM PARAMETERS*/typedef struct PACKED_ATTRIB tagOEM_Flags {	/* OEMFlag0*/	int		fUseTIES: 1;	int		fAnalogSpeaker: 1;	int		fDataFaxRemoteTAM: 1;	int		fDataFaxVoiceView: 1;	int		fLCSPresent: 1;	int		f3VoltIA: 1;	int		fRemHangupPresent: 1;	int		fSpkMuteHWPresent: 1;	/* OEMFlag1*/	int		fReadCountryFromSwitch: 1;	int		fHeatSensitive: 1;				/* Heat sensitive board (notebook) */	int		fPME_Enable: 1;					/* enable D3 sleep and arming PME*/	int		fAlternateConnectMSG: 1;	int		fCountryNoneSelect: 1;			/* Option whether to allow NONE in country select tab*/	int		fSpkMuteHWPolarity: 1;	int		fLocalSpkBoostTAM: 1;			/* ON = Set IA Spk Output to maximum level, OFF = pickup default value */	int		fMicSpkControl: 1;				/* ON = allow +VGM, +VGS; OFF = not allow +VGM, +VGS & load DSVD_Default values*/	/* OEMFlag2*/	int		fNEC_ACPI: 1;					/* NEC special handling of APM/ACPI*/	int		fDisForceLAPMWhenNoV8bis: 1;	/* Disable forcing LAPM when V.8bis fails in V.90*/	int		fDosSupportDisabled: 1;			/* indicates if DOS support checkbox is toggled on/off (1=OFF)*/	int		fDosCheckBoxSupport: 1;			/* indicates if DOS support checkbox is shaded/unshaded (0=Shaded)*/	int		fCIDHandsetMode: 1;				/* ON = special local handset handling based on +VCID setting.*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -