---
plugins/isiusb.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/plugins/isiusb.c b/plugins/isiusb.c
index c036604..cf31756 100644
--- a/plugins/isiusb.c
+++ b/plugins/isiusb.c
@@ -54,6 +54,7 @@
#include ofono/radio-settings.h
#include ofono/gprs.h
#include
---
Makefile.am|3 +
plugins/context-provisioning.c | 418
2 files changed, 421 insertions(+), 0 deletions(-)
create mode 100644 plugins/context-provisioning.c
diff --git a/Makefile.am b/Makefile.am
index 42ad86f..18938b6 100644
Hello
This patchset adds Service Provider Name (SPN) into GPRS context provisioning
API.
SPN is read (asynchronously) in the middle of gprs atom registration, if
provisioning is needed.
--Jukka
Jukka Saunamaki (3):
gprs-provision: add SPN to provisioning API header
gprs,gprs
---
include/gprs-provision.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/gprs-provision.h b/include/gprs-provision.h
index bc021a8..e9eec61 100644
--- a/include/gprs-provision.h
+++ b/include/gprs-provision.h
@@ -42,7 +42,7 @@ struct ofono_gprs_provision_data
---
src/gprs-provision.c |4 +-
src/gprs.c | 87 +
src/ofono.h |2 +-
3 files changed, 68 insertions(+), 25 deletions(-)
diff --git a/src/gprs-provision.c b/src/gprs-provision.c
index 3cd84e8..011d5a8 100644
---
---
examples/provision.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/examples/provision.c b/examples/provision.c
index 356b0b3..546a161 100644
--- a/examples/provision.c
+++ b/examples/provision.c
@@ -37,6 +37,7 @@
#include ofono/log.h
static int
Hi
On Tue, 2011-02-01 at 22:38 +0200, ext Aki Niemi wrote:
That reminds me, I think there are SIMs out there that use the CPHS ONS
instead of SPN, and these can be used interchangeably.
Jukka, don't you actually also need the ONS?
In theory maybe, but in practice so far all cases where
Hello
On Thu, 2011-01-27 at 15:22 +0200, Jukka Saunamaki wrote:
Here is an asynchronous implementation of SIM Service Provider Name (EF-SPN)
getter API.
The trick is to delay setting sim ready until spn reading is finished.
Any comments about this?
So, yes, it slightly delays SIM
Hello
Here is an asynchronous implementation of SIM Service Provider Name (EF-SPN)
getter API.
The trick is to delay setting sim ready until spn reading is finished.
Patch to use the new API in netreg is included.
--Jukka
Jukka Saunamaki (3):
sim: add ofono_sim_get_spn API header
---
include/sim.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/sim.h b/include/sim.h
index 5e3ba5b..7e573fd 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -180,6 +180,8 @@ void *ofono_sim_get_data(struct ofono_sim *sim);
const char
---
src/network.c | 46 +++---
1 files changed, 7 insertions(+), 39 deletions(-)
diff --git a/src/network.c b/src/network.c
index b5450ee..f602db4 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1507,51 +1507,21 @@ static void sim_spdi_read_cb(int ok,
Hi
On Fri, 2011-01-28 at 13:47 +0800, cy xie wrote:
Has anybody used qtdbus to access Ofono interface?
I have faced some problem on it, the qdbusinterface create OK, but
when call the ofono api, it will note the signature doesn't exist.
please give me some info or show me and example.
---
src/ofono.h |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/ofono.h b/src/ofono.h
index e48dbf6..056c7f1 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -420,3 +420,12 @@ void __ofono_nettime_info_received(struct ofono_modem
*modem,
#include
---
Makefile.am |3 +-
include/gprs-provision.h | 59 ++
2 files changed, 61 insertions(+), 1 deletions(-)
create mode 100644 include/gprs-provision.h
diff --git a/Makefile.am b/Makefile.am
index f941a19..f543135 100644
---
---
Makefile.am |3 ++
examples/provision.c | 95 ++
2 files changed, 98 insertions(+), 0 deletions(-)
create mode 100644 examples/provision.c
diff --git a/Makefile.am b/Makefile.am
index 9c4f383..c70dcbf 100644
--- a/Makefile.am
---
src/gprs.c | 99 +--
1 files changed, 95 insertions(+), 4 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 92d0b1a..7fad23b 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -43,6 +43,8 @@
#include common.h
#include storage.h
---
Makefile.am |2 +-
src/gprs-provision.c | 104 ++
2 files changed, 105 insertions(+), 1 deletions(-)
create mode 100644 src/gprs-provision.c
diff --git a/Makefile.am b/Makefile.am
index f543135..9c4f383 100644
--- a/Makefile.am
Hello
And again a patchset about automatic provisioning of GPRS context settings.
Since the safe reading of EF-SPN turned out to be impossible until general
solution is implemented, I must temporary give up my insistence on it.
So the following provisioning driver API must be considered as
Hello Denis,
On Wed, 2011-01-26 at 14:56 -0600, ext Denis Kenzior wrote:
And again a patchset about automatic provisioning of GPRS context settings.
Since the safe reading of EF-SPN turned out to be impossible until general
solution is implemented, I must temporary give up my insistence
Hi Marcel,
On Thu, 2011-01-27 at 08:37 +0100, ext Marcel Holtmann wrote:
you can have a look on what it would take to store a) read SPN in the
SIM atom and store it and b) let netreg atom use that value.
Simple solution for this would be something like:
...
don't make this
no need for it.
It is now the gprs-atom that queries SPN from SIM before calling provisioning.
Cases when gprs-atom is unregistered or removed while SPN query is in progress,
should be handled gracefully (unlike e.g. in netreg atom...)
--Jukka Saunamäki
Jukka Saunamaki (4):
gprs
---
Makefile.am |3 +-
include/gprs-provision.h | 69 ++
2 files changed, 71 insertions(+), 1 deletions(-)
create mode 100644 include/gprs-provision.h
diff --git a/Makefile.am b/Makefile.am
index f941a19..f543135 100644
---
---
src/gprs.c | 172
1 files changed, 162 insertions(+), 10 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 92d0b1a..3e281e5 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -44,6 +44,11 @@
#include storage.h
#include idmap.h
---
Makefile.am |2 +-
src/gprs-provision.c | 104 ++
2 files changed, 105 insertions(+), 1 deletions(-)
create mode 100644 src/gprs-provision.c
diff --git a/Makefile.am b/Makefile.am
index f543135..9c4f383 100644
--- a/Makefile.am
---
Makefile.am |3 ++
examples/provision.c | 97 ++
2 files changed, 100 insertions(+), 0 deletions(-)
create mode 100644 examples/provision.c
diff --git a/Makefile.am b/Makefile.am
index 9c4f383..c70dcbf 100644
--- a/Makefile.am
Hi
On Tue, 2011-01-25 at 13:28 +0100, ext Marcel Holtmann wrote:
I think that our only leftover is how we handle the SPN detail.
Denis, what is your preference here? My take would be that we store it
inside network registration and provide it to external modules. I don't
see a point in
Hello
- BIP (Bearer independent protocol), including commands like OPEN
CHANNEL, CLOSE CHANNEL, SEND/RECEIVE DATA
BIP is on many operators' wish list of supported SAT features. Even it
is optional in 3GPP, some market areas will probably require BIP. I
don't have an example to give
plugin is included. In case it is called when
using phonesim with default.xml configuration, the plugin returns dummy
settings for two contexts, one type Internet and one type MMS.
--Jukka Saunamäki
Jukka Saunamaki (6):
gprs-provision: add driver API header
ofono.h: add new atom type
---
Makefile.am |2 +-
include/gprs-provision.h | 74 ++
2 files changed, 75 insertions(+), 1 deletions(-)
create mode 100644 include/gprs-provision.h
diff --git a/Makefile.am b/Makefile.am
index c1c34ca..7a03f08 100644
---
---
src/ofono.h |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/ofono.h b/src/ofono.h
index 77567c2..43a703f 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -127,6 +127,7 @@ enum ofono_atom_type {
OFONO_ATOM_TYPE_NETTIME = 21,
OFONO_ATOM_TYPE_CTM
---
src/gprs.c | 147 ++--
1 files changed, 133 insertions(+), 14 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 7ef81d5..06f6555 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -43,6 +43,7 @@
#include common.h
#include storage.h
---
Makefile.am |3 +
examples/provision.c | 221 ++
2 files changed, 224 insertions(+), 0 deletions(-)
create mode 100644 examples/provision.c
diff --git a/Makefile.am b/Makefile.am
index 97480d5..7a87aee 100644
--- a/Makefile.am
---
src/modem.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/modem.c b/src/modem.c
index e966a6e..a302590 100644
--- a/src/modem.c
+++ b/src/modem.c
@@ -424,6 +424,7 @@ static void modem_change_state(struct ofono_modem *modem,
Hi
On Thu, 2011-01-20 at 15:51 -0600, Denis Kenzior wrote:
So I don't really see the point in an asynchronous provisioning driver.
If you want to do this over D-Bus or something then you might as well
provision via the ConnectionManager interface. The other problem with
being async is that
---
include/sim.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/sim.h b/include/sim.h
index 830322a..81df60e 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -178,6 +178,8 @@ void ofono_sim_set_data(struct ofono_sim *sim, void *data);
void
).
--Jukka Saunamäki
Jukka Saunamaki (8):
gprs-provision: add driver API header
gprs-provision: add new atom type
gprs-provision: add driver API sources
gprs-provision: probe gprs_provision drivers
gprs: add gprs context provisioning
sim: getters for mcc and mnc
---
src/modem.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/modem.c b/src/modem.c
index f587766..a835775 100644
--- a/src/modem.c
+++ b/src/modem.c
@@ -424,6 +424,7 @@ static void modem_change_state(struct ofono_modem *modem,
---
src/ofono.h |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/ofono.h b/src/ofono.h
index 77567c2..873b688 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -127,6 +127,7 @@ enum ofono_atom_type {
OFONO_ATOM_TYPE_NETTIME = 21,
OFONO_ATOM_TYPE_CTM
---
src/gprs.c | 147 ++--
1 files changed, 133 insertions(+), 14 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 0e86bdf..b0d58f6 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -43,6 +43,7 @@
#include common.h
#include storage.h
---
Makefile.am |2 +-
src/gprs-provision.c | 236 ++
2 files changed, 237 insertions(+), 1 deletions(-)
create mode 100644 src/gprs-provision.c
diff --git a/Makefile.am b/Makefile.am
index 22ec95d..e792851 100644
--- a/Makefile.am
---
Makefile.am |2 +-
include/gprs-provision.h | 80 ++
2 files changed, 81 insertions(+), 1 deletions(-)
create mode 100644 include/gprs-provision.h
diff --git a/Makefile.am b/Makefile.am
index da59be7..22ec95d 100644
---
---
include/sim.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/sim.h b/include/sim.h
index 830322a..81df60e 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -178,6 +178,8 @@ void ofono_sim_set_data(struct ofono_sim *sim, void *data);
void
---
src/sim.c | 50 +++---
1 files changed, 31 insertions(+), 19 deletions(-)
diff --git a/src/sim.c b/src/sim.c
index d627647..86c3f13 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -78,6 +78,8 @@ struct ofono_sim {
gboolean barred_dialing;
---
Makefile.am |3 +
examples/provision.c | 206 ++
2 files changed, 209 insertions(+), 0 deletions(-)
create mode 100644 examples/provision.c
diff --git a/Makefile.am b/Makefile.am
index e792851..a74f75e 100644
--- a/Makefile.am
Hi Marcel,
+/*
+ * Callback from provisioning plugin.
+ * settings: list of struct ofono_gprs_provision_data
+ *
+ * It is responsibility of callback function to free settings-list
+ * settings-list elements must be freed with
ofono_gprs_provision_data_free()
+ */
+typedef void
These patches add getter functions for home PLMN MCC and MCC values to SIM atom.
Jukka Saunamaki (3):
sim: store mcc and mnc separate from imsi
sim: getters for mcc and mnc definition
sim: getters for mcc and mnc implementation
include/sim.h |2 ++
src/sim.c | 50
---
src/sim.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/sim.c b/src/sim.c
index 891116b..86c3f13 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -1990,6 +1990,22 @@ const char *ofono_sim_get_imsi(struct ofono_sim *sim)
return sim-imsi;
}
Hello
On Sat, 2011-01-15 at 02:30 +0100, Marcel Holtmann wrote:
I would advise the UI against using the name from the context
information and better using the one from the network registration
instead.
Well that would make sense... Therefore the operators don't do it ;-)
For
Hi ,
I was not sure if all MVNOs have their own MNC, but in any case some
operators use different trade names. Off the top of my hat I know our
local Finnish operators Elisa and Sonera use trade names like Kolumbus
and TeleFinland, and their name shown in UI needs to be correct.
what
Hi
On Fri, 2011-01-14 at 14:44 +0100, ext Marcel Holtmann wrote:
Hi Jukka,
I was not sure if all MVNOs have their own MNC, but in any case some
operators use different trade names. Off the top of my hat I know our
local Finnish operators Elisa and Sonera use trade names like
Hello Denis,
On Thu, 2011-01-13 at 09:57 -0600, Denis Kenzior wrote:
Some virtual operators are using the same MCC/MNC as their host, or some
operators have several different trade names, and these can have
different access settings (at least different UI visible name).
SPN in SIM
Hello
On Wed, 2011-01-12 at 10:46 -0600, Denis Kenzior wrote:
...SIM EF-SPN...
You're correct that netreg is the only consumer. There was no need for
anyone else to see this information. However, this begs the question,
why do you need the SPN data?
Some virtual operators are using the
Hello Marcel,
On Tue, 2011-01-11 at 22:51 -0800, ext Marcel Holtmann wrote:
-void ofono_gprs_register(struct ofono_gprs *gprs)
+static void ofono_gprs_finish_register(struct ofono_gprs *gprs)
{
DBusConnection *conn = ofono_dbus_get_connection();
struct ofono_modem *modem =
Hello
On Tue, 2011-01-11 at 22:48 -0800, ext Marcel Holtmann wrote:
+ if (sim != NULL) {
+ ofono_sim_read(sim, SIM_EFSPN_FILEID,
+ OFONO_SIM_FILE_STRUCTURE_TRANSPARENT,
+ sim_spn_read_cb, req);
+ return;
+ }
Hello
Here is another RFC patchset about implementing automatic provisioning GPRS
context settings. (Internet Access Provider database TODO item).
This time the approach is to add a new driver/plugin API for provisioning
modules. Different kind of provisioning modules may be created for
---
src/gprs.c | 116 ---
1 files changed, 102 insertions(+), 14 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 58166f8..7d188a3 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -43,6 +43,7 @@
#include common.h
#include storage.h
---
Makefile.am |4 +-
include/gprs-provision.h | 73 +
src/gprs-provision.c | 133 ++
3 files changed, 208 insertions(+), 2 deletions(-)
create mode 100644 include/gprs-provision.h
create mode 100644
---
include/sim.h |1 +
src/sim.c |8
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/sim.h b/include/sim.h
index 7860e24..9b21f2e 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -173,6 +173,7 @@ void ofono_sim_set_data(struct ofono_sim *sim, void
Hello Marcel,
the oFono plugins work like kernel modules. They are pretty much
generic. Inside the init function you can a driver register function and
inside the exit function, you call the driver unregister function.
Right, that seems clear enough.
static int setup_context(struct
Hello
On Mon, 2011-01-03 at 10:57 +0200, Kalle Valo wrote:
Jukka Saunamaki jukka.saunam...@nokia.com writes:
Settings database is an XML formatted file (combination of all
xml-files in a directory), containing one element per settings for a
specific type of GPRS context (internet, mms
Hello
Well, my intention was to make format simple and fast to parse, but
still be extensible enough, which I think my proposed format fulfills.
These access-elements contain just data needed for GPRS context
settings (as attributes), and if there is need for any other operator
Hello Marcel,
On Mon, 2011-01-03 at 15:03 -0800, ext Marcel Holtmann wrote:
thinking about this a bit more and with the background that there is
already an existing public database, we might should just enable a
provision driver inside the oFono core.
Meaning that we can have multiple
Hello
Here is another RFC patchset about implementing automatic provisioning of
Internet and MMS GPRS context settings. (Internet Access Provider database
TODO item).
In case there are no previously configured contexts found during gprs atom
registration, this code tries to provision Internet
---
Makefile.am |3 +-
src/operator-settings.c | 314 +++
src/operator-settings.h | 37 ++
3 files changed, 353 insertions(+), 1 deletions(-)
create mode 100644 src/operator-settings.c
create mode 100644 src/operator-settings.h
---
include/sim.h |1 +
src/sim.c |8
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/sim.h b/include/sim.h
index 7860e24..3d0c6b7 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -173,6 +173,7 @@ void ofono_sim_set_data(struct ofono_sim *sim, void
---
examples/example-operator-settings.xml | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
create mode 100644 examples/example-operator-settings.xml
diff --git a/examples/example-operator-settings.xml
b/examples/example-operator-settings.xml
new file mode 100644
index
---
src/gprs.c | 176 +++-
1 files changed, 162 insertions(+), 14 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 58166f8..c9d4fb3 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -43,6 +43,9 @@
#include common.h
#include storage.h
Hi
On 21/12/10 16:11, ext Marcel Holtmann wrote:
Settings database is CSV (comma separated values) formatted file(s)
with fields for: (type=INTERNET|MMS protocol=ipv4|ipv6)
MCC,MNC,SPN,type,UI name, APN, username, password, protocol, proxy IP address,
proxy port, MMS server URL
e.g. file
---
include/sim.h |1 +
src/sim.c |8
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/sim.h b/include/sim.h
index 7860e24..3d0c6b7 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -173,6 +173,7 @@ void ofono_sim_set_data(struct ofono_sim *sim, void
---
examples/example-operator-settings.csv |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 examples/example-operator-settings.csv
diff --git a/examples/example-operator-settings.csv
b/examples/example-operator-settings.csv
new file mode 100644
index
Hello
Here is a first attempt to implement automatic provisioning of
Internet and MMS GPRS context settings. (Internet Access Provider
database TODO item).
In case there are no previously configured contexts found during gprs
atom registration, this code tries to provision Internet and MMS
---
src/gprs.c | 169 +++-
1 files changed, 155 insertions(+), 14 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 58166f8..f2f2c9f 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -43,6 +43,9 @@
#include common.h
#include storage.h
72 matches
Mail list logo