RNDIS: expose as Wireless Controller device base class

RNDIS kernel driver will expose itself as
USB_CLASS_WIRELESS_CONTROLLER 0xe0, SubClass:01, Protocol:03
to work on Linux, MacOS and Windows.

Bug: 66725783
Change-Id: I8534dee9077e9f5a939d6964e4d25f9e4ad05d58
Signed-off-by: Thierry Strudel <tstrudel@google.com>
This commit is contained in:
Thierry Strudel
2017-09-29 14:48:22 -07:00
parent 56b533b096
commit 73878a0a97

View File

@@ -52,6 +52,7 @@ on boot
setprop sys.usb.controller "a800000.dwc3"
write /sys/module/libcomposite/parameters/disable_l1_for_hs "y"
symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
write /config/usb_gadget/g1/functions/gsi.rndis/rndis_wceis 1
on property:sys.usb.config=none && property:sys.usb.configfs=1
write /config/usb_gadget/g1/os_desc/use 0