MC7304 connection?

Dan Williams dcbw at redhat.com
Tue May 20 14:04:15 PDT 2014


On Tue, 2014-05-20 at 20:39 +0200, Aleksander Morgado wrote:
> On Tue, May 20, 2014 at 4:14 PM, Aleksander Morgado
> <aleksander at aleksander.es> wrote:
> >>> Does anyone know if there is any public documentation for the QMI_WDA
> >>> service? It would sure be nice to have...
> >>
> >> I should learn to Google before asking...
> >>
> >> Looks like there are docs in the latest CodeAurora Gobi API:
> >> http://lists.freedesktop.org/archives/libqmi-devel/2013-September/000648.html
> >>
> >> So you could run a eQMI_WDA_GET_DATA_FORMAT request to see what format
> >> the channels are configured for.
> >>
> >>
> >> Bjørn (with the memory of a goldfish with alzheimer's)
> >
> > Yeah, so it was the 802.3 setup needed:
> >
> > $ sudo qmicli -d /dev/cdc-wdm1 --client-no-release-cid
> > --wds-start-network="gprs-service.com"
> > --device-open-net="net-802-3|net-no-qos-header"
> > [/dev/cdc-wdm1] Network started
> > Packet data handle: '1205295704'
> > [/dev/cdc-wdm1] Client ID not released:
> > Service: 'wds'
> >    CID: '9'
> >
> > $ sudo ip link set wwp0s29u1u2i8 up
> >
> > $ sudo dhclient wwp0s29u1u2i8
> >
> > $ ip addr
> > 18: wwp0s29u1u2i8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> > pfifo_fast state UNKNOWN group default qlen 1000
> >     link/ether 5a:17:a8:d0:95:d6 brd ff:ff:ff:ff:ff:ff
> >     inet 10.140.123.146/30 brd 10.140.123.147 scope global wwp0s29u1u2i8
> >        valid_lft forever preferred_lft forever
> >     inet6 fe80::5817:a8ff:fed0:95d6/64 scope link
> >        valid_lft forever preferred_lft forever
> >
> >
> > I'll try to see whether I can get the format to use with the WDA
> > service, and try to include that in MM.
> 
> 
> Now I'm confused... ModemManager will by default open the port with
> the 802.3 flag; so why did my previous tests with MM fail? :/

I was going to ask that same question, actually...  Maybe we could just
sanity-check after opening the port, that the data format options
actually worked?

Dan

> Here's some output with the WDA Get Data Format message (git master):
> 
> [aleksander at athena libqmi]$ sudo qmicli -d /dev/cdc-wdm1 --dms-noop
> --device-open-net="net-raw-ip|net-no-qos-header"
> 
> [aleksander at athena libqmi]$ sudo qmicli -d /dev/cdc-wdm1 --wda-get-data-format
> [/dev/cdc-wdm1] Successfully got data format
>                    QoS flow header: no
>                Link layer protocol: 'ip'
>   Uplink data aggregation protocol: 'disabled'
> Downlink data aggregation protocol: 'disabled'
>                      NDP signature: '0'
>   Uplink data aggregation max size: '0'
> Downlink data aggregation max size: '0'
> 
> [aleksander at athena libqmi]$ sudo qmicli -d /dev/cdc-wdm1 --dms-noop
> --device-open-net="net-802-3|net-no-qos-header"
> 
> [aleksander at athena libqmi]$ sudo qmicli -d /dev/cdc-wdm1 --wda-get-data-format
> [/dev/cdc-wdm1] Successfully got data format
>                    QoS flow header: no
>                Link layer protocol: '802-3'
>   Uplink data aggregation protocol: 'disabled'
> Downlink data aggregation protocol: 'disabled'
>                      NDP signature: '0'
>   Uplink data aggregation max size: '0'
> Downlink data aggregation max size: '0'
> 
> 




More information about the libqmi-devel mailing list