Debian Codegraph @

src/libqmi-glib/qmi-enums-wda.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) 2014-2017 Aleksander Morgado <[email protected]>
21 */
22
23 #ifndef _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
24 #define _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
25
26 #if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION)
27 #error "Only <libqmi-glib.h> can be included directly."
28 #endif
29
30 /**
31 * SECTION: qmi-enums-wda
32 * @title: WDA enumerations and flags
33 * @short_description: Enumerations and flags in the WDA service.
34 *
35 * This section defines enumerations and flags used in the WDA service
36 * interface.
37 */
38
39 /**
40 * QmiWdaLinkLayerProtocol:
41 * @QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN: Unknown.
42 * @QMI_WDA_LINK_LAYER_PROTOCOL_802_3: 802.3 ethernet mode.
43 * @QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP: Raw IP mode.
44 *
45 * Link layer protocol.
46 *
47 * Since: 1.10
48 */
49 typedef enum { /*< since=1.10 >*/
50 QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN = 0x00,
51 QMI_WDA_LINK_LAYER_PROTOCOL_802_3 = 0x01,
52 QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP = 0x02,
53 } QmiWdaLinkLayerProtocol;
54
55 /**
56 * QmiWdaDataAggregationProtocol:
57 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED: Disabled.
58 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP: TLP enabled.
59 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM: QC NCM enabled.
60 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM: MBIM enabled.
61 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS: RNDIS enabled.
62 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP: QMAP enabled.
63 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2: QMAPV2 enabled. Since 1.30.
64 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3: QMAPV3 enabled. Since 1.30.
65 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4: QMAPV4 enabled. Since 1.30.
66 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5: QMAPV5 enabled. Since 1.28.
67 *
68 * Data aggregation protocol in uplink or downlink.
69 *
70 * Since: 1.10
71 */
72 typedef enum { /*< since=1.10 >*/
73 QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED = 0x00,
74 QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP = 0x01,
75 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM = 0x02,
76 QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM = 0x03,
77 QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS = 0x04,
78 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP = 0x05,
79 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2 = 0x06,
80 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3 = 0x07,
81 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4 = 0x08,
82 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5 = 0x09,
83 } QmiWdaDataAggregationProtocol;
84
85 /**
86 * QmiWdaLoopBackState:
87 * @QMI_WDA_LOOPBACK_DISABLED: Disabled.
88 * @QMI_WDA_LOOPBACK_ENABLED: Enabled.
89 *
90 * Loopback configuration state.
91 *
92 * Since: 1.36
93 */
94 typedef enum { /*< since=1.36 >*/
95 QMI_WDA_LOOPBACK_DISABLED = 0x00,
96 QMI_WDA_LOOPBACK_ENABLED = 0x01,
97 } QmiWdaLoopBackState;
98
99 #endif /* _LIBQMI_GLIB_QMI_ENUMS_WDA_H_ */