RE: “bytes-rx” and “bytes-tx” statistics are not getting populated

Amol Lad Amol.Lad at 4rf.com
Thu Oct 10 10:49:34 UTC 2019


Yes, my default route is through modem only and in fact below is qmicli output

root at OpenWrt:/# qmicli -d /dev/cdc-wdm0 -p --wds-get-packet-statistics
[/dev/cdc-wdm0] Connection statistics:
        TX packets OK: 97
        RX packets OK: 87
        TX packets dropped: 0
        RX packets dropped: 0
        TX bytes OK: 6271
        RX bytes OK: 9891

When I switched modem back to QMI mode then these stats are reported in mmcli.

Again some problem with MBIM support in the modem?


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).-----Original Message-----
From: Aleksander Morgado <aleksander at aleksander.es>
Sent: Thursday, 10 October 2019 4:09 PM
To: Amol Lad <Amol.Lad at 4rf.com>
Cc: ModemManager (development) <modemmanager-devel at lists.freedesktop.org>
Subject: Re: “bytes-rx” and “bytes-tx” statistics are not getting populated

Hey,

> Oct 10 09:23:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
> >>>>>> Header:
> >>>>>>   length      = 96
> >>>>>>   type        = command-done (0x80000003)
> >>>>>>   transaction = 37
> >>>>>> Fragment header:
> >>>>>>   total   = 1
> >>>>>>   current = 0
> >>>>>> Contents:
> >>>>>>   status error = 'None' (0x00000000)
> >>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >>>>>>   cid          = 'packet-statistics' (0x00000014)
> >>>>>> Fields:
> >>>>>>   InDiscards = '0'
> >>>>>>   InErrors = '0'
> >>>>>>   InOctets = '0'
> >>>>>>   InPackets = '0'
> >>>>>>   OutOctets = '0'
> >>>>>>   OutPackets = '0'
> >>>>>>   OutErrors = '0'
> >>>>>>   OutDiscards = '0'

The modem is reporting 0 bytes RX/TX, so that's where the problem is.
Are you sure you're using the modem connection as default route?

--
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list