aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/bsc_subscriber.h
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-11-25 12:14:09 +0100
committerOliver Smith <osmith@sysmocom.de>2021-11-29 11:33:34 +0100
commit2df65db3dab8545bd31dcbbed88fc156630ee246 (patch)
tree80e113f54616d8656a04fbb154ae4e47dcc0a9bb /include/osmocom/bsc/bsc_subscriber.h
parent61e041d92a1fadf544f055cc2960d05290f8cd4d (diff)
stats: add bsc.paging:expired
Similar to paging:attempted, count paging:expired not only per BTS, but also for the whole BSC. Add active_paging_requests to struct bsc_subscr, to increase the counter only once if paging expires, and not once per BTS where paging expired. Related: SYS#4878 Change-Id: I9c118e7e3d61ed8c9f1951111255b196905eba4d
Diffstat (limited to 'include/osmocom/bsc/bsc_subscriber.h')
-rw-r--r--include/osmocom/bsc/bsc_subscriber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_subscriber.h b/include/osmocom/bsc/bsc_subscriber.h
index 6fffafdb3..f9e8eb2a8 100644
--- a/include/osmocom/bsc/bsc_subscriber.h
+++ b/include/osmocom/bsc/bsc_subscriber.h
@@ -17,6 +17,8 @@ struct bsc_subscr {
char imsi[GSM23003_IMSI_MAX_DIGITS+1];
uint32_t tmsi;
+
+ uint32_t active_paging_requests;
};
const char *bsc_subscr_name(struct bsc_subscr *bsub);