diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-11-11 14:46:53 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-12-07 16:20:53 +0000 |
commit | dc154cf005bbcb2f0bd1123093f6ac3c402c4de8 (patch) | |
tree | 940cbeb5d4a6dcf7e80e99fe26f82d1ccddff097 /introspection | |
parent | 46d627ff831b7d4d609060d77cd852f42cfcfa83 (diff) |
api,bearer: new 'BearerType' property
Until now we have only allowed to use and setup 'default bearers' (in
4G) or 'primary contexts' (in 2G/3G).
We can define a couple of additional bearer types, though:
* The 'dedicated bearers' (in 4G) or 'secondary contexts' (in 2G/3G),
which are associated to a specific default/primary one, but which
provide specific QoS settings configured via traffic flow templates.
* The 'initial default EPS bearer', which is a special case of default
bearer in LTE, which is automatically created and connected when the
modem is registered in the LTE network.
This commit introduces a new 'MMBearerType' enumeration that will be
associated to each bearer through a 'BearerType' property in the
org.freedesktop.ModemManager1.Bearer interface, showing what kind of
bearer/context this is.
By default, right now, all bearer objects created are 'default'
bearers.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Bearer.xml | 7 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.xml | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml index 2c844abd..e86ef00d 100644 --- a/introspection/org.freedesktop.ModemManager1.Bearer.xml +++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml @@ -280,6 +280,13 @@ <property name="IpTimeout" type="u" access="read" /> <!-- + BearerType: + + A <link linkend="MMBearerType">MMBearerType</link> + --> + <property name="BearerType" type="u" access="read" /> + + <!-- Properties: List of properties used when creating the bearer. diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml index 54307ae3..37cdb941 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.xml @@ -259,7 +259,9 @@ <!-- MaxActiveBearers: - The maximum number of active packet data bearers the modem supports. + The maximum number of active + <link linkend="MM-BEARER-TYPE-DEFAULT:CAPS"><constant>MM_BEARER_TYPE_DEFAULT</constant></link> + bearers that may be explicitly enabled by the user. POTS and CDMA2000-only devices support one active bearer, while GSM/UMTS and LTE-capable devices (including LTE/CDMA devices) typically support |