QMI: DMS Set Operating Mode returns success but power transition is not completed yet
I am seeing a few suspend resume issues, many of which have to do with a variant of the following sequence:
mmcli -m 0 -d
mmcli -m 0 --set-power-state-low
mmcli -m 0 -e
Qualcomm's implementation on sc7180 queues DMS_SET_OPERATING_MODES. When we send --set-power-state-low, the modem queues the request, but remains online for some time. If "mmcli -m 0 -e " is issued during this time, the modem will be detected as online, and no dms message is sent. Once enabled, the queued low power mode executes. Thus, we never reach the "registered" state. Do you see any issues if we always send a power on dms message during enable for QMI modems? The ideal solution according to QC is to register for power indications, but that will take some time to implement. net__53_.log