📄 cnxt_diag_codes_ex.h
字号:
/* * Copyright (c) 2003-2004 Linuxant inc. * Copyright (c) 2001-2004 Conexant Systems, Inc. * * 1. Permitted use. Redistribution and use in source and binary forms, * without modification, are only permitted under the terms set forth herein. * * 2. Disclaimer of Warranties. LINUXANT, ITS SUPPLIERS, AND OTHER CONTRIBUTORS * MAKE NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY PURPOSE. * IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND. * LINUXANT AND OTHER CONTRIBUTORS DISCLAIMS ALL WARRANTIES WITH REGARD * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE, GOOD TITLE AND AGAINST INFRINGEMENT. * * This software has not been formally tested, and there is no guarantee that * it is free of errors including, but not limited to, bugs, defects, * interrupted operation, or unexpected results. Any use of this software is * at user's own risk. * * 3. No Liability. * * (a) Linuxant, its suppliers, or contributors shall not be responsible for * any loss or damage to users, customers, or any third parties for any reason * whatsoever, and LINUXANT, ITS SUPPLIERS OR CONTRIBUTORS SHALL NOT BE LIABLE * FOR ANY ACTUAL, DIRECT, INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR * CONSEQUENTIAL (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED, WHETHER IN CONTRACT, STRICT OR OTHER LEGAL THEORY OF * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * * (b) User agrees to hold Linuxant, its suppliers, and contributors harmless * from any liability, loss, cost, damage or expense, including attorney's fees, * as a result of any claims which may be made by any person, including * but not limited to User, its agents and employees, its customers, or * any third parties that arise out of or result from the manufacture, * delivery, actual or alleged ownership, performance, use, operation * or possession of the software furnished hereunder, whether such claims * are based on negligence, breach of contract, absolute liability or any * other legal theory. * * 4. Notices. User hereby agrees not to remove, alter or destroy any * copyright, trademark, credits, other proprietary notices or confidential * legends placed upon, contained within or associated with the Software, * and shall include all such unaltered copyright, trademark, credits, * other proprietary notices or confidential legends on or in every copy of * the Software. * * 5. Reverse-engineering. User hereby agrees not to reverse engineer, * decompile, or disassemble the portions of this software provided solely * in object form, nor attempt in any manner to obtain their source-code. * * 6. Redistribution. Redistribution of this software is only permitted * for exact copies (without modification) of versions explicitly marked * and officially released by Linuxant with the word "free" in their name. * Redistribution or disclosure of other versions, derivatives or license key * information is expressly prohibited without explicit written approval signed * by an authorized Linuxant officer. * * 7. Performance. V.92 modems are designed to be capable of receiving data at * up to 56Kbps with compatible phone line and server equipment, and transmitting * data at up to 31.2Kbps. V.90 modems are designed to be capable of receiving * data at up to 56 Kbps from a compatible service provider and transmitting data * at up to about 28.8 Kbps. Public networks currently limit download speeds to * about 53Kbps. The free version of the drivers is limited to 14.4Kbps. * Actual speeds vary and are often less than the maximum possible. * * *//***************************************************************************************** PVCS Version Control Information ** ** $Header: R:/pvcs68/vm/common/Cider Project/archives/Octopus/include/cnxt_diag_codes_ex.h-arc 1.2 May 14 2003 19:30:58 shay $* ******************************************************************************************/ /*---------------------------------------------------------------------------- * * Copyright (C) 1996-2001 Conexant Systems Inc. * All rights reserved. * *---------------------------------------------------------------------------- * * File: cnxt_diag_codes_ex.h * *---------------------------------------------------------------------------- */ #ifndef _CNXT_DIAG_CODES_EX_H_#define _CNXT_DIAG_CODES_EX_H_#include "codesdeps.h"/* define the version of the diagnostic interface */#define DIAG_API_VERSION 7#define TMP_LASSO_TESTS_RANGE 10000 /* diagnostic codes for Modem Monitor */typedef enum {/*0*/ CSDIAG_DRIVER_VERSION ,/*string Version of device drivers */ CSDIAG_HARDWARE_PNP_ID ,/*string For PCI device: vendor, device, subsystem device and vendor IDs */ CSDIAG_MODEM_FRIENDLY_NAME ,/*string TAPI name for modem */ CSDIAG_MODEM_COM_PORT ,/*DWORD Port number (1, 2, 3, ...) */ CSDIAG_DTE_EVENT_MASK ,/*DWORD Event bitmask from COMM API: CD, CTS, DSR, RI *//*5*/ CSDIAG_LAST_NUMBER_DIALED ,/*string Last dial string entered */ CSDIAG_V8_CM ,/*string v.8 CM octets (field no. 4 in AT#UD) */ CSDIAG_V8_JM ,/*string v.8 JM octets (field no. 5 in AT#UD) */ CSDIAG_V8BIS_FLEX ,/*DWORD V.8bis negotiation strings, flex version */ CSDIAG_V8BIS_DSP_VER ,/*DWORD V.8bis negotiation strings, DSP version *//*10*/ CSDIAG_V34_INFO ,/*DWORD V.34 INFO sequence bitmap */ CSDIAG_MP_SEQ ,/*string MP sequence */ CSDIAG_PROTOCOL_NEG_RES ,/*DWORD v.42 LAPM, MNP4, MNP10,NONE, V.80, v.70 (field no. 40 in AT#UD) */ CSDIAG_EC_FRAME_SIZE ,/*DWORD Bytes (field no. 41 in AT#UD) */ CSDIAG_EC_LINK_TIMEOUTS ,/*DWORD Number of timeouts in last session (field no. 42 in AT#UD) *//*15*/ CSDIAG_EC_LINK_NAKS ,/*DWORD Number of packet retransmit requests in last session (field no. 43 in AT#UD) */ CSDIAG_CMPRS_NEG_RES ,/*DWORD v.42bis, MNP5, none (field no. 44 in AT#UD) */ CSDIAG_CMPRS_DICT_SIZE ,/*DWORD Compression dictionalry size in bytes (field no. 45 in AT#UD) */ CSDIAG_SNR ,/*FLOAT Signal to Noise Ratio (dB) */ CSDIAG_MSE ,/*FLOAT Mean Square Error [dB] *//*20*/ CSDIAG_EQM ,/*FLOAT */ CSDIAG_RX_SCATTER ,/*FLOAT * NA */ CSDIAG_RX_NORM_FACTOR ,/*FLOAT Gain for scatter plot */ CSDIAG_ROUND_TRIP_DELAY ,/*DWORD milliseconds */ CSDIAG_TX_SIGNAL_POWER ,/*FLOAT dB *//*25*/ CSDIAG_RX_SIGNAL_POWER ,/*FLOAT dB */ CSDIAG_PAD_DETECTED ,/*DWORD PAD 0=NORMAL ,3=3dBPad 6=6dBPad PCM Pad */ CSDIAG_RBS_DETECTED ,/*DWORD RBS frame 0 to 63 (1' indicate robbed bit) Robbed Bits Signaling */ CSDIAG_NE_ECHO_POWER ,/*FLOAT Near End Echo [dB] */ CSDIAG_FE_ECHO_POWER ,/*FLOAT Far End Echo [dB] *//*30*/ CSDIAG_TX_SYMBOL_RATE ,/*DWORD per second */ CSDIAG_RX_SYMBOL_RATE ,/*DWORD per second */ CSDIAG_TX_CARRIER_FREQUENCY ,/*DWORD Hertz */ CSDIAG_RX_CARRIER_FREQUENCY ,/*DWORD Hertz */ CSDIAG_AGC_MIN ,/*DWORD dB *//*35*/ CSDIAG_AGC_MAX ,/*DWORD dB */ CSDIAG_AGC_LAST ,/*DWORD dB */ CSDIAG_120_HZ_POWER ,/*BOOL High power level detect in band below 120 Hz */ CSDIAG_HIGHPASS_FILTER_ENABLED ,/*BOOL High Pass filter enabled */ CSDIAG_HIGHEST_RX_STATE ,/*DWORD TBD *//*40*/ CSDIAG_HIGHEST_TX_STATE ,/*DWORD TBD */ CSDIAG_MODEM_STATE ,/*DWORD TBD */ CSDIAG_HANDSHAKE_SEQUENCE ,/*TBD TBD */ CSDIAG_CALL_SETUP_RES ,/*DWORD no dialtone, fast busy, busy, voice, data answer tone, data calling tone, fax answer tone, fax calling tone, v.8 bis tone (field no. 1 in AT#UD) */ CSDIAG_MULTI_MEDIA_MODE ,/*DWORD data, fax, voice, voice view, v.70, h.324 (field no. 2 in AT#UD) *//*45*/ CSDIAG_TERMINATION_CAUSE ,/*DWORD Key abort, Carrier loss, Extension pickup , Call waiting tone detect, Inactivity timer, Link disconnect (normal), GSTN Cleardown, Line current reversal, ATH, DTR drop, Long space disconnect, Excessive retransmissions, Incompatible protocol, Incompatible modulation, S6 timed out, Line current lost, Loss of sync (V.42bis or MNP5), N400 exceeded (field no. 60 in AT#UD) */ CSDIAG_RATE_RENEG_EV_CNT ,/*DWORD Number of rate renegotiation events in last session (field no. 31 in AT#UD) */ CSDIAG_RATE_RENEG_REQ ,/*DWORD Number requested in last session */ CSDIAG_RATE_RENEG_GRANTED ,/*DWORD Number granted in last session */ CSDIAG_RATE_RENEG_REASON ,/*DWORD High EQM (fallback), Low EQM (fall forward), Excessive V.42/LAPM retransmits *//*50*/ CSDIAG_RATE_RENEG_SILENCE_REQ ,/*DWORD Number requested in last session */ CSDIAG_RATE_RENEG_SILENCE_GRANTED ,/*DWORD Number granted in last session */ CSDIAG_RATE_RENEG_SILENCE_REASON ,/*DWORD Reason for last rate reneg with silence */ CSDIAG_RTRN_REQ ,/*DWORD Number requested in last session (field no. 32 in AT#UD) */ CSDIAG_RTRN_GRANTED ,/*DWORD Number granted in last session (field no. 33 in AT#UD) *//*55*/ CSDIAG_RTRN_REASON ,/*DWORD Failed rate reneg, High EQM, 2 consecutive rate renegs, Suspected carrier loss, User initiated (ATO1), Excessive V.42/LAPM retransmits */ CSDIAG_TIME_CONNECTED ,/*DWORD Seconds, duration of last session */ CSDIAG_TX_BIT_RATE_FIRST ,/*DWORD Bits per second */ CSDIAG_RX_BIT_RATE_FIRST ,/*DWORD Bits per second */ CSDIAG_TX_BIT_RATE_MIN ,/*DWORD Bits per second *//*60*/ CSDIAG_RX_BIT_RATE_MIN ,/*DWORD Bits per second */ CSDIAG_TX_BIT_RATE_MAX ,/*DWORD Bits per second */ CSDIAG_RX_BIT_RATE_MAX ,/*DWORD Bits per second */ CSDIAG_TX_BIT_RATE ,/*DWORD Bits per second */ CSDIAG_RX_BIT_RATE ,/*DWORD Bits per second *//*65*/ CSDIAG_TX_NEG_RES ,/*DWORD Transmit carrier negotiated (field no. 20 in AT#UD) */ CSDIAG_RX_NEG_RES ,/*DWORD Receive carrier negotiated (field no. 21 in AT#UD) */ CSDIAG_CARRIER_LOSS_EV_CNT ,/*DWORD Number of carrier loss events during last session (field no. 30 in AT#UD) */ CSDIAG_CALL_WAIT_EV_CNT ,/*DWORD Number of call waiting events during last session (field no. 61 in AT#UD) */ CSDIAG_EXTENSION_PICKUP_EV_CNT ,/*DWORD Number of extension pickup events during last session *//*70*/ CSDIAG_V34_FALLBACK_REASON ,/*V34_FALLBACK_REASON Dual PCM detection, Loaded loop detection, ADPCM detection, a-law/mu-law combination, PCM speed too low */ CSDIAG_TOTAL_TX_BLOCKS ,/*DWORD Total number of protocol blocks transmitted in last data session */ CSDIAG_TOTAL_RX_BLOCKS ,/*DWORD Total number of protocol blocks received in last data session */ CSDIAG_TOTAL_TX_CHARS ,/*DWORD Total number of characters transmitted in last data session (field no. 52 in AT#UD) */ CSDIAG_TOTAL_RX_CHARS ,/*DWORD Total number of characters received in last data session (field no. 53 in AT#UD) *//*75*/ CSDIAG_CPU_VENDOR ,/*string Processor vendor ("Intel", "AMD", "Cyrix", ...) */ CSDIAG_CPU_SPEED ,/*DWORD Processor speed, MHz */ CSDIAG_CACHE_SIZE ,/*DWORD Level 2 Cache size reported by system */ CSDIAG_LAST_INT_CPU ,/*DWORD microseconds in last interrupt */ CSDIAG_LAST_INT_LATENCY ,/*DWORD Num of microseconds between last 2 interrupts *//*80*/ CSDIAG_MAX_INT_CPU ,/*DWORD Num of microseconds in longest interrupt */ CSDIAG_MAX_INT_LATENCY ,/*DWORD Longest microseconds latency between 2 interrupts */ CSDIAG_SAMPLES_OVERRUNS ,/*DWORD Num of samples overrun occurred in the past */ CSDIAG_SAMPLES_UNDERRUNS ,/*DWORD Num of samples underrun occurred in the past */ CSDIAG_BUS_OVERRUNS ,/*DWORD Num of bus overruns occurred in the past *//*85*/ CSDIAG_BUS_UNDERRUNS ,/*DWORD Num of bus underruns occurred in the past */ CSDIAG_LINE_CURRENT ,/*DWORD Estimated mA drawn on line (SmartDAA only) */ CSDIAG_LINE_VOLTAGE ,/*DWORD Estimated mV (SmartDAA only) */ CSDIAG_LINE_RESISTANCE ,/*FLOAT Estimated line resistance (SmartDAA only) */ CSDIAG_MODEM_FAMILY_TYPE ,/*MODEM_FAMILY HSF, HCF *//*90*/ CSDIAG_CURRENT_COUNTRY ,/*WORD T.35 country code for which modem is configured */ CSDIAG_TX_TRELLIS_STATES ,/*INT Number of trellis states (16, 32, 64), helps distinguish remote modem vendor */ CSDIAG_RX_TRELLIS_STATES ,/*INT Number of trellis states (16, 32, 64), helps distinguish remote modem vendor */ CSDIAG_TIME_DTR_TO_HANDSHAKE ,/*DWORD Time (in milliseconds) from off hook to start of handshake */ CSDIAG_TIME_DTR_TO_PROTOCOL ,/*DWORD Time (in milliseconds) from off hook to start of normal data transfer after protocol negotiation *//*95*/ CSDIAG_QC_ENABLED ,/*BOOL return TRUE if QC is enabled */ CSDIAG_SERVER_TYPE ,/*SERVER_TYPE_INFO V34, V90 or V92 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -