aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorPrakash Pabba <quic_ppabba@quicinc.com>2022-06-02 14:30:28 +0530
committerAleksander Morgado <aleksander@aleksander.es>2022-07-16 22:22:59 +0200
commit5c0db3743209b78d8c7b7558e337e6df25951bae (patch)
tree5d487207e3e57f4f3c3e7600fda8f3e9800f6e89 /src/mm-iface-modem.h
parent115692dd9184805dc9aa04d09eaa270e1e6e795a (diff)
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.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h3
1 files changed, 3 insertions, 0 deletions
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,