RE: [PATCH 10/16] gprs: Add ofono_gprs_create_context method

2010-08-13 Thread Marcel Holtmann
Hi Zhenhua,

  DUN server may create one primary context if none of contexts
  existing on the GPRS atom.
  
  so Denis and I had a chat about this. And we agreed that oFono core
  should just create one Internet context if none exists. If the plugin
  driver registers a GPRS atom, we should just create one context
  anyway. ConnMan requires this anyway and it makes sense. We can also
  go one step ahead and fail to remove this default Internet context.
  It should be present all the time.
 
 Thanks for update. I will update my patch to keep this context alive after
 DUN client disconnect from us.

actually can you just work on a separate patch that just create a
default context when the GPRS atom is supported. We should add this
support first and don't tie it to DUN support.

Regards

Marcel


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


RE: [PATCH 10/16] gprs: Add ofono_gprs_create_context method

2010-08-12 Thread Zhang, Zhenhua
Hi Marcel,

Marcel Holtmann wrote:
 Hi Zhenhua,
 
 DUN server may create one primary context if none of contexts
 existing on the GPRS atom.
 
 so Denis and I had a chat about this. And we agreed that oFono core
 should just create one Internet context if none exists. If the plugin
 driver registers a GPRS atom, we should just create one context
 anyway. ConnMan requires this anyway and it makes sense. We can also
 go one step ahead and fail to remove this default Internet context.
 It should be present all the time.

Thanks for update. I will update my patch to keep this context alive after
DUN client disconnect from us.

 Regards
 
 Marcel
 
 
 ___
 ofono mailing list
 ofono@ofono.org
 http://lists.ofono.org/listinfo/ofono

Regards,
Zhenhua
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono