Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qmimodem: get LTE default bearer APN from modem
When an LTE modem registers with the network, a default bearer is automatically established. The APN used for this bearer is taken from whatever default settings the modem has. The LTE atom takes cares of setting up the default context/profile with the APN to use. From there, a default bearer will be established when the modem registers with the network. This results in a call to 'Get LTE Attach Parameters' which tells us what APN the gateway negotiated with us. If we can't get the APN, we do what the AT driver does: pretend the bearer wasn't established. This is a reasonable fallback, currently, because connman can't handle zero-length APN's anyway; the previous approach of setting the APN to 'automatic' breaks connman badly when it needs to switch between LTE and non-LTE networks.
- Loading branch information
Showing
1 changed file
with
153 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters