* Copyright (c) 1993-1998 AltoCom, Inc. All rights reserved.
* Authors: Ilya Stomakhin
*
- * $Revision: 1.19 $
+ * $Revision: 1.22 $
*
- * $Id: AdslMibDef.h,v 1.19 2005/08/11 15:08:38 ilyas Exp $
+ * $Id: AdslMibDef.h,v 1.22 2006/04/03 15:30:27 ovandewi Exp $
*
* $Log: AdslMibDef.h,v $
+ * Revision 1.22 2006/04/03 15:30:27 ovandewi
+ * fix structure name and types
+ *
+ * Revision 1.20 2006/03/31 20:26:36 dadityan
+ * PLN and NL Data
+ *
* Revision 1.19 2005/08/11 15:08:38 ilyas
* Added string scrambling checking and AnnexL/M submodes display
*
#define kAdslCfgPwmSyncClockOn 0x00080000
#define kAdslCfgPwmSyncClockOff 0x00000000
+#define kAdslCfgDemodCap2Mask 0x00100000
+#define kAdslCfgDemodCap2On 0x00100000
+#define kAdslCfgDemodCap2Off 0x00000000
+
#define kAdslCfgDefaultTrainingMargin -1
#define kAdslCfgDefaultShowtimeMargin -1
#define kAdslCfgDefaultLOMTimeThld -1
long adsl2Param;
long adslPwmSyncClockFreq;
long adslHsModeSwitchTime;
+ long adslDemodCap2Mask;
+ long adslDemodCap2Value;
} adslCfgProfile;
/*
#define kOidAdslPrivChanCharLin 5
#define kOidAdslPrivChanCharLog 6
#define kOidAdslPrivQuietLineNoise 7
+#ifdef ADSL_MIBOBJ_PLN
+#define kOidAdslPrivPLNDurationBins 8
+#define kOidAdslPrivPLNIntrArvlBins 9
+#define kOidAdslPrivPLNValueps 10
+#define kOidAdslPrivPLNThldCntps 11
+#define kOidAdslPrivPLNDurationHist 12
+#define kOidAdslPrivPLNIntrArvlHist 13
+#endif
+#define kOidAdslPrivNLDistNoise 14
#define kOidAdslPrivExtraInfo 255
#define kOidAdslLine 1
#define kAdslTrellisOff 0
#define kAdslTrellisOn 1
+#define kAdsl2TrellisRxEnabled 0x1
+#define kAdsl2TrellisTxEnabled 0x2
/* AnnexC modulation and bitmap types for the field (adslConnection.modType) */
unsigned long adslAturPerfPrev1DayMoniSecs;
} adslChanPerfDataEntry;
+
+typedef struct _adslNonLinearityData{
+ unsigned short maxCriticalDistNoise;
+ unsigned short distAffectedBits;
+} adslNonLinearityData;
+
+#ifdef ADSL_MIBOBJ_PLN
+typedef struct _adslPLNDataEntry {
+ char PLNState;
+ unsigned long PLNThldBB;
+ unsigned long PLNThldPerTone;
+ char PLNNbDurBins;
+ char PLNNbIntArrBins;
+ unsigned long PLNPerToneCounter;
+ unsigned long PLNBBCounter;
+} adslPLNDataEntry;
+
+#endif
+
#define kAdslMibChanPerfIntervals 4
/* Adsl trap threshold definitions */
unsigned char trellisCoding; /* off(0) or on(1) */
adslDataConnectionInfo rcvInfo;
adslDataConnectionInfo xmtInfo;
+ unsigned char trellisCoding2;
} adslConnectionInfo;
typedef struct _adsl2DataConnectionInfo {
adslPerfCounters adslTxPerfTotal;
adslPerfCounters adslTxPerfLast15Min;
adslPerfCounters adslTxPerfLast1Day;
+ adslNonLinearityData adslNonLinData;
+ #ifdef ADSL_MIBOBJ_PLN
+ adslPLNDataEntry adslPLNData;
+ #endif
} adslMibInfo;
#if defined(__cplusplus)