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:
Skylar Chang <chiaweic@codeaurora.org>
Loading
Please register or sign in to comment