[PATCH 02/15] Add parser for card atr objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 20 src/stkutil.h |9 + 2 files changed, 29 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 5b258ab..a96132c 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -771,6 +771,24 @@ static gboolean

[PATCH 01/15] Add parser for card reader status objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index b61ff39..5b258ab 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -762,6 +762,15 @@ static gboolean parse_dataobj_item_icon_id_list( return TRUE; }

[PATCH 03/15] Add parser for c-apdu objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 44 src/stkutil.h | 15 +++ 2 files changed, 59 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index a96132c..99e6622 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -789,6 +789,48 @@

[PATCH 05/15] Add parser for timer identifier objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 2efa5a4..d999846 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -855,6 +855,15 @@ static gboolean parse_dataobj_r_apdu( return TRUE; } +/*

[PATCH 09/15] Add parser for date-time and time zone objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 5fea3a5..1846092 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -882,6 +882,23 @@ static gboolean parse_dataobj_timer_value( return TRUE; }

[PATCH 10/15] Add parser for at command objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 1846092..c7154c1 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -112,6 +112,28 @@ static gboolean parse_dataobj_common_byte(struct

[PATCH 13/15] Add parser for dtmf string objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index f205ce6..4951df3 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -953,6 +953,28 @@ static gboolean parse_dataobj_imm_resp(struct

[PATCH 15/15] Add parser for browser identity objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 10 ++ src/stkutil.h |8 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 0e42ece..b23409e 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -994,6 +994,14 @@ static gboolean

[PATCH 12/15] Add parser for bc repeat indicator objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index f6da42b..f205ce6 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -937,6 +937,14 @@ static gboolean parse_dataobj_at_response( return

[PATCH 14/15] Add parser for language objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 4951df3..0e42ece 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -975,6 +975,25 @@ static gboolean parse_dataobj_dtmf_string(struct

[PATCH 06/15] Refactor function decode_scts to use semi octet decoder

2010-04-02 Thread Yang Gu
--- src/smsutil.c | 17 +++-- src/smsutil.h |2 ++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/smsutil.c b/src/smsutil.c index baa7ebe..64cd6fb 100644 --- a/src/smsutil.c +++ b/src/smsutil.c @@ -372,6 +372,11 @@ static gboolean encode_scts(const struct

[PATCH 08/15] Make function decode_scts public

2010-04-02 Thread Yang Gu
--- src/smsutil.c | 12 ++-- src/smsutil.h |3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/smsutil.c b/src/smsutil.c index 64cd6fb..17e0e0e 100644 --- a/src/smsutil.c +++ b/src/smsutil.c @@ -377,7 +377,7 @@ guint8 sms_decode_semi_octet(guint8 in)

[PATCH 11/15] Add parser for at response objects

2010-04-02 Thread Yang Gu
--- src/stkutil.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index c7154c1..f6da42b 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -929,6 +929,14 @@ static gboolean parse_dataobj_at_command( return

[PATCH] ppp: fix event generation on close

2010-04-02 Thread Kristen Carlson Accardi
Prevents too early transition to PPP_DEAD --- gatchat/gatppp.c |4 +--- gatchat/ppp.h |1 - gatchat/ppp_lcp.c | 17 - 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 2b853f0..6d4950d 100644 ---

[PATCH] ppp: use queue to transmit

2010-04-02 Thread Kristen Carlson Accardi
Since we are using non buffered I/O, use a queue to transmit when we will not block. --- gatchat/gatppp.c | 133 - gatchat/ppp.h|4 +- gatchat/ppp_cp.c |1 + 3 files changed, 94 insertions(+), 44 deletions(-) diff --git

Re: [PATCH] ppp: fix event generation on close

2010-04-02 Thread Denis Kenzior
Hi Kristen, Prevents too early transition to PPP_DEAD --- gatchat/gatppp.c |4 +--- gatchat/ppp.h |1 - gatchat/ppp_lcp.c | 17 - 3 files changed, 5 insertions(+), 17 deletions(-) This patch has been applied, thanks. Regards, -Denis

Re: [PATCH] ppp: use queue to transmit

2010-04-02 Thread Denis Kenzior
Hi Kristen, Since we are using non buffered I/O, use a queue to transmit when we will not block. This patch has been applied. Please limit your commit messages to 72 characters or less per line. Regards, -Denis ___ ofono mailing list

[PATCH] ppp: fix missing breaks in switchs

2010-04-02 Thread Kristen Carlson Accardi
--- gatchat/ppp_cp.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c index d5f7c92..cf2f5fa 100644 --- a/gatchat/ppp_cp.c +++ b/gatchat/ppp_cp.c @@ -591,7 +591,7 @@ static void pppcp_down_event(struct pppcp_data *data, guint8

Re: [PATCH] ppp: fix missing breaks in switchs

2010-04-02 Thread Marcel Holtmann
Hi Kristen, --- gatchat/ppp_cp.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) patch has been applied. Thanks. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: PPP LCP configuration issue

2010-04-02 Thread Marcel Holtmann
Hi Kristen, so I added some debug code to actually print the options during the configuration stage. And something seems to be wrong here. lcp: pppcp_open_event: current state 0:INITIAL lcp: pppcp_up_event: current state 1:STARTING lcp: pppcp_initialize_restart_count: current state

[PATCH] ppp: implement net close

2010-04-02 Thread Kristen Carlson Accardi
--- gatchat/ppp.h |1 + gatchat/ppp_net.c | 11 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gatchat/ppp.h b/gatchat/ppp.h index fa3749c..7b09fa9 100644 --- a/gatchat/ppp.h +++ b/gatchat/ppp.h @@ -105,6 +105,7 @@ struct ppp_net_data { GAtPPP *ppp;

Re: [PATCH] ppp: implement net close

2010-04-02 Thread Denis Kenzior
Hi Kristen, --- gatchat/ppp.h |1 + gatchat/ppp_net.c | 11 ++- 2 files changed, 7 insertions(+), 5 deletions(-) Patch has been applied, thanks. Regards, -Denis ___ ofono mailing list ofono@ofono.org

[PATCH] ppp: implement Max-Failure counter

2010-04-02 Thread Kristen Carlson Accardi
put a cap on the number of Configure-Nak packets we send. --- gatchat/ppp_cp.c | 22 ++ gatchat/ppp_cp.h |1 + 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c index cf2f5fa..5e854da 100644 --- a/gatchat/ppp_cp.c +++