From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 0/3] EF-SPN API to sim-atom
Date: Mon, 31 Jan 2011 14:22:23 -0600 [thread overview]
Message-ID: <4D4719FF.3060107@gmail.com> (raw)
In-Reply-To: <1296454409.2204.6.camel@jsaunama-desktop>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Hi Jukka,
On 01/31/2011 12:13 AM, Jukka Saunamaki wrote:
> Hello
>
> On Thu, 2011-01-27 at 15:22 +0200, Jukka Saunamaki wrote:
>> Here is an asynchronous implementation of SIM Service Provider Name (EF-SPN) getter API.
>> The trick is to delay setting sim ready until spn reading is finished.
>
> Any comments about this?
> So, yes, it slightly delays SIM initialisation (usually SPN value should
> come from disk cache), but then netreg can use it immediately when it
> registers.
> Alternative is still to create an asyncronous API now that there is a
> patch for safe SIM file reading.
So my main problem here is that you require the SPN a handful of times
in the phone's lifetime, more likely once. Yet you pay the cost of
reading and delaying the initialization every time. In my view this is
not really acceptable.
Perhaps a better approach would be to put the spn parser into simutil so
it can be shared by netreg and gprs. Then go back to your original
proposal of delaying the gprs atom registration if provisioning is
required and SPN is needed.
Regards,
-Denis
next prev parent reply other threads:[~2011-01-31 20:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-27 13:22 [PATCH 0/3] EF-SPN API to sim-atom Jukka Saunamaki
2011-01-27 13:22 ` [PATCH 1/3] sim: add ofono_sim_get_spn API header Jukka Saunamaki
2011-01-27 13:56 ` Marcel Holtmann
2011-01-27 14:04 ` Jukka Saunamaki
2011-01-27 13:22 ` [PATCH 2/3] sim: add ofono_sim_get_spn API implementation Jukka Saunamaki
2011-01-27 13:22 ` [PATCH 3/3] netreg: use ofono_sim_get_spn() Jukka Saunamaki
2011-01-31 6:13 ` [PATCH 0/3] EF-SPN API to sim-atom Jukka Saunamaki
2011-01-31 9:57 ` Marcel Holtmann
2011-01-31 20:22 ` Denis Kenzior [this message]
2011-02-01 7:25 ` Jukka Saunamaki
2011-02-01 10:38 ` Marcel Holtmann
2011-02-01 15:14 ` Denis Kenzior
2011-02-01 20:38 ` Aki Niemi
2011-02-02 1:20 ` Denis Kenzior
2011-02-02 7:19 ` Jukka Saunamaki
2011-02-02 16:01 ` Denis Kenzior
2011-02-02 7:12 ` Jukka Saunamaki
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=4D4719FF.3060107@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.