summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-class-net-qmi
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2015-12-03 21:24:22 +0300
committerDavid S. Miller <davem@davemloft.net>2015-12-05 00:56:23 +0300
commit40dd0d9486a9cfa32ee288a739b3d8fa4b750913 (patch)
tree4af9a61e4941cf3801c0d9ca01ee81361c0a8c88 /Documentation/ABI/testing/sysfs-class-net-qmi
parent32f7adf633b9f99ad5089901bc7ebff57704aaa9 (diff)
downloadlinux-40dd0d9486a9cfa32ee288a739b3d8fa4b750913.tar.xz
net: qmi_wwan: document the qmi/raw_ip sysfs file
Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-net-qmi')
-rw-r--r--Documentation/ABI/testing/sysfs-class-net-qmi23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-net-qmi b/Documentation/ABI/testing/sysfs-class-net-qmi
new file mode 100644
index 000000000000..fa5a00bb1143
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-net-qmi
@@ -0,0 +1,23 @@
+What: /sys/class/net/<iface>/qmi/raw_ip
+Date: Dec 2015
+KernelVersion: 4.4
+Contact: Bjørn Mork <bjorn@mork.no>
+Description:
+ Boolean. Default: 'N'
+
+ Set this to 'Y' to change the network device link
+ framing from '802.3' to 'raw-ip'.
+
+ The netdev will change to reflect the link framing
+ mode. The netdev is an ordinary ethernet device in
+ '802.3' mode, and the driver expects to exchange
+ frames with an ethernet header over the USB link. The
+ netdev is a headerless p-t-p device in 'raw-ip' mode,
+ and the driver expects to echange IPv4 or IPv6 packets
+ without any L2 header over the USB link.
+
+ Userspace is in full control of firmware configuration
+ through the delegation of the QMI protocol. Userspace
+ is responsible for coordination of driver and firmware
+ link framing mode, changing this setting to 'Y' if the
+ firmware is configured for 'raw-ip' mode.