diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2021-09-27 08:56:20 +0200 |
---|---|---|
committer | neels <nhofmeyr@sysmocom.de> | 2021-11-10 13:27:43 +0000 |
commit | aa09938d2c88c6810eb5c3634958824277bfacab (patch) | |
tree | 416d6d02b769a11cb5e27615424f97606901d885 /include | |
parent | 41f143827d4233963b3a1b5e6a98ea7efa0f0fe1 (diff) |
implement all_allocated:{static_sdcch,static_tch} rate counters
Same as all_allocated:{sdcch,tch}, but already trigger when all
non-dynamic timeslots are allocated.
Related: SYS#4878
Related: Ib3997a827c9cc43d1361bb0cf3bfab9f6d91bf82 (osmo-ttcn3-hacks)
Change-Id: I2fa14531f16d3f07085620f1c50eb839c420da6a
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/bsc_stats.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/bts.h | 4 | ||||
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_stats.h b/include/osmocom/bsc/bsc_stats.h index 9a2f36cbf..9140f852e 100644 --- a/include/osmocom/bsc/bsc_stats.h +++ b/include/osmocom/bsc/bsc_stats.h @@ -82,7 +82,9 @@ enum { BSC_CTR_MSCPOOL_EMERG_FORWARDED, BSC_CTR_MSCPOOL_EMERG_LOST, BSC_CTR_ALL_ALLOCATED_SDCCH, + BSC_CTR_ALL_ALLOCATED_STATIC_SDCCH, BSC_CTR_ALL_ALLOCATED_TCH, + BSC_CTR_ALL_ALLOCATED_STATIC_TCH, }; extern const struct rate_ctr_desc bsc_ctr_description[]; diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h index 867714387..9cf3fa447 100644 --- a/include/osmocom/bsc/bts.h +++ b/include/osmocom/bsc/bts.h @@ -159,7 +159,9 @@ enum bts_counter_id { BTS_CTR_SRVCC_FAILED, BTS_CTR_SRVCC_ERROR, BTS_CTR_ALL_ALLOCATED_SDCCH, + BTS_CTR_ALL_ALLOCATED_STATIC_SDCCH, BTS_CTR_ALL_ALLOCATED_TCH, + BTS_CTR_ALL_ALLOCATED_STATIC_TCH, }; extern const struct rate_ctr_desc bts_ctr_description[]; @@ -594,7 +596,9 @@ struct gsm_bts { enum imm_ass_time imm_ass_time; struct time_cc all_allocated_sdcch; + struct time_cc all_allocated_static_sdcch; struct time_cc all_allocated_tch; + struct time_cc all_allocated_static_tch; }; #define GSM_BTS_SI2Q(bts, i) (struct gsm48_system_information_type_2quater *)((bts)->si_buf[SYSINFO_TYPE_2quater][i]) diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 30aab532c..282392239 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -1263,7 +1263,9 @@ struct gsm_network { struct smlc_config *smlc; struct time_cc all_allocated_sdcch; + struct time_cc all_allocated_static_sdcch; struct time_cc all_allocated_tch; + struct time_cc all_allocated_static_tch; }; struct gsm_audio_support { |