f_qc_rndis: Fix issue with bus resume while using Linux Host
Remote Wakeup disable with Window Host, USB bus suspend/resume case:
Windows host sends non-zero value RNDIS_PACKET_FILTER before initiating
bus suspend which initiates USB IPA disconnect functionality. For bus
resume case, after initiating bus resume windows host sends
RNIDS_INIT_MSG Or zero value RNDIS_PACKET_FILTER which initiates USB
Tx/Rx transfers and connection with IPA BAM.
In case of using Linux Host:
Linux host doesn't send any RNDIS message for both bus suspend and
resume case. Due to which after resuming device, there is no Tx/Rx
transfer being initiated which results in no IP Address assignment
with RNDIS USB network interface. Fix this issue by initiating
required operations as performed with windows host case and update
RNDIS state machine accordingly.
CRs-Fixed: 730343
Change-Id: Ifebbc0a9527096b5502a18f3062fd156bbd37bf1
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment