From: Caiwen Zhang
If remove the context before context activation / deactivation is
completed, it may cause crash.
---
src/gprs.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 3a4a819..4aa00f9 100644
--- a/src/gprs.c
+++ b/src/gprs.c
From: Caiwen Zhang
If remove the context before context activation / deactivation is
completed, it may cause crash.
---
src/gprs.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 3a4a819..4aa00f9 100644
--- a/src/gprs.c
+++ b/src/gprs.c
From: Caiwen Zhang
---
Makefile.am | 1 +
drivers/rilmodem/cbs.c | 213
drivers/rilmodem/rilmodem.c | 2 +
drivers/rilmodem/rilmodem.h | 3 +
4 files changed, 219 insertions(+)
create mode 100644 drivers/rilmodem/cbs.c
From: Caiwen Zhang
---
plugins/ril.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/ril.c b/plugins/ril.c
index 2ea3fb5..a98646c 100644
--- a/plugins/ril.c
+++ b/plugins/ril.c
@@ -239,6 +239,7 @@ void ril_post_online(struct ofono_modem *modem)
struct ofono_gprs *gprs
From: Caiwen Zhang
---
Makefile.am | 1 +
drivers/rilmodem/cbs.c | 222
drivers/rilmodem/rilmodem.c | 2 +
drivers/rilmodem/rilmodem.h | 3 +
4 files changed, 228 insertions(+)
create mode 100644 drivers/rilmodem/cbs.c
From: Caiwen Zhang
gril may be destroyed in the request callback (e.g in the callback of
set modem power off request). 'out_queue' and 'command_queue' is NULL.
there will be glib runtime warning if use them.
---
gril/gril.c | 6 ++
1 file changed, 6 insertions(+)
diff -
From: Caiwen Zhang
When set modem power off, in the callback of the request gril is cleaned
up, 'out_queue' and 'command_queue' is NULL. If don't check before use
them, there will be glib runtime warning.
---
gril/gril.c | 11 ---
1 file changed, 8 insertions
From: caiwen Zhang
---
plugins/ril.c | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/plugins/ril.c b/plugins/ril.c
index 2298bb6..2ea3fb5 100644
--- a/plugins/ril.c
+++ b/plugins/ril.c
@@ -409,15 +409,30 @@ int ril_enable(struct ofono_modem *modem
From: Caiwen Zhang
---
plugins/ril.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/ril.c b/plugins/ril.c
index b4a..2298bb6 100644
--- a/plugins/ril.c
+++ b/plugins/ril.c
@@ -229,7 +229,7 @@ void ril_post_sim(struct ofono_modem *modem
From: Caiwen Zhang
---
Makefile.am | 1 +
drivers/rilmodem/rilmodem.c | 2 +
drivers/rilmodem/rilmodem.h | 3 +
drivers/rilmodem/stk.c | 238
4 files changed, 244 insertions(+)
create mode 100644 drivers/rilmodem/stk.c
From: Caiwen Zhang
---
Makefile.am | 1 +
drivers/rilmodem/rilmodem.c | 2 +
drivers/rilmodem/rilmodem.h | 3 +
drivers/rilmodem/stk.c | 237
plugins/ril.c | 1 +
5 files changed, 244 insertions(+)
create
From: Caiwen Zhang
---
doc/connman-api.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/connman-api.txt b/doc/connman-api.txt
index 1ce1d61..9220d0d 100644
--- a/doc/connman-api.txt
+++ b/doc/connman-api.txt
@@ -106,7 +106,7 @@ Properties boolean Attached [readonly
From: Caiwen Zhang
At gprs atom 'probe' state, max cid query may fail due to rild
status isn't RADIO_STATUS_ON. It causes gprs atom is removed, gprs
feature is inavailable. Move gprs atom creating to 'post_online'
state to make sure rild status is RADIO_STATUS_ON when qu
From: Caiwen Zhang
After input PIN wrong 3 times, sim main state (include spn_watches)
is freed. but the watch id still be kept by other atoms (network and
gprs), when remove the atom, it will try to remove the watch from
spn_watches, ofono daemon will crash.
---
src/sim.c | 9 +++--
1 file
From: Caiwen Zhang
When query max cid if rild radio status isn't RADIO_STATUS_ON, it may
fail, gprs atom will be removed, gprs feature will always be inavailable.
---
drivers/rilmodem/gprs.c | 43 ++-
1 file changed, 42 insertions(+), 1 deletion(-)
From: Caiwen Zhang
---
plugins/ril.c | 4
1 file changed, 4 insertions(+)
diff --git a/plugins/ril.c b/plugins/ril.c
index ea50d76..688a5bf 100644
--- a/plugins/ril.c
+++ b/plugins/ril.c
@@ -400,9 +400,13 @@ static gboolean connect_rild(gpointer user_data)
int ril_enable(struct
From: Caiwen Zhang
---
src/sim.c | 77 -
1 file changed, 76 insertions(+), 1 deletion(-)
diff --git a/src/sim.c b/src/sim.c
index edae5eb..ef55b1c 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -123,6 +123,11 @@ struct msisdn_set_request
From: Caiwen Zhang
When sim pin is blocked after input wrong pin code three times,
modem will change to pre-sim status, at this time, STK function
should be available. stk atoms shouldn't be removed.
---
src/modem.c |7 ++-
src/stk.c |4
2 files changed, 10 insertions(
From: Caiwen Zhang
Some modem may return registration status whitch is out of the range
(0-5). it will cause the modem don't auto register to network when
network atom initializes.
---
src/network.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/network.c
From: Caiwen Zhang
When is blocked, gprs/network atom is removed, it will
remove the SIM SPN watch which is added when it is created.
If at that time, SIM atom has been removed ofonod will crash
due to "sim->spn_watches" is NULL.
There is the same issue about network registration
From: Caiwen Zhang
Before SMS fuction is useable, it will do some initialization. Following
AT command will be sent:
AT+CSMS=?
AT+CSMS=xx
AT+CSMS?
AT+CMGF=?
AT+CPMS=?
* AT+CMGF=xx
* AT+CPMS=xx
AT+CNMI=?
AT+CNMI=xx
It is possible that the modem will return error. Currently, only
After receive "NW DETACH"/"ME DETACH" unsolicited message, try to re-attach
according current registration status. If it is not allowed, re-attach
action will be triggered when registration status changed.
---
src/gprs.c |6 +-
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git
Check whether air interface flash is valid:
1. Air interface flash should be sent during a call
2. flash string may include feature code, digits (0-9) and end marks(*, #),
along with any additional PIN information, called party number, etc.
Generally, should be characters can be input in di
---
include/cdma-voicecall.h |3 ++
src/cdma-voicecall.c | 55 ++
2 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/include/cdma-voicecall.h b/include/cdma-voicecall.h
index f12e0b6..badc5eb 100644
--- a/include/cdma-voicecall.h
+
---
include/cdma-voicecall.h |3 ++
src/cdma-voicecall.c | 55 ++
2 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/include/cdma-voicecall.h b/include/cdma-voicecall.h
index f12e0b6..badc5eb 100644
--- a/include/cdma-voicecall.h
+
---
src/cdma-voicecall.c | 35 ---
1 files changed, 32 insertions(+), 3 deletions(-)
diff --git a/src/cdma-voicecall.c b/src/cdma-voicecall.c
index bbf805f..47d416c 100644
--- a/src/cdma-voicecall.c
+++ b/src/cdma-voicecall.c
@@ -40,6 +40,7 @@ static GSList *g_dr
---
include/cdma-voicecall.h |3 ++
src/cdma-voicecall.c | 54 ++
2 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/include/cdma-voicecall.h b/include/cdma-voicecall.h
index b170e39..f12e0b6 100644
--- a/include/cdma-voicecall.h
+
---
include/cdma-voicecall.h |3 +++
src/cdma-voicecall.c | 25 +
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/include/cdma-voicecall.h b/include/cdma-voicecall.h
index 6f77462..b170e39 100644
--- a/include/cdma-voicecall.h
+++ b/include/cdma-vo
---
include/cdma-voicecall.h |3 +++
src/cdma-voicecall.c | 23 +++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/include/cdma-voicecall.h b/include/cdma-voicecall.h
index 9e741da..6f77462 100644
--- a/include/cdma-voicecall.h
+++ b/include/cdma-voic
diff --git a/include/cdma-voicecall.h b/include/cdma-voicecall.h
index 9e741da..520934b 100644
--- a/include/cdma-voicecall.h
+++ b/include/cdma-voicecall.h
@@ -55,8 +55,20 @@ struct ofono_cdma_voicecall_driver {
/* Hangs up active, dialing, alerting or incoming calls */
void (*hang
(1) Add "Calls" property to monitor the current present calls.
(2) Remove original "State" property, add it as a parameter of "Calls" property.
and add possible value: "held" and "waiting"
(3) Remove original "CallWaiting" and "CallWaitingNumber" property(Can get these
information from "Cal
Some network's dial-number isn't #777 and user name and password
are required when setup data connection.
---
doc/cdma-connman-api.txt | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/doc/cdma-connman-api.txt b/doc/cdma-connman-api.txt
index e486c09..f76a2c5
When create NDIS gprs context, It doesn't depend on modem port,
don't need to check modem port.
---
plugins/huawei.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/plugins/huawei.c b/plugins/huawei.c
index 639ae0d..6a71305 100644
--- a/plugins/huawei.c
+++ b/plugin
Sometimes when open the data device, it may fail. If open the data device
failed,
retry once one second later.
---
plugins/huawei.c | 36 +++-
1 files changed, 35 insertions(+), 1 deletions(-)
diff --git a/plugins/huawei.c b/plugins/huawei.c
index e791718..639a
Sometimes when open the data device, it may fail. If open the data device
failed,
retry once one second later.
---
plugins/huawei.c | 43 ++-
1 files changed, 38 insertions(+), 5 deletions(-)
diff --git a/plugins/huawei.c b/plugins/huawei.c
index e79171
---
plugins/ofono.rules |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/plugins/ofono.rules b/plugins/ofono.rules
index 5a36380..268b327 100644
--- a/plugins/ofono.rules
+++ b/plugins/ofono.rules
@@ -391,6 +391,7 @@ ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7401",
ENV{O
(1) Sometimes when open the data device, it may fail. If open the data device
failed,
retry once one second later.
(2) Fix Huawei NDIS modem gprs doesn't work issue
---
plugins/huawei.c | 43 ++-
1 files changed, 38 insertions(+), 5 deletions(-)
diff -
Some systems require name field, otherwise chap authentication will fail.
---
gatchat/ppp_auth.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/gatchat/ppp_auth.c b/gatchat/ppp_auth.c
index b73f320..f2b8c31 100644
--- a/gatchat/ppp_auth.c
+++ b/gatchat/ppp_auth.c
@
In PPP Protocol-Reject package the 'rejected data field' should be a copy
of the rejected package, the copy starts from the data field. besides,
Protocol-Reject package include a 'rejected protocol field', it is the
same as the protocol field of the rejected package.
Protocol-Reject package struc
Sometimes when open the data device, it may fail. If open the data device
failed, retry once one second later.
---
plugins/huawei.c | 54 ++
1 files changed, 50 insertions(+), 4 deletions(-)
diff --git a/plugins/huawei.c b/plugins/huawei.c
in
When set modem offline or power off, if there is some other operation in
progress,
the dbus reply may lost. Always check the pending dbus message to make sure
don't
miss any reply.
This should be a common issue, this patch only fix the GPRS relatived.
---
src/gprs.c | 17 ++-
This patch is to fix the issue that can't attach GPRS after detach it.
Cause:
When start detaching GPRS, driver_attched value is set to FALSE, if
device registered to GPRS network during GPRS detaching, driver_attched is set
to TURE.
After that, GPRS attaching will always be ignored because dr
---
TODO | 76 ++
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/TODO b/TODO
index a97f076..b159c07 100644
--- a/TODO
+++ b/TODO
@@ -614,3 +614,79 @@ Miscellaneous
Priority: Low
Complexity: C4
+
+
+CDMA/EVDO
---
doc/standards.txt | 85 +
1 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/doc/standards.txt b/doc/standards.txt
index a7eaa5e..d3e4603 100644
--- a/doc/standards.txt
+++ b/doc/standards.txt
@@ -81,3 +81,88 @@ technology spec
---
doc/standards.txt | 85 +
1 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/doc/standards.txt b/doc/standards.txt
index a7eaa5e..5d386f0 100644
--- a/doc/standards.txt
+++ b/doc/standards.txt
@@ -81,3 +81,88 @@ technology spec
45 matches
Mail list logo