mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![David Lechner](/assets/img/avatar_default.png)
This adds 3 new options to the RNDIS gadget function configs. It allows overriding the default USB interface class/subclass/protocol. The motivation for this is that if you set the values to "ef" (Misc), "04" (RNDIS), "01" (Ethernet) respectively, then the device will be recognized by the rndiscmp.inf file in Windows Vista and newer and will cause Windows to load the correct RNDIS driver without the need for a custom (signed) .inf file. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
17 lines
588 B
Text
17 lines
588 B
Text
What: /config/usb-gadget/gadget/functions/rndis.name
|
|
Date: Jun 2013
|
|
KernelVersion: 3.11
|
|
Description:
|
|
The attributes:
|
|
|
|
ifname - network device interface name associated with
|
|
this function instance
|
|
qmult - queue length multiplier for high and
|
|
super speed
|
|
host_addr - MAC address of host's end of this
|
|
Ethernet over USB link
|
|
dev_addr - MAC address of device's end of this
|
|
Ethernet over USB link
|
|
class - USB interface class, default is 02 (hex)
|
|
subclass - USB interface subclass, default is 06 (hex)
|
|
protocol - USB interface protocol, default is 00 (hex)
|