aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-12-28 18:41:50 +0100
committerAleksander Morgado <aleksander@aleksander.es>2018-01-20 15:41:07 +0100
commitd4aaa436d9679524f910b13176d4af35bd6b14f8 (patch)
tree649e8b340e495b18d41afc1887dd10c834100c9b /src/mm-iface-modem-3gpp.h
parentc5c9ab279d6362b2090010b4cad9ea49e9559423 (diff)
modem-3gpp: allow loading and changing EPS UE mode of operation
The UE modes of operation for LTE are defined in 3GPP TS 24.301 (e.g. section 4.3 in v10.3.0): * PS mode 1: EPS only, 'voice centric' * PS mode 2: EPS only, 'data centric' * CS/PS mode 1: EPS and non-EPS, 'voice centric' * CS/PS mode 2: EPS and non-EPS, 'data centric' The mode specifies, among other things, how the UE should behave w.r.t CS fallback depending on the capabilities reported by the network.
Diffstat (limited to 'src/mm-iface-modem-3gpp.h')
-rw-r--r--src/mm-iface-modem-3gpp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.h b/src/mm-iface-modem-3gpp.h
index 6237b8aa..7b6d47e1 100644
--- a/src/mm-iface-modem-3gpp.h
+++ b/src/mm-iface-modem-3gpp.h
@@ -68,6 +68,14 @@ struct _MMIfaceModem3gpp {
GAsyncResult *res,
GError **error);
+ /* Loading of the UE mode of operation for EPS property */
+ void (* load_eps_ue_mode_operation) (MMIfaceModem3gpp *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ MMModem3gppEpsUeModeOperation (* load_eps_ue_mode_operation_finish) (MMIfaceModem3gpp *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Asynchronous setting up unsolicited events */
void (*setup_unsolicited_events) (MMIfaceModem3gpp *self,
GAsyncReadyCallback callback,
@@ -191,6 +199,15 @@ struct _MMIfaceModem3gpp {
GList * (*scan_networks_finish) (MMIfaceModem3gpp *self,
GAsyncResult *res,
GError **error);
+
+ /* Set UE mode of operation for EPS */
+ void (* set_eps_ue_mode_operation) (MMIfaceModem3gpp *self,
+ MMModem3gppEpsUeModeOperation mode,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ gboolean (* set_eps_ue_mode_operation_finish) (MMIfaceModem3gpp *self,
+ GAsyncResult *res,
+ GError **error);
};
GType mm_iface_modem_3gpp_get_type (void);