All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 2/4] Core support for packet switched bearer reporting
Date: Mon, 10 Jan 2011 10:16:51 -0600	[thread overview]
Message-ID: <4D2B30F3.40909@gmail.com> (raw)
In-Reply-To: <201101101319.53668.remi.denis-courmont@nokia.com>

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

Hi Rémi,

On 01/10/2011 05:19 AM, Rémi Denis-Courmont wrote:
> On Friday 07 January 2011 18:25:32 ext Denis Kenzior, you wrote:
>>> @@ -2001,6 +2010,29 @@ void ofono_gprs_add_context(struct ofono_gprs
>>> *gprs,
>>>
>>>  	__ofono_atom_register(gc->atom, gprs_context_unregister);
>>>  
>>>  }
>>>
>>> +void ofono_gprs_bearer_notify(struct ofono_gprs *gprs,
>>> +				unsigned int cid, int bearer)
>>> +{
>>> +	DBusConnection *conn = ofono_dbus_get_connection();
>>> +	GSList *l;
>>> +	const char *value = packet_bearer_to_string(bearer);
>>
>> Why bother running this operation before you're sure you're going to
>> emit the signal?
> 
> Now that we're talking about network-initiated LTE bearers, I would rather be 
> safe than sorry. I wouldn't assume that the modem will signal the CPSB 
> (unchanged) value later in this case.
> 

Are we both talking about the packet_bearer_to_string call?

>> Please move this down.
> 
> To avoid any race, we have to query the existing CPSB values after we enable 
> the CPSB subscription, right? We could surely move that to a later stage, but 
> I don't see the benefit.
> 

What race?  I don't think you really read my comments...

Regards,
-Denis

  reply	other threads:[~2011-01-10 16:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 16:02 [PATCH 1/4] Define packet switched bearers =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-07 16:02 ` [PATCH 2/4] Core support for packet switched bearer reporting =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-07 16:25   ` Denis Kenzior
2011-01-10 11:19     ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-10 16:16       ` Denis Kenzior [this message]
2011-01-10 11:33     ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-10 16:19       ` Denis Kenzior
2011-01-07 16:02 ` [PATCH 3/4] Bearer documentation =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-07 16:23   ` Denis Kenzior
2011-01-10 11:21     ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-10 16:27       ` Denis Kenzior
2011-01-10 16:34         ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-11  0:26           ` Marcel Holtmann
2011-01-11  7:53             ` Aki Niemi
2011-01-12 16:40               ` Marcel Holtmann
2011-01-13  8:17                 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-10 12:41     ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-10 16:20       ` Denis Kenzior
2011-01-07 16:02 ` [PATCH 4/4] atmodem: packet switch bearer support =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2011-01-07 16:27   ` Denis Kenzior
2011-01-07 16:23 ` [PATCH 1/4] Define packet switched bearers 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=4D2B30F3.40909@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.