diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-09-06 12:33:16 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:39:05 +0200 |
commit | 819b50e1a7b506a0a394cc71a795f0a9ce4083c1 (patch) | |
tree | 290806d3a1bc7f64a0e7a8e1cc5b48bfd6578164 /src/common/l1sap.c | |
parent | f449842053d333f6f9f41d3123262e8e05375acb (diff) |
move MS power control handling from sysmobts to common part
MS uplink power control is required in pretty much any BTS, and we
cannot assume that they PHY / L1 will always take care of it by
itself. So the correspondign code is moved to common/power_control.c
and called from the generic part of L1SAP.
The corresponding VTY paramter has been moved from the sysmobts-specific
trx VTY node to the common BTS VTY node.
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r-- | src/common/l1sap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index ca785fe4..1cb752e3 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -783,6 +783,8 @@ static int l1sap_ph_data_ind(struct gsm_bts_trx *trx, lchan->meas.l1_info[0] |= ((data[0] >> 5) & 1) << 2; lchan->meas.l1_info[1] = data[1]; lchan->meas.flags |= LC_UL_M_F_L1_VALID; + + lchan_ms_pwr_ctrl(lchan, data[0] & 0x1f, data_ind->rssi); } else le = &lchan->lapdm_ch.lapdm_dcch; |