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

Skip to content
Commit 4332a11a authored by Mayank Rana's avatar Mayank Rana
Browse files

f_gsi: Send DTR status with GET_LINE_STATE ioctl for RMNET interface



If there is any pending TRB on IN/INT endpoint with USB device
controller, USB device controller doesn't go into USB host requested
L1 LPM. If USB RMNET GSI driver gets modem offline command or any
control data from modem through user space application while running
USB L1 suspend/resume compliance test case, this compliance test case
fails due to pending TRB. Currently driver is using connected flag
related value as line state instead of actual DTR status i.e. USB host
side RMNET driver state. This allows QTI application to write available
control packet notification towards host whereas host side driver is
not ready to perform I/O. Hence to fix this issue use actual DTR status
with GET_LINE_STATE ioctl for RMNET interface.

Change-Id: Ib2ed004407a8b9336cbbe42b3735750946e6c759
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 436b6888
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment