aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-05-14 18:14:15 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-06-16 15:53:51 +0200
commita677148aa453eeadf611a5fc021c9ede30f7cf9b (patch)
tree2b71c19ada716100ef67d9162dc541d68090515e
parentcd8e311f4b1fa8fea14184e0647402e4c044ee56 (diff)
HO: introduce more concise rate counters
Provide different sets of counters for intra-cell assignment, intra-BSC handover, and inter-BSC MO and MT handover. These will get triggered in an upcoming refactoring of handover code paths (to accomodate inter-BSC handover). Change-Id: Id98dc53dcc632a2fa5eb7549211cc61fc099af1d
-rw-r--r--include/osmocom/bsc/gsm_data.h64
1 files changed, 58 insertions, 6 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 579461732..a0bf3281f 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -1138,11 +1138,32 @@ enum {
};
enum {
+ BSC_CTR_ASSIGNMENT_ATTEMPTED,
+ BSC_CTR_ASSIGNMENT_COMPLETED,
+ BSC_CTR_ASSIGNMENT_STOPPED,
+ BSC_CTR_ASSIGNMENT_NO_CHANNEL,
+ BSC_CTR_ASSIGNMENT_TIMEOUT,
+ BSC_CTR_ASSIGNMENT_FAILED,
+ BSC_CTR_ASSIGNMENT_ERROR,
BSC_CTR_HANDOVER_ATTEMPTED,
+ BSC_CTR_HANDOVER_COMPLETED,
+ BSC_CTR_HANDOVER_STOPPED,
BSC_CTR_HANDOVER_NO_CHANNEL,
BSC_CTR_HANDOVER_TIMEOUT,
- BSC_CTR_HANDOVER_COMPLETED,
BSC_CTR_HANDOVER_FAILED,
+ BSC_CTR_HANDOVER_ERROR,
+ BSC_CTR_INTER_BSC_HO_MO_ATTEMPTED,
+ BSC_CTR_INTER_BSC_HO_MO_COMPLETED,
+ BSC_CTR_INTER_BSC_HO_MO_STOPPED,
+ BSC_CTR_INTER_BSC_HO_MO_TIMEOUT,
+ BSC_CTR_INTER_BSC_HO_MO_ERROR,
+ BSC_CTR_INTER_BSC_HO_MT_ATTEMPTED,
+ BSC_CTR_INTER_BSC_HO_MT_COMPLETED,
+ BSC_CTR_INTER_BSC_HO_MT_STOPPED,
+ BSC_CTR_INTER_BSC_HO_MT_NO_CHANNEL,
+ BSC_CTR_INTER_BSC_HO_MT_FAILED,
+ BSC_CTR_INTER_BSC_HO_MT_TIMEOUT,
+ BSC_CTR_INTER_BSC_HO_MT_ERROR,
BSC_CTR_PAGING_ATTEMPTED,
BSC_CTR_PAGING_DETACHED,
BSC_CTR_PAGING_RESPONDED,
@@ -1150,11 +1171,42 @@ enum {
};
static const struct rate_ctr_desc bsc_ctr_description[] = {
- [BSC_CTR_HANDOVER_ATTEMPTED] = {"handover:attempted", "Received handover attempts."},
- [BSC_CTR_HANDOVER_NO_CHANNEL] = {"handover:no_channel", "Sent no channel available responses."},
- [BSC_CTR_HANDOVER_TIMEOUT] = {"handover:timeout", "Timeouts of timer T3103."},
- [BSC_CTR_HANDOVER_COMPLETED] = {"handover:completed", "Received handover completed."},
- [BSC_CTR_HANDOVER_FAILED] = {"handover:failed", "Received HO FAIL messages."},
+ [BSC_CTR_ASSIGNMENT_ATTEMPTED] = {"assignment:attempted", "Intra-cell re-assignment attempts."},
+ [BSC_CTR_ASSIGNMENT_COMPLETED] = {"assignment:completed", "Intra-cell re-assignment completed."},
+ [BSC_CTR_ASSIGNMENT_STOPPED] = {"assignment:stopped", "Connection ended during re-assignment."},
+ [BSC_CTR_ASSIGNMENT_NO_CHANNEL] = {"assignment:no_channel", "Failure to allocate lchan for re-assignment."},
+ [BSC_CTR_ASSIGNMENT_TIMEOUT] = {"assignment:timeout", "Re-assignment timed out."},
+ [BSC_CTR_ASSIGNMENT_FAILED] = {"assignment:failed", "Received FAIL message."},
+ [BSC_CTR_ASSIGNMENT_ERROR] = {"assignment:error", "Re-assigment failed for other reason."},
+
+ [BSC_CTR_HANDOVER_ATTEMPTED] = {"handover:attempted", "Intra-BSC handover attempts."},
+ [BSC_CTR_HANDOVER_COMPLETED] = {"handover:completed", "Intra-BSC handover completed."},
+ [BSC_CTR_HANDOVER_STOPPED] = {"handover:stopped", "Connection ended during HO."},
+ [BSC_CTR_HANDOVER_NO_CHANNEL] = {"handover:no_channel", "Failure to allocate lchan for HO."},
+ [BSC_CTR_HANDOVER_TIMEOUT] = {"handover:timeout", "Handover timed out."},
+ [BSC_CTR_HANDOVER_FAILED] = {"handover:failed", "Received Handover Fail messages."},
+ [BSC_CTR_HANDOVER_ERROR] = {"handover:error", "Re-assigment failed for other reason."},
+
+ [BSC_CTR_INTER_BSC_HO_MO_ATTEMPTED] = {"interbsc_ho_mo:attempted",
+ "Attempts to handover to remote BSS."},
+ [BSC_CTR_INTER_BSC_HO_MO_COMPLETED] = {"interbsc_ho_mo:completed",
+ "Handover to remote BSS completed."},
+ [BSC_CTR_INTER_BSC_HO_MO_STOPPED] = {"interbsc_ho_mo:stopped", "Connection ended during HO."},
+ [BSC_CTR_INTER_BSC_HO_MO_TIMEOUT] = {"interbsc_ho_mo:timeout", "Handover timed out."},
+ [BSC_CTR_INTER_BSC_HO_MO_ERROR] = {"interbsc_ho_mo:error",
+ "Handover to remote BSS failed for other reason."},
+
+ [BSC_CTR_INTER_BSC_HO_MT_ATTEMPTED] = {"interbsc_ho_mt:attempted",
+ "Attempts to handover from remote BSS."},
+ [BSC_CTR_INTER_BSC_HO_MT_COMPLETED] = {"interbsc_ho_mt:completed",
+ "Handover from remote BSS completed."},
+ [BSC_CTR_INTER_BSC_HO_MT_STOPPED] = {"interbsc_ho_mt:stopped", "Connection ended during HO."},
+ [BSC_CTR_INTER_BSC_HO_MT_NO_CHANNEL] = {"interbsc_ho_mt:no_channel",
+ "Failure to allocate lchan for HO."},
+ [BSC_CTR_INTER_BSC_HO_MT_TIMEOUT] = {"interbsc_ho_mt:timeout", "Handover from remote BSS timed out."},
+ [BSC_CTR_INTER_BSC_HO_MT_FAILED] = {"interbsc_ho_mt:failed", "Received Handover Fail message."},
+ [BSC_CTR_INTER_BSC_HO_MT_ERROR] = {"interbsc_ho_mt:error",
+ "Handover from remote BSS failed for other reason."},
[BSC_CTR_PAGING_ATTEMPTED] = {"paging:attempted", "Paging attempts for a subscriber."},
[BSC_CTR_PAGING_DETACHED] = {"paging:detached", "Paging request send failures because no responsible BTS was found."},