diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-12-28 18:41:50 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2018-01-20 15:41:07 +0100 |
commit | d4aaa436d9679524f910b13176d4af35bd6b14f8 (patch) | |
tree | 649e8b340e495b18d41afc1887dd10c834100c9b /cli/mmcli-modem.c | |
parent | c5c9ab279d6362b2090010b4cad9ea49e9559423 (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 'cli/mmcli-modem.c')
-rw-r--r-- | cli/mmcli-modem.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cli/mmcli-modem.c b/cli/mmcli-modem.c index a3c1152c..0f220f25 100644 --- a/cli/mmcli-modem.c +++ b/cli/mmcli-modem.c @@ -470,15 +470,18 @@ print_modem_info (void) " | operator id: '%s'\n" " | operator name: '%s'\n" " | subscription: '%s'\n" - " | registration: '%s'\n", + " | registration: '%s'\n" + " | EPS UE mode: '%s'\n", VALIDATE_UNKNOWN (mm_modem_3gpp_get_imei (ctx->modem_3gpp)), facility_locks, VALIDATE_UNKNOWN (mm_modem_3gpp_get_operator_code (ctx->modem_3gpp)), VALIDATE_UNKNOWN (mm_modem_3gpp_get_operator_name (ctx->modem_3gpp)), mm_modem_3gpp_subscription_state_get_string ( - mm_modem_3gpp_get_subscription_state ((ctx->modem_3gpp))), + mm_modem_3gpp_get_subscription_state (ctx->modem_3gpp)), mm_modem_3gpp_registration_state_get_string ( - mm_modem_3gpp_get_registration_state ((ctx->modem_3gpp)))); + mm_modem_3gpp_get_registration_state (ctx->modem_3gpp)), + mm_modem_3gpp_eps_ue_mode_operation_get_string ( + mm_modem_3gpp_get_eps_ue_mode_operation (ctx->modem_3gpp))); g_free (facility_locks); } |