Debian Codegraph @

src/libqmi-glib/qmi-enums-dsd.h

raw
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * libqmi-glib -- GLib/GIO based library to control QMI devices
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) 2019 Wang Jing <[email protected]>
21 * Copyright (c) 2022 Qualcomm Innovation Center, Inc.
22 */
23
24 #ifndef _LIBQMI_GLIB_QMI_ENUMS_DSD_H_
25 #define _LIBQMI_GLIB_QMI_ENUMS_DSD_H_
26
27 #if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION)
28 #error "Only <libqmi-glib.h> can be included directly."
29 #endif
30
31 /**
32 * SECTION: qmi-enums-dsd
33 * @title: DSD enumerations and flags
34 * @short_description: Enumerations and flags in the DSD service.
35 *
36 * This section defines enumerations and flags used in the DSD service
37 * interface.
38 */
39
40 /*****************************************************************************/
41
42 /**
43 * QmiDsdApnType:
44 * @QMI_DSD_APN_TYPE_DEFAULT: Default/Internet traffic.
45 * @QMI_DSD_APN_TYPE_IMS: IMS.
46 * @QMI_DSD_APN_TYPE_MMS: Multimedia Messaging Service.
47 * @QMI_DSD_APN_TYPE_DUN: Dial Up Network.
48 * @QMI_DSD_APN_TYPE_SUPL: Secure User Plane Location.
49 * @QMI_DSD_APN_TYPE_HIPRI: High Priority Mobile Data.
50 * @QMI_DSD_APN_TYPE_FOTA: over the air administration.
51 * @QMI_DSD_APN_TYPE_CBS: Carrier Branded Services.
52 * @QMI_DSD_APN_TYPE_IA: Initial Attach.
53 * @QMI_DSD_APN_TYPE_EMERGENCY: Emergency.
54 *
55 * APN type.
56 *
57 * Since: 1.26
58 */
59 typedef enum { /*< since=1.26 >*/
60 QMI_DSD_APN_TYPE_DEFAULT = 0,
61 QMI_DSD_APN_TYPE_IMS = 1,
62 QMI_DSD_APN_TYPE_MMS = 2,
63 QMI_DSD_APN_TYPE_DUN = 3,
64 QMI_DSD_APN_TYPE_SUPL = 4,
65 QMI_DSD_APN_TYPE_HIPRI = 5,
66 QMI_DSD_APN_TYPE_FOTA = 6,
67 QMI_DSD_APN_TYPE_CBS = 7,
68 QMI_DSD_APN_TYPE_IA = 8,
69 QMI_DSD_APN_TYPE_EMERGENCY = 9,
70 } QmiDsdApnType;
71
72 /**
73 * QmiDsdDataSystemNetworkType:
74 * @QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_3GPP: 3GPP network type.
75 * @QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_3GPP2: 3GPP2 network type.
76 * @QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_WLAN: WLAN network type.
77 *
78 * Network type of the data system.
79 *
80 * Since: 1.32
81 */
82 typedef enum { /*< since=1.32 >*/
83 QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_3GPP = 0,
84 QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_3GPP2 = 1,
85 QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_WLAN = 2,
86 } QmiDsdDataSystemNetworkType;
87
88 /**
89 * QmiDsdRadioAccessTechnology:
90 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_UNKNOWN: Unknown.
91 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_WCDMA: WCDMA.
92 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_GERAN: GERAN.
93 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_LTE: LTE.
94 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_TDSCDMA: TD-SDCMA.
95 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_WLAN: 3GPP WLAN.
96 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_5G: 5G.
97 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_1X: CDMA 1x.
98 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_HRPD: CDMA EVDO, HRPD.
99 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_EHRPD: CDMA EVDO with eHRPD.
100 * @QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_WLAN: 3GPP2 WLAN.
101 *
102 * Radio access technology.
103 *
104 * Since: 1.32
105 */
106 typedef enum { /*< since=1.32 >*/
107 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_UNKNOWN = 0,
108 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_WCDMA = 1,
109 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_GERAN = 2,
110 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_LTE = 3,
111 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_TDSCDMA = 4,
112 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_WLAN = 5,
113 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_5G = 6,
114 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_1X = 101,
115 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_HRPD = 102,
116 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_EHRPD = 103,
117 QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_WLAN = 104,
118 } QmiDsdRadioAccessTechnology;
119
120 #endif /* _LIBQMI_GLIB_QMI_ENUMS_DSD_H_ */