From 66b6a8dde061e16fb2f102eb2de9b884a1941481 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 9 Aug 2009 14:45:18 +0200 Subject: move ms_pwr utility function to gsm_utils.c also, they should both take the gsm_band parameter, not a BTS --- openbsc/include/openbsc/gsm_utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/include/openbsc/gsm_utils.h') 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 -- cgit v1.2.3