osmo-bts-trx: Don't attemtp to adjust MS power if fixed
If the BSC has instructed the BTS via RSL to not autonomously perform MS power control, we are storing this in lchan->ms_power_ctrl.fixed. However, osmo-bts-trx would simply ignore that flag in loops.c and continue to compute new MS power values based on measurement results. Change-Id: I628d1f4f1094c22248d372c11c2ecc504135b757
This commit is contained in:
parent
89f06e6c54
commit
e8e864b219
|
@ -232,6 +232,9 @@ void trx_loop_sacch_clock(struct l1sched_trx *l1t, uint8_t chan_nr,
|
|||
.lchan[l1sap_chan2ss(chan_nr)];
|
||||
struct phy_instance *pinst = trx_phy_instance(l1t->trx);
|
||||
|
||||
if (lchan->ms_power_ctrl.fixed)
|
||||
return;
|
||||
|
||||
if (pinst->phy_link->u.osmotrx.trx_ms_power_loop)
|
||||
ms_power_clock(lchan, chan_state);
|
||||
|
||||
|
|
Loading…
Reference in New Issue