All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [RFC PATCH 1/4] sim: check if FD is enabled in the SIM-card
Date: Mon, 04 Oct 2010 19:03:11 -0500	[thread overview]
Message-ID: <4CAA6B3F.20506@gmail.com> (raw)
In-Reply-To: <201010041917.28066.petteri.tikander@ixonos.com>

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

Hi Petteri,

> 
> You did not necessarily missed anything:) So logically presim-state in SIM-
> enabled FDN has sense (or even switching to OFF_LINE-state). It can be my 
> misunderstanding. We had some discussion with Denis of this issue, and I 
> understood it so, that oFono-api has to remove rest of the atoms, if FDN is 
> enabled (so also SIM- and voicecall atoms). At least it was easy way to filter 
> any calls.

Please refer to SIM initialization procedures in 3GPP 31.102 Section
5.1.1.2.  The FDN enabled check is done after EFust / EFest is read but
before EFimsi is read.  So the modem should remain in the 'pre-sim' state.

> 
> Well, the removal of the SIM-atom (what my patch-code did) wasn't a good idea 
> from me. Seems that SIM-initialization routine will be done every time when 
> waking up from the POWER-OFF state to the emergency-mode :(

Removing of sim atom is not necessary, simply never proceed past the
pre-sim state.

<snip>

> 
> So the basic question is now, should the voicecall-atom also be removed in 
> the call-restrictions (FDN/BDN-situations etc), causing calls to be filtered in 
> very early phase. Or voicecall-atom not even created until switching to 
> ON_LINE (emergency-mode logic switches). Or is it OK to accept situation 
> mentioned below (let trust the modem to filter calls), and keep the voicecall-
> logic visible all the time?  Or, probably to add some condition in voicecall 
> atoms's methods for canceling calls when not being in the MODEM_ON_LINE-state.

In the future we will have a way to trigger online state for dialing
emergency numbers even if FDN/BDN are enabled or the SIM is not
inserted.  That is something Pekka and other folks at Nokia are working on.

So the suggested way forward is to simply check the entries in EFest /
EFsst (for 51.011 and 11.11) and halt SIM initialization procedures if
FDN is enabled.  Adding a property to tell the UI what is going on (e.g.
boolean FixedDialing) might be a good idea as well.

> 
> 
>> The requirement for minimum FDN support is really to power down the
>> modem and not leave it in pre_sim state for emergency calls?
>>

No, we should not power down the modem.

Regards,
-Denis

  reply	other threads:[~2010-10-05  0:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-01 16:06 Fixed Dialing Petteri Tikander
2010-10-01 16:06 ` [RFC PATCH 1/4] sim: check if FD is enabled in the SIM-card Petteri Tikander
2010-10-01 16:06   ` [RFC PATCH 2/4] modem: Remove atoms " Petteri Tikander
2010-10-01 16:06     ` [RFC PATCH 3/4] modem: some debugs added for indicating modem state change Petteri Tikander
2010-10-01 16:06       ` [RFC PATCH 4/4] TODO: Owner of Fixed Dialing task Petteri Tikander
2010-10-02  6:11         ` Marcel Holtmann
2010-10-02  6:09       ` [RFC PATCH 3/4] modem: some debugs added for indicating modem state change Marcel Holtmann
2010-10-01 16:25   ` [RFC PATCH 1/4] sim: check if FD is enabled in the SIM-card Jeevaka.Badrappan
2010-10-04 12:19     ` Petteri Tikander
2010-10-02  6:22   ` Marcel Holtmann
2010-10-04 16:17     ` Petteri Tikander
2010-10-05  0:03       ` Denis Kenzior [this message]
2010-10-04 13:31   ` Pekka Pessi

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=4CAA6B3F.20506@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.