summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2017-07-30 03:12:57 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-08-15 13:18:56 +0200
commit73517cf49bd449122b615d2b7a6bb835f02252e5 (patch)
treea0bf600345659bbe2de496690e3411430ca77757 /Documentation/ABI/testing
parentusb: phy-tahvo: constify attribute_group structures. (diff)
downloadlinux-73517cf49bd449122b615d2b7a6bb835f02252e5.tar.xz
linux-73517cf49bd449122b615d2b7a6bb835f02252e5.zip
usb: gadget: add RNDIS configfs options for class/subclass/protocol
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>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r--Documentation/ABI/testing/configfs-usb-gadget-rndis3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-rndis b/Documentation/ABI/testing/configfs-usb-gadget-rndis
index e32879b84b4d..137399095d74 100644
--- a/Documentation/ABI/testing/configfs-usb-gadget-rndis
+++ b/Documentation/ABI/testing/configfs-usb-gadget-rndis
@@ -12,3 +12,6 @@ Description:
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)