usb: gadget: gsi: Fix handling of MSG PACKET FILTER
When USB RNDIS network device is bridged with other network device
on windows host machine, it has been observed that many MSG PACKET
FILTER packet with zero and non-zero value are send from host to
device. USB GSI state machines handles those and results into case
where TRB buffer's address is updated wrongly causing bus error
with IPA GSI. Fix this issue as below:
- Move MSG PACKET FILTER handling as part of ipa_work_handler()
- Add blocking USB3 ringing doorbell on receiving MSG PACKET FILTER
with non-zero value.
- Before processing HOST_NRDY event, see already posted event. If it
is HOST_READY event, then ignore HOST_NRDY and HOST_READY to avoid
performing operations related to HOST_NRDY and HOST_READY again.
CRs-Fixed: 1059577
Change-Id: I3ac8f740d7b84212da1d799b563a6e8ef1c9b493
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment