summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-class-net-qmi
blob: 47e6b97323379bab558ea393e5c3c3623cdcd0c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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.

What:		/sys/class/net/<iface>/qmi/add_mux
Date:		March 2017
KernelVersion:	4.11
Contact:	Bjørn Mork <bjorn@mork.no>
Description:
		Unsigned integer.

		Write a number ranging from 1 to 254 to add a qmap mux
		based network device, supported by recent Qualcomm based
		modems.

		The network device will be called qmimux.

		Userspace is in charge of managing the qmux network device
		activation and data stream setup on the modem side by
		using the proper QMI protocol requests.

What:		/sys/class/net/<iface>/qmi/del_mux
Date:		March 2017
KernelVersion:	4.11
Contact:	Bjørn Mork <bjorn@mork.no>
Description:
		Unsigned integer.

		Write a number ranging from 1 to 254 to delete a previously
		created qmap mux based network device.

What:		/sys/class/net/<qmimux iface>/qmap/mux_id
Date:		January 2021
KernelVersion:	5.12
Contact:	Daniele Palmas <dnlplm@gmail.com>
Description:
		Unsigned integer

		Indicates the mux id associated to the qmimux network interface
		during its creation.

What:		/sys/class/net/<iface>/qmi/pass_through
Date:		January 2021
KernelVersion:	5.12
Contact:	Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Description:
		Boolean.  Default: 'N'

		Set this to 'Y' to enable 'pass-through' mode, allowing packets
		in MAP format to be passed on to the stack.

		Normally the rmnet driver (CONFIG_RMNET) is then used to process
		and demultiplex these packets.

		'Pass-through' mode can be enabled when the device is in
		'raw-ip' mode only.