On Tue, Nov 24, 2015 at 11:52 PM, Bjørn Mork <[email protected]> wrote:
> Bjørn Mork <[email protected]> writes:
>> Dan Williams <[email protected]> writes:
>>> On Tue, 2015-11-24 at 22:51 +0100, Bjørn Mork wrote:
>>>
>>> My vote would be sysfs, with values "raw-ip" or "802.3" that you can
>>> read and write to the file.  At least then they are human-readable.
>>>  It's also easier to use from scripts than parsing ethtool output.
>>
>> Maybe even easier with a boolean qmi/raw_ip file, since we are only going
>> to offer two alternatives anyway?  Then you don't have to figure out
>> what strings are accepted, and we won't end up having to parse
>> 'raw-ip/rawip/raw_ip/rwa-ip/rawIP/etc'.
>
> Including a demo patch (not tested...) to illustrate what I mean:
>
>  $ cat /sys/class/net/wwan1/qmi/raw_ip
>  N
>  # echo Y >/sys/class/net/wwan1/qmi/raw_ip

+1 from me.

I'm assuming that the default setting when the modem is detected will
always be 802.3, and only then changed to raw-ip by userspace when
needed. I really hope we can switch to raw-ip automatically for all
modems supporting WDA, as that would be a quick thing to do in e.g.
qmi-network and ModemManager, but who knows what other vendors than
Sierra are doing.

-- 
Aleksander
https://aleksander.es
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to