blob: af035a484d712e1e425abdc9a7f45f8ba81d889e [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001/*****************************************************************************
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) 2015
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#ifndef _LMD_MSG_ID_H
37#define _LMD_MSG_ID_H
38
39/*****************************************************************************
40*
41* FILE NAME :lmd_msgid.h
42*
43* DESCRIPTION :
44*
45*
46*
47* HISTORY :
48* See Log at end of file
49*
50*****************************************************************************/
51/*----------------------------------------------------------------------------
52 Include Files
53----------------------------------------------------------------------------*/
54#include "module_msg_range.h"
55
56
57MODULE_MSG_BEGIN( MSG_ID_LMD_CODE_BEGIN )
58
59 /* PSW's commands for call processing*/
60 MSG_ID_LMD_ACCESS_PROBE_ABORT_MSG = MSG_ID_LMD_CODE_BEGIN,
61 MSG_ID_LMD_TRAFFIC_CHAN_START_MSG,
62 MSG_ID_LMD_TRAFFIC_CHAN_STOP_MSG,
63 MSG_ID_LMD_RESET_MSG,
64
65 /* Service Configuration */
66 MSG_ID_LMD_SERVICE_CONFIGURATION_MSG,
67 MSG_ID_LMD_SERVICE_CONFIG_NN_MSG,
68 MSG_ID_LMD_SERVICE_OPTION_CONTROL_MSG,
69 MSG_ID_LMD_CONVERSATION_SUBSTATE_CONN_MSG,
70 MSG_ID_LMD_CONVERSATION_SUBSTATE_DISC_MSG,
71 MSG_ID_LMD_LOOPBACK_SERVICE_OPTION_MSG,
72 MSG_ID_LMD_AUDIO_SSO_CONNECT_RSP_MSG,
73 MSG_ID_LMD_AUDIO_SSO_DISCONN_RSP_MSG,
74
75 /* Markov/TDSO support */
76 MSG_ID_LMD_CLEAR_MARKOV_STATS_MSG,
77 MSG_ID_LMD_MARKOV_SERVICE_OPTION_MSG,
78
79 /* Power control message */
80 MSG_ID_LMD_PWR_CTL_PARMS_MSG,
81
82 /* Audio AGC and Handsfree messages */
83 MSG_ID_LMD_SPCH_DATA_ENC_AGC_MSG,
84 MSG_ID_LMD_SPCH_DATA_ENC_HFREE_MSG,
85 MSG_ID_LMD_SPCH_DATA_DEC_HFREE_MSG,
86
87 /* Voice Activity */
88 /* Debug */
89#ifdef MTK_CBP_ENCRYPT_VOICE
90 MSG_ID_LMD_VOICE_ENCRYPT_DISABLE_SPCH_DATA_MSG,
91 MSG_ID_LMD_VOICE_ENCRYPT_ENABLE_SPCH_DATA_MSG,
92#endif
93
94
95 /* For Data services. */
96 MSG_ID_LMD_RLP_REV_FUNDICATED_DATA_REQ_MSG,
97 MSG_ID_LMD_RLP_REV_SCH_DATA_REQ_MSG,
98 /* Data services: Fwd SCH and SCCH Ack Response Msg */
99 MSG_ID_LMD_SCCH_FWD_DATA_RSP_MSG,
100
101 /* The TDSO TX data msg */
102 MSG_ID_LMD_FCH_REV_TDSO_DATA_MSG,
103 MSG_ID_LMD_SCH_REV_TDSO_DATA_MSG,
104
105 /* SCH setup messages */
106 MSG_ID_LMD_FSCH_MSG,
107 MSG_ID_LMD_RSCH_MSG,
108 MSG_ID_LMD_FSCH_BURST_END_MSG,
109 MSG_ID_LMD_RSCH_STOP_MSG,
110 MSG_ID_LMD_FSCH_PDU_ORDER_CTRL_MSG,
111
112 /* Forward channel messages*/
113 MSG_ID_LMD_L1D_FWD_DATA_IND_MSG,
114
115 /* Reverse channel messages */
116 MSG_ID_LMD_REVERSE_ACCESS_SIG_MSG,
117 MSG_ID_LMD_EACH_SIG_MSG,
118 MSG_ID_LMD_REVERSE_TRAFFIC_SIG_MSG,
119 MSG_ID_LMD_TRANSMITTER_STATUS_MSG,
120 MSG_ID_LMD_COUNTER_SUSPEND_MSG,
121
122 /* For Diagnostic Monitor support */
123 /* Voice quality muting */
124
125
126 /* Resource Control: FCH and DCCH only */
127 MSG_ID_LMD_RESOURCE_UPDATE_MSG,
128
129 /* Sim Message */
130 MSG_ID_LMD_SIM_MSG,
131
132 /* Statistics counter retrieve and set message */
133 MSG_ID_LMD_GET_STAT_CNT_MSG,
134 MSG_ID_LMD_SET_STAT_CNT_MSG,
135 MSG_ID_LMD_RESET_STAT_CNT_MSG,
136 MSG_ID_LMD_SET_FER_STATS_NUM_FRAMES_MSG,
137
138 /* Debug Screen Info message */
139 MSG_ID_LMD_GET_DEBUG_SCRN_INFO_MSG,
140
141 /* Speech Routing Disable Message */
142 MSG_ID_LMD_SPEECH_DISABLE_MSG,
143 /* Instruct LMD to stop requesting data from RLP but continue
144 * submitting R-Sch Tx data to DSPm.
145 */
146 MSG_ID_LMD_RLP_STOP_REQ_MSG,
147
148 MSG_ID_LMD_CLEAR_FWD_SCH_DTX_STATS_MSG,
149 MSG_ID_LMD_SPEECH_LOOPBACK_MODE_MSG,
150
151 MSG_ID_LMD_TX_SPCH_MSG,
152 MSG_ID_LMD_TX_LOOPBACK_MSG,
153 MSG_ID_LMD_TX_MARKOV_MSG,
154 MSG_ID_LMD_TX_TDSO_MSG,
155
156
157 /* signal ID from ... to ... */
158 MSG_ID_LMD_FORWARD_CHAN_SIG,
159 MSG_ID_LMD_REVERSE_CHAN_SIG,
160 MSG_ID_LMD_STARTUP_SIGNAL,
161 MSG_ID_LMD_20MS_STROBE_SIG,
162 MSG_ID_LMD_FWD_CHAN_SIGNAL_SUP,
163 MSG_ID_LMD_START_SERVICE_CONFIG_SIG,
164 MSG_ID_LMD_START_NN_SERVICE_CONFIG_SIG,
165 MSG_ID_LMD_SERVICE_OPTION_CONTROL_SIG,
166 MSG_ID_LMD_REVERSE_SIGNALING_TXED_SIG,
167 MSG_ID_LMD_UNUSED_SIG,
168 MSG_ID_LMD_REVERSE_SCH0_STOP_SIG,
169 MSG_ID_LMD_REVERSE_SCH1_ON_SIG,
170 MSG_ID_LMD_REVERSE_SCH1_STOP_SIG,
171 MSG_ID_LMD_FORWARD_SCH0_ON_SIG,
172 MSG_ID_LMD_FORWARD_SCH1_STOP_SIG,
173 MSG_ID_LMD_FORWARD_SCH1_ON_SIG,
174 MSG_ID_LMD_ACCESS_PROBE_COMPLETE_SIG,
175 MSG_ID_LMD_RESOURCE_UPDATE_SIG,
176 MSG_ID_LMD_FWD_HIGHSPEED_DATA_SIG,
177 MSG_ID_LMD_MUXPDU_TIMEOUT_SIG,
178 MSG_ID_LMD_REV_DTX_DURATION_EXPIRE,
179 MSG_ID_IPC_DSV_SEND_AUDIO_CHAN_QLTY_MSG,/*TODO for 93*/
180 MSG_ID_IPC_DSV_SEND_AUDIO_SPCH_ROUTING_MSG,
181 MSG_ID_IPC_DSV_SEND_AUDIO_SSO_CONNECT_MSG,
182 MSG_ID_IPC_DSV_SEND_AUDIO_SSO_CTRL_PARAMS_MSG,
183 MSG_ID_IPC_DSV_SEND_AUDIO_SSO_DISCONNECT_MSG,
184 MSG_ID_IPC_DSV_SET_MIC_VOICE_ENC_MAX_RATE_MSG,
185 MSG_ID_IPC_DSV_SEND_SPKR_VOICE_FWD_CH_PCKT_DATA_MSG,
186 MSG_ID_SDRV_SSO_CONN_DONE_MSG,
187 MSG_ID_SDRV_SSO_DISCONN_DONE_MSG,
188 MSG_ID_CAAL_SSO_CONN_RSP_MSG,
189 MSG_ID_CAAL_SSO_DISCONN_RSP_MSG,
190 MSG_ID_CAAL_SPH_DATA_UL_MSG,
191
192 /* Added messages for MTK_PLT_ON_PC_UT */
193 MSG_ID_UT_LMD_FWD_DATA_IND_MSG,
194 MSG_ID_UT_LMD_REV_DATA_REQ_MSG,
195 MSG_ID_UT_LMD_EFUSE_CHECK_MSG,
196
197
198 MSG_ID_LMD_NUM_CMD_MSG_IDS,
199
200MODULE_MSG_END( MSG_ID_LMD_CODE_TAIL )
201
202
203#endif
204