From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/2] netreg: Add CPHS CSP implementation
Date: Thu, 03 Feb 2011 15:58:23 -0600 [thread overview]
Message-ID: <4D4B24FF.1040508@gmail.com> (raw)
In-Reply-To: <AANLkTikYqwWwF7Wi1SCi78dim0QveT3=_s_9o9aT7rbB@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]
Hi Aki,
On 02/03/2011 03:22 PM, Aki Niemi wrote:
> Hi Denis,
>
> 2011/2/3 Denis Kenzior <denkenz@gmail.com>:
>>> + if (netreg->mode == NETWORK_REGISTRATION_MODE_AUTO_ONLY)
>>> + return NULL;
>>> +
>>
>> So we might just return access_denied here as well.
>
> There is a reason for allowing this, namely that sometimes you want to
> re-run the logic for automatically operator selection. Granted, this
> is not your most common use case, but since it also does no harm to
> allowing it, I didn't.
>
This might not really work on all modem firmware though. I'm not too
sure you want to do this.
>> This brings up another point, since the CPHS CSP file is actually
>> user-writeable (for some unknown reason) the user can remove the SIM,
>> put it in another phone and modify the forced-auto settings. If you
>> store the forced-auto mode in the settings file, then there's no way to
>> ever go back to non-forced auto, even though he should be able to.
>
> I think the above way will in fact default to auto even if the
> settings store has auto-only. And yes, EFcsp can definitely change
> even at run-time, as manual mode really should be allowed when
> roaming, at least in countries that the operator for instance has
> multiple suitable roaming partners with varying coverage.
CPHS 4.2 only says that the manual mode selection should be disabled, so
I'm assuming this magic happens via STK Refresh. If so, then it might
be worth it to go back from forced-auto (if set) to auto when reading
the CSP file.
Regards,
-Denis
prev parent reply other threads:[~2011-02-03 21:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 13:28 [PATCH 1/2] netreg: Add CPHS CSP implementation Aki Niemi
2011-02-03 13:28 ` [PATCH 2/2] TODO: Remove completed CPHS CSP task Aki Niemi
2011-02-03 21:06 ` [PATCH 1/2] netreg: Add CPHS CSP implementation Denis Kenzior
2011-02-03 21:22 ` Aki Niemi
2011-02-03 21:58 ` 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=4D4B24FF.1040508@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.