diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-08-09 14:45:18 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-08-09 14:45:18 +0200 |
commit | 66b6a8dde061e16fb2f102eb2de9b884a1941481 (patch) | |
tree | 86bed65b3975138d176185bd8fe8aa9e13b5531f /openbsc/include/openbsc/gsm_utils.h | |
parent | 31f03a6df66ccfcaa3ae71663ac53bf7c2b80c59 (diff) |
move ms_pwr utility function to gsm_utils.c
also, they should both take the gsm_band parameter, not a BTS
Diffstat (limited to 'openbsc/include/openbsc/gsm_utils.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_utils.h b/openbsc/include/openbsc/gsm_utils.h index c46837185..7cd0578ad 100644 --- a/openbsc/include/openbsc/gsm_utils.h +++ b/openbsc/include/openbsc/gsm_utils.h @@ -30,4 +30,6 @@ int gsm_7bit_decode(char *decoded, const u_int8_t *user_data, u_int8_t length); int gsm_7bit_encode(u_int8_t *result, const char *data); +int ms_pwr_ctl_lvl(enum gsm_band band, unsigned int dbm); +int ms_pwr_dbm(enum gsm_band band, u_int8_t lvl); #endif |