blob: 2d35f08a7c675f331522b092155f802deb98e87a [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) 2013
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 * lpp_msgid.h
40 *
41 * Project:
42 * --------------------------------------------------------
43 * LTE project
44 *
45 * Description:
46 * --------------------------------------------------------
47 * LTE Positioning Protocol related message identity definition
48 *
49 * Author:
50 * --------------------------------------------------------
51 * -------
52 *
53 * --------------------------------------------------------
54 * $Log$
55 *
56 * 11 10 2020 jie-yu.wang
57 * [MOLY00589182] [Gen97][MP7][Memory reduction] Stage V - LTE POS preempt LTE/NR HARQ buffer
58 *
59 * [Interface][LPP].
60 *
61 * 11 29 2019 jie-yu.wang
62 * [MOLY00461947] [LPP] Patch back from 1001.DEV to VMOLY
63 * [SWRD] LPP patch back
64 *
65 * 07 24 2019 allen.keh
66 * [MOLY00423216] [MT6297][VGMM] message id ownership re-grouping
67 * .move some message id to vgmm_msgid.h
68 *
69 * 06 20 2019 jie-yu.wang
70 * [MOLY00415205] [AGPS] [LBS] NR Neighbor cell information for SUPL
71 * [OA][LBS] SUPL Nbr Cell Interface.
72 *
73 * 06 12 2019 jie-yu.wang
74 * [MOLY00413168] [LPP] Inter RAT OTDOA modification for adding NRRC IND
75 * [OA][LPP] InterRAT OTDOA interface change for NRRC.
76 *
77 * 03 28 2019 jie-yu.wang
78 * [MOLY00394881] [LPP] Inter RAT OTDOA modification
79 * [LPP] InterRAT OTDOA interface.
80 *
81 * 11 29 2018 roland.li
82 * [MOLY00363204] [Gen97] NR positioning interface check-in
83 * [LPP] 5G positioning interface.
84 *
85 * 09 20 2017 jie-yu.wang
86 * [MOLY00278366] LPP OTDOA new procedure architecture development
87 * [UMOLYA] Gen93 OTDOA refectoring.
88 *
89 * 07 07 2017 jie-yu.wang
90 * [MOLY00261827] [UMOYLA] LPPe development
91 * [LPP] LPPe code change check-in.
92 *
93 * 06 27 2016 jie-yu.wang
94 * [MOLY00183642] new task EL1_MPC definition for 6293
95 * (LPP) UMOLYA MessageID change.
96 *
97 * 01 13 2015 roland.li
98 * [MOLY00092193] [UMOLY][LPP]LPP R10R11 feature checkin
99 * .
100 *
101 * 08 22 2014 doug.shih
102 * [MOLY00075997] [LPP] OTDOA RESET_UE_STORED_POS_INFO flow enhancement over CP and UP
103 * .
104 *
105 * 08 04 2014 doug.shih
106 * [MOLY00073990] [LPP CP] LPP code check-in for OTDOA feature
107 * .
108 *
109 *
110 ****************************************************************************/
111#include "module_msg_range.h"
112
113#ifndef _LPP_MSGID_H
114#define _LPP_MSGID_H
115
116MODULE_MSG_BEGIN( MSG_ID_LPP_CODE_BEGIN )
117
118/****************************************************************************
119 * LPP <-> LBS
120 ****************************************************************************/
121/* LPP -> LBS */
122MSG_ID_LPP_LBS_SESSION_START_IND = MSG_ID_LPP_CODE_BEGIN,
123MSG_ID_LPP_LBS_SESSION_END_IND,
124MSG_ID_LPP_LBS_POS_METHOD_IND,
125//For LPPe, move to gps_msgid.h
126
127/* LBS -> LPP */
128MSG_ID_LPP_LBS_SESSION_END_REQ,
129MSG_ID_LPP_LBS_CAPABILITY_UPDATE_REQ,
130MSG_ID_LPP_LBS_RESET_UE_STORED_POS_INFO_REQ,
131
132MSG_ID_LPP_LBS_EXT_WLAN_CAPABILITY_IND,
133MSG_ID_LPP_LBS_EXT_BT_CAPABILITY_IND,
134MSG_ID_LPP_LBS_EXT_SENSOR_CAPABILITY_IND,
135MSG_ID_LPP_LBS_EXT_NETWORK_CAPABILITY_IND,
136MSG_ID_LPP_LBS_EXT_IPADDRESS_CAPABILITY_IND,
137
138MSG_ID_LPP_LBS_EXT_WLAN_POS_ASSIST_DATA_REQUEST_IND,
139MSG_ID_LPP_LBS_EXT_BT_POS_ASSIST_DATA_REQUEST_IND,
140MSG_ID_LPP_LBS_EXT_SENSOR_POS_ASSIST_DATA_REQUEST_IND,
141
142MSG_ID_LPP_LBS_EXT_WLAN_MEAS_QUERY_CNF,
143MSG_ID_LPP_LBS_EXT_BT_MEAS_QUERY_CNF,
144MSG_ID_LPP_LBS_EXT_SENSOR_MEAS_QUERY_CNF,
145MSG_ID_LPP_LBS_EXT_NETWORK_MEAS_QUERY_CNF,
146MSG_ID_LPP_LBS_EXT_IPADDRESS_MEAS_QUERY_CNF,
147
148/****************************************************************************
149 * LPP <-> ERRC (EL1)
150 ****************************************************************************/
151/* LPP -> ERRC */
152//move to errc_msgid.h
153
154/* LPP -> EL1 */
155//move to el1_msgid.h
156
157/* ERRC -> LPP */
158MSG_ID_LPP_ERRC_ECID_MEAS_CNF,
159MSG_ID_LPP_ERRC_IRAT_ECID_MEAS_CNF,
160MSG_ID_LPP_ERRC_SRB_STATUS_IND,
161MSG_ID_LPP_ERRC_OTDOA_MEAS_CNF,
162
163/* EL1 -> LPP */
164MSG_ID_LPP_EL1MPC_OTDOA_MEAS_CNF,
165MSG_ID_LPP_EL1MPC_OTDOA_ASSIST_DATA_CNF,
166MSG_ID_LPP_EL1MPC_OTDOA_ADDITIONAL_ASSIST_DATA_IND,
167
168
169/****************************************************************************
170 * LPP <-> GNSS Task
171 ****************************************************************************/
172/* defined in gps_msgid.h */
173
174/****************************************************************************
175 * LPP <-> EMM via EVAL
176 ****************************************************************************/
177/* LPP -> EMM (EVAL) */
178MSG_ID_LPP_EVAL_DATA_REQ,
179
180/* EMM (EVAL) -> LPP */
181MSG_ID_LPP_EVAL_DATA_IND,
182MSG_ID_LPP_EVAL_DATA_CNF,
183
184/****************************************************************************
185 * ETC -> LPP via EVAL
186 ****************************************************************************/
187/* ETC (EVAL) -> LPP */
188MSG_ID_EVAL_LPP_NW_RESET_UE_STORED_POS_INFO_IND,
189
190/****************************************************************************
191 * ETC -> LPP
192 ****************************************************************************/
193/* ETC -> LPP */
194MSG_ID_ETC_LPP_NW_RESET_UE_STORED_POS_INFO_IND,
195
196/****************************************************************************
197 * LPP (SWIP) <-> SUPL
198 ****************************************************************************/
199/* LPP (SWIP) -> SUPL */
200MSG_ID_LPP_SUPL_PDU_DATA_REQ,
201
202/* SUPL -> LPP (SWIP) */
203MSG_ID_LPP_SUPL_PDU_DATA_IND,
204MSG_ID_LPP_SUPL_PDU_DATA_CNF,
205
206/****************************************************************************
207 * LPP <-> LPP (SWIP) via LBS
208 ****************************************************************************/
209/* LPP (SWIP) -> LPP */
210MSG_ID_LPP_PEER_OTDOA_MEAS_REQ,
211MSG_ID_LPP_PEER_OTDOA_ASSIST_DATA_REQ,
212MSG_ID_LPP_PEER_OTDOA_MEAS_ABORT_REQ,
213MSG_ID_LPP_PEER_ECID_MEAS_REQ,
214MSG_ID_LPP_PEER_ECID_MEAS_ABORT_REQ,
215MSG_ID_LPP_PEER_EUTRAN_BAND_UPDATE_REQ,
216MSG_ID_LPP_PEER_OTDOA_RESET_UE_STORED_POS_REQ,
217
218/* LPP -> LPP (SWIP) */
219MSG_ID_LPP_PEER_OTDOA_MEAS_CNF,
220MSG_ID_LPP_PEER_OTDOA_ASSIST_DATA_CNF,
221MSG_ID_LPP_PEER_OTDOA_ADDITIONAL_ASSIST_DATA_REQ,
222MSG_ID_LPP_PEER_ECID_MEAS_CNF,
223MSG_ID_LPP_PEER_EUTRAN_BAND_UPDATE_CNF,
224
225/****************************************************************************
226 * LPP <-> LPP_EXT
227 ****************************************************************************/
228/* LPP -> LPP_EXT */
229MSG_ID_LPP_LPPE_EPDU_DATA_IND,
230MSG_ID_LPP_LPPE_EPDU_DATA_CNF,
231MSG_ID_LPP_LPPE_EPDU_DATA_NTF,
232MSG_ID_LPP_LPPE_STATUS_SYNC_IND,
233
234MSG_ID_LPP_LPPE_WLAN_CAPABILITY_IND,
235MSG_ID_LPP_LPPE_BT_CAPABILITY_IND,
236MSG_ID_LPP_LPPE_SENSOR_CAPABILITY_IND,
237MSG_ID_LPP_LPPE_NETWORK_CAPABILITY_IND,
238MSG_ID_LPP_LPPE_IPADDRESS_CAPABILITY_IND,
239
240MSG_ID_LPP_LPPE_WLAN_POS_ASSIST_DATA_REQUEST_IND,
241MSG_ID_LPP_LPPE_BT_POS_ASSIST_DATA_REQUEST_IND,
242MSG_ID_LPP_LPPE_SENSOR_POS_ASSIST_DATA_REQUEST_IND,
243MSG_ID_LPP_LPPE_HA_AGNSS_POS_ASSIST_DATA_REQUEST_IND,
244MSG_ID_LPP_LPPE_PMTK_DONE_IND,
245
246MSG_ID_LPP_LPPE_WLAN_MEAS_QUERY_CNF,
247MSG_ID_LPP_LPPE_BT_MEAS_QUERY_CNF,
248MSG_ID_LPP_LPPE_SENSOR_MEAS_QUERY_CNF,
249MSG_ID_LPP_LPPE_NETWORK_MEAS_QUERY_CNF,
250MSG_ID_LPP_LPPE_IPADDRESS_MEAS_QUERY_CNF,
251
252MSG_ID_LPP_LPPE_GNSS_POS_IND,
253MSG_ID_LPP_LPPE_GNSS_MEAS_IND,
254MSG_ID_LPP_LPPE_ABORT_IND,
255MSG_ID_LPP_LPPE_ERROR_IND,
256
257
258/* LPP_EXT -> LPP */
259MSG_ID_LPP_LPPE_EPDU_DATA_REQ,
260MSG_ID_LPP_LPPE_EPDU_DATA_RSP,
261
262MSG_ID_LPP_LPPE_WLAN_POS_ASSIST_DATA_PROVIDE_IND,
263MSG_ID_LPP_LPPE_BT_POS_ASSIST_DATA_PROVIDE_IND,
264MSG_ID_LPP_LPPE_SENSOR_POS_ASSIST_DATA_PROVIDE_IND,
265MSG_ID_LPP_LPPE_HA_AGNSS_POS_ASSIST_DATA_PROVIDE_IND,
266
267MSG_ID_LPP_LPPE_WLAN_MEAS_QUERY_REQ,
268MSG_ID_LPP_LPPE_BT_MEAS_QUERY_REQ,
269MSG_ID_LPP_LPPE_SENSOR_MEAS_QUERY_REQ,
270MSG_ID_LPP_LPPE_NETWORK_MEAS_QUERY_REQ,
271MSG_ID_LPP_LPPE_IPADDRESS_MEAS_QUERY_REQ,
272
273MSG_ID_LPP_LPPE_WLAN_START_IND,
274MSG_ID_LPP_LPPE_BT_START_IND,
275MSG_ID_LPP_LPPE_SENSOR_START_IND,
276MSG_ID_LPP_LPPE_NETWORK_START_IND,
277
278MSG_ID_LPP_LPPE_WLAN_STOP_IND,
279MSG_ID_LPP_LPPE_BT_STOP_IND,
280MSG_ID_LPP_LPPE_SENSOR_STOP_IND,
281MSG_ID_LPP_LPPE_NETWORK_STOP_IND,
282
283MSG_ID_LPP_LPPE_ABORT_RSP,
284MSG_ID_LPP_LPPE_ERROR_RSP,
285
286/****************************************************************************
287 * LBS <-> LPP_EXT
288 ****************************************************************************/
289/* LBS -> LPP_EXT */
290MSG_ID_LCSP_GNSS_HA_ASSIST_CNF,
291MSG_ID_LCSP_GNSS_HA_ASSIST_DATA_REQUEST_IND,
292MSG_ID_LPPE_LBS_GNSS_ASSIST_DATA_RSP,
293
294/****************************************************************************
295 * LPP <-> LPP_ADAPTER
296 ****************************************************************************/
297/* LPP->LPP_AS_Adapter */
298MSG_ID_LPP_AS_ADAPTER_OTDOA_ASSIST_DATA_REQ,
299MSG_ID_LPP_AS_ADAPTER_OTDOA_ASSIST_DATA_CLEAR_NTF,
300MSG_ID_LPP_AS_ADAPTER_OTDOA_MEAS_REQ,
301MSG_ID_LPP_AS_ADAPTER_OTDOA_MEAS_ABORT_REQ,
302/* LPP_AS_Adapter->LPP */
303MSG_ID_LPP_AS_ADAPTER_OTDOA_ASSIST_DATA_CNF,
304MSG_ID_LPP_AS_ADAPTER_OTDOA_ADDITIONAL_ASSIST_DATA_REQ,
305MSG_ID_LPP_AS_ADAPTER_OTDOA_MEAS_CNF,
306
307/****************************************************************************
308 * LPP <-> VGMM
309 ****************************************************************************/
310/* LPP -> VGMM */
311//move to vgmm_msgid.h
312
313/* EMM (EVAL) -> LPP */
314MSG_ID_LPP_VGMM_DATA_IND,
315MSG_ID_LPP_VGMM_DATA_CNF,
316
317/****************************************************************************
318 * LPP <- NRRC
319 ****************************************************************************/
320/* NRRC -> LPP */
321MSG_ID_LPP_NRRC_OTDOA_MEAS_IND,
322MSG_ID_LPP_NRRC_OTDOA_MEAS_CNF,
323
324/****************************************************************************
325 * LPP <- SASE
326 ****************************************************************************/
327/* NRRC -> LPP */
328MSG_ID_LPP_SASE_START_OTDOA_MEAS_CNF,
329
330
331MSG_ID_LPP_CODE_END,
332
333MODULE_MSG_END( MSG_ID_LPP_CODE_TAIL )
334
335#endif /* _LPP_MSGID_H */