diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-06-16 02:10:16 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-06-18 04:00:47 +0700 |
commit | c1b508f3e744213c12fcec0b6197e17d2fb8a64d (patch) | |
tree | 404f92004e190998ebdc3cb202dfad842aac24ac /include/osmocom/bsc/bts.h | |
parent | 60190c8e1d54f752836caf85add973968101d6aa (diff) |
lchan_select: implement dynamic selection mode for assignmentfixeria/chan_alloc
Change-Id: I1b7a0d706976b73cc5c30a8714b830811addfe8d
Related: SYS#5460
Diffstat (limited to 'include/osmocom/bsc/bts.h')
-rw-r--r-- | include/osmocom/bsc/bts.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h index 76945a136..752a00a73 100644 --- a/include/osmocom/bsc/bts.h +++ b/include/osmocom/bsc/bts.h @@ -521,6 +521,16 @@ struct gsm_bts { bool chan_alloc_assignment_reverse; bool chan_alloc_handover_reverse; + /* Whether to use dynamic allocation mode for assignment */ + bool chan_alloc_assignment_dynamic; + /* Parameters used for dynamic mode of allocation */ + struct { + bool sort_by_trx_power; + uint8_t ul_rxlev_thresh; + uint8_t ul_rxlev_avg_num; + uint8_t c0_chan_load_thresh; + } chan_alloc_dyn_params; + /* When true, interference measurements from the BTS are used in the channel allocator to favor lchans with less * interference reported in RSL Resource Indication. */ bool chan_alloc_avoid_interf; |