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.
This commit is contained in:
Prakash Pabba
2022-07-16 22:22:59 +02:00
committed by Aleksander Morgado
parent 115692dd91
commit 5c0db37432
5 changed files with 337 additions and 129 deletions
+2
View File
@@ -11,6 +11,7 @@
* GNU General Public License for more details:
*
* Copyright (C) 2018-2020 Aleksander Morgado <aleksander@aleksander.es>
* Copyright (c) 2022 Qualcomm Innovation Center, Inc.
*/
#include <config.h>
@@ -397,6 +398,7 @@ quectel_qusim_unsolicited_handler (MMPortSerialAt *port,
MM_IFACE_MODEM_GET_INTERFACE (self)->check_for_sim_swap (
self,
NULL,
NULL,
(GAsyncReadyCallback)quectel_qusim_check_for_sim_swap_ready,
NULL);
}