diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-25 19:53:21 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-30 18:22:12 +0200 |
commit | eececf5fa96875e93d622299408423766c6e35d0 (patch) | |
tree | d74ed74db47e09c84b669fffbb7808784cf99824 /src/osmo-bts-sysmo/utils.h | |
parent | bc24955e91f050e904851f589400eac4c3443917 (diff) |
sysmobts: Make it possible to slowly ramp up the output power
For systems with a bigger PA enabling the full output power at
once might draw more current than a power supply can provide. This
code will step up the output power in smaller steps to avoid this
situation.
Diffstat (limited to 'src/osmo-bts-sysmo/utils.h')
-rw-r--r-- | src/osmo-bts-sysmo/utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/utils.h b/src/osmo-bts-sysmo/utils.h index aef774ca..cf5cf7af 100644 --- a/src/osmo-bts-sysmo/utils.h +++ b/src/osmo-bts-sysmo/utils.h @@ -12,5 +12,8 @@ int sysmobts_select_femto_band(struct gsm_bts_trx *trx, uint16_t arfcn); int sysmobts_get_nominal_power(struct gsm_bts_trx *trx); -int sysmobts_get_power_trx(struct gsm_bts_trx *trx); +int sysmobts_get_target_power(struct gsm_bts_trx *trx); + +void sysmobts_pa_pwr_init(struct gsm_bts_trx *trx); +void sysmobts_pa_maybe_step(struct gsm_bts_trx *trx); #endif |