aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-09 18:31:55 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-14 11:42:58 +0200
commitc81b41c62e69f4ee212d39975f092a71d5f3bfa6 (patch)
treebf9bac7bdc83efcf239843de83d821b82e11feb1 /include
parentc85027a510d36b7b0b59ec1a41854e3c6ccc70a5 (diff)
Support configuring TA loop SACCH block rate
Similar to what is already provided for power control loops. However, there's no existing way to communicate TA control parameters from the BSC to the BTS, so implement them locally in BTS vty. Related: SYS#5371 Change-Id: I9fa71f836bb9a79b0ef2567bfcfdf38ff217840b
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/bts_trx.h1
-rw-r--r--include/osmo-bts/gsm_data.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/bts_trx.h b/include/osmo-bts/bts_trx.h
index f033573f..e1959c86 100644
--- a/include/osmo-bts/bts_trx.h
+++ b/include/osmo-bts/bts_trx.h
@@ -30,6 +30,7 @@ struct gsm_bts_trx {
uint8_t max_power_backoff_8psk; /* in actual dB OC-2G only */
uint8_t c0_idle_power_red; /* in actual dB OC-2G only */
+ uint8_t ta_ctrl_interval; /* 1 step is 2 SACCH periods */
struct trx_power_params power_params;
struct gsm_power_ctrl_params *bs_dpc_params; /* BS Dynamic Power Control */
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 08694266..9fe68d63 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -255,6 +255,8 @@ struct lchan_power_ctrl_state {
};
struct lchan_ta_ctrl_state {
+ /* Number of SACCH blocks to skip */
+ int skip_block_num;
/* Currently requested TA */
uint8_t current;
};