diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-28 13:14:08 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-28 13:14:11 +0100 |
commit | 6b9e0e4e8834428f85f169106ed7b6141f5b185b (patch) | |
tree | f0af0ebe7814601e61d34f9523ff228d5bd2cfd7 | |
parent | 220e50551d12ba44f9720b80773dddc0f1b88fe9 (diff) |
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
-rw-r--r-- | src/osmo-bsc/abis_rsl.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |