Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ed045baf authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: gadget: Add support to use usb request buffer size from mbim driver



Some of USB function is having protocol which communicates max usb
transfer size with host. It is required to have same size buffer available
to receive the data. Hence this change adds support with MBIM function
driver which marks usb buffer size for RX transfer based on its
communicated Max Out transfer size to host. This change also adds mod_param
as mbim_ntb_out_size_sys2bam to configure the same if it is required. Same
functionality can be extended to other tethered function driver if it is
required.

Change-Id: I282d77cc1167dd4e29966cdd66e764c7272312fb
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 5bc094e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment