aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-05-19 13:02:42 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-05-23 00:23:17 +0200
commit6ca75c76db277b89325e1888ac445cbfebe33039 (patch)
treeb864ae21bb587603716ab9bd55d3a8dd0e8c4b1e /src/mm-iface-modem.h
parentec8bf7f0e39435f98d322d09a36b0d3e171a9ae7 (diff)
iface-modem: new optional FCC unlock step in the power state update
There are devices that come locked before they can be put online. Until now we had a specific implementation for this in the generic QMI modem, but we should have it in a more generic way for any kind of modem.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index 8d3366e4..9ca6ec2c 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -270,6 +270,14 @@ struct _MMIfaceModem {
GAsyncResult *res,
GError **error);
+ /* Asynchronous FCC unlock operation */
+ void (* fcc_unlock) (MMIfaceModem *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ gboolean (* fcc_unlock_finish) (MMIfaceModem *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Asynchronous modem power-up operation */
void (*modem_power_up) (MMIfaceModem *self,
GAsyncReadyCallback callback,