shared-qmi: implement QMI PDC based carrier config support

We implement both loading the current configuration in use, as well as
automatically switching to a different one if a mapping file is
available.
This commit is contained in:
Aleksander Morgado
2018-12-18 14:53:05 +01:00
parent 94cf7f0ceb
commit b4b6dc9e65
5 changed files with 956 additions and 0 deletions

View File

@@ -147,6 +147,20 @@ void mm_shared_qmi_factory_reset (MMIfaceMode
gboolean mm_shared_qmi_factory_reset_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
void mm_shared_qmi_load_carrier_config (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
gchar *mm_shared_qmi_load_carrier_config_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
void mm_shared_qmi_setup_carrier_config (MMIfaceModem *self,
const gchar *imsi,
const gchar *carrier_config_mapping,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean mm_shared_qmi_setup_carrier_config_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Shared QMI location support */