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.
This commit is contained in:
Aleksander Morgado
2017-12-28 18:41:50 +01:00
parent c5c9ab279d
commit d4aaa436d9
12 changed files with 418 additions and 4 deletions

View File

@@ -1155,6 +1155,24 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_ussd_session_state >*/
MM_MODEM_3GPP_USSD_SESSION_STATE_USER_RESPONSE = 3,
} 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.