ANN: libmbim 1.4.0 released

Bjørn Mork bjorn at mork.no
Mon Jun 24 12:17:48 PDT 2013


Aleksander Morgado <aleksander at lanedo.com> writes:

> Hey!
>
> Lots of changes in 1.4.0! I believe already supporting all messages
> published in MBIM 1.0/1.1.

Wow! That's impressive.  I am looking forward to the next wave of distro
releases.


>  * Updated mbimcli with new commands:
>     --query-packet-statistics


This is interesting.  Looks like the MC7710 firmware only counts TX, but
that's also where we have the biggest difference between the driver view
and the network view. The numbers shows that the firmware counts
considerably less bytes than the driver:

bjorn at nemi:~$ ifconfig wwan0
wwan0     Link encap:Ethernet  HWaddr ee:9f:43:f2:62:e1  
          inet addr:176.75.36.206  Bcast:176.75.36.207  Mask:255.255.255.252
          inet6 addr: fe80::ec9f:43ff:fef2:62e1/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:67868 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14115 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:93787619 (89.4 MiB)  TX bytes:16939980 (16.1 MiB)

bjorn at nemi:~$ mbimcli -d /dev/cdc-wdm0 --no-open=7 --no-close  --query-packet-statistics
[/dev/cdc-wdm0] Packet statistics:
           Octets (in): '0'
          Packets (in): '0'
         Discards (in): '0'
           Errors (in): '0'
          Octets (out): '10946844'
         Packets (out): '14104'
        Discards (out): '0'
          Errors (out): '0'
[/dev/cdc-wdm0] Session not closed:
            TRID: '8'



I assume the firmware is somewhat closer to reality, but I still think
the number looks high. Guess we won't know for sure until I start
working on additional driver counters.  Have no idea when that will
happen.  Probably not on this side of the summer..


Bjørn


More information about the libmbim-devel mailing list