diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-17 06:48:29 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-17 06:48:29 +0200 |
commit | 3ba36d5b57f5964b9bdc2fd1e5ee7d0d9fd398dd (patch) | |
tree | de597fd4f18d0b3d3bfc1c6ba165b5c881e18d18 /openbsc/src/gsm_data.c | |
parent | bda581963dc5f967bdaab3fc4bb5720d33ddc94f (diff) |
[statistics] Keep track of rf failures and rll release failures
Add two new counters to count the RF Failures and the RLL Release
failure and make them available via the vty interface.
Diffstat (limited to 'openbsc/src/gsm_data.c')
-rw-r--r-- | openbsc/src/gsm_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c index 176367dc7..f837c2709 100644 --- a/openbsc/src/gsm_data.c +++ b/openbsc/src/gsm_data.c @@ -280,6 +280,8 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c net->stats.call.dialled = counter_alloc("net.call.dialled"); net->stats.call.alerted = counter_alloc("net.call.alerted"); net->stats.call.connected = counter_alloc("net.call.connected"); + net->stats.chan.rf_fail = counter_alloc("net.chan.rf_fail"); + net->stats.chan.rll_err = counter_alloc("net.chan.rll_err"); net->mncc_recv = mncc_recv; |