On 04/28/2017 04:28 PM, Christophe Ronco wrote:
Even with detach_shutdown method implemented in qmimodem (patch done
by Jonas Bonn two or three weeks ago), I still sometimes have problems
when I have a lot of GPRS deconnections.
I use a MC7304 modem and to simulate short GPRS network losses, I
simply unplug and replug modem antenna.
I've done a patch that seems to correct the problem for me. I simply
do not handle anymore QMI_WDS_PKT_STATUS_IND notifications. I assume
it is not needed anymore (after Jonas Bonn patch implementing
detach_shutdown method in qmimodem driver). But I might be wrong...
I'll send the patch after this message.
I'm pretty sure that handling the notification is necessary because the
network can still disconnect the context spontaneously and the
indication is the only way of detecting that.
I just pushed a short series for QMI LTE support. Patch 1/4 in that
series, I hope, addresses the issue you reported. It would be great if
you could give that a try and see if it works for you...