aboutsummaryrefslogtreecommitdiff
path: root/src/mm-broadband-modem.c
diff options
context:
space:
mode:
authorDan Williams <dan@bigw.org>2025-02-21 14:12:08 +0000
committerDan Williams <dan@bigw.org>2025-02-21 14:12:08 +0000
commit93b6e42893a1190b5c68e19f5d13f5b58a00162d (patch)
tree816c28dfce4373470b8150054abbac2d36ae58bb /src/mm-broadband-modem.c
parent6e981b61b3ceeb54d8f3e20548c9968e281c85b8 (diff)
parent781428ddcd7ea4b243bf0fa6defb8ecc377c90ea (diff)
Merge request !1271 from 'generic-sahara-firehose'
broadband-modem: generic Firehose and Sahara support https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1271
Diffstat (limited to 'src/mm-broadband-modem.c')
-rw-r--r--src/mm-broadband-modem.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index c4140015..ddeb8d0e 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -11391,6 +11391,29 @@ modem_3gpp_profile_manager_store_profile (MMIfaceModem3gppProfileManager *self,
}
/*****************************************************************************/
+/* Load update settings (Firmware interface) */
+
+static MMFirmwareUpdateSettings *
+modem_firmware_load_update_settings_finish (MMIfaceModemFirmware *self,
+ GAsyncResult *res,
+ GError **error)
+{
+ return mm_iface_modem_firmware_load_update_settings_in_port_finish (self, res, error);
+}
+
+static void
+modem_firmware_load_update_settings (MMIfaceModemFirmware *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data)
+{
+ mm_iface_modem_firmware_load_update_settings_in_port (
+ self,
+ MM_PORT (mm_base_modem_peek_port_primary (MM_BASE_MODEM (self))),
+ callback,
+ user_data);
+}
+
+/*****************************************************************************/
static const gchar *primary_init_sequence[] = {
/* Ensure echo is off */
@@ -14347,6 +14370,8 @@ iface_modem_oma_init (MMIfaceModemOmaInterface *iface)
static void
iface_modem_firmware_init (MMIfaceModemFirmwareInterface *iface)
{
+ iface->load_update_settings = modem_firmware_load_update_settings;
+ iface->load_update_settings_finish = modem_firmware_load_update_settings_finish;
}
static void