From 5c0db3743209b78d8c7b7558e337e6df25951bae Mon Sep 17 00:00:00 2001 From: Prakash Pabba Date: Thu, 2 Jun 2022 14:30:28 +0530 Subject: mm-iface-modem,mm-broadband-modem,mm-shared-qmi: support SIM IMSI switch It is possible that SIM IMSI might change in roaming conditions for a sim. Register for UIM refresh indication always and reprobe if ICCID or IMSI changes for QMI modem. --- src/mm-iface-modem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mm-iface-modem.h') diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h index cf4274be..11b2a03c 100644 --- a/src/mm-iface-modem.h +++ b/src/mm-iface-modem.h @@ -11,6 +11,7 @@ * GNU General Public License for more details: * * Copyright (C) 2011 Google, Inc. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. */ #ifndef MM_IFACE_MODEM_H @@ -291,6 +292,7 @@ struct _MMIfaceModem { * not get the relevant notifications from the modem. */ void (*check_for_sim_swap) (MMIfaceModem *self, const gchar *iccid, + const gchar *imsi, GAsyncReadyCallback callback, gpointer user_data); gboolean (*check_for_sim_swap_finish) (MMIfaceModem *self, @@ -599,6 +601,7 @@ void mm_iface_modem_bind_simple_status (MMIfaceModem *self, void mm_iface_modem_check_for_sim_swap (MMIfaceModem *self, guint slot_index, const gchar *iccid, + const gchar *imsi, GAsyncReadyCallback callback, gpointer user_data); gboolean mm_iface_modem_check_for_sim_swap_finish (MMIfaceModem *self, -- cgit v1.2.3-70-g09d2