From 6b9e0e4e8834428f85f169106ed7b6141f5b185b Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 28 Oct 2019 13:14:08 +0100 Subject: rsl: Send IE MS Power Param during CHAN ACT and MS PWR CTRL messages TS 48.058 sec 8.4.1 CHANNEL ACTIVATION and state: """ The BS and MS Power Parameters elements are included to indicate that BS and/or MS power control is to be performed by BTS. The maximum power to be used is indicated in the BS and MS Power elements respectively. """ Since we always want the BTS to do autonomous MS power control, let's add it. Related: OS#1622 Change-Id: Icaaa61b363b093f00b6653c3df64d3e66583b9f8 --- src/osmo-bsc/abis_rsl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c index 4a7d104e8..575f91dd3 100644 --- a/src/osmo-bsc/abis_rsl.c +++ b/src/osmo-bsc/abis_rsl.c @@ -316,6 +316,8 @@ int rsl_chan_ms_power_ctrl(struct gsm_lchan *lchan, unsigned int fpc, int dbm) dh->chan_nr = chan_nr; msgb_tv_put(msg, RSL_IE_MS_POWER, lchan->ms_power); + /* indicate MS power control to be performed by BTS: */ + msgb_tl_put(msg, RSL_IE_MS_POWER_PARAM); msg->dst = lchan->ts->trx->rsl_link; @@ -541,6 +543,9 @@ int rsl_tx_chan_activ(struct gsm_lchan *lchan, uint8_t act_type, uint8_t ho_ref) msgb_tv_put(msg, RSL_IE_BS_POWER, lchan->bs_power); msgb_tv_put(msg, RSL_IE_MS_POWER, lchan->ms_power); msgb_tv_put(msg, RSL_IE_TIMING_ADVANCE, ta); + /* indicate MS power control to be performed by BTS: */ + msgb_tl_put(msg, RSL_IE_MS_POWER_PARAM); + mr_config_for_bts(lchan, msg); msg->dst = lchan->ts->trx->rsl_link; -- cgit v1.2.3