aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-06-16 18:08:11 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-06-18 04:00:47 +0700
commit5070516fb80b63a10a0eedabc753ab8d7a5fafff (patch)
tree9c4029a16c401f81953f76f664bcf1e817104a2a /include/osmocom
parentb55f2bb829287accb5e7f60f1dcf45b34316d129 (diff)
bts_chan_load(): also calculate per-TRX channel load
This is required for the upcoming dynamic channel allocation mode. Change-Id: I220145238c23135f7e68ca2d474764312ffb66c5 Related: SYS#5460
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/bsc/bts_trx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bts_trx.h b/include/osmocom/bsc/bts_trx.h
index eab5fecd5..8d2493fb5 100644
--- a/include/osmocom/bsc/bts_trx.h
+++ b/include/osmocom/bsc/bts_trx.h
@@ -81,6 +81,7 @@ struct gsm_bts_trx {
struct gsm_bts_trx_ts ts[TRX_NR_TS];
struct chan_counts chan_counts;
+ struct load_counter lchan_load;
};
static inline struct gsm_bts_trx *gsm_bts_bb_trx_get_trx(struct gsm_bts_bb_trx *bb_transc) {