api,bearer: add 'uplink-speed' and 'downlink-speed' stats

These values show the rates that have been negotiated with the network
during the PS domain attach.

These are not the current ongoing data rates associated to the network
usage at some given moment.

Includes updates by Aleksander Morgado to fix coding style issues and
add missing documentation items.
This commit is contained in:
Som_SP
2021-10-21 11:06:24 +02:00
committed by Aleksander Morgado
parent d71a0bcf8e
commit 511859ef0a
7 changed files with 126 additions and 5 deletions

View File

@@ -1231,6 +1231,8 @@ mm_bearer_stats_get_failed_attempts
mm_bearer_stats_get_total_duration
mm_bearer_stats_get_total_rx_bytes
mm_bearer_stats_get_total_tx_bytes
mm_bearer_stats_get_uplink_speed
mm_bearer_stats_get_downlink_speed
<SUBSECTION Private>
mm_bearer_stats_get_dictionary
mm_bearer_stats_new
@@ -1243,6 +1245,8 @@ mm_bearer_stats_set_failed_attempts
mm_bearer_stats_set_total_duration
mm_bearer_stats_set_total_rx_bytes
mm_bearer_stats_set_total_tx_bytes
mm_bearer_stats_set_uplink_speed
mm_bearer_stats_set_downlink_speed
<SUBSECTION Standard>
MMBearerStatsClass
MMBearerStatsPrivate