OpenCloudOS-Kernel/Documentation/usb
Pavel Hofman 355a05dc83 usb: gadget: f_uac2: Optionally determine bInterval for HS and SS
Allow setting configfs params p_hs_bint/c_hs_bint to 0. If they are set
to 0, determine the largest bInterval (4 to 1) for which the required
bandwidth of the max samplerate fits the max allowed packet size. If the
required bandwidth exceeds max bandwidth for single-packet mode
(ep->mc=1), keep bInterval at 1.

The FS speed is left at fixed bInterval=1.

If for any speed the required bandwidth exceeds the max bandwidth
corresponding to the selected/determined bInterval, print a warning.

Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/20220127114331.41367-4-pavel.hofman@ivitera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-31 14:26:18 +01:00
..
CREDITS
acm.rst
authorization.rst
chipidea.rst
dwc3.rst
ehci.rst docs: usb: replace some characters 2021-06-17 13:22:33 -06:00
functionfs.rst
gadget-testing.rst usb: gadget: f_uac2: Optionally determine bInterval for HS and SS 2022-01-31 14:26:18 +01:00
gadget_configfs.rst
gadget_hid.rst
gadget_multi.rst
gadget_printer.rst docs: usb: replace some characters 2021-06-17 13:22:33 -06:00
gadget_serial.rst
index.rst
iuu_phoenix.rst
linux-cdc-acm.inf
linux.inf
mass-storage.rst
misc_usbsevseg.rst
mtouchusb.rst
ohci.rst
raw-gadget.rst
text_files.rst
usb-help.rst
usb-serial.rst
usbdevfs-drop-permissions.c
usbip_protocol.rst
usbmon.rst