wds: add option for specifying profile index
[project/uqmi.git] / qmi-enums.h
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * uqmi -- tiny QMI support implementation
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301 USA.
19 *
20 * Copyright (C) 2012 Google, Inc.
21 */
22
23 #ifndef _LIBQMI_GLIB_QMI_ENUMS_H_
24 #define _LIBQMI_GLIB_QMI_ENUMS_H_
25
26 /**
27 * SECTION: qmi-enums
28 * @title: Common enumerations and flags
29 *
30 * This section defines common enumerations and flags used in the interface.
31 */
32
33 /**
34 * QmiService:
35 * @QMI_SERVICE_UNKNOWN: Unknown service.
36 * @QMI_SERVICE_CTL: Control service.
37 * @QMI_SERVICE_WDS: Wireless Data Service.
38 * @QMI_SERVICE_DMS: Device Management Service.
39 * @QMI_SERVICE_NAS: Network Access Service.
40 * @QMI_SERVICE_QOS: Quality Of Service service.
41 * @QMI_SERVICE_WMS: Wireless Messaging Service.
42 * @QMI_SERVICE_PDS: Position Determination Service.
43 * @QMI_SERVICE_AUTH: Authentication service.
44 * @QMI_SERVICE_AT: AT service.
45 * @QMI_SERVICE_VOICE: Voice service.
46 * @QMI_SERVICE_CAT2: Card Application Toolkit service (v2).
47 * @QMI_SERVICE_UIM: User Identity Module service.
48 * @QMI_SERVICE_PBM: Phonebook Management service.
49 * @QMI_SERVICE_QCHAT: QCHAT service.
50 * @QMI_SERVICE_RMTFS: Remote file system service.
51 * @QMI_SERVICE_TEST: Test service.
52 * @QMI_SERVICE_LOC: Location service (~ PDS v2).
53 * @QMI_SERVICE_SAR: Service access proxy service.
54 * @QMI_SERVICE_IMS: IMS settings service.
55 * @QMI_SERVICE_ADC: Analog to digital converter driver service.
56 * @QMI_SERVICE_CSD: Core sound driver service.
57 * @QMI_SERVICE_MFS: Modem embedded file system service.
58 * @QMI_SERVICE_TIME: Time service.
59 * @QMI_SERVICE_TS: Thermal sensors service.
60 * @QMI_SERVICE_TMD: Thermal mitigation device service.
61 * @QMI_SERVICE_SAP: Service access proxy service.
62 * @QMI_SERVICE_WDA: Wireless data administrative service.
63 * @QMI_SERVICE_TSYNC: TSYNC control service.
64 * @QMI_SERVICE_RFSA: Remote file system access service.
65 * @QMI_SERVICE_CSVT: Circuit switched videotelephony service.
66 * @QMI_SERVICE_QCMAP: Qualcomm mobile access point service.
67 * @QMI_SERVICE_IMSP: IMS presence service.
68 * @QMI_SERVICE_IMSVT: IMS videotelephony service.
69 * @QMI_SERVICE_IMSA: IMS application service.
70 * @QMI_SERVICE_COEX: Coexistence service.
71 * @QMI_SERVICE_PDC: Persistent device configuration service.
72 * @QMI_SERVICE_STX: Simultaneous transmit service.
73 * @QMI_SERVICE_BIT: Bearer independent transport service.
74 * @QMI_SERVICE_IMSRTP: IMS RTP service.
75 * @QMI_SERVICE_RFRPE: RF radiated performance enhancement service.
76 * @QMI_SERVICE_DSD: Data system determination service.
77 * @QMI_SERVICE_SSCTL: Subsystem control service.
78 * @QMI_SERVICE_CAT: Card Application Toolkit service (v1).
79 * @QMI_SERVICE_RMS: Remote Management Service.
80 * @QMI_SERVICE_OMA: Open Mobile Alliance device management service.
81 *
82 * QMI services.
83 */
84 typedef enum {
85 QMI_SERVICE_UNKNOWN = -1,
86 QMI_SERVICE_CTL = 0,
87 QMI_SERVICE_WDS = 1,
88 QMI_SERVICE_DMS = 2,
89 QMI_SERVICE_NAS = 3,
90 QMI_SERVICE_QOS = 4,
91 QMI_SERVICE_WMS = 5,
92 QMI_SERVICE_PDS = 6,
93 QMI_SERVICE_AUTH = 7,
94 QMI_SERVICE_AT = 8,
95 QMI_SERVICE_VOICE = 9,
96 QMI_SERVICE_CAT2 = 10,
97 QMI_SERVICE_UIM = 11,
98 QMI_SERVICE_PBM = 12,
99 QMI_SERVICE_QCHAT = 13,
100 QMI_SERVICE_RMTFS = 14,
101 QMI_SERVICE_TEST = 15,
102 QMI_SERVICE_LOC = 16,
103 QMI_SERVICE_SAR = 17,
104 QMI_SERVICE_IMS = 18,
105 QMI_SERVICE_ADC = 19,
106 QMI_SERVICE_CSD = 20,
107 QMI_SERVICE_MFS = 21,
108 QMI_SERVICE_TIME = 22,
109 QMI_SERVICE_TS = 23,
110 QMI_SERVICE_TMD = 24,
111 QMI_SERVICE_SAP = 25,
112 QMI_SERVICE_WDA = 26,
113 QMI_SERVICE_TSYNC = 27,
114 QMI_SERVICE_RFSA = 28,
115 QMI_SERVICE_CSVT = 29,
116 QMI_SERVICE_QCMAP = 30,
117 QMI_SERVICE_IMSP = 31,
118 QMI_SERVICE_IMSVT = 32,
119 QMI_SERVICE_IMSA = 33,
120 QMI_SERVICE_COEX = 34,
121 /* 35, reserved */
122 QMI_SERVICE_PDC = 36,
123 /* 37, reserved */
124 QMI_SERVICE_STX = 38,
125 QMI_SERVICE_BIT = 39,
126 QMI_SERVICE_IMSRTP = 40,
127 QMI_SERVICE_RFRPE = 41,
128 QMI_SERVICE_DSD = 42,
129 QMI_SERVICE_SSCTL = 43,
130 QMI_SERVICE_CAT = 224,
131 QMI_SERVICE_RMS = 225,
132 QMI_SERVICE_OMA = 226
133 } QmiService;
134
135 #endif /* _LIBQMI_GLIB_QMI_ENUMS_H_ */