Re: MC 7304 ipv4v6

On Tue, Nov 24, 2015 at 11:52 PM, Bjørn Mork <bjorn mork no> wrote:
Bjørn Mork <bjorn mork no> writes:
Dan Williams <dcbw redhat com> 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

Including a demo patch (not tested...) to illustrate what I mean:

 $ cat /sys/class/net/wwan1/qmi/raw_ip
 # 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]