yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | /***************************************************************************** |
| 2 | * Copyright Statement: |
| 3 | * -------------------- |
| 4 | * This software is protected by Copyright and the information contained |
| 5 | * herein is confidential. The software may not be copied and the information |
| 6 | * contained herein may not be used or disclosed except with the written |
| 7 | * permission of MediaTek Inc. (C) 2005 |
| 8 | * |
| 9 | * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 10 | * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| 11 | * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| 12 | * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 13 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 14 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 15 | * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 16 | * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 17 | * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| 18 | * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| 19 | * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| 20 | * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| 21 | * |
| 22 | * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| 23 | * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 24 | * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 25 | * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| 26 | * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 27 | * |
| 28 | * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| 29 | * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| 30 | * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| 31 | * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| 32 | * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| 33 | * |
| 34 | *****************************************************************************/ |
| 35 | |
| 36 | /******************************************************************************* |
| 37 | * Filename: |
| 38 | * --------- |
| 39 | * l4c2t30_enums.h |
| 40 | * |
| 41 | * Project: |
| 42 | * -------- |
| 43 | * MT6208 |
| 44 | * |
| 45 | * Description: |
| 46 | * ------------ |
| 47 | * This file is intends for enum definition between T30 and L4C. |
| 48 | * |
| 49 | * Author: |
| 50 | * ------- |
| 51 | * |
| 52 | * |
| 53 | *============================================================================== |
| 54 | * HISTORY |
| 55 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 56 | *------------------------------------------------------------------------------ |
| 57 | * removed! |
| 58 | * |
| 59 | *------------------------------------------------------------------------------ |
| 60 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 61 | *============================================================================ |
| 62 | *******************************************************************************/ |
| 63 | |
| 64 | /******************************************************************************** |
| 65 | * Copyright Statement: |
| 66 | * -------------------- |
| 67 | * |
| 68 | * This product has been developed using a protocol stack |
| 69 | * developed by Sasken Communication Technologies Limited. |
| 70 | * |
| 71 | ********************************************************************************/ |
| 72 | |
| 73 | |
| 74 | #ifndef _L4C2T30_ENUMS_H |
| 75 | #define _L4C2T30_ENUMS_H |
| 76 | |
| 77 | typedef enum { |
| 78 | ACTION_SET, |
| 79 | ACTION_QUERY, |
| 80 | ACTION_TEST |
| 81 | } l4c_t30_action_enum; |
| 82 | |
| 83 | typedef enum { |
| 84 | CODE_CONNECT, |
| 85 | CODE_ERROR, |
| 86 | CODE_NOCARRIER, |
| 87 | CODE_OK, |
| 88 | CODE_FCERROR, |
| 89 | NO_CODE |
| 90 | }l4c_t30_act_rsp_enum; |
| 91 | |
| 92 | |
| 93 | typedef enum { |
| 94 | FIP_INIT_PARA=0x1, /* initialize all parameters */ |
| 95 | FCC_DCE_CAP=0x2, /* DCE capability */ |
| 96 | FIS_NEG_CAP=0x4, /* current session negotiating position*/ |
| 97 | FCS_CURRENT_CAP=0x8, /* current sessioni parameters(read only) */ |
| 98 | FLP_DOC_AVAIL=0x10, /*indicate documet available for polling */ |
| 99 | FSP_POLL_ENABLE=0x20, |
| 100 | FNR_REPORT_PARAM= 0x40, |
| 101 | FIE_PI_ENABLE= 0x80, |
| 102 | FPS_PAGE_STATUS= 0x100, |
| 103 | FCQ_COPY_QUALITY= 0x200, |
| 104 | FIT_INACT_TO = 0x400, |
| 105 | FPP_PKT_PROCO= 0x800, |
| 106 | FBO_BIT_ORDER = 0x1000, |
| 107 | FEA_EOL_ALIGN = 0x2000, |
| 108 | FCR_RECV_CAP = 0x4000, |
| 109 | FBU_HDLC_REPORT = 0x8000, |
| 110 | FAP_ADD_POLL_CAP = 0x10000, |
| 111 | FRQ_RECV_Q_THRESD = 0x20000, |
| 112 | FCT_PHC_TO = 0x40000, |
| 113 | FHS_HANG_CODE = 0x80000, |
| 114 | FMS_MIN_SPEED = 0x100000, |
| 115 | FCL_CARRIER_LOSS = 0x200000, |
| 116 | FDD_ESC_REPLACE = 0x400000, |
| 117 | FFC_FORMAT_CONV = 0x800000, |
| 118 | FBS_BUFF_SIZE = 0x1000000, |
| 119 | FRY_CTC_RETRY = 0x2000000, |
| 120 | FET_POST_CMD = 0x4000000 |
| 121 | } rw_param_enum; |
| 122 | |
| 123 | typedef enum { |
| 124 | FLI_LOCAL_ID = 0x1, |
| 125 | FPI_LOCAL_ID = 0x2, |
| 126 | FNS_NON_STAND = 0x4, |
| 127 | FSA_SUB_ADD = 0x8, |
| 128 | FPW_PWD = 0x10, |
| 129 | FPA_SEL_ADD = 0x20 |
| 130 | } rw_str_param_enum; |
| 131 | |
| 132 | #if 0 |
| 133 | /* under construction !*/ |
| 134 | /* under construction !*/ |
| 135 | /* under construction !*/ |
| 136 | /* under construction !*/ |
| 137 | /* under construction !*/ |
| 138 | /* under construction !*/ |
| 139 | /* under construction !*/ |
| 140 | #endif |
| 141 | #endif |
| 142 | |