All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 5/8] lte: activate default bearer on network registration
Date: Tue, 11 Apr 2017 16:21:31 -0500	[thread overview]
Message-ID: <d1022bb7-9924-cb10-c653-54a6c85a3f6c@gmail.com> (raw)
In-Reply-To: <03d7a73f-be7d-6c2f-8016-d5a8478f0e56@southpole.se>

[-- Attachment #1: Type: text/plain, Size: 1852 bytes --]

Hi Jonas,

On 04/11/2017 03:48 PM, Jonas Bonn wrote:
> Hi Denis,
>
> On 04/11/2017 07:07 PM, Denis Kenzior wrote:
>> On 04/11/2017 03:18 AM, Jonas Bonn wrote:
>>> The LTE atom should watch the network status and automatically activate
>>> the default bearer when the modem becomes registered to the LTE network.
>>>
>>> This patch adds a device callback, activate_default_bearer(), to allow
>>> the device to start networking.
>>
>> Nope, we're not doing it this way.  Once we're attached to LTE there's
>> no need to activate a default bearer.  It is already active.  The
>> modem should tell us that this is the case.
>>
>> Another issue is that the network is free to ignore our default bearer
>> setting, so you might be activating (or trying to) yet another context.
>>
>> Doesn't QMI provide an equivalent of +CGEV?
>
> I haven't found an equivalent.  Right now it looks to me as though the
> only way to set up a PDP context is to call the "Start Networking"
> method.  If I don't start networking, the packet status callback never
> gives me a "connected" status.  It's not enough to just power on the
> modem... although that does get me registered to the network.

QMI is an ancient protocol, so maybe it simply didn't get extended for 
LTE.  Or we just don't know how to drive it properly.  Is there an AT 
channel ?  Does that one report anything related to CGEV?

>
> Furthermore, it doesn't matter what APN I use, I always get a usable
> data-connection.  "Get Settings" never returns an APN string, either,
> which makes me that the network is ignoring my setting altogether and
> just giving me a default bearer...???

The network is ultimately responsible for allocating an APN.  It could 
be blank or null or whatever.  Or maybe we don't know the right magic 
incantation.

Regards,
-Denis

  reply	other threads:[~2017-04-11 21:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11  8:18 [PATCH lte 0/8] QMI LTE series Jonas Bonn
2017-04-11  8:18 ` [PATCH 1/8] qmi: NAS definitions adjustment Jonas Bonn
2017-04-11 15:23   ` Denis Kenzior
2017-04-11  8:18 ` [PATCH 2/8] qmi: add WDS parameter definition Jonas Bonn
2017-04-11 16:23   ` Denis Kenzior
2017-04-11  8:18 ` [PATCH 3/8] qmi: retrieve GPRS context parameters Jonas Bonn
2017-04-11 16:44   ` Denis Kenzior
2017-04-11  8:18 ` [PATCH 4/8] qmi: implement read_settings for automatic contexts Jonas Bonn
2017-04-11 17:02   ` Denis Kenzior
2017-04-11  8:18 ` [PATCH 5/8] lte: activate default bearer on network registration Jonas Bonn
2017-04-11 17:07   ` Denis Kenzior
2017-04-11 20:48     ` Jonas Bonn
2017-04-11 21:21       ` Denis Kenzior [this message]
2017-04-12 14:28         ` Jonas Bonn
2017-04-12 21:10           ` Jonas Bonn
2017-04-13 15:14             ` Denis Kenzior
2017-04-14 21:53               ` Jonas Bonn
2017-04-14 23:18                 ` Denis Kenzior
2017-04-11  8:18 ` [PATCH 6/8] qmi: add LTE atom driver Jonas Bonn
2017-04-11 17:09   ` Denis Kenzior
2017-04-11  8:18 ` [PATCH 7/8] qmi: watch for automatic context activation Jonas Bonn
2017-04-11  8:18 ` [PATCH 8/8] gobi: add LTE atom Jonas Bonn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1022bb7-9924-cb10-c653-54a6c85a3f6c@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.