aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/ModemManager-enums.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
index ff4779fd..8f05ec00 100644
--- a/include/ModemManager-enums.h
+++ b/include/ModemManager-enums.h
@@ -1156,6 +1156,24 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_ussd_session_state >*/
} MMModem3gppUssdSessionState;
/**
+ * MMModem3gppEpsUeModeOperation:
+ * @MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_UNKNOWN: Unknown or not applicable.
+ * @MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_PS_1: PS mode 1 of operation: EPS only, voice-centric.
+ * @MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_PS_2: PS mode 2 of operation: EPS only, data-centric.
+ * @MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_CSPS_1: CS/PS mode 1 of operation: EPS and non-EPS, voice-centric.
+ * @MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_CSPS_2: CS/PS mode 2 of operation: EPS and non-EPS, data-centric.
+ *
+ * UE mode of operation for EPS, as per 3GPP TS 24.301.
+ */
+typedef enum { /*< underscore_name=mm_modem_3gpp_eps_ue_mode_operation >*/
+ MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_UNKNOWN = 0,
+ MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_PS_1 = 1,
+ MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_PS_2 = 2,
+ MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_CSPS_1 = 3,
+ MM_MODEM_3GPP_EPS_UE_MODE_OPERATION_CSPS_2 = 4,
+} MMModem3gppEpsUeModeOperation;
+
+/**
* MMFirmwareImageType:
* @MM_FIRMWARE_IMAGE_TYPE_UNKNOWN: Unknown firmware type.
* @MM_FIRMWARE_IMAGE_TYPE_GENERIC: Generic firmware image.