api,bearer: add 'total-rx-bytes', 'total-tx-bytes' and 'total-duration' stats

Compiling the amount of bytes transferred and received during all
tracked connection attempts, as well as the total duration of all the
connections.
This commit is contained in:
Aleksander Morgado
2020-04-10 11:45:03 +00:00
parent f325ef5902
commit 79daa3099e
8 changed files with 248 additions and 11 deletions
+3
View File
@@ -245,6 +245,9 @@ typedef enum {
MMC_F_BEARER_STATS_BYTES_TX,
MMC_F_BEARER_STATS_ATTEMPTS,
MMC_F_BEARER_STATS_FAILED_ATTEMPTS,
MMC_F_BEARER_STATS_TOTAL_DURATION,
MMC_F_BEARER_STATS_TOTAL_BYTES_RX,
MMC_F_BEARER_STATS_TOTAL_BYTES_TX,
MMC_F_CALL_GENERAL_DBUS_PATH,
MMC_F_CALL_PROPERTIES_NUMBER,
MMC_F_CALL_PROPERTIES_DIRECTION,