diff options
Diffstat (limited to 'libmm-glib/mm-bearer-stats.h')
-rw-r--r-- | libmm-glib/mm-bearer-stats.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libmm-glib/mm-bearer-stats.h b/libmm-glib/mm-bearer-stats.h index b993945c..960dc359 100644 --- a/libmm-glib/mm-bearer-stats.h +++ b/libmm-glib/mm-bearer-stats.h @@ -10,9 +10,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details: * - * Copyright (C) 2015 Azimut Electronics - * - * Author: Aleksander Morgado <aleksander@aleksander.es> + * Copyright (C) 2015-2021 Azimut Electronics + * Copyright (C) 2015-2021 Aleksander Morgado <aleksander@aleksander.es> + * Copyright (C) 2021 Intel Corporation */ #ifndef MM_BEARER_STATS_H @@ -67,6 +67,8 @@ guint mm_bearer_stats_get_failed_attempts (MMBearerStats *self); guint mm_bearer_stats_get_total_duration (MMBearerStats *self); guint64 mm_bearer_stats_get_total_rx_bytes (MMBearerStats *self); guint64 mm_bearer_stats_get_total_tx_bytes (MMBearerStats *self); +guint64 mm_bearer_stats_get_uplink_speed (MMBearerStats *self); +guint64 mm_bearer_stats_get_downlink_speed (MMBearerStats *self); /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ @@ -88,6 +90,8 @@ void mm_bearer_stats_set_failed_attempts (MMBearerStats *self, guint fail void mm_bearer_stats_set_total_duration (MMBearerStats *self, guint duration); void mm_bearer_stats_set_total_rx_bytes (MMBearerStats *self, guint64 rx_bytes); void mm_bearer_stats_set_total_tx_bytes (MMBearerStats *self, guint64 tx_bytes); +void mm_bearer_stats_set_uplink_speed (MMBearerStats *self, guint64 speed); +void mm_bearer_stats_set_downlink_speed (MMBearerStats *self, guint64 speed); GVariant *mm_bearer_stats_get_dictionary (MMBearerStats *self); |