aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-compat.h
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2018-01-31 21:57:08 -0800
committerDan Williams <dcbw@redhat.com>2018-02-02 09:32:51 -0600
commit785dfd3edd98da26c1c1832c39ea6dfea3b1e877 (patch)
tree9e2260fdaa45287731eef5e6d4bb90fe6683be77 /include/ModemManager-compat.h
parent3de58d41374467d0b2cd6620a476758a44ebf697 (diff)
bearer-mbim: increase timeout for deactivating IP session to 60s
Since commit 0c7f3380a ("bearer-mbim: ensure session is disconnected before trying to connect"), MMBearerMbim always issues a MBIM_CID_CONNECT (MBIMActivationCommandDeactivate) command before a MBIM_CID_CONNECT (MBIMActivationCommandActivate) command during a connection attempt. That is to ensure that an IP session is actually deactivated before we try to activate a new IP session. Unfortunately, it's been observed on Huawei ME936 that it takes more than 30s for the modem to respond to a MBIM_CID_CONNECT (MBIMActivationCommandDeactivate) command when trying to deactivate a session that hasn't been activated. When the signal is weak, it's also possible that a modem takes more than 30s to deactivate an IP session during a disconnection attempt. This patch increases the timeout for deactivating an IP session from 30s to 60s in both connection and disconnection attempt.
Diffstat (limited to 'include/ModemManager-compat.h')
0 files changed, 0 insertions, 0 deletions