RNDIS: Add Data aggregation (multi packet) support
authorBadhri Jagan Sridharan <Badhri@google.com>
Thu, 18 Sep 2014 17:46:08 +0000 (10:46 -0700)
committerBadhri Jagan Sridharan <Badhri@google.com>
Thu, 25 Sep 2014 02:00:19 +0000 (19:00 -0700)
commitf9039de766187be99eb2e6af45023b8a32dc26b1
treec72be4a9c45dc6128b9c83dbfa034a096523c6bf
parent91da92a881344b1b04077f18ed7e9cc358cd0430
RNDIS: Add Data aggregation (multi packet) support

Add data aggregation support using RNDIS Multi Packet feature
to achieve better UDP Downlink throughput. Max 3 RNDIS Packets
aggregated into one RNDIS Packet with this implementation.

With this change, seeing UDP Downlink throughput increase
from 90 Mbps to above 100 Mbps when using Iperf and sending
data more than 100 Mbps.

Change-Id: I21c39482718944bb1b1068bdd02f626531e58f08
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
drivers/usb/gadget/f_rndis.c
drivers/usb/gadget/u_ether.c