diff options
| author | Mayank Rana <mrana@codeaurora.org> | 2016-09-09 14:38:47 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-15 08:55:40 -0700 |
| commit | b23d321b0a9a00e572bce00c7464691c4584cba0 (patch) | |
| tree | 4d6a44296c4cbb8e6490f66ee73330a8a2ac0978 /fs/jbd2/commit.c | |
| parent | 9b82a4c5896632b62140d1ddda55638fea254007 (diff) | |
usb: gadget: gsi: Kick state machine with MESSAGE_PACKET_FILTER for RNDIS
commit <5b42bd749e8c> ("usb: gadget: gsi: Optimize TRB's buffer
allocation functionality") is kicking ipa_work_handler state
machine as part of set_alt() for RNDIS function which results
into giving max_xfer_size_bytes_to_host value as zero as
RNDIS_INIT_MSG from host may not have received here. This results
into low throughput due to device is sending more than accepted
aggregated bytes as part of one USB transfer to host. Fix this
issue by delaying RNDIS IPA initialization till MESSAGE_PACKET_FILTER
is received from host which makes sure that proper aggregation
parameters are passed to IPA driver to configure hardware
accerlerated path.
For non-rndis tethered interface, ipa_usb_notify_cb() posts EVT_CONNECTED
to enable IPA GSI data path (i.e. calling ipa_data_path_enable() API).
CRs-Fixed: 1065003
Change-Id: I4ce62745c82b4488cb1370248ab64951497493cd
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
