tune usb irq (dwc3) based on usb function
This among other things greatly increases tethering performance. Bug: 185092876 Test: TreeHugger, built and booted on an oriole, enabled tethering Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ic9f0b4bef05250bb38c91dc1e046366098d98dc0
This commit is contained in:
parent
ed651c86bf
commit
a24469c9d0
4 changed files with 29 additions and 0 deletions
|
@ -85,6 +85,12 @@ on property:vendor.usb.config=*
|
|||
on property:persist.vendor.usb.usbradio.config=*
|
||||
start usbd
|
||||
|
||||
on property:vendor.usb.dwc3_irq=medium
|
||||
exec /vendor/bin/hw/set_usb_irq.sh medium
|
||||
|
||||
on property:vendor.usb.dwc3_irq=big
|
||||
exec /vendor/bin/hw/set_usb_irq.sh big
|
||||
|
||||
on charger
|
||||
mkdir /config/usb_gadget/g1
|
||||
mkdir /config/usb_gadget/g1/strings/0x409
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue