aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/tx_power.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-25 19:01:24 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-25 19:01:24 +0200
commit11b14fd6624a012cb6bdc49f2dea970f02fda653 (patch)
tree0793a3a3eba54b8b229597e550836eb8f0a9a941 /include/osmo-bts/tx_power.h
parent9e873335ec6c77df8a3ffa9fe041d8dfa4ac4ece (diff)
tx_power: Check actual TRX output power against intended value
We use the completion call-back from L1 to compare the instructed TRX board output power with the actual value as reported back from L1. Right now we only print an error message in case the values disagree. In the future we might want to either use that value as part of our calculation or send an OML alarm report to the BSC.
Diffstat (limited to 'include/osmo-bts/tx_power.h')
-rw-r--r--include/osmo-bts/tx_power.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/tx_power.h b/include/osmo-bts/tx_power.h
index c5d6f2ba..1d76864b 100644
--- a/include/osmo-bts/tx_power.h
+++ b/include/osmo-bts/tx_power.h
@@ -72,3 +72,5 @@ int get_p_trxout_actual_mdBm(struct gsm_bts_trx *trx, uint8_t bs_power_ie);
int get_p_trxout_actual_mdBm_lchan(struct gsm_lchan *lchan);
int power_ramp_start(struct gsm_bts_trx *trx, int p_total_tgt_mdBm, int bypass);
+
+void power_trx_change_compl(struct gsm_bts_trx *trx, int p_trxout_cur_mdBm);