1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * uqmi -- tiny QMI support implementation
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.
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.
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.
20 * Copyright (C) 2012 Google Inc.
23 #ifndef _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_
24 #define _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_
26 /*****************************************************************************/
31 * @QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_ABSENT: QoS header absent
32 * @QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_PRESENT: QoS header present
34 * Controls whether the network port data format includes a QoS header or not.
35 * Should normally be set to ABSENT.
38 QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_ABSENT
= 0,
39 QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_PRESENT
= 1,
43 * QmiCtlDataLinkProtocol:
44 * @QMI_CTL_DATA_LINK_PROTOCOL_802_3: data frames formatted as 802.3 Ethernet
45 * @QMI_CTL_DATA_LINK_PROTOCOL_RAW_IP: data frames are raw IP packets
47 * Determines the network port data format.
50 QMI_CTL_DATA_LINK_PROTOCOL_UNKNOWN
= 0,
51 QMI_CTL_DATA_LINK_PROTOCOL_802_3
= 1,
52 QMI_CTL_DATA_LINK_PROTOCOL_RAW_IP
= 2,
53 } QmiCtlDataLinkProtocol
;
57 * @QMI_CTL_FLAG_NONE: None.
58 * @QMI_CTL_FLAG_RESPONSE: Message is a response.
59 * @QMI_CTL_FLAG_INDICATION: Message is an indication.
61 * QMI flags in messages of the %QMI_SERVICE_CTL service.
64 QMI_CTL_FLAG_NONE
= 0,
65 QMI_CTL_FLAG_RESPONSE
= 1 << 0,
66 QMI_CTL_FLAG_INDICATION
= 1 << 1
71 * @QMI_SERVICE_FLAG_NONE: None.
72 * @QMI_SERVICE_FLAG_COMPOUND: Message is compound.
73 * @QMI_SERVICE_FLAG_RESPONSE: Message is a response.
74 * @QMI_SERVICE_FLAG_INDICATION: Message is an indication.
76 * QMI flags in messages which are not of the %QMI_SERVICE_CTL service.
79 QMI_SERVICE_FLAG_NONE
= 0,
80 QMI_SERVICE_FLAG_COMPOUND
= 1 << 0,
81 QMI_SERVICE_FLAG_RESPONSE
= 1 << 1,
82 QMI_SERVICE_FLAG_INDICATION
= 1 << 2
85 #endif /* _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_ */