Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
|
|
|
|
Adding rx_packets, tx_packets, rx_errors, tx_errors,
rx_dropped and tx_dropped counters.
|
|
|
|
Instead of collecting statistics on interface name base and storing it
local in counter.c, update the Service object.
counter.c maps interface names to Service objects.
The assumption is made that there is a 1:1 mapping between Service objects
and interface name.
A Counter object will only show Service object statistics for services in
the ready state. There is no interface (yet) for retrieving information on
Service objects in idle/failure/configuration/.. state.
|
|
Instead of creating a new rntl trigger for each Counter object move this
part to the rtnl core. Only one update trigger will be registered at RTNL.
The minimum interval will used for the timeout callback.
|
|
|
|
|
|
|