diff options
author | Matthew Starr <mstarr@hedonline.com> | 2019-06-12 16:24:04 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2019-09-13 18:13:26 +0000 |
commit | e93b5c1c1f4f5afce4a3476c239e4d9aa15c9b32 (patch) | |
tree | 7a7a0fc7b9f5bce13eae556428f7b9cbeda68cc6 /src/mm-call-list.c | |
parent | 2ecb96b6adbc288df7c92eac9c87b1d8b1d7c49e (diff) |
mm-broadband-bearer: fixed non-sequential CID selection
When a modem reported back non-sequential CIDs, MM was using the next
larger CID number after the last CID found. In cases where the last CID
found was the highest numbered CID allowed and is not a modifiable CID,
MM would give up and fail to establish a data connection.
The above issue occurs on u-blox TOBY-R200 modems as of firmware 30.33
A02.02. In this firmware version there are two default CIDs programmed
into the modem, one at CID 1 and another at CID 31. The CID at 31 is
the highest CID number that can be used and cannot be modified.
This change makes it so while parsing CIDs for a match, if a jump in CID
numbers is detected, so not sequential, the first open CID will be used
before using the max CID +1 or replacing the max CID. If an exact
match for IP type and APN is found, then that will still be used first.
Diffstat (limited to 'src/mm-call-list.c')
0 files changed, 0 insertions, 0 deletions