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

Skip to content
Commit ddd4293c authored by xerox_lin's avatar xerox_lin Committed by Sivasri Kumar Vanka
Browse files

USB: gadget: rndis: Add module parameter for DL max packets per xfer

Currently DL aggregation is supported in RNDIS driver and is set
to 3 by default. And there is no support to change downlink maximum
packets per transfer at runtime through module parameter. Hence add
module parameter for DL maximum packets per transfer to change it at
runtime.

echo 6 > /sys/module/usb_f_rndis/parameters/rndis_dl_max_pkt_per_xfer

To disable DL aggregation during runtime,

echo 1 > /sys/module/usb_f_rndis/parameters/rndis_dl_max_pkt_per_xfer.

Change-Id: I3a1d0bc97358e2b6f233df7ae8725fb507de50db
Git-Commit: cdffcb845ee56ce6d0b55200f7909ab954e92ec4
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-4.9


Signed-off-by: default avatarXerox Lin <xerox_lin@htc.com>
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent aeacf540
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