-
Notifications
You must be signed in to change notification settings - Fork 0
/
qmi-enums-wda.h
79 lines (74 loc) · 2.98 KB
/
qmi-enums-wda.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* libqmi-glib -- GLib/GIO based library to control QMI devices
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
* Copyright (C) 2014-2017 Aleksander Morgado <aleksander@aleksander.es>
*/
#ifndef _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
#define _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
/**
* SECTION: qmi-enums-wda
*
* This section defines enumerations and flags used in the WDA service
* interface.
*/
/**
* QmiWdaLinkLayerProtocol:
* @QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN: Unknown.
* @QMI_WDA_LINK_LAYER_PROTOCOL_802_3: 802.3 ethernet mode.
* @QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP: Raw IP mode.
*
* Link layer protocol.
*
* Since: 1.10
*/
typedef enum { /*< since=1.10 >*/
QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN = 0x00,
QMI_WDA_LINK_LAYER_PROTOCOL_802_3 = 0x01,
QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP = 0x02,
} QmiWdaLinkLayerProtocol;
/**
* QmiWdaDataAggregationProtocol:
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED: Disabled.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP: TLP enabled.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM: QC NCM enabled.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM: MBIM enabled.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS: RNDIS enabled.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP: QMAP enabled.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2: QMAPV2 enabled. Since: 1.30.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3: QMAPV3 enabled. Since: 1.30.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4: QMAPV4 enabled. Since: 1.30.
* @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5: QMAPV5 enabled. Since: 1.28.
*
* Data aggregation protocol in uplink or downlink.
*
* Since: 1.10
*/
typedef enum { /*< since=1.10 >*/
QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED = 0x00,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP = 0x01,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM = 0x02,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM = 0x03,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS = 0x04,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP = 0x05,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2 = 0x06,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3 = 0x07,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4 = 0x08,
QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5 = 0x09,
} QmiWdaDataAggregationProtocol;
#endif /* _LIBQMI_GLIB_QMI_ENUMS_WDA_H_ */