aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-04 21:49:36 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-24 14:02:30 +0100
commit73a29c3e330ab44780661324b2d24e964a34f55b (patch)
tree5971dd1b61e8dbb2ca3537c78646093ceacc30dc /include
parent52538defe11747e5f953275d346bfbd647756651 (diff)
api,bearer: new 'roaming-allowance' setting
The 'allow-roaming' setting should be considered deprecated for 3GPP devices that support the new 'roaming-allowance' setting, which is much more detailed (as it allows to differentiate between partner and non-partner networks) and may also be stored as part of a profile.
Diffstat (limited to 'include')
-rw-r--r--include/ModemManager-enums.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
index 6abad2c1..422ed52c 100644
--- a/include/ModemManager-enums.h
+++ b/include/ModemManager-enums.h
@@ -1840,4 +1840,22 @@ typedef enum { /*< underscore_name=mm_bearer_access_type_preference >*/
MM_BEARER_ACCESS_TYPE_PREFERENCE_NON_3GPP_ONLY = 3,
} MMBearerAccessTypePreference;
+/**
+ * MMBearerRoamingAllowance:
+ * @MM_BEARER_ROAMING_ALLOWANCE_NONE: No explicit roaming allowance rules.
+ * @MM_BEARER_ROAMING_ALLOWANCE_HOME: Home network allowed.
+ * @MM_BEARER_ROAMING_ALLOWANCE_PARTNER: Partner network allowed.
+ * @MM_BEARER_ROAMING_ALLOWANCE_NON_PARTNER: Non-parter network allowed.
+ *
+ * Bitmask specifying roaming allowance rules for different network types.
+ *
+ * Since: 1.20
+ */
+typedef enum { /*< underscore_name=mm_bearer_roaming_allowance >*/
+ MM_BEARER_ROAMING_ALLOWANCE_NONE = 0,
+ MM_BEARER_ROAMING_ALLOWANCE_HOME = 1 << 0,
+ MM_BEARER_ROAMING_ALLOWANCE_PARTNER = 1 << 1,
+ MM_BEARER_ROAMING_ALLOWANCE_NON_PARTNER = 1 << 2,
+} MMBearerRoamingAllowance;
+
#endif /* _MODEMMANAGER_ENUMS_H_ */