[PATCH] huawei: cleanup sim polling when the modem is removed.

2011-08-03 Thread Bertrand Aygon
--- plugins/huawei.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/huawei.c b/plugins/huawei.c index 1380369..eaf8b07 100644 --- a/plugins/huawei.c +++ b/plugins/huawei.c @@ -107,6 +107,9 @@ static void huawei_remove(struct ofono_modem *modem) /*

[PATCH] speedup: cleanup sim polling when the modem is removed.

2011-08-03 Thread Bertrand Aygon
--- plugins/speedup.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/speedup.c b/plugins/speedup.c index b617699..fbfe2e6 100644 --- a/plugins/speedup.c +++ b/plugins/speedup.c @@ -80,6 +80,9 @@ static void speedup_remove(struct ofono_modem *modem) /*

[PATCH] zte: cleanup sim polling when the modem is removed.

2011-08-03 Thread Bertrand Aygon
--- plugins/zte.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/zte.c b/plugins/zte.c index 9fa9940..d812e64 100644 --- a/plugins/zte.c +++ b/plugins/zte.c @@ -82,6 +82,9 @@ static void zte_remove(struct ofono_modem *modem) /* Cleanup after hot-unplug

Re: [PATCH] huawei: cleanup sim polling when the modem is removed.

2011-08-03 Thread Marcel Holtmann
Hi Bertrand, plugins/huawei.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/huawei.c b/plugins/huawei.c index 1380369..eaf8b07 100644 --- a/plugins/huawei.c +++ b/plugins/huawei.c @@ -107,6 +107,9 @@ static void huawei_remove(struct ofono_modem

RE: [PATCH] huawei: cleanup sim polling when the modem is removed.

2011-08-03 Thread Aygon, Bertrand
Hi Marcel, plugins/huawei.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/huawei.c b/plugins/huawei.c index 1380369..eaf8b07 100644 --- a/plugins/huawei.c +++ b/plugins/huawei.c @@ -107,6 +107,9 @@ static void huawei_remove(struct ofono_modem

Re: [PATCH] huawei: cleanup sim polling when the modem is removed.

2011-08-03 Thread Marcel Holtmann
Hi Bertrand, We call disable before we call remove, but the only thing that I have not checked is what happens to this if we have not succeeded with enable yet. So if I remember this right, then disable is always called (even if enable has not yet called set_powered), but I need Denis to

[PATCH 0/5] isimodem: Add functionality to UICC

2011-08-03 Thread iiro.kaihlaniemi
This patch adds some functionality to UICC which has been pretty much dummy so far. Makefile.am |3 +- drivers/isimodem/debug.c | 121 + drivers/isimodem/debug.h |2 + drivers/isimodem/uicc.c | 1282 +++---

[PATCH 1/5] isimodem: Add functionality to UICC

2011-08-03 Thread iiro.kaihlaniemi
diff --git a/Makefile.am b/Makefile.am index cef9892..f3343a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -141,7 +141,8 @@ builtin_sources += $(gisi_sources) \ drivers/isimodem/gpds.h \ drivers/isimodem/audio-settings.c \

[PATCH 3/5] isimodem: Add functionality to UICC

2011-08-03 Thread iiro.kaihlaniemi
diff --git a/drivers/isimodem/debug.h b/drivers/isimodem/debug.h index 3a273e9..7629317 100644 --- a/drivers/isimodem/debug.h +++ b/drivers/isimodem/debug.h @@ -50,7 +50,9 @@ const char *mce_status_info(enum mce_status_info value); const char *uicc_message_id_name(enum uicc_message_id value);

[PATCH 4/5] isimodem: Add functionality to UICC

2011-08-03 Thread iiro.kaihlaniemi
diff --git a/drivers/isimodem/uicc.c b/drivers/isimodem/uicc.c index 2b43793..6c1d95e 100644 --- a/drivers/isimodem/uicc.c +++ b/drivers/isimodem/uicc.c @@ -45,10 +45,21 @@ #include isiutil.h #include sim.h #include uicc.h +#include uicc-util.h #include debug.h -#define

[PATCH 5/5] isimodem: Add functionality to UICC

2011-08-03 Thread iiro.kaihlaniemi
diff --git a/drivers/isimodem/uicc.h b/drivers/isimodem/uicc.h index 4b613eb..d3831c5 100644 --- a/drivers/isimodem/uicc.h +++ b/drivers/isimodem/uicc.h @@ -245,9 +245,14 @@ enum uicc_card_type { }; enum uicc_details { - UICC_NO_DETAILS = 0x00, -

[PATCH 0/3] isimodem: Allow network registration automatically

2011-08-03 Thread iiro.kaihlaniemi
Network registration is disabled by default. Enable network registration and roaming when network is started. drivers/isimodem/debug.c|5 ++ drivers/isimodem/network-registration.c | 85 +++ drivers/isimodem/network.h | 12 -

[PATCH 1/3] isimodem: Allow network registration automatically

2011-08-03 Thread iiro.kaihlaniemi
diff --git a/drivers/isimodem/debug.c b/drivers/isimodem/debug.c index 41246b3..85ae2b0 100644 --- a/drivers/isimodem/debug.c +++ b/drivers/isimodem/debug.c @@ -1140,6 +1140,7 @@ const char *net_message_id_name(enum net_message_id value) _(NET_SET_RESP);

[PATCH 2/3] isimodem: Allow network registration automatically

2011-08-03 Thread iiro.kaihlaniemi
diff --git a/drivers/isimodem/network-registration.c b/drivers/isimodem/network-registration.c index cc48579..ffcfab4 100644 --- a/drivers/isimodem/network-registration.c +++ b/drivers/isimodem/network-registration.c @@ -946,6 +946,84 @@ error: g_free(cbd); } +static void

[PATCH 3/3] isimodem: Allow network registration automatically

2011-08-03 Thread iiro.kaihlaniemi
diff --git a/drivers/isimodem/network.h b/drivers/isimodem/network.h index 45f61ae..7af843e 100644 --- a/drivers/isimodem/network.h +++ b/drivers/isimodem/network.h @@ -42,6 +42,7 @@ enum net_message_id { NET_SET_RESP = 0x08, NET_RSSI_GET_REQ =

[PATCH 1/2] bluetooth: Add UUID for DUN.

2011-08-03 Thread mario
From: Mario Tokarz mario.tok...@bmw-carit.de --- plugins/bluetooth.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/plugins/bluetooth.h b/plugins/bluetooth.h index 7f9f810..6b3fef2 100644 --- a/plugins/bluetooth.h +++ b/plugins/bluetooth.h @@ -27,6 +27,7 @@ #define

[PATCH 2/2] dunmodem: Add stub for gprs.

2011-08-03 Thread mario
From: Mario Tokarz mario.tok...@bmw-carit.de --- Makefile.am |3 +- drivers/dunmodem/dunmodem.c |2 + drivers/dunmodem/dunmodem.h |3 + drivers/dunmodem/gprs.c | 99 +++ 4 files changed, 106 insertions(+), 1 deletions(-)

RE: [PATCH] huawei: cleanup sim polling when the modem is removed.

2011-08-03 Thread Marcel Holtmann
Hi Bertrand, We call disable before we call remove, but the only thing that I have not checked is what happens to this if we have not succeeded with enable yet. So if I remember this right, then disable is always called (even if enable has not yet called set_powered),

Re: [PATCH 1/2] bluetooth: Add UUID for DUN.

2011-08-03 Thread Marcel Holtmann
Hi Mario, plugins/bluetooth.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) patch has been applied. Thanks. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: [PATCH 2/2] dunmodem: Add stub for gprs.

2011-08-03 Thread Marcel Holtmann
Hi Mario, snip +static void dun_gprs_set_attached(struct ofono_gprs *gprs, int attached, + ofono_gprs_cb_t cb, void *data) +{ + DBG(); + + CALLBACK_WITH_SUCCESS(cb, data); +} + +static gboolean dun_gprs_finish_registration(gpointer

RE: [PATCH] huawei: cleanup sim polling when the modem is removed.

2011-08-03 Thread Aygon, Bertrand
Hi Marcel, We call disable before we call remove, but the only thing that I have not checked is what happens to this if we have not succeeded with enable yet. So if I remember this right, then disable is always called (even if enable has not yet called

[PATCH] dunmodem: Add stub for gprs.

2011-08-03 Thread mario
From: Mario Tokarz mario.tok...@bmw-carit.de --- Makefile.am |3 +- drivers/dunmodem/dunmodem.c |2 + drivers/dunmodem/dunmodem.h |3 + drivers/dunmodem/gprs.c | 99 +++ 4 files changed, 106 insertions(+), 1 deletions(-)

Re: [PATCH 2/2] dunmodem: Add stub for gprs.

2011-08-03 Thread Mario Tokarz
Hi Marcel On Wed, Aug 03, 2011 at 02:48:35PM +0200 , Marcel Holtmann wrote: snip + +static int dun_gprs_probe(struct ofono_gprs *gprs, + unsigned int vendor, void *data) +{ + DBG(); + + g_timeout_add(500, dun_gprs_finish_registration, gprs);

[PATCH] cdmamodem: Use correct prefixes to parse devinfo AT results correctly

2011-08-03 Thread Guillaume Zajac
--- drivers/cdmamodem/devinfo.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cdmamodem/devinfo.c b/drivers/cdmamodem/devinfo.c index 2a5813c..06b759c 100644 --- a/drivers/cdmamodem/devinfo.c +++ b/drivers/cdmamodem/devinfo.c @@ -67,7 +67,7 @@ static void

[PATCH_v5 1/8] cdmamodem: Define CDMA Network Registration atom.

2011-08-03 Thread Bertrand Aygon
--- include/dbus.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/dbus.h b/include/dbus.h index 4dd9db5..65bda72 100644 --- a/include/dbus.h +++ b/include/dbus.h @@ -63,6 +63,8 @@ extern C { #define OFONO_CDMA_VOICECALL_MANAGER_INTERFACE

[PATCH_v5 0/8] Create CDMA Network Registration atom

2011-08-03 Thread Bertrand Aygon
Create an org.ofono.cdma.NetworkRegistration interface. Create the skeleton for the new interface. Add status information to the CDMA Network registration atom. Create a Huawei CDMA driver with a dedicated CDMA netreg atom. Modify Huawei CDMA driver to register this atom. Bertrand Aygon (8):

[PATCH_v5 2/8] cdmamodem: define CDMA netreg atom.

2011-08-03 Thread Bertrand Aygon
--- src/ofono.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/ofono.h b/src/ofono.h index 808a8f1..ef5e77d 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -135,6 +135,7 @@ enum ofono_atom_type { OFONO_ATOM_TYPE_LOCATION_REPORTING, OFONO_ATOM_TYPE_GNSS,

[PATCH_v5 4/8] cdmamodem: create the interface for CDMA netreg.

2011-08-03 Thread Bertrand Aygon
--- Makefile.am |2 +- src/cdma-netreg.c | 188 + 2 files changed, 189 insertions(+), 1 deletions(-) create mode 100644 src/cdma-netreg.c diff --git a/Makefile.am b/Makefile.am index e188034..56c1d6a 100644 --- a/Makefile.am +++

[PATCH_v5 5/8] cdmamodem: define cdma network status.

2011-08-03 Thread Bertrand Aygon
--- include/cdma-netreg.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/cdma-netreg.h b/include/cdma-netreg.h index 0da7cbb..b8b85f7 100644 --- a/include/cdma-netreg.h +++ b/include/cdma-netreg.h @@ -28,6 +28,12 @@ extern C { #include ofono/types.h

[PATCH_v5 6/8] cdmamodem: implement cdma network status.

2011-08-03 Thread Bertrand Aygon
--- src/cdma-netreg.c | 54 +++- 1 files changed, 52 insertions(+), 2 deletions(-) diff --git a/src/cdma-netreg.c b/src/cdma-netreg.c index b1cbd53..02eff24 100644 --- a/src/cdma-netreg.c +++ b/src/cdma-netreg.c @@ -32,18 +32,36 @@ static GSList

[PATCH_v5 7/8] huaweicdmamodem: create a huawei cdma driver.

2011-08-03 Thread Bertrand Aygon
--- Makefile.am|6 + drivers/huaweicdmamodem/huaweicdmamodem.c | 45 +++ drivers/huaweicdmamodem/huaweicdmamodem.h | 23 drivers/huaweicdmamodem/network-registration.c | 159 4 files changed, 233

[PATCH_v5 8/8] huaweicdma: register to CDMA netreg atom.

2011-08-03 Thread Bertrand Aygon
--- plugins/huaweicdma.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/huaweicdma.c b/plugins/huaweicdma.c index 75aacb2..4c83114 100644 --- a/plugins/huaweicdma.c +++ b/plugins/huaweicdma.c @@ -34,6 +34,7 @@ #include ofono/plugin.h #include ofono/modem.h

[PATCH] TODO: mark HFP AG emulator task as done

2011-08-03 Thread Frédéric Danis
--- TODO |8 doc/features.txt |7 +++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/TODO b/TODO index ab8ccff..f03a112 100644 --- a/TODO +++ b/TODO @@ -94,14 +94,6 @@ SIM / SIM File system Modem Emulator == -- Support HFP AG

[PATCH] cdmamodem: remove an unneeded buffer and sprintf.

2011-08-03 Thread Bertrand Aygon
--- drivers/cdmamodem/connman.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/cdmamodem/connman.c b/drivers/cdmamodem/connman.c index 0df93eb..7d77387 100644 --- a/drivers/cdmamodem/connman.c +++ b/drivers/cdmamodem/connman.c @@ -188,7 +188,6 @@ static void

Re: [PATCH] cdmamodem: remove an unneeded buffer and sprintf.

2011-08-03 Thread Marcel Holtmann
Hi Bertrand, drivers/cdmamodem/connman.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) patch has been applied. Thanks. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: [PATCH] cdmamodem: Use correct prefixes to parse devinfo AT results correctly

2011-08-03 Thread Denis Kenzior
Hi Guillaume, On 08/03/2011 08:44 AM, Guillaume Zajac wrote: --- drivers/cdmamodem/devinfo.c |8 1 files changed, 4 insertions(+), 4 deletions(-) Patch has been applied, thanks. Regards, -Denis ___ ofono mailing list ofono@ofono.org

Re: [PATCH] dunmodem: Add stub for gprs.

2011-08-03 Thread Marcel Holtmann
Hi Mario, Makefile.am |3 +- drivers/dunmodem/dunmodem.c |2 + drivers/dunmodem/dunmodem.h |3 + drivers/dunmodem/gprs.c | 99 +++ 4 files changed, 106 insertions(+), 1 deletions(-) create mode 100644