aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/bts_model.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-06 20:30:52 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-11 14:35:05 +0100
commit4513d561eb6ff83095c230fedcf1e6179d61a364 (patch)
tree284fb45efd7eb2e645ef966d903c1b9bbcc987ad /include/osmo-bts/bts_model.h
parent4d4dc2674252658330cdd581757d6168087ba4fb (diff)
sysmobts: Add a manual ms power level controlzecke/power-control
Currently the DSP is instructed to achieve a given uplink power target but there are circumstances (e.g. EMV testing) where we need more control over it. The "manual/software/osmo" power control can only be implemented per TRX and not per lchan. Add a very very basic control that checks the MS Power used by the phone, the actual receive level and then adjust the power. The code doesn't take the history into account, if the phone can not reach the requested power level the code will be stuck (e.g. no timeout based on multiframes). It has a mode for a fixed power control but no way to set it yet.
Diffstat (limited to 'include/osmo-bts/bts_model.h')
-rw-r--r--include/osmo-bts/bts_model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/bts_model.h b/include/osmo-bts/bts_model.h
index 200d02d2..176b7877 100644
--- a/include/osmo-bts/bts_model.h
+++ b/include/osmo-bts/bts_model.h
@@ -47,5 +47,6 @@ void bts_model_config_write_trx(struct vty *vty, struct gsm_bts_trx *trx);
int bts_model_oml_estab(struct gsm_bts *bts);
int bts_model_change_power(struct gsm_bts_trx *trx, int p_trxout_mdBm);
+int bts_model_adjst_ms_pwr(struct gsm_lchan *lchan);
#endif