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

Skip to content
Commit 58861379 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa: Drop the packet on receiving the Deaggregation exception



Device-side USB chipset does not detect the end of a received USB
transfer that ends with a USB packet whose length is the 1024 bytes
for that endpoint. For this reason, the host must append a one-byte
zero packet to a data transfer that otherwise would have a length
that is a multiple of the 1024 bytes of the receiving endpoint.
USB RNDIS device must tolerate the appended byte. The MessageLength
field of the final REMOTE_NDIS_PACKET_MSG does not include this
appended byte. IPA HW generates Deaggregation Exception interrupt to
handle this case. This change will drop the packet on receiving
deaggregation exception as wrong data is delivered to client.

CRs-Fixed: 596371 636617

Change-Id: Icbea2f2b824a2dde1261927ac949276f60dc6cdc
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 3c4a9994
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