From 11b14fd6624a012cb6bdc49f2dea970f02fda653 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 25 Aug 2014 19:01:24 +0200 Subject: 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. --- include/osmo-bts/tx_power.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/osmo-bts/tx_power.h') 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); -- cgit v1.2.3