diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-02 11:17:06 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-12-24 14:02:28 +0100 |
commit | 339b51652a85d3423d1ae5d826b992b01f5202ec (patch) | |
tree | 579db18feb468d9420d5eba7fd4a84ebb63e7ffd /include/ModemManager-enums.h | |
parent | 93709f8dc2378e12d4f1ede122d2325386540db4 (diff) |
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.
Diffstat (limited to 'include/ModemManager-enums.h')
-rw-r--r-- | include/ModemManager-enums.h | 19 |
1 files changed, 19 insertions, 0 deletions
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_ */ |