test-modem-helpers-qmi: Fix tests for UML290
Change due to update in current capabilities loading logic.
This commit is contained in:

committed by
Aleksander Morgado

parent
38f067c4e4
commit
3a1390f1dd
@@ -11,6 +11,7 @@
|
|||||||
* GNU General Public License for more details:
|
* GNU General Public License for more details:
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 Lanedo GmbH.
|
* Copyright (C) 2012 Lanedo GmbH.
|
||||||
|
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
@@ -68,7 +69,9 @@ test_uml290 (void)
|
|||||||
ctx.dms_capabilities = (MM_MODEM_CAPABILITY_GSM_UMTS |
|
ctx.dms_capabilities = (MM_MODEM_CAPABILITY_GSM_UMTS |
|
||||||
MM_MODEM_CAPABILITY_CDMA_EVDO |
|
MM_MODEM_CAPABILITY_CDMA_EVDO |
|
||||||
MM_MODEM_CAPABILITY_LTE);
|
MM_MODEM_CAPABILITY_LTE);
|
||||||
test_capabilities_expected (&ctx, MM_MODEM_CAPABILITY_CDMA_EVDO);
|
test_capabilities_expected (&ctx,
|
||||||
|
(MM_MODEM_CAPABILITY_CDMA_EVDO |
|
||||||
|
MM_MODEM_CAPABILITY_LTE));
|
||||||
|
|
||||||
/* QCDM -> GSM/UMTS */
|
/* QCDM -> GSM/UMTS */
|
||||||
ctx.nas_ssp_mode_preference_mask = (QMI_NAS_RAT_MODE_PREFERENCE_GSM |
|
ctx.nas_ssp_mode_preference_mask = (QMI_NAS_RAT_MODE_PREFERENCE_GSM |
|
||||||
@@ -77,7 +80,9 @@ test_uml290 (void)
|
|||||||
ctx.dms_capabilities = (MM_MODEM_CAPABILITY_GSM_UMTS |
|
ctx.dms_capabilities = (MM_MODEM_CAPABILITY_GSM_UMTS |
|
||||||
MM_MODEM_CAPABILITY_CDMA_EVDO |
|
MM_MODEM_CAPABILITY_CDMA_EVDO |
|
||||||
MM_MODEM_CAPABILITY_LTE);
|
MM_MODEM_CAPABILITY_LTE);
|
||||||
test_capabilities_expected (&ctx, MM_MODEM_CAPABILITY_GSM_UMTS);
|
test_capabilities_expected (&ctx,
|
||||||
|
(MM_MODEM_CAPABILITY_GSM_UMTS |
|
||||||
|
MM_MODEM_CAPABILITY_LTE));
|
||||||
|
|
||||||
/* QCDM -> Automatic */
|
/* QCDM -> Automatic */
|
||||||
ctx.nas_ssp_mode_preference_mask = 0;
|
ctx.nas_ssp_mode_preference_mask = 0;
|
||||||
|
Reference in New Issue
Block a user