aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-firmware.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2025-02-17 22:28:59 +0100
committerDan Williams <dan@bigw.org>2025-02-21 14:08:50 +0000
commit781428ddcd7ea4b243bf0fa6defb8ecc377c90ea (patch)
tree816c28dfce4373470b8150054abbac2d36ae58bb /src/mm-iface-modem-firmware.h
parent93da5e0b93877f5fb80056cf5d38c6df2b154ac2 (diff)
iface-modem-firmware: common logic to check for sahara/firehose tags
The logic will exclusively look for the udev tags reporting sahara/firehose support in the primary control port of each modem type.
Diffstat (limited to 'src/mm-iface-modem-firmware.h')
-rw-r--r--src/mm-iface-modem-firmware.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mm-iface-modem-firmware.h b/src/mm-iface-modem-firmware.h
index e5ee980d..83485a3c 100644
--- a/src/mm-iface-modem-firmware.h
+++ b/src/mm-iface-modem-firmware.h
@@ -87,4 +87,15 @@ void mm_iface_modem_firmware_shutdown (MMIfaceModemFirmware *self);
void mm_iface_modem_firmware_bind_simple_status (MMIfaceModemFirmware *self,
MMSimpleStatus *status);
+/* Helper to load common update settings on the primary port */
+void mm_iface_modem_firmware_load_update_settings_in_port (
+ MMIfaceModemFirmware *self,
+ MMPort *port,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+MMFirmwareUpdateSettings *mm_iface_modem_firmware_load_update_settings_in_port_finish (
+ MMIfaceModemFirmware *self,
+ GAsyncResult *res,
+ GError **error);
+
#endif /* MM_IFACE_MODEM_FIRMWARE_H */