xref: /linux/Documentation/ABI/testing/sysfs-class-net-qmi (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1What:		/sys/class/net/<iface>/qmi/raw_ip
2Date:		Dec 2015
3KernelVersion:	4.4
4Contact:	Bjørn Mork <bjorn@mork.no>
5Description:
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
25What:		/sys/class/net/<iface>/qmi/add_mux
26Date:		March 2017
27KernelVersion:	4.11
28Contact:	Bjørn Mork <bjorn@mork.no>
29Description:
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
42What:		/sys/class/net/<iface>/qmi/del_mux
43Date:		March 2017
44KernelVersion:	4.11
45Contact:	Bjørn Mork <bjorn@mork.no>
46Description:
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
52What:		/sys/class/net/<qmimux iface>/qmap/mux_id
53Date:		January 2021
54KernelVersion:	5.12
55Contact:	Daniele Palmas <dnlplm@gmail.com>
56Description:
57		Unsigned integer
58
59		Indicates the mux id associated to the qmimux network interface
60		during its creation.
61
62What:		/sys/class/net/<iface>/qmi/pass_through
63Date:		January 2021
64KernelVersion:	5.12
65Contact:	Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
66Description:
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.
77