“bytes-rx” and “bytes-tx” statistics are not getting populated
Amol Lad
Amol.Lad at 4rf.com
Thu Oct 10 08:24:37 UTC 2019
Hi,
I’m using almost the latest modemmanager from master (commit hash: 0a85254d1765db6e55770d36e24b1e6349e789f4). I started noticing that the “bytes-rx” and “bytes-tx” statistics are never getting updated even though there is regular traffic (say ping). I’m not sure if anything has changed in this area as I remember seeing those stats not long back…
root at OpenWrt:/# mmcli -b 1 -K
bearer.dbus-path : /org/freedesktop/ModemManager1/Bearer/1
bearer.type : default
bearer.status.connected : yes
bearer.status.suspended : no
bearer.status.interface : wwan0
bearer.status.ip-timeout : 20
bearer.properties.apn : 4rf.com
bearer.properties.roaming : allowed
bearer.properties.ip-type : ipv4
bearer.properties.user : --
bearer.properties.password : --
bearer.properties.rm-protocol : --
bearer.ipv4-config.method : static
bearer.ipv4-config.address : 25.107.237.166
bearer.ipv4-config.prefix : 30
bearer.ipv4-config.gateway : 25.107.237.165
bearer.ipv4-config.dns.length : 1
bearer.ipv4-config.dns.value[1] : 49.45.0.1
bearer.ipv4-config.mtu : 1500
bearer.ipv6-config.method : --
bearer.ipv6-config.address : --
bearer.ipv6-config.prefix : --
bearer.ipv6-config.gateway : --
bearer.ipv6-config.dns : --
bearer.ipv6-config.mtu : --
bearer.stats.duration : 240
bearer.stats.bytes-rx : --
bearer.stats.bytes-tx : --
root at OpenWrt:/# mmcli -m 0
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: 1f75cd7f52f1f8d71fed0aeb735b4c9c28e3b338
--------------------------------
Hardware | manufacturer: Sierra Wireless, Incorporated
| model: Sierra Wireless EM7430 Qualcomm® Snapdragon™ X7 LTE-A
| firmware revision: SWI9X30C_02.30.03.00
| carrier config: default
| h/w revision: EM7430
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 359075062306476
--------------------------------
System | device: /sys/devices/platform/soc/soc:internal-regs/f10f8000.usb3/usb5/5-1
| drivers: cdc_mbim, qcserial
| plugin: Sierra
| primary port: cdc-wdm0
| ports: ttyUSB0 (qcdm), ttyUSB1 (gps), ttyUSB2 (at),
| cdc-wdm0 (mbim), wwan0 (net)
--------------------------------
Numbers | own: 918660286965
--------------------------------
Status | unlock retries: sim-pin2 (3)
| state: connected
| power state: on
| access tech: lte
| signal quality: 16% (recent)
--------------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| current: allowed: 3g, 4g; preferred: 4g
--------------------------------
Bands | supported: utran-1, utran-6, utran-5, utran-8, utran-9, eutran-1,
| eutran-3, eutran-5, eutran-7, eutran-8, eutran-18, eutran-19,
| eutran-21, eutran-28, eutran-38, eutran-39, eutran-40, eutran-41,
| utran-19
| current: utran-1, utran-6, utran-5, utran-8, utran-9, eutran-1,
| eutran-3, eutran-5, eutran-7, eutran-8, eutran-18, eutran-19,
| eutran-21, eutran-28, eutran-38, eutran-39, eutran-40, eutran-41,
| utran-19
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: 359075062306476
| enabled locks: fixed-dialing
| operator id: 405861
| operator name: Jio 4G
| registration: home
--------------------------------
3GPP EPS | ue mode of operation: csps-2
--------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
--------------------------------
Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/1
________________________________
The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20191010/b188e65e/attachment.html>
More information about the ModemManager-devel
mailing list