diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-06-27 13:57:34 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-29 17:14:47 +0200 |
commit | db99f340c89f589784a76879bcf3735c8317cfc7 (patch) | |
tree | 28fa37e8f3e74bd03fccfe684ef79d0e07eb0e5d /src/mm-port-probe.h | |
parent | 3e251129c2f2d481e3391d64db9fc12820899803 (diff) |
port-probe: launch QMI probing on cdc-wdm ports
Some devices may export cdc-wdm ports talking AT. We need to explicitly check
for QMI protocol support on the cdc-wdm ports before assuming they are QMI.
Diffstat (limited to 'src/mm-port-probe.h')
-rw-r--r-- | src/mm-port-probe.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-port-probe.h b/src/mm-port-probe.h index 93b71c84..7f3db2bb 100644 --- a/src/mm-port-probe.h +++ b/src/mm-port-probe.h @@ -41,6 +41,7 @@ typedef enum { /*< underscore_name=mm_port_probe_flag >*/ MM_PORT_PROBE_AT_PRODUCT = 1 << 2, MM_PORT_PROBE_AT_ICERA = 1 << 3, MM_PORT_PROBE_QCDM = 1 << 4, + MM_PORT_PROBE_QMI = 1 << 5 } MMPortProbeFlag; typedef struct _MMPortProbe MMPortProbe; @@ -95,6 +96,8 @@ void mm_port_probe_set_result_at_icera (MMPortProbe *self, gboolean is_icera); void mm_port_probe_set_result_qcdm (MMPortProbe *self, gboolean qcdm); +void mm_port_probe_set_result_qmi (MMPortProbe *self, + gboolean qmi); /* Run probing */ void mm_port_probe_run (MMPortProbe *self, @@ -115,6 +118,7 @@ gboolean mm_port_probe_run_cancel_at_probing (MMPortProbe *self); MMPortType mm_port_probe_get_port_type (MMPortProbe *self); gboolean mm_port_probe_is_at (MMPortProbe *self); gboolean mm_port_probe_is_qcdm (MMPortProbe *self); +gboolean mm_port_probe_is_qmi (MMPortProbe *self); const gchar *mm_port_probe_get_vendor (MMPortProbe *self); const gchar *mm_port_probe_get_product (MMPortProbe *self); gboolean mm_port_probe_is_icera (MMPortProbe *self); |