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

Skip to content
Commit 464ce285 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: gadget: u_bam: Add UL pending data threshold in bytes



Current 'bam_pending_limit' parameter limits the number of UL
packets pending with BAM dmux. For different network modes
(WCMDA/LTE) there could be a limit to the maximum size data
burst supported. As these bursts are defined in terms of
bytes, add a configurable parameter in driver to allow user
to change this as per the modem requirement.
Added module parameter: 'bam_pending_bytes_limit' under
'/sys/module/g_android/parameters'.
UL packets for bam_dmux are stopped as soon as either the
bytes_limit or packets_limit is reached.

Change-Id: Iba7df5461b15753d16245da4d2c60f39f7ba0a04
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 82f65cf9
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