osmo-bts-trx/scheduler: ensure no DL power attenuation on C0

When [baseband] frequency hopping is in use, Downlink bursts from
additional transceivers may end up being transmitted on TRX0/C0.
In this case, we must not apply per-lchan attenuation, because
the BTS shall maintain constant power level on that TRX.

Change-Id: Id171df70447283b00da965e1f81dfac20e35495c
Related: SYS#4918
This commit is contained in:
Vadim Yanitskiy 2020-12-01 18:35:35 +01:00 committed by fixeria
parent 7c87612b42
commit 5b25e8e7de
1 changed files with 5 additions and 2 deletions

View File

@ -146,9 +146,12 @@ static void trx_sched_fn(struct gsm_bts *bts, const uint32_t fn)
l1h = pinst->u.osmotrx.hdl;
}
/* update dummy burst mask for C0 */
if (pinst->trx == bts->c0)
if (pinst->trx == bts->c0) {
/* update dummy burst mask for C0 */
c0_mask |= (1 << tn);
/* ensure no attenuation on C0 */
br.att = 0;
}
trx_if_send_burst(l1h, &br);
}