ModemManager-devel Digest, Vol 96, Issue 6
Andrew Lassalle
andrewlassalle at google.com
Fri May 7 23:52:11 UTC 2021
After doing some more digging, I see that the
sequence "disable->enable->set-initial-eps-bearer-settings->connect" works
very well.
But, we are setting the modem to low power mode between `disable` and
`enable`, and that seems to affect the end result. This affects QC SC7180
and LG850, but it's more prominent on the qualcomm modem.
The following sequence usually fails:
*mmcli -m 0 --disable && mmcli -m 0 --set-power-state-low && mmcli -m 0
--enable && mmcli -m 0 --3gpp-set-initial-eps-bearer-settings="apn=" &&
mmcli -m 0 --simple-connect="apn=broadband"*
Followed by
*mmcli -m 0 --disable && mmcli -m 0 --set-power-state-low && mmcli -m 0
--enable && mmcli -m 0
--3gpp-set-initial-eps-bearer-settings="apn=broadband" && mmcli -m 0
--simple-connect="apn=broadband"*
Note: This is on AT&T, which does support the initial attach APN "broadband"
Question: When setting the power state to low, what should be our
expectation from the modem? Should only the radios turn off?
On Thu, May 6, 2021 at 5:00 AM <
modemmanager-devel-request at lists.freedesktop.org> wrote:
> Send ModemManager-devel mailing list submissions to
> modemmanager-devel at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
> or, via email, send a message with subject or body 'help' to
> modemmanager-devel-request at lists.freedesktop.org
>
> You can reach the person managing the list at
> modemmanager-devel-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ModemManager-devel digest..."
>
>
> Today's Topics:
>
> 1. When to call SetInitialEpsBearerSettings (Andrew Lassalle)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 5 May 2021 16:35:34 -0700
> From: Andrew Lassalle <andrewlassalle at google.com>
> To: modemmanager-devel at lists.freedesktop.org
> Subject: When to call SetInitialEpsBearerSettings
> Message-ID:
> <CAMHc6q2hvazKVowmU6Yr7F9TODO_=O-LNN=
> xtXsj8GhuBv4HnQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Aleksander,
> We are using SetInitialEpsBearerSettings to set the default-attach APN for
> some carriers. When the user manually changes from an APN which is not
> Attach to an Attach one(or vice versa), we disable the modem and re-enable
> it to have a clean slate.
> This works fine, except that sometimes after re-enabling the modem,
> the 3GPP registration state changes to `registering` before shill(network
> manager) receives the 3gpp Properties change from MM which allows shill to
> select the best APN including the ones returned by MM. This means that
> shill doesn't have enough time to set the InitialEpsBearerSettings before
> MM tries to register.
>
> What should be the correct flow to set InitialEpsBearerSettings so MM
> always uses those settings?
>
> Note: We haven't downstreamed for 2 months, so I am not sure if the new
> Profiles stuff changes anything.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210505/12820f7c/attachment-0001.htm
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
>
>
> ------------------------------
>
> End of ModemManager-devel Digest, Vol 96, Issue 6
> *************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210507/9533cb90/attachment.htm>
More information about the ModemManager-devel
mailing list