xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-class-net-qmi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/class/net/<iface>/qmi/raw_ip
2*4882a593SmuzhiyunDate:		Dec 2015
3*4882a593SmuzhiyunKernelVersion:	4.4
4*4882a593SmuzhiyunContact:	Bjørn Mork <bjorn@mork.no>
5*4882a593SmuzhiyunDescription:
6*4882a593Smuzhiyun		Boolean.  Default: 'N'
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun		Set this to 'Y' to change the network device link
9*4882a593Smuzhiyun		framing from '802.3' to 'raw-ip'.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun		The netdev will change to reflect the link framing
12*4882a593Smuzhiyun		mode.  The netdev is an ordinary ethernet device in
13*4882a593Smuzhiyun		'802.3' mode, and the driver expects to exchange
14*4882a593Smuzhiyun		frames with an ethernet header over the USB link. The
15*4882a593Smuzhiyun		netdev is a headerless p-t-p device in 'raw-ip' mode,
16*4882a593Smuzhiyun		and the driver expects to echange IPv4 or IPv6 packets
17*4882a593Smuzhiyun		without any L2 header over the USB link.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun		Userspace is in full control of firmware configuration
20*4882a593Smuzhiyun		through the delegation of the QMI protocol. Userspace
21*4882a593Smuzhiyun		is responsible for coordination of driver and firmware
22*4882a593Smuzhiyun		link framing mode, changing this setting to 'Y' if the
23*4882a593Smuzhiyun		firmware is configured for 'raw-ip' mode.
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunWhat:		/sys/class/net/<iface>/qmi/add_mux
26*4882a593SmuzhiyunDate:		March 2017
27*4882a593SmuzhiyunKernelVersion:	4.11
28*4882a593SmuzhiyunContact:	Bjørn Mork <bjorn@mork.no>
29*4882a593SmuzhiyunDescription:
30*4882a593Smuzhiyun		Unsigned integer.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun		Write a number ranging from 1 to 254 to add a qmap mux
33*4882a593Smuzhiyun		based network device, supported by recent Qualcomm based
34*4882a593Smuzhiyun		modems.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun		The network device will be called qmimux.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun		Userspace is in charge of managing the qmux network device
39*4882a593Smuzhiyun		activation and data stream setup on the modem side by
40*4882a593Smuzhiyun		using the proper QMI protocol requests.
41*4882a593Smuzhiyun
42*4882a593SmuzhiyunWhat:		/sys/class/net/<iface>/qmi/del_mux
43*4882a593SmuzhiyunDate:		March 2017
44*4882a593SmuzhiyunKernelVersion:	4.11
45*4882a593SmuzhiyunContact:	Bjørn Mork <bjorn@mork.no>
46*4882a593SmuzhiyunDescription:
47*4882a593Smuzhiyun		Unsigned integer.
48*4882a593Smuzhiyun
49*4882a593Smuzhiyun		Write a number ranging from 1 to 254 to delete a previously
50*4882a593Smuzhiyun		created qmap mux based network device.
51