Re: UIM manager atom APIs review request

2010-08-19 Thread Marcel Holtmann
Hi Kalle, > > I am going to implement an UIM manager atom for CDMA extension. Its APIs > > will be almost the same as > > current SIM manger atom's APIs. But I suggest maybe will can do some > > changes: > > > > 1. Add PIN remain retry count support > > Doesn't GSM also support this? If y

Re: [PATCH 1/2] Make function reset_available() return void

2010-08-19 Thread Marcel Holtmann
Hi Yang, > This change is to dispel compiler's complaint. > --- > src/network.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) I fixed this before I read your email. Thanks for the patch anyway. Regards Marcel ___ ofono mailing list

[PATCH 2/3] mbm: retry modem init

2010-08-19 Thread Pekka . Pessi
From: Pekka Pessi If the first initialization command results are catastrophic. Retry it 10 times, refuse to enable modem if it fails. --- plugins/mbm.c | 71 + 1 files changed, 56 insertions(+), 15 deletions(-) diff --git a/plugins/mbm.

[PATCH 3/3] mbm: register gprs as STE to utilize STE quirks

2010-08-19 Thread Pekka . Pessi
From: Pekka Pessi No AT+CGEREP=2,1 on mbm either. --- plugins/mbm.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/plugins/mbm.c b/plugins/mbm.c index a06c444..e77e61c 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -395,7 +395,8 @@ static void mbm_post_sim(struct o

[PATCH 1/3] mbm: fix initial polling for sim

2010-08-19 Thread Pekka . Pessi
From: Pekka Pessi There seems to be no specific error codes returned when SIM is missing. Poll at least 5 times upon an error and give up after that. --- plugins/mbm.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/mbm.c b/plugins/mbm.c index 6f71553..beb

Re: [PATCH 1/3] mbm: fix initial polling for sim

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > There seems to be no specific error codes returned when SIM is missing. Poll > at least 5 times upon an error and give up after that. > --- > plugins/mbm.c |8 +++- > 1 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/plugins/mbm.c b/plugins/mbm.c > index 6f715

Re: [PATCH 2/3] mbm: retry modem init

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > If the first initialization command results are catastrophic. Retry it 10 > times, refuse to enable modem if it fails. > --- > plugins/mbm.c | 71 > + > 1 files changed, 56 insertions(+), 15 deletions(-) > > diff --git a/plug

Re: [PATCH 3/3] mbm: register gprs as STE to utilize STE quirks

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > No AT+CGEREP=2,1 on mbm either. > --- > plugins/mbm.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/plugins/mbm.c b/plugins/mbm.c > index a06c444..e77e61c 100644 > --- a/plugins/mbm.c > +++ b/plugins/mbm.c > @@ -395,7 +395,8 @@ static void mbm_post_s

Gatmux doubt and suggestion

2010-08-19 Thread Arun.Ravindran
Hi All, In mux_query_cb(), the frame size is taken as default (31 or 64). We have a case where the default values are not accepted by the modem. Gatmux is a generic component, and so makes all modem to use the default values, one needs to modify the gatmux to enable for example, a larger frame s

About Connection between PPP and linux Sockets

2010-08-19 Thread Steven
Hi I have a little question just as the title said? In Ofono how to connect PPP to Linux socket, when we receive packet from network, how the packet go through the kernel to application? modem -->PPP-->? --> linux kernel(network part)--> socket --> application? steven

RE: UIM manager atom APIs review request

2010-08-19 Thread Zhang, Caiwen
Hi Marcel, Thanks for your review. I don't know what is wrong with our company's Mail server. I miss your reply mail. Fortunately,I see it on the ofono website. I create a similar mail. Hope it looks the same. > -Original Message- > From: Zhang, Caiwen > Sent: Thursday, August 19, 2010

Re: [PATCH 1/3] mbm: fix initial polling for sim

2010-08-19 Thread Sjur Brændeland
Marcel Holtmann wrote: > maybe the STE modem is a bit more specific here than the MBM one. Which > MBM modem did you test this with? I have been using MBM as template for my sim ready changes, so I don't think there is any point at looking at STE driver at this point in time. Regards Sjur _

Re: Gatmux doubt and suggestion

2010-08-19 Thread Marcel Holtmann
Hi Arun, > In mux_query_cb(), the frame size is taken as default (31 or 64). We > have a case where the default values are not accepted by the modem. > > Gatmux is a generic component, and so makes all modem to use the > default values, one needs to modify the gatmux to enable for example, > a la

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Marcel Holtmann
Hi Steven, > I have a little question just as the title said? > In Ofono how to connect PPP to Linux socket, when we receive packet from > network, how the packet go through the kernel to application? > > modem -->PPP-->? --> linux kernel(network part)--> socket --> application? it is more like

RE: UIM manager atom APIs review request

2010-08-19 Thread Marcel Holtmann
Hi Caiwen, > > > I am going to implement an UIM manager atom for CDMA extension. Its > > APIs will be almost the same as > > > current SIM manger atom's APIs. But I suggest maybe will can do > some > > changes: > > > > > > 1. Add PIN remain retry count support > > > 2. replace properties 'Pre

RE: Gatmux doubt and suggestion

2010-08-19 Thread Arun.Ravindran
Hi Marcel, > Hi Arun, > In mux_query_cb(), the frame size is taken as default (31 or 64). We > have a case where the default values are not accepted by the modem. > > Gatmux is a generic component, and so makes all modem to use the > default values, one needs to modify the gatmux to enable f

RE: Gatmux doubt and suggestion

2010-08-19 Thread Marcel Holtmann
Hi Arun, > > In mux_query_cb(), the frame size is taken as default (31 or 64). We > > have a case where the default values are not accepted by the modem. > > > > Gatmux is a generic component, and so makes all modem to use the > > default values, one needs to modify the gatmux to enable for exa

RE: Gatmux doubt and suggestion

2010-08-19 Thread Arun.Ravindran
Hi Marcel, > > In mux_query_cb(), the frame size is taken as default (31 or 64). We > > have a case where the default values are not accepted by the modem. > > > > Gatmux is a generic component, and so makes all modem to use the > > default values, one needs to modify the gatmux to enable for

Re: Gatmux doubt and suggestion

2010-08-19 Thread Denis Kenzior
Hi Arun, On 08/19/2010 04:27 AM, arun.ravind...@elektrobit.com wrote: > > Hi All, > > In mux_query_cb(), the frame size is taken as default (31 or 64). We > have a case where the default values are not accepted by the modem. > > Gatmux is a generic component, and so makes all modem to use the d

Re: [PATCH 1/3] mbm: fix initial polling for sim

2010-08-19 Thread Pekka Pessi
Hi Marcel and Sjur, > > There seems to be no specific error codes returned when SIM is missing. Poll > > at least 5 times upon an error and give up after that. > > --- > > plugins/mbm.c |8 +++- > > 1 files changed, 3 insertions(+), 5 deletions(-) > > > > diff --git a/plugins/mbm.c b/plug

[PATCH] Fix: remove extra comma from NotAvailable error

2010-08-19 Thread Pekka . Pessi
From: Pekka Pessi --- src/dbus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/dbus.c b/src/dbus.c index 09114c3..c51f2a9 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -300,7 +300,7 @@ DBusMessage *__ofono_error_not_supported(DBusMessage *msg) DBusMessage *__ofon

Re: [PATCH] Fix: remove extra comma from NotAvailable error

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > --- > src/dbus.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/dbus.c b/src/dbus.c > index 09114c3..c51f2a9 100644 > --- a/src/dbus.c > +++ b/src/dbus.c > @@ -300,7 +300,7 @@ DBusMessage *__ofono_error_not_supported(DBusMessage *msg) > > DBusM

[RFC PATCH v2 2/4] smsutil: storing/loading sms status report over reboot

2010-08-19 Thread Petteri Tikander
--- src/smsutil.c | 192 +++-- src/smsutil.h |2 +- 2 files changed, 188 insertions(+), 6 deletions(-) diff --git a/src/smsutil.c b/src/smsutil.c index c60b8ec..b001a1d 100644 --- a/src/smsutil.c +++ b/src/smsutil.c @@ -45,6 +45,10 @@ #def

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Zhang, Zhenhua
Hi Marcel, Marcel Holtmann wrote: > Hi Steven, > >> I have a little question just as the title said? >> In Ofono how to connect PPP to Linux socket, when we receive packet >> from network, how the packet go through the kernel to application? >> >> modem -->PPP-->? --> linux kernel(network part)-

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Steven
Hi Marcel, I have a little question just as the title said? In Ofono how to connect PPP to Linux socket, when we receive packet from network, how the packet go through the kernel to application? modem -->PPP-->? --> linux kernel(network part)--> socket --> application? it is more like this:

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Marcel Holtmann
Hi Zhenhua, > >> I have a little question just as the title said? > >> In Ofono how to connect PPP to Linux socket, when we receive packet > >> from network, how the packet go through the kernel to application? > >> > >> modem -->PPP-->? --> linux kernel(network part)--> socket --> > >> applicati

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Steven
Hi Zhang Zhang, Zhenhua wrote: Hi Marcel, Marcel Holtmann wrote: Hi Steven, I have a little question just as the title said? In Ofono how to connect PPP to Linux socket, when we receive packet from network, how the packet go through the kernel to application? modem -->PPP-->? --> linux kerne

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Zhang, Zhenhua
Hi Steven, Steven wrote: > Hi Zhang > Zhang, Zhenhua wrote: >> Hi Marcel, >> >> Marcel Holtmann wrote: >>> Hi Steven, >>> I have a little question just as the title said? In Ofono how to connect PPP to Linux socket, when we receive packet from network, how the packet go through th

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Steven
Hi Zhang, Zhang, Zhenhua wrote: Hi Steven, Steven wrote: Hi Zhang Zhang, Zhenhua wrote: Hi Marcel, Marcel Holtmann wrote: Hi Steven, I have a little question just as the title said? In Ofono how to connect PPP to Linux socket, when we receive packet from network, how the packet go through

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Zhang, Zhenhua
Hi Steven, Steven wrote: > Hi Zhang, > > Zhang, Zhenhua wrote: >> Hi Steven, >> >> Steven wrote: >>> Hi Zhang >>> Zhang, Zhenhua wrote: Hi Marcel, Marcel Holtmann wrote: > Hi Steven, > >> I have a little question just as the title said? >> In Ofono how to connect

[PATCH] udev: Add check for serial before string operation

2010-08-19 Thread Zhenhua Zhang
'serial' could be NULL in some case. So it need to add check before doing string operation. --- plugins/udev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/udev.c b/plugins/udev.c index 84399de..6720a0c 100644 --- a/plugins/udev.c +++ b/plugins/udev.c @@ -86,7

RE: UIM manager atom APIs review request

2010-08-19 Thread Zhang, Caiwen
Hi Marcel, > -Original Message- > From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On > Behalf Of Marcel Holtmann > Sent: Thursday, August 19, 2010 6:58 PM > To: ofono@ofono.org > Subject: RE: UIM manager atom APIs review request > > Hi Caiwen, > > > > > I am going to imple