aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-06-16 18:08:11 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-06-22 05:49:20 +0700
commit1f6a0deceeef25fef5bab92776b3a292d0f66736 (patch)
tree0412e5b39b8ac100227937b66d9cd7a4f0c82b88 /include
parentfa3f91d2dbb72456683e139eca00a062259f1506 (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')
-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) {