diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-06-20 18:15:19 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-06-20 19:22:18 +0200 |
commit | fcd2445d05e24c20310790ef0041c8cbe6e6546d (patch) | |
tree | 7cde37b69818798fa0cb712401854f3c358f9ac6 /openbsc/include/openbsc/abis_rsl.h | |
parent | a865f1b0c99b3c3ed2d0bb5973738024b62630cc (diff) |
Introduce BS and MS power control related functions
* add bts->band field plus corresponding VTY and commandline argument
* add trx->nominal_power and trx->max_power_red fields
* add rsl_chan_bs_power_ctrl() to control TRX RF power for a given TS
* add rsl_chan_ms_power_ctrl() to control MS RF power for a given lchan.
Diffstat (limited to 'openbsc/include/openbsc/abis_rsl.h')
-rw-r--r-- | openbsc/include/openbsc/abis_rsl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/abis_rsl.h b/openbsc/include/openbsc/abis_rsl.h index 532595b90..c928ffa2d 100644 --- a/openbsc/include/openbsc/abis_rsl.h +++ b/openbsc/include/openbsc/abis_rsl.h @@ -411,5 +411,8 @@ int rsl_ccch_conf_to_bs_cc_chans(int ccch_conf); int rsl_ccch_conf_to_bs_ccch_sdcch_comb(int ccch_conf); int rsl_number_of_paging_subchannels(struct gsm_bts *bts); +int rsl_chan_bs_power_ctrl(struct gsm_lchan *lchan, unsigned int fpc, int db); +int rsl_chan_ms_power_ctrl(struct gsm_lchan *lchan, unsigned int fpc, int dbm); + #endif /* RSL_MT_H */ |