All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [RfC] Retry registering packet radio to home PLMN when available.
Date: Wed, 28 Oct 2009 16:21:19 -0500	[thread overview]
Message-ID: <200910281621.19526.denkenz@gmail.com> (raw)
In-Reply-To: <fb249edb0910280030w76287e59me10ddcde2ae8f8db@mail.gmail.com>

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

Hi Andrew,

> One reason you might want to not register to network would be for power
> saving.

Sure, but remember there are two cases here:

The device oFono is managing is a proper voice + data modem.  In which case 
the likely scenario is that we want to always be registered to the voice 
network and not register to GPRS network for power reasons.

The second case is we're managing a GPRS-only data device.  In which case the 
power considerations are flipped.

>
> It seems like a small gain for adding this dependency (which will seem
> especially strange to users not knowing about this quirk we're relying
> on).  The current picture is that we want to have an indication of
> when we might be able to register back to home PLMN with gprs.  We
> keep the gprs radio disabled and enable the circuit-switched radio
> possibly with the only aim being to have that (possibly weak)

For the devices that oFono is primarily targeting (e.g. voice + data devices) 
this behavior is exactly what we want, no?

> indication.  Couldn't we instead use the gprs radio for the same
> purpose?  We would simply prohibit activating contexts while roaming
> and we would report Attached = false on D-Bus.

I agree that we want to do this for data-only devices.  In which case I 
suspect we need to have the driver tell oFono that it is a data-only device.  
With implications that we always auto-attach, and either ignore RoamingAllowed 
setting completely or do as you suggest and refuse to activate the context. 

The tricky part is how to report the operator.  Remember that it is quite 
ambiguous what COPS=0 does.  On some devices it activates CSD radio.  On some 
GPRS, and both on others.

Regards.
=Demos

      reply	other threads:[~2009-10-28 21:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 17:21 [RfC] Retry registering packet radio to home PLMN when available Andrzej Zaborowski
2009-10-27  0:06 ` Denis Kenzior
2009-10-28  7:30   ` Andrzej Zaborowski
2009-10-28 21:21     ` Denis Kenzior [this message]

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=200910281621.19526.denkenz@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.