All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Ravindran <ext-arun.1.ravindran@nokia.com>
To: ofono@ofono.org
Subject: Re: [RFC PATCH v3] gprs: add function to handle activated context
Date: Fri, 08 Apr 2011 16:03:28 +0300	[thread overview]
Message-ID: <4D9F07A0.9050900@nokia.com> (raw)
In-Reply-To: <8281606748F03E4390BB98A3F47F2E948B3B116BE6@irsmsx501.ger.corp.intel.com>

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

Hi Redouane,

>
>> So the spec says, ME PDN ACT can come even for an implicit context
>> activation request associated with CGATT, which is the case with EPS.
>>
>> For 3G, if this happens (ME PDN ACT) for UE initiated activation of
>> context, then the cid is already set with CGDCONT.
>>
>> For EPS this can happen for default context, where cid is not set with
>> CGDCONT, but is in the range as returned by CGDCONT.
>>
>> Here the cid issue, because cid is managed by ofono and is never
>> communicated to modem.  Probably to avoid sending too many CGDCONT's
>> during startup. or is it something else?
>>
>> I thought the default context activation will come to TE as NW ACT, with
>> a cid not in range of CGDCONT.
>>
> Exactly so the idea to avoid any issue was to call ofono_gprs_set_cid_range from the driver with a range which doesn't include the CID used for initial EPS context.
> Normaly we know from the modem vendor which CID will be used for the initial EPS context.
>
> For instance if +CGDSCONT=? Is returning 1-25 as range then we call  ofono_gprs_set_cid_range with 2-25 as range assuming that CID 1 will be used for the initial EPS context.
Ok so you are assuming that cid 1 will be always used for default 
context, and so this is work around for the issue.

Instead we could also expect it to have a unique id.

I still feel that the default context should be a NW initiated context 
and will have a unique cid.

Also why can't the context id management be done in modem instead of ofono?

Regards
Arun



  reply	other threads:[~2011-04-08 13:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4D9C2965.4080301@nokia.com>
2011-04-06  9:30 ` [RFC PATCH v3] gprs: add function to handle activated context Arun Ravindran
2011-04-06 13:00   ` Pekka Pessi
2011-04-06 14:06     ` Arun Ravindran
2011-04-07  9:06       ` Soum, RedouaneX
2011-04-07 12:40         ` Arun Ravindran
2011-04-07 15:47           ` Soum, RedouaneX
2011-04-08 13:03             ` Arun Ravindran [this message]
2011-04-08 13:34               ` Soum, RedouaneX
2011-04-08  7:59   ` Joly, Frederic
2011-02-09 18:31 Soum, RedouaneX
2011-02-11 14:08 ` Tomasz Gregorek
2011-02-22 10:19 ` Soum, RedouaneX

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=4D9F07A0.9050900@nokia.com \
    --to=ext-arun.1.ravindran@nokia.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.