Add support for roaming/home network statistic
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 18 Aug 2010 15:56:06 +0000 (17:56 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 18 Aug 2010 17:08:54 +0000 (19:08 +0200)
commitb16225a6267520a19417059076fc3dff8e35a718
tree6fbceb730e3fc1dceaaae7db5f4be1d8f289671f
parentce5e47bd96e821e44ba29c4e747cd5b923e0d426
Add support for roaming/home network statistic

Currently connman only has one set of counters for
collecting statistics on online time and
the amount of transfered bytes.

For 3G connections we should destinguish between
home network and roaming. This patch introduces
two sets of counter values for home network
and roaming network.

Changing from Home to Roaming counters relies on
connman_network_set_roaming being called. Currently,
this is only done in the ofono plugin. Getting Wifi
'Hot-Spot Provider' Roaming (e.g.  T-Mobile Germany
to T-Mobile USA) is not yet working.
src/connman.h
src/counter.c
src/service.c
test/test-counter