Merge tag 'rproc-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson...
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-class-net-qmi
1 What:           /sys/class/net/<iface>/qmi/raw_ip
2 Date:           Dec 2015
3 KernelVersion:  4.4
4 Contact:        Bjørn Mork <bjorn@mork.no>
5 Description:
6                 Boolean.  Default: 'N'
7
8                 Set this to 'Y' to change the network device link
9                 framing from '802.3' to 'raw-ip'.
10
11                 The netdev will change to reflect the link framing
12                 mode.  The netdev is an ordinary ethernet device in
13                 '802.3' mode, and the driver expects to exchange
14                 frames with an ethernet header over the USB link. The
15                 netdev is a headerless p-t-p device in 'raw-ip' mode,
16                 and the driver expects to echange IPv4 or IPv6 packets
17                 without any L2 header over the USB link.
18
19                 Userspace is in full control of firmware configuration
20                 through the delegation of the QMI protocol. Userspace
21                 is responsible for coordination of driver and firmware
22                 link framing mode, changing this setting to 'Y' if the
23                 firmware is configured for 'raw-ip' mode.
24
25 What:           /sys/class/net/<iface>/qmi/add_mux
26 Date:           March 2017
27 KernelVersion:  4.11
28 Contact:        Bjørn Mork <bjorn@mork.no>
29 Description:
30                 Unsigned integer.
31
32                 Write a number ranging from 1 to 254 to add a qmap mux
33                 based network device, supported by recent Qualcomm based
34                 modems.
35
36                 The network device will be called qmimux.
37
38                 Userspace is in charge of managing the qmux network device
39                 activation and data stream setup on the modem side by
40                 using the proper QMI protocol requests.
41
42 What:           /sys/class/net/<iface>/qmi/del_mux
43 Date:           March 2017
44 KernelVersion:  4.11
45 Contact:        Bjørn Mork <bjorn@mork.no>
46 Description:
47                 Unsigned integer.
48
49                 Write a number ranging from 1 to 254 to delete a previously
50                 created qmap mux based network device.
51
52 What:           /sys/class/net/<qmimux iface>/qmap/mux_id
53 Date:           January 2021
54 KernelVersion:  5.12
55 Contact:        Daniele Palmas <dnlplm@gmail.com>
56 Description:
57                 Unsigned integer
58
59                 Indicates the mux id associated to the qmimux network interface
60                 during its creation.
61
62 What:           /sys/class/net/<iface>/qmi/pass_through
63 Date:           January 2021
64 KernelVersion:  5.12
65 Contact:        Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
66 Description:
67                 Boolean.  Default: 'N'
68
69                 Set this to 'Y' to enable 'pass-through' mode, allowing packets
70                 in MAP format to be passed on to the stack.
71
72                 Normally the rmnet driver (CONFIG_RMNET) is then used to process
73                 and demultiplex these packets.
74
75                 'Pass-through' mode can be enabled when the device is in
76                 'raw-ip' mode only.