From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: GPRS support for Ofono
Date: Wed, 02 Sep 2009 11:26:16 -0500 [thread overview]
Message-ID: <200909021126.16772.denkenz@gmail.com> (raw)
In-Reply-To: <200909021838.29834.remi@remlab.net>
[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]
Hi Remi,
> Le mercredi 2 septembre 2009 18:00:22 Denis Kenzior, vous avez écrit :
> > Actually this one is missing from the API proposal. Marcel already
> > wanted the context type (internet, mms, wap, etc) information. I've
> > updated the proposed API in git.
>
> This is not going to work.
>
> Depending on the operator, you may have more than one "type" for a single
> context (e.g. WAP+MMS), or worse, multiple contexts of the same type (e.g.
> Internet with only Web and Internet with full IP).
Worst case we make the field completely freeform. Right now we really only
care about "internet" type for connman.
>
> > As discussed previously, we want oFono to manage this data, since it can
> > do this by using the IMSI. So if you insert a different operator SIM
> > your APN settings are magically updated for that operator.
>
> I have a feeling this does not work either. If I upgrade my subscription,
> the APN may change while not the IMSI, no?
Yes, but then you will probably receive an SMS/OTA message with new connection
details. Which either oFono or some external application will apply to your
GPRS settings.
> > This really belong in the kernel. Only the kernel can reliably know when
> > a network interface has been brought down and notify the interested
> > applications with the statistics.
>
> You're missing the point.
>
> Yes, any body can extract the statistics for a running context. But data
> counters are cumulating. To compute the sum properly, there are but two
> options:
> # Either the GPRS middleware requests kernel per-interface statistics right
> before destroying the interface, and sums with the earlier total.
> # Or the modem does it internally.
I know why you want this, but I'm still against the counter being an oFono
driver API. There needs to be a proper kernel interface that signals the
application when an interface has gone away with the rx/tx details. This way
we handle this generically for all modems without relying on some intrinsic
hardware capabilities.
The rx/tx counter not being reported via PropertyChanged is also a bad idea
since it breaks our API conventions. I can deal with a one-time signal being
emitted when the interface has gone away though.
Regards,
-Denis
next prev parent reply other threads:[~2009-09-02 16:26 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-01 11:09 GPRS support for Ofono Ismo Puustinen
2009-09-01 19:02 ` Jean-Christian de Rivaz
2009-09-01 19:25 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-01 20:17 ` Jean-Christian de Rivaz
2009-09-01 20:26 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-01 20:30 ` Christensen, Mikkel
2009-09-01 19:27 ` Christensen, Mikkel
2009-09-01 21:36 ` Denis Kenzior
2009-09-01 22:42 ` Marcel Holtmann
2009-09-01 22:50 ` Denis Kenzior
2009-09-02 6:39 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-02 9:16 ` Marcel Holtmann
2009-09-02 9:22 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-02 10:43 ` Aki Niemi
2009-09-02 11:03 ` Marcel Holtmann
2009-09-02 11:19 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-02 11:30 ` Ismo Puustinen
2009-09-02 12:02 ` Marcel Holtmann
2009-09-02 12:34 ` Aki Niemi
2009-09-02 12:46 ` Marcel Holtmann
2009-09-02 12:51 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-02 15:28 ` Denis Kenzior
2009-09-02 15:42 ` Aki Niemi
2009-09-02 20:37 ` Marcel Holtmann
2009-09-02 20:36 ` Denis Kenzior
2009-09-02 21:09 ` Marcel Holtmann
2009-09-02 12:46 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-02 13:01 ` Marcel Holtmann
2009-09-02 17:51 ` Bastian, Waldo
2009-09-02 20:40 ` Marcel Holtmann
2009-09-02 15:00 ` Denis Kenzior
2009-09-02 15:32 ` Aki Niemi
2009-09-02 15:36 ` Denis Kenzior
2009-09-02 15:38 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-02 16:26 ` Denis Kenzior [this message]
2009-09-02 17:39 ` Bastian, Waldo
2009-09-02 17:46 ` Denis Kenzior
2009-09-02 18:41 ` Bastian, Waldo
2009-09-02 21:01 ` Marcel Holtmann
2009-09-02 21:10 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-02 21:18 ` Marcel Holtmann
2009-09-02 20:53 ` Marcel Holtmann
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=200909021126.16772.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.