Point to Point interface over qmi_wwan device

Bjørn Mork bjorn at mork.no
Wed Oct 5 05:59:51 UTC 2016


Dan Williams <dcbw at redhat.com> writes:
> On Tue, 2016-10-04 at 22:49 +0200, Reinhard Speyerer wrote:
>
>> that matches the results from my tests with a MC7304. For MSM9x15
>> based devices like the MC7304 the use of DHCP seems to be a trigger
>> to
>> pass IPv4 traffic over the network interface as long as it is set to
>> Ethernet mode. Only using a qmi_wwan version with raw IP support and
>> switching the mobile use raw IP with qmicli made this configuration
>> work for me without using a DHCP client.
>
> Yeah, that was going to be my next suggestion.  Use rawip mode:
>
> qmicli -d /dev/cdc-wdm0 --wda-set-data-format=raw-ip
> qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip
>
> or, if your device is older and doesn't have the QMI WDA service:
>
> qmicli -d /dev/cdc-wdm0 --device-open-net="net-raw-ip|net-no-qos-header" --dms-get-ids
> qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip
>
> At least, I think those are the right commands.  I'm sure Bjorn will
> correct me...

Like I would remember anything :)

Anyway, the DHCP required for ethernet mode really makes a lot of
sense. They are probably using the DHCP transaction to configure MAC
addresses. DHCP and ethernet mode are both there to support "legacy
operation" anyway.


Bjørn


More information about the libqmi-devel mailing list