On Sat, Oct 17, 2015 at 4:53 PM, Felix Janda wrote:
> The XCASE terminal mode flag because is no longer specified by POSIX
> and has no effect on linux. Because of the latter fact we can remove
> it. This fixes a compilation error with musl libc.
> ---
Pushed to git master, thanks.
> libqcdm/sr
The new MMBearerStats object provides a simple API to interact with the new
dictionary containing the bearer connection stats.
---
docs/reference/libmm-glib/libmm-glib-docs.xml | 1 +
docs/reference/libmm-glib/libmm-glib-sections.txt | 30 +++
libmm-glib/Makefile.am
The following patch series implements a new 'Stats' property in the Bearer
object which reports connection statistics. The values are directly retrieved
from the device (e.g. queried), as opposed to measuring the stats in the
network interface.
This implementation is currently limited to:
* B
---
cli/mmcli-bearer.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/cli/mmcli-bearer.c b/cli/mmcli-bearer.c
index 5829e60..7c4fe62 100644
--- a/cli/mmcli-bearer.c
+++ b/cli/mmcli-bearer.c
@@ -135,10 +135,12 @@ print_bearer_info (MMBearer *bearer)
MMBearerIpConfi
The new property is a dictionary which may include different parameters,
depending on what is actually supported by the underlying modem. For now,
just bytes RX/TX.
Note that this object will expose the stats *as reported by the modem*. These
values may differ from e.g. what is seen in the network
If the bearer implementation supports it, load stats periodically. By default
every 30s for now.
---
src/mm-base-bearer.c | 123 +--
src/mm-base-bearer.h | 16 +--
2 files changed, 133 insertions(+), 6 deletions(-)
diff --git a/src/mm-base-bear
The MMBearer object is updated to provide getter methods to retrieve the new
MMBearerStats object.
---
docs/reference/libmm-glib/libmm-glib-sections.txt | 2 +
libmm-glib/mm-bearer.c| 116 ++
libmm-glib/mm-bearer.h| 4
Use the "WDS Get Packet Statistics" method to query for the ongoing number
of bytes transmitted or received. The QMI implementation uses different WDS
clients for IPv4 and IPv6; the stats reported are a combination of the values
retrieved from both WDS clients.
---
src/mm-bearer-qmi.c | 154 ++