From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [RFC PATCH 12/20] packet: add context type default
Date: Tue, 12 Apr 2011 04:49:07 +0200 [thread overview]
Message-ID: <1302576547.2572.235.camel@aeonflux> (raw)
In-Reply-To: <4DA35940.40300@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3338 bytes --]
Hi Denis,
> > OFONO_PACKET_CONTEXT_TYPE_DEFAULT is added to
> > ofono_packet_context_type and conversion functions
> > are updated for the same.
> > ---
> > include/packet-context.h | 1 +
> > src/packet.c | 7 +++++++
> > 2 files changed, 8 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/packet-context.h b/include/packet-context.h
> > index 44fd69f..02a5c42 100644
> > --- a/include/packet-context.h
> > +++ b/include/packet-context.h
> > @@ -47,6 +47,7 @@ enum ofono_packet_context_type {
> > OFONO_PACKET_CONTEXT_TYPE_MMS,
> > OFONO_PACKET_CONTEXT_TYPE_WAP,
> > OFONO_PACKET_CONTEXT_TYPE_IMS,
> > + OFONO_PACKET_CONTEXT_TYPE_DEFAULT,
> > };
> >
>
> My understanding was that whether an EPS bearer is 'default' has no
> bearing on what context type (e.g. ims, internet, mms) it actually is.
> I remember there was a conversation on how a 'default' context is
> chosen, but I already forgot most of it.
in the end we concluded that the only way to figure out the context type
is by comparing the APN name. And hopefully we have that one configured
and can simply string match it. If we do not, then the whole system will
fall apart.
> To me it makes no sense that a default context is going to be anything
> other than internet or ims. The fact that it is a 'default' context
> doesn't really help the upper layers in any way. Especially ConnMan
> needs to know whether this context can be used for internet access or not.
The concept of default context is as broken as trying to introduce a
special CID 0 meaning. Both do not work. We need to know what type of
context we have.
The real problem that I see here is that there is no clear definition on
what the default context connects to. I think this is the biggest
limitation of 3GPP right now. They should have just said that the
default context always connects to the private IP network of the
carrier. And that will be then the IMS, MMS etc. or some sort of context
that is clearly private to the carrier. And that the Internet context
always needs to be established by host.
Especially for the cases of roaming we need to have the default context
connecting to an operator internal network. Otherwise any kind of
billing will get really complicated. Since on one hand you wanna be
reachable while roaming, but maybe not pay for data roaming. Not to talk
about emergency call handling while roaming.
Lets have a look at the one network that deploys LTE for the public
these days. I did not find an official Verizon page about their APN
names and functions, but this will do:
http://www.4ginfo.com/index.php/verizon-uml290-mac-configuration-warning-a-fix.html
CID 1, Type IPV6, APN vzwims
CID 3, Type IPV4V6, APN vzwinternet
CID 4, Type IPv4V6, APN vzwapp
And if you trust other sources, then CID 2 is this:
CID 2, Type IPV4V6, APN vzwadmin
This does not answer which APN gets activated as default, but I would
assume the network returns vzwims. If someone is on Verizon and has LTE
capable hardware, it would be nice if they try this.
And if you wanna have any legacy software working with LTE data dongle
as before, if would make a lot of sense to not end up having two
Internet contexts activated. I am just saying ;)
Regards
Marcel
next prev parent reply other threads:[~2011-04-12 2:49 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-11 10:19 [RFC PATCH 00/20] *** LTE support with CSFB voice solution *** Vijay Nayani
2011-04-11 10:19 ` [RFC PATCH 01/20] include: add generalised packet headers Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 02/20] build: " Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 03/20] gprs: move bearer_to_string to common file Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 04/20] build: add generalised packet files Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 05/20] atmodem: add generalised packet source Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 06/20] phonesim: use generalised packet source files Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 07/20] common: add preferred_ue_mode enum Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 08/20] include: add set preferred ue mode api Vijay Nayani
2011-04-11 19:34 ` Denis Kenzior
2011-04-12 10:10 ` Vijay.Nayani
2011-04-12 13:52 ` Denis Kenzior
2011-04-11 10:20 ` [RFC PATCH 09/20] modem: add preferred ue mode handling Vijay Nayani
2011-04-11 19:36 ` Denis Kenzior
2011-04-12 11:42 ` Vijay.Nayani
2011-04-12 13:59 ` Denis Kenzior
2011-04-11 10:20 ` [RFC PATCH 10/20] doc: add PreferredMode property to modem Vijay Nayani
2011-04-11 19:27 ` Denis Kenzior
2011-04-12 11:51 ` Vijay.Nayani
2011-04-12 14:02 ` Denis Kenzior
2011-04-11 10:20 ` [RFC PATCH 11/20] modem: generalise feature map table Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 12/20] packet: add context type default Vijay Nayani
2011-04-11 19:40 ` Denis Kenzior
2011-04-12 2:49 ` Marcel Holtmann [this message]
2011-04-11 10:20 ` [RFC PATCH 13/20] include: add get technology api Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 14/20] packet: add get technology api implementation Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 15/20] include: add default context param and api Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 16/20] packet: add default context implementation Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 17/20] atmodem: add lte specific functions Vijay Nayani
2011-04-11 19:54 ` Denis Kenzior
2011-04-12 10:11 ` Vijay.Nayani
2011-04-12 13:56 ` Denis Kenzior
2011-04-12 3:43 ` Marcel Holtmann
2011-04-12 12:48 ` Vijay.Nayani
2011-04-12 14:07 ` Denis Kenzior
2011-04-11 10:20 ` [RFC PATCH 18/20] phonesim: Add cemode query implementation Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 19/20] phonesim: atoms creation based on UE mode Vijay Nayani
2011-04-11 10:20 ` [RFC PATCH 20/20] modem: Add netreg watch for tech switch Vijay Nayani
2011-04-11 19:57 ` Denis Kenzior
2011-04-12 10:19 ` Vijay.Nayani
2011-04-12 13:58 ` Denis Kenzior
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=1302576547.2572.235.camel@aeonflux \
--to=marcel@holtmann.org \
--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.