diff options
Diffstat (limited to 'src/mbimcli/mbimcli.c')
-rw-r--r-- | src/mbimcli/mbimcli.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mbimcli/mbimcli.c b/src/mbimcli/mbimcli.c index 3c12ac6..496d553 100644 --- a/src/mbimcli/mbimcli.c +++ b/src/mbimcli/mbimcli.c @@ -4,6 +4,7 @@ * mbimcli -- Command line interface to control MBIM devices * * Copyright (C) 2013 - 2014 Aleksander Morgado <aleksander@aleksander.es> + * Copyright (C) 2022 Intel Corporation */ #include "config.h" @@ -311,6 +312,9 @@ device_open_ready (MbimDevice *dev, case MBIM_SERVICE_MS_UICC_LOW_LEVEL_ACCESS: mbimcli_ms_uicc_low_level_access_run (dev, cancellable); return; + case MBIM_SERVICE_INTEL_MUTUAL_AUTHENTICATION: + mbimcli_intel_mutual_authentication_run (dev, cancellable); + return; case MBIM_SERVICE_SMS: case MBIM_SERVICE_USSD: case MBIM_SERVICE_STK: @@ -447,6 +451,11 @@ parse_actions (void) actions_enabled++; } + if (mbimcli_intel_mutual_authentication_options_enabled ()) { + service = MBIM_SERVICE_INTEL_MUTUAL_AUTHENTICATION; + actions_enabled++; + } + /* Noop */ if (noop_flag) actions_enabled++; @@ -495,6 +504,7 @@ int main (int argc, char **argv) g_option_context_add_group (context, mbimcli_intel_thermal_rf_get_option_group ()); g_option_context_add_group (context, mbimcli_ms_voice_extensions_get_option_group ()); g_option_context_add_group (context, mbimcli_ms_uicc_low_level_access_get_option_group ()); + g_option_context_add_group (context, mbimcli_intel_mutual_authentication_get_option_group ()); g_option_context_add_main_entries (context, main_entries, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_printerr ("error: %s\n", error->message); |