data: update qmi-service-uim.json from libqmi git
[project/uqmi.git] / qmi-enums-wda.h
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 Aleksander Morgado <aleksander@aleksander.es>
21 */
22
23 #ifndef _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
24 #define _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
25
26 /**
27 * SECTION: qmi-enums-wda
28 * @title: WDA enumerations and flags
29 *
30 * This section defines enumerations and flags used in the WDA service
31 * interface.
32 */
33
34 /**
35 * QmiWdaLinkLayerProtocol:
36 * @QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN: Unknown.
37 * @QMI_WDA_LINK_LAYER_PROTOCOL_802_3: 802.3 ethernet mode.
38 * @QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP: Raw IP mode.
39 *
40 * Link layer protocol.
41 */
42 typedef enum {
43 QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN = 0x00,
44 QMI_WDA_LINK_LAYER_PROTOCOL_802_3 = 0x01,
45 QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP = 0x02,
46 } QmiWdaLinkLayerProtocol;
47
48 /**
49 * QmiWdaDataAggregationProtocol:
50 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED: Disabled.
51 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP: TLP enabled.
52 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM: QC NCM enabled.
53 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM: MBIM enabled.
54 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS: RNDIS enabled.
55 * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP: QMAP enabled.
56 *
57 * Data aggregation protocol in uplink or downlink.
58 */
59 typedef enum {
60 QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED = 0x00,
61 QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP = 0x01,
62 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM = 0x02,
63 QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM = 0x03,
64 QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS = 0x04,
65 QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP = 0x05,
66 } QmiWdaDataAggregationProtocol;
67
68 #endif /* _LIBQMI_GLIB_QMI_ENUMS_WDA_H_ */