From 339b51652a85d3423d1ae5d826b992b01f5202ec Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 2 Nov 2021 11:17:06 +0100 Subject: api,bearer: new 'access-type-preference' setting In 5G capable devices, which can support multiple types of access types (either 3GPP or non-3GPP), the UE may request to use a 3GPP access type exclusively, prefer a 3GPP access type, or just report no preference. When supported, this field may also be part of the settings that can be stored as part of a profile. --- include/ModemManager-enums.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'include') diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 3c540dc1..6abad2c1 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -1821,4 +1821,23 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_drx_cycle >*/ MM_MODEM_3GPP_DRX_CYCLE_256 = 5, } MMModem3gppDrxCycle; +/** + * MMBearerAccessTypePreference: + * @MM_BEARER_ACCESS_TYPE_PREFERENCE_NONE: No access type preference, or unknown. + * @MM_BEARER_ACCESS_TYPE_PREFERENCE_3GPP_ONLY: 3GPP access type only. + * @MM_BEARER_ACCESS_TYPE_PREFERENCE_3GPP_PREFERRED: All access types allowed but 3GPP preferred. + * @MM_BEARER_ACCESS_TYPE_PREFERENCE_NON_3GPP_ONLY: Non-3GPP access type only. + * + * 5G network access type preference, such as 3GPP (NR, E-UTRA) or + * non-3GPP (untrusted WiFi, trusted WiFi, wireline). + * + * Since: 1.20 + */ +typedef enum { /*< underscore_name=mm_bearer_access_type_preference >*/ + MM_BEARER_ACCESS_TYPE_PREFERENCE_NONE = 0, + MM_BEARER_ACCESS_TYPE_PREFERENCE_3GPP_ONLY = 1, + MM_BEARER_ACCESS_TYPE_PREFERENCE_3GPP_PREFERRED = 2, + MM_BEARER_ACCESS_TYPE_PREFERENCE_NON_3GPP_ONLY = 3, +} MMBearerAccessTypePreference; + #endif /* _MODEMMANAGER_ENUMS_H_ */ -- cgit v1.2.3-70-g09d2