From d4aaa436d9679524f910b13176d4af35bd6b14f8 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 28 Dec 2017 18:41:50 +0100 Subject: 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. --- cli/mmcli-modem.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cli/mmcli-modem.c') 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); } -- cgit v1.2.3-70-g09d2