diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-01-23 21:24:59 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-08 18:49:21 +0100 |
commit | 830b6326404e59fb2d4b5733f57c7f1d9fb6e930 (patch) | |
tree | 212cee2ccc5a0af2e6aab7e7d713d16b69bf4583 /src/libqmi-glib/qmi-device.h | |
parent | fad2ca074e44cf9dd340e9609ff30c047a5ecc0b (diff) | |
download | external_libqmi-830b6326404e59fb2d4b5733f57c7f1d9fb6e930.zip external_libqmi-830b6326404e59fb2d4b5733f57c7f1d9fb6e930.tar.gz external_libqmi-830b6326404e59fb2d4b5733f57c7f1d9fb6e930.tar.bz2 |
libqmi-glib: new 'auto' flag to select automatically QMI or MBIM mode
Diffstat (limited to 'src/libqmi-glib/qmi-device.h')
-rw-r--r-- | src/libqmi-glib/qmi-device.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libqmi-glib/qmi-device.h b/src/libqmi-glib/qmi-device.h index 51e07ae..22f32c6 100644 --- a/src/libqmi-glib/qmi-device.h +++ b/src/libqmi-glib/qmi-device.h @@ -98,7 +98,8 @@ gboolean qmi_device_is_open (QmiDevice *self); * @QMI_DEVICE_OPEN_FLAGS_NET_QOS_HEADER: set network port to transmit/receive QoS headers; mutually exclusive with @QMI_DEVICE_OPEN_FLAGS_NET_NO_QOS_HEADER * @QMI_DEVICE_OPEN_FLAGS_NET_NO_QOS_HEADER: set network port to not transmit/receive QoS headers; mutually exclusive with @QMI_DEVICE_OPEN_FLAGS_NET_QOS_HEADER * @QMI_DEVICE_OPEN_FLAGS_PROXY: Try to open the port through the 'qmi-proxy'. - * @QMI_DEVICE_OPEN_FLAGS_MBIM: open an MBIM port with QMUX tunneling service + * @QMI_DEVICE_OPEN_FLAGS_MBIM: open an MBIM port with QMUX tunneling service. + * @QMI_DEVICE_OPEN_FLAGS_AUTO: open a port either in QMI or MBIM mode, depending on device driver. * * Flags to specify which actions to be performed when the device is open. */ @@ -111,7 +112,8 @@ typedef enum { QMI_DEVICE_OPEN_FLAGS_NET_QOS_HEADER = 1 << 4, QMI_DEVICE_OPEN_FLAGS_NET_NO_QOS_HEADER = 1 << 5, QMI_DEVICE_OPEN_FLAGS_PROXY = 1 << 6, - QMI_DEVICE_OPEN_FLAGS_MBIM = 1 << 7 + QMI_DEVICE_OPEN_FLAGS_MBIM = 1 << 7, + QMI_DEVICE_OPEN_FLAGS_AUTO = 1 << 8, } QmiDeviceOpenFlags; void qmi_device_open (QmiDevice *self, |